Skip to content

Commit

Permalink
output-factory: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
bevanjkay authored May 1, 2024
1 parent e9c8374 commit ac75523
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Casks/o/output-factory.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
cask "output-factory" do
version "3.0"
version "2.5.7"
sha256 :no_check

url "https://zevrix.com/downloads/OutputFactory.dmg"
name "Output Factory"
desc "Automate printing and exporting from Adobe InDesign"
homepage "https://zevrix.com/OutputFactory/"

livecheck do
url "https://zevrix.com/download/"
regex(/Output\s*Factory\s*(\d+(?:\.\d+)+)/i)
livecheck do

Check failure on line 10 in Casks/o/output-factory.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Layout/IndentationConsistency: Inconsistent indentation detected.
url "https://zevrix.com/zsversioncontrol/ZSVersionControl.xml"
strategy :xml do |xml|
elements = xml.get_elements("//dict/key[text()='Output Factory']/following-sibling::dict/key[text()='version']/following-sibling::string")

Check failure on line 13 in Casks/o/output-factory.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Layout/LineLength: Line is too long. [144/118]
elements.first.text unless elements.empty?
end
end

Check failure on line 16 in Casks/o/output-factory.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-13)

Layout/BlockAlignment: `end` at 16, 2 is not aligned with `livecheck do` at 10, 1.

installer manual: "Output Factory Installer.app"
Expand Down

0 comments on commit ac75523

Please sign in to comment.