snuffleupagus.gemspec in snuffleupagus-0.0.3 vs snuffleupagus.gemspec in snuffleupagus-0.0.4
- old
+ new
@@ -2,18 +2,22 @@
Gem::Specification.new do |s|
s.name = 'snuffleupagus'
s.version = Snuffleupagus::VERSION
s.platform = Gem::Platform::RUBY
- s.authors = [ 'Andrew Bromwich' ]
- s.email = [ 'abromwich@studiosity.com' ]
+ s.authors = ['Andrew Bromwich']
+ s.email = ['abromwich@studiosity.com']
s.homepage = 'https://studiosity.com'
s.description = 'Simple auth token generator/validator'
s.summary = "snuffleupagus-#{s.version}"
s.required_rubygems_version = '> 1.3.6'
- s.add_development_dependency 'timecop'
+ s.add_development_dependency 'rspec', '~> 0'
+ s.add_development_dependency 'rubocop', '~> 0'
+ s.add_development_dependency 'timecop', '~> 0'
- s.files = `git ls-files`.split($\)
- s.executables = `git ls-files`.split("\n").map{ |f| f =~ /^bin\/(.*)/ ? $1 : nil }.compact
+ s.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
+ s.executables = `git ls-files`.split("\n").map do |f|
+ f =~ %r{^bin/(.*)} ? Regexp.last_match(1) : nil
+ end.compact
s.require_path = 'lib'
end