Bump fabrication

This commit is contained in:
Benjamin Neff 2018-01-18 04:14:43 +01:00
parent 98ff15591e
commit b0cec50172
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
2 changed files with 2 additions and 1 deletions

View file

@ -52,7 +52,7 @@ GEM
erubi (1.7.0)
ethon (0.10.1)
ffi (>= 1.3.0)
fabrication (2.16.3)
fabrication (2.19.0)
faraday (0.13.1)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.12.2)

View file

@ -8,6 +8,7 @@ namespace :gemfiles do
original_gemfile.sub!(/(gemspec name:.*)/) { "#{Regexp.last_match[1]}, path: \"../../\"" }
original_gemfile.sub!(/(gemspec\(name:.*)\)/) { "#{Regexp.last_match[1]}, path: \"../../\")" }
original_gemfile.sub!(/^group :development do$.*?^end$\n\n/m, "")
original_gemfile << "\n gem \"fabrication\", \"< 2.17.0\"\n" # new versions are not compatible with ruby 2.1
rails4_version = "4.2.8"
rails4_gemfile = "#{original_gemfile}\ngem \"actionpack\", \"#{rails4_version}\"\n"