regexp-examples.gemspec in regexp-examples-1.1.3 vs regexp-examples.gemspec in regexp-examples-1.1.4

- old
+ new

@@ -1,17 +1,18 @@ require File.expand_path('../lib/regexp-examples/version', __FILE__) Gem::Specification.new do |s| s.name = 'regexp-examples' s.version = RegexpExamples::VERSION - s.summary = "Extends the Regexp class with '#examples'" + s.summary = "Extends the Regexp class with '#examples' and '#random_example'" s.description = - 'Regexp#examples returns a list of strings that are matched by the regex' + 'Regexp#examples returns a list of "all" strings that are matched by the regex. '\ + + 'Regexp#random_example returns one, random string that matches.' s.authors = ['Tom Lord'] s.email = 'lord.thom@gmail.com' s.files = `git ls-files -z`.split("\x0") - s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } - s.test_files = s.files.grep(%r{^(test|spec|features)/}) + s.executables = s.files.grep(/^bin\//) { |f| File.basename(f) } + s.test_files = s.files.grep(/^(test|spec|features)\//) s.require_paths = ['lib'] s.homepage = 'http://rubygems.org/gems/regexp-examples' s.add_development_dependency 'bundler', '~> 1.7' s.add_development_dependency 'rake', '~> 10.0'