diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gemspec.rb | 2 |
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 |