diff options
-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 |