http-accept.gemspec in http-accept-1.7.0 vs http-accept.gemspec in http-accept-2.1.0
- old
+ new
@@ -1,10 +1,8 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'http/accept/version'
+require_relative 'lib/http/accept/version'
+
Gem::Specification.new do |spec|
spec.name = "http-accept"
spec.version = HTTP::Accept::VERSION
spec.authors = ["Samuel Williams"]
spec.email = ["samuel.williams@oriontransfer.co.nz"]
@@ -15,9 +13,10 @@
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.add_development_dependency "bundler", "~> 1.11"
+ spec.add_development_dependency "covered"
+ spec.add_development_dependency "bundler"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
end