kwattr.gemspec in kwattr-0.2.0 vs kwattr.gemspec in kwattr-0.3.0
- old
+ new
@@ -1,13 +1,11 @@
# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'kwattr/version'
+require_relative 'lib/kwattr'
Gem::Specification.new do |spec|
spec.name = "kwattr"
- spec.version = KWattr::VERSION
+ spec.version = KWAttr::VERSION
spec.authors = ["Étienne Barrié"]
spec.email = ["etienne.barrie@gmail.com"]
spec.summary = %q{attr_reader + initialize with keyword arguments}
spec.description = %q{}
@@ -17,6 +15,7 @@
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.9"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.2"
+ spec.add_development_dependency "benchmark-ips", "~> 2.2"
end