zip_tricks.gemspec in zip_tricks-4.4.2 vs zip_tricks.gemspec in zip_tricks-4.5.0
- old
+ new
@@ -1,44 +1,46 @@
# coding: utf-8
+
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'zip_tricks/version'
Gem::Specification.new do |spec|
- spec.name = "zip_tricks"
- spec.version = ZipTricks::VERSION
- spec.authors = ["Julik Tarkhanov"]
- spec.email = ["me@julik.nl"]
+ spec.name = 'zip_tricks'
+ spec.version = ZipTricks::VERSION
+ spec.authors = ['Julik Tarkhanov']
+ spec.email = ['me@julik.nl']
- spec.summary = 'Stream out ZIP files from Ruby'
- spec.description = 'Stream out ZIP files from Ruby'
- spec.homepage = "http://github.com/wetransfer/zip_tricks"
+ spec.summary = 'Stream out ZIP files from Ruby'
+ spec.description = 'Stream out ZIP files from Ruby'
+ spec.homepage = 'http://github.com/wetransfer/zip_tricks'
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
- # to allow pushing to a single host or delete this section to allow pushing to any host.
+ # Prevent pushing this gem to RubyGems.org.
+ # To allow pushes either set the 'allowed_push_host'
+ # To allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
- spec.metadata['allowed_push_host'] = "https://rubygems.org"
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
else
- raise "RubyGems 2.0 or newer is required to protect against " \
- "public gem pushes."
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
+ 'public gem pushes.'
end
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
- spec.bindir = "exe"
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]
+ spec.bindir = 'exe'
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ['lib']
- spec.add_development_dependency "bundler", "~> 1"
+ spec.add_development_dependency 'bundler', '~> 1'
spec.add_development_dependency 'rubyzip', '~> 1.1'
spec.add_development_dependency 'terminal-table'
spec.add_development_dependency 'range_utils'
-
+
spec.add_development_dependency 'rack', '~> 1.6' # For Jeweler
- spec.add_development_dependency 'rake', '~> 10.4'
- spec.add_development_dependency "rspec", "~> 3"
+ spec.add_development_dependency 'rake', '~> 12.2'
+ spec.add_development_dependency 'rspec', '~> 3'
spec.add_development_dependency 'complexity_assert'
spec.add_development_dependency 'coderay'
- spec.add_development_dependency "yard", "~> 0.9"
-
+ spec.add_development_dependency 'yard', '~> 0.9'
+ spec.add_development_dependency 'rubocop', '0.51.0' # No conforming to arbitrary rules that _change_ underneath you
end