Skip to content

Commit

Permalink
Override gemspec.mustache with dependency fixes
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pedro-psb committed Jul 5, 2024
1 parent f4829fd commit ba85bc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/ruby/gemspec.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ Gem::Specification.new do |s|
s.metadata = {{{gemMetadata}}}{{^gemMetadata}}{}{{/gemMetadata}}

{{#isFaraday}}
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0'
{{! override-note: 2.0.1 lowerbound is recommended by faraday upgrade guide }}
{{! override-note: 2.9.2 upperbound is the max version below 3 that support ruby>2.6 }}
s.add_runtime_dependency 'faraday', '>= 2.0.1', '< 2.9.2'
s.add_runtime_dependency 'faraday-multipart'
s.add_runtime_dependency 'marcel'
{{/isFaraday}}
Expand Down

0 comments on commit ba85bc5

Please sign in to comment.