sequel-batches.gemspec in sequel-batches-0.2.1 vs sequel-batches.gemspec in sequel-batches-1.0.0

- old
+ new

@@ -1,40 +1,29 @@ +# frozen_string_literal: true -lib = File.expand_path("../lib", __FILE__) +lib = File.expand_path("lib", __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "sequel/extensions/batches/version" Gem::Specification.new do |spec| - spec.name = "sequel-batches" - spec.version = Sequel::Extensions::Batches::VERSION - spec.authors = ["fiscal-cliff", "umbrellio"] - spec.email = ["oss@umbrellio.biz"] + spec.name = "sequel-batches" + spec.version = "1.0.0" + spec.authors = ["fiscal-cliff", "umbrellio"] + spec.email = ["oss@umbrellio.biz"] - spec.summary = %q{The extension mimics AR5 batches api} - spec.description = %q{Allows you to split your dataset in batches} - spec.homepage = "https://github.com/umbrellio/sequel-batches" - spec.license = "MIT" + spec.summary = "The extension mimics AR5 batches api" + spec.description = "Allows you to split your dataset in batches" + spec.homepage = "https://github.com/umbrellio/sequel-batches" + spec.license = "MIT" - # 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 - 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| - f.match(%r{^(test|spec|features)/}) - end - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.require_paths = ["lib"] + spec.add_runtime_dependency "sequel" + spec.add_development_dependency "bundler" spec.add_development_dependency "coveralls" spec.add_development_dependency "pry" spec.add_development_dependency "rake" spec.add_development_dependency "rspec" - - spec.add_runtime_dependency "sequel" + spec.add_development_dependency "rubocop-config-umbrellio" + spec.add_development_dependency "simplecov" end