edge_rider.gemspec in edge_rider-0.3.1 vs edge_rider.gemspec in edge_rider-0.3.2
- old
+ new
@@ -9,13 +9,12 @@
s.homepage = 'https://github.com/makandra/edge_rider'
s.summary = 'Power tools for ActiveRecord relations (scopes)'
s.description = s.summary
s.license = 'MIT'
- s.files = `git ls-files`.split("\n").reject { |path| File.lstat(path).symlink? }
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").reject { |path| File.lstat(path).symlink? }
+ s.files = `git ls-files`.split("\n").select { |path| File.exist?(path) && !File.symlink?(path) }
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select { |path| File.exist?(path) && !File.symlink?(path) }
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency('activerecord')
-
end