diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-08-12 12:44:39 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-08-12 12:44:39 -0700 |
commit | fbcf2bd34a92ae32b810a4de5c6a3ead74bede41 (patch) | |
tree | d3153ecebec876a152bc7c95d57ec0c85e0e5a07 | |
parent | d0d5d9eb7d4d0c0af50388c92cd30384937836a7 (diff) | |
download | refinerycms-blog-fbcf2bd34a92ae32b810a4de5c6a3ead74bede41.tar.gz refinerycms-blog-fbcf2bd34a92ae32b810a4de5c6a3ead74bede41.tar.bz2 refinerycms-blog-fbcf2bd34a92ae32b810a4de5c6a3ead74bede41.zip |
Ignore .lock files in Gemspec
-rw-r--r-- | lib/gemspec.rb | 2 | ||||
-rw-r--r-- | refinerycms-blog.gemspec | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/refinerycms-blog.gemspec b/refinerycms-blog.gemspec index 443a178..e08d3e4 100644 --- a/refinerycms-blog.gemspec +++ b/refinerycms-blog.gemspec @@ -187,7 +187,6 @@ Gem::Specification.new do |s| db/seeds db/seeds/refinerycms_blog.rb Gemfile - Gemfile.lock Guardfile lib lib/gemspec.rb @@ -199,6 +198,7 @@ Gem::Specification.new do |s| lib/refinery/blog/tabs.rb lib/refinery/blog/version.rb lib/refinerycms-blog.rb + lib/tasks Rakefile readme.md refinerycms-blog.gemspec |