to_regexp.gemspec in to_regexp-0.1.1 vs to_regexp.gemspec in to_regexp-0.1.2
- old
+ new
@@ -1,8 +1,7 @@
# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
-require "to_regexp/version"
+require File.expand_path("../lib/to_regexp/version", __FILE__)
Gem::Specification.new do |s|
s.name = "to_regexp"
s.version = ToRegexp::VERSION
s.platform = Gem::Platform::RUBY
@@ -16,6 +15,9 @@
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
+
+ s.add_development_dependency 'ensure-encoding'
+ s.add_development_dependency 'yard'
end