From f5c5f3f31ae79354c98f36316b18409603c0a69e Mon Sep 17 00:00:00 2001 From: Kallin Nagelberg Date: Wed, 14 Aug 2024 11:18:51 -0400 Subject: [PATCH 1/2] including `faraday-follow_redirects` as a runtime dependency for projects using the onfido-ruby gem --- generators/ruby/faraday/templates/gemspec.mustache | 1 + 1 file changed, 1 insertion(+) diff --git a/generators/ruby/faraday/templates/gemspec.mustache b/generators/ruby/faraday/templates/gemspec.mustache index fd874472..ccf2ead7 100644 --- a/generators/ruby/faraday/templates/gemspec.mustache +++ b/generators/ruby/faraday/templates/gemspec.mustache @@ -22,6 +22,7 @@ Gem::Specification.new do |s| {{#isFaraday}} s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0' + s.add_runtime_dependency 'faraday-follow_redirects', '~> 0.3.0' s.add_runtime_dependency 'faraday-multipart' s.add_runtime_dependency 'marcel' {{/isFaraday}} From 595c60bdf5b250a027b579c49ec4af4508ea2d2c Mon Sep 17 00:00:00 2001 From: Kallin Nagelberg Date: Mon, 19 Aug 2024 10:48:06 -0400 Subject: [PATCH 2/2] Update generators/ruby/faraday/templates/gemspec.mustache Co-authored-by: dvacca-onfido <134616519+dvacca-onfido@users.noreply.github.com> --- generators/ruby/faraday/templates/gemspec.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/ruby/faraday/templates/gemspec.mustache b/generators/ruby/faraday/templates/gemspec.mustache index ccf2ead7..4e03204a 100644 --- a/generators/ruby/faraday/templates/gemspec.mustache +++ b/generators/ruby/faraday/templates/gemspec.mustache @@ -22,7 +22,7 @@ Gem::Specification.new do |s| {{#isFaraday}} s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0' - s.add_runtime_dependency 'faraday-follow_redirects', '~> 0.3.0' + s.add_runtime_dependency 'faraday-follow_redirects', '~> 0.3.0' {{! added dependency }} s.add_runtime_dependency 'faraday-multipart' s.add_runtime_dependency 'marcel' {{/isFaraday}}