Ignore .lock files in Gemspec
This commit is contained in:
parent
d0d5d9eb7d
commit
fbcf2bd34a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue