+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ source "https://rubygems.org/"

gemspec

rubyzip_version = ENV['RUBYZIP_VERSION']
gem 'rubyzip', rubyzip_version if rubyzip_version && !rubyzip_version.empty?

# override default maven-tools used by bundler
gem 'maven-tools', '1.2.3'

Expand Down
2 changes: 1 addition & 1 deletion lib/warbler/zip_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Warbler
class ZipSupport
def self.create(filename, &blk)
Zip::File.open(filename, Zip::File::CREATE, &blk)
::Zip::File.open(filename, create: true, &blk)
end

def self.open(filename, &blk)
Expand Down
2 changes: 1 addition & 1 deletion warbler.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ bundle up all of your application files for deployment to a Java environment.}
gem.add_runtime_dependency 'rexml', '~> 3.0'
gem.add_runtime_dependency 'jruby-jars', ['>= 9.0.0']
gem.add_runtime_dependency 'jruby-rack', ['>= 1.1.1', '< 1.3']
gem.add_runtime_dependency 'rubyzip', '>= 1.0.0'
gem.add_runtime_dependency 'rubyzip', '>= 3.0.0'
gem.add_runtime_dependency 'ostruct', '0.6.2'
gem.add_development_dependency 'jbundler', '0.9.5'
gem.add_development_dependency 'rspec', '~> 3.0'
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载