forked from tom-lord/regexp-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregexp-examples.gemspec
22 lines (21 loc) · 1.02 KB
/
regexp-examples.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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' and '#random_example'"
s.description =
'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(/^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', '~> 12.0'
s.add_development_dependency 'pry', '~> 0.12.0'
s.license = 'MIT'
s.required_ruby_version = '>= 2.4.0'
end