lib/gemspec.rb in refinerycms-pages-1.0.8 vs lib/gemspec.rb in refinerycms-pages-1.0.9
- old
+ new
@@ -21,10 +21,10 @@
s.require_paths = %w(lib)
s.executables = %w(#{Pathname.glob(gempath.join('bin/*')).map{|d| d.relative_path_from(gempath)}.sort.join(" ")})
s.files = [
'#{%w( **/{*,.rspec,.gitignore,.yardopts} ).map { |file| Pathname.glob(gempath.join(file)) }.flatten.reject{|f|
- !f.exist? or f.to_s =~ /\.gem$/ or (f.directory? and f.children.empty?)
+ !f.exist? or f.to_s =~ /(\.(gem|rbc)|tmp(\/.*)?|spec\/lib\/tmp(\/.*)?)$/ or (f.directory? and f.children.empty?)
}.map{|d| d.relative_path_from(gempath)}.uniq.sort.join("',\n '")}'
]
s.add_dependency 'refinerycms-core', '= #{::Refinery::Version}'
s.add_dependency 'activerecord', '~> 3.0.10'