aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-08-15 13:00:13 +1200
committerPhilip Arndt <parndt@gmail.com>2011-08-15 13:00:13 +1200
commit9b74f31a2a22d0667e915d7c7e88477a964ed189 (patch)
tree005317f16652eafe9964bf689b8f52d36e97c005 /lib
parente70193ca117277a3a86432a3b6eae30d195fba95 (diff)
parentcb2bcf387cf876e9f014e15fb1d0769576bf3fdd (diff)
downloadrefinerycms-blog-9b74f31a2a22d0667e915d7c7e88477a964ed189.tar.gz
refinerycms-blog-9b74f31a2a22d0667e915d7c7e88477a964ed189.tar.bz2
refinerycms-blog-9b74f31a2a22d0667e915d7c7e88477a964ed189.zip
Merge remote-tracking branch 'enmasse-entertainment/fix-gemspec-filelist' into rails-3-1
Diffstat (limited to 'lib')
-rw-r--r--lib/gemspec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gemspec.rb b/lib/gemspec.rb
index 96ae6d2..02fd018 100644
--- a/lib/gemspec.rb
+++ b/lib/gemspec.rb
@@ -2,7 +2,7 @@
require File.expand_path('../refinery/blog/version', __FILE__)
version = ::Refinery::Blog::Version.to_s
raise "Could not get version so gemspec can not be built" if version.nil?
-files = Dir.glob("**/*").flatten.reject{|f| f =~ %r{.gem$} or f =~ %r{^spec/dummy}}
+files = Dir.glob("**/*").flatten.reject{|f| f =~ %r{(.gem$|^spec/dummy|.lock$)}}
gemspec = <<EOF
# Encoding: UTF-8