1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Georg Faerber <georg@riseup.net>
Date: Fri, 24 Aug 2018 16:13:25 -0300
Subject: Don't use git in gemspec
Don't use git in gemspec, otherwise, the gemspec file is not found.
This makes dependency resolution check fail.
Last-Update: 2018-10-02
---
factory_bot.gemspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/factory_bot.gemspec
+++ b/factory_bot.gemspec
@@ -10,9 +10,7 @@
"using factories - less error-prone, more explicit, and "\
"all-around easier to work with than fixtures."
- s.files =
- Dir.glob("lib/**/*") +
- %w[CONTRIBUTING.md GETTING_STARTED.md LICENSE NAME.md NEWS README.md .yardopts]
+ s.files = Dir["**/*"].select {|v| v !~ /^debian/}
s.require_path = "lib"
s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
|