Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require 'ostruct' #52

Merged
merged 3 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/test-app.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name: Ruby tests

on: [push]
on: [push, pull_request]

jobs:
test:
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install dependencies (bundle)
run: bundle install
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: rake test
run: bundle exec rake test
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
sapi-client-ruby (1.1.0)
sapi-client-ruby (1.1.2)
faraday_middleware (~> 1.0.0)
i18n (~> 1.5)

Expand All @@ -12,9 +12,9 @@ GEM
ast (2.4.2)
builder (3.2.4)
byebug (11.1.3)
concurrent-ruby (1.1.9)
concurrent-ruby (1.3.1)
docile (1.4.0)
faraday (1.10.0)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
Expand All @@ -30,16 +30,16 @@ GEM
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.3)
multipart-post (>= 1.2, < 3)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday_middleware (1.0.0)
faraday (~> 1.0)
i18n (1.10.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.15.0)
minitest-reporters (1.5.0)
Expand All @@ -48,7 +48,7 @@ GEM
minitest (>= 5.0)
ruby-progressbar
mocha (1.13.0)
multipart-post (2.1.1)
multipart-post (2.4.1)
parallel (1.21.0)
parser (3.1.1.0)
ast (~> 2.4.1)
Expand Down
1 change: 1 addition & 0 deletions lib/sapi_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
require 'json'
require 'logger'
require 'i18n'
require 'ostruct'

require 'sapi_client/version'
require 'sapi_client/sapi_endpoint'
Expand Down
Loading