-
Notifications
You must be signed in to change notification settings - Fork 31
/
regexp-examples.gemspec
24 lines (23 loc) · 1.12 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
23
24
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 = '[email protected]'
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_dependency 'regexp_property_values', '~> 1.5'
s.add_development_dependency 'bundler', '~> 2.4'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'pry'
s.add_development_dependency 'warning', '~> 0.10.0'
s.license = 'MIT'
s.required_ruby_version = '>= 2.4.0'
end