enumerable-statistics.gemspec in enumerable-statistics-1.0.1 vs enumerable-statistics.gemspec in enumerable-statistics-2.0.0.pre
- old
+ new
@@ -1,13 +1,19 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'enumerable/statistics/version'
+require 'enumerable_statistics/version'
+
Gem::Specification.new do |spec|
spec.name = "enumerable-statistics"
- spec.version = Enumerable::Statistics::VERSION
+ spec.version = [
+ EnumerableStatistics::Version::MAJOR,
+ EnumerableStatistics::Version::MINOR,
+ EnumerableStatistics::Version::MICRO,
+ EnumerableStatistics::Version::TAG
+ ].compact.join('.')
spec.authors = ["Kenta Murata"]
spec.email = ["mrkn@mrkn.jp"]
spec.summary = %q{Statistics features for Enumerable}
spec.description = %q{This library provides statistics features for Enumerable}
@@ -17,12 +23,15 @@
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["ext", "lib"]
spec.extensions = Dir['ext/**/extconf.rb']
- spec.add_development_dependency "bundler", "~> 1.11"
- spec.add_development_dependency "rake", "~> 10.0"
- spec.add_development_dependency "rake-compiler", "~> 0.9.8"
- spec.add_development_dependency "rspec", "~> 3.4"
+ spec.required_ruby_version = '>= 2.4'
+
+ spec.add_development_dependency "bundler", ">= 1.17.2"
+ spec.add_development_dependency "rake"
+ spec.add_development_dependency "rake-compiler", ">= 0.9.8"
+ spec.add_development_dependency "rspec", ">= 3.4"
spec.add_development_dependency "fuubar"
- spec.add_development_dependency "benchmark-ips"
+ spec.add_development_dependency "yard"
+ spec.add_development_dependency "benchmark-driver"
end