zip_tricks.gemspec in zip_tricks-4.2.3 vs zip_tricks.gemspec in zip_tricks-4.2.4
- old
+ new
@@ -1,115 +1,42 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
-# -*- encoding: utf-8 -*-
-# stub: zip_tricks 4.2.3 ruby lib
+# 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 |s|
- s.name = "zip_tricks"
- s.version = "4.2.3"
+Gem::Specification.new do |spec|
+ spec.name = "zip_tricks"
+ spec.version = ZipTricks::VERSION
+ spec.authors = ["Julik Tarkhanov"]
+ spec.email = ["me@julik.nl"]
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.require_paths = ["lib"]
- s.authors = ["Julik Tarkhanov"]
- s.date = "2016-11-18"
- s.description = "Stream out ZIP files from Ruby"
- s.email = "me@julik.nl"
- s.extra_rdoc_files = [
- "LICENSE.txt",
- "README.md"
- ]
- s.files = [
- ".document",
- ".rspec",
- ".travis.yml",
- ".yardopts",
- "Gemfile",
- "IMPLEMENTATION_DETAILS.md",
- "LICENSE.txt",
- "README.md",
- "Rakefile",
- "examples/archive_size_estimate.rb",
- "examples/config.ru",
- "examples/parallel_compression_with_block_deflate.rb",
- "examples/rack_application.rb",
- "lib/zip_tricks.rb",
- "lib/zip_tricks/block_deflate.rb",
- "lib/zip_tricks/block_write.rb",
- "lib/zip_tricks/file_reader.rb",
- "lib/zip_tricks/file_reader/inflating_reader.rb",
- "lib/zip_tricks/file_reader/stored_reader.rb",
- "lib/zip_tricks/null_writer.rb",
- "lib/zip_tricks/rack_body.rb",
- "lib/zip_tricks/remote_io.rb",
- "lib/zip_tricks/remote_uncap.rb",
- "lib/zip_tricks/size_estimator.rb",
- "lib/zip_tricks/stream_crc32.rb",
- "lib/zip_tricks/streamer.rb",
- "lib/zip_tricks/streamer/deflated_writer.rb",
- "lib/zip_tricks/streamer/entry.rb",
- "lib/zip_tricks/streamer/stored_writer.rb",
- "lib/zip_tricks/streamer/writable.rb",
- "lib/zip_tricks/write_and_tell.rb",
- "lib/zip_tricks/zip_writer.rb",
- "spec/spec_helper.rb",
- "spec/zip_tricks/block_deflate_spec.rb",
- "spec/zip_tricks/block_write_spec.rb",
- "spec/zip_tricks/cdir_entry_with_partial_use_of_zip64_extra_fields.bin",
- "spec/zip_tricks/file_reader_spec.rb",
- "spec/zip_tricks/rack_body_spec.rb",
- "spec/zip_tricks/remote_io_spec.rb",
- "spec/zip_tricks/remote_uncap_spec.rb",
- "spec/zip_tricks/size_estimator_spec.rb",
- "spec/zip_tricks/stream_crc32_spec.rb",
- "spec/zip_tricks/streamer/writable_spec.rb",
- "spec/zip_tricks/streamer_spec.rb",
- "spec/zip_tricks/war-and-peace.txt",
- "spec/zip_tricks/write_and_tell_spec.rb",
- "spec/zip_tricks/zip_writer_spec.rb",
- "zip_tricks.gemspec"
- ]
- s.homepage = "http://github.com/wetransfer/zip_tricks"
- s.licenses = ["MIT"]
- s.rubygems_version = "2.4.5.1"
- s.summary = "Stream out ZIP files from Ruby"
+ spec.summary = 'Stream out ZIP files from Ruby'
+ spec.description = 'Stream out ZIP files from Ruby'
+ spec.homepage = "http://github.com/wetransfer/zip_tricks"
- if s.respond_to? :specification_version then
- s.specification_version = 4
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<rubyzip>, ["~> 1.1"])
- s.add_development_dependency(%q<terminal-table>, [">= 0"])
- s.add_development_dependency(%q<range_utils>, [">= 0"])
- s.add_development_dependency(%q<rack>, ["~> 1.6"])
- s.add_development_dependency(%q<rake>, ["~> 10.4"])
- s.add_development_dependency(%q<rspec>, ["< 3.3", "~> 3.2.0"])
- s.add_development_dependency(%q<coderay>, [">= 0"])
- s.add_development_dependency(%q<yard>, ["~> 0.8"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
- s.add_development_dependency(%q<jeweler>, [">= 2.1.2", "~> 2"])
- else
- s.add_dependency(%q<rubyzip>, ["~> 1.1"])
- s.add_dependency(%q<terminal-table>, [">= 0"])
- s.add_dependency(%q<range_utils>, [">= 0"])
- s.add_dependency(%q<rack>, ["~> 1.6"])
- s.add_dependency(%q<rake>, ["~> 10.4"])
- s.add_dependency(%q<rspec>, ["< 3.3", "~> 3.2.0"])
- s.add_dependency(%q<coderay>, [">= 0"])
- s.add_dependency(%q<yard>, ["~> 0.8"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<jeweler>, [">= 2.1.2", "~> 2"])
- end
+ # 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"
else
- s.add_dependency(%q<rubyzip>, ["~> 1.1"])
- s.add_dependency(%q<terminal-table>, [">= 0"])
- s.add_dependency(%q<range_utils>, [">= 0"])
- s.add_dependency(%q<rack>, ["~> 1.6"])
- s.add_dependency(%q<rake>, ["~> 10.4"])
- s.add_dependency(%q<rspec>, ["< 3.3", "~> 3.2.0"])
- s.add_dependency(%q<coderay>, [">= 0"])
- s.add_dependency(%q<yard>, ["~> 0.8"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<jeweler>, [">= 2.1.2", "~> 2"])
+ raise "RubyGems 2.0 or newer is required to protect against " \
+ "public gem pushes."
end
-end
+ 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.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.2.0", '< 3.3'
+ spec.add_development_dependency 'coderay'
+ spec.add_development_dependency "yard", "~> 0.8"
+
+end