test_diff.gemspec in test_diff-0.3.3 vs test_diff.gemspec in test_diff-0.3.4
- old
+ new
@@ -12,12 +12,12 @@
spec.summary = 'Gem that attempts to find the tests that are required to run for the changes you have made.'
spec.description = 'Gem that attempts to find the tests that are required to run for the changes you have made.'
spec.homepage = 'https://github.com/grantspeelman/test_diff'
spec.license = 'MIT'
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(/^(test|spec|features)\//) }
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
- spec.executables = spec.files.grep(/^exe\//) { |f| File.basename(f) }
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'thor'
spec.add_dependency 'git'