Skip to content

Commit

Permalink
Merge pull request #1 from JuulLabs-OSS/jdutil/faraday
Browse files Browse the repository at this point in the history
Loosen faraday requirement to v1.x from v1.0.x
  • Loading branch information
JDutil authored Apr 4, 2024
2 parents b27c098 + 5b2540d commit 9cbc0e4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Ruby Gem
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]

jobs:
build:
Expand All @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
- name: Set up Ruby 3.3
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
ruby-version: 3.3.0

- name: Publish to RubyGems
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.0']
ruby-version: ['3.0', '3.1', '3.2', '3.3']

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
Expand Down
2 changes: 1 addition & 1 deletion lib/loogi_http/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module LoogiHttp
VERSION = '1.0.0'.freeze
VERSION = '2.0.0'.freeze
end
12 changes: 6 additions & 6 deletions loogi_http.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'loogi_http/version'

Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 2.6'
spec.required_ruby_version = '>= 3.0'
spec.name = 'loogi_http'
spec.version = LoogiHttp::VERSION
spec.authors = ['Juul Labs, Inc.']
Expand All @@ -27,13 +27,13 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_dependency 'faraday', '~> 1.0.1'
spec.add_dependency 'faraday', '~> 1.0'
spec.add_dependency 'faraday-cookie_jar', '~> 0.0.6'
spec.add_dependency 'faraday_middleware', '~> 1.0.0'
spec.add_dependency 'faraday_middleware', '~> 1.0'

spec.add_development_dependency 'bundler', '>= 2.0'
spec.add_development_dependency 'byebug', '~> 10.0.2'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'byebug', '~> 11.0'
spec.add_development_dependency 'rake', '>= 12.3.3'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'webmock', '~> 3.5.1'
spec.add_development_dependency 'webmock', '~> 3.5'
end

0 comments on commit 9cbc0e4

Please sign in to comment.