aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-08-12 12:44:39 -0700
committerJamie Winsor <jamie@enmasse.com>2011-08-12 12:44:39 -0700
commitfbcf2bd34a92ae32b810a4de5c6a3ead74bede41 (patch)
treed3153ecebec876a152bc7c95d57ec0c85e0e5a07 /lib
parentd0d5d9eb7d4d0c0af50388c92cd30384937836a7 (diff)
downloadrefinerycms-blog-fbcf2bd34a92ae32b810a4de5c6a3ead74bede41.tar.gz
refinerycms-blog-fbcf2bd34a92ae32b810a4de5c6a3ead74bede41.tar.bz2
refinerycms-blog-fbcf2bd34a92ae32b810a4de5c6a3ead74bede41.zip
Ignore .lock files in Gemspec
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