Skip to content

Commit

Permalink
Merge pull request #23 from xob/fixZipDependency
Browse files Browse the repository at this point in the history
Explicitely require rubyzip gem dependency
  • Loading branch information
cognibox authored May 5, 2022
2 parents ea981e3 + d1c55bf commit 96ad9bb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions cbx_loco.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ TEXT
s.add_dependency "rails", ">= 4.1", "<= 5.1"
s.add_dependency "rest-client", "~> 1.6.7"
s.add_dependency "rake", ">= 11.0", "<= 12.3.1"
s.add_dependency "rubyzip", "~> 1.1"

s.add_development_dependency "rspec", "~> 3.6"
end
1 change: 1 addition & 0 deletions lib/cbx_loco/extension.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'cbx_loco/exceptions'
require 'cbx_loco/utils'
require 'zip'

class CbxLoco::Extension
def download(fmt:, i18n_file:, tag:, api_params:)
Expand Down
2 changes: 1 addition & 1 deletion lib/cbx_loco/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module CbxLoco
VERSION = "1.0.11"
VERSION = "1.0.12"
end
2 changes: 1 addition & 1 deletion spec/cbx_loco/version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

describe CbxLoco::VERSION do
it "should return the version number" do
expect(CbxLoco::VERSION).to eq "1.0.11"
expect(CbxLoco::VERSION).to eq "1.0.12"
end
end

0 comments on commit 96ad9bb

Please sign in to comment.