unit-ruby 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1497f1a94c4658c70e2902a5c8d50f12d129002b02ca7e05bcc8f1d89a601fd8
4
- data.tar.gz: f203bc0ba92691c088ae423ed712be0a24ca6b1676baf8d0d89c3ed60b9afcb8
3
+ metadata.gz: fa9a1cd6cf99b8de4df268d918b5be2d4fc722e90fd861ad9c25da4c50f31d41
4
+ data.tar.gz: b3d93e3c864e8578062514a92ebc7cb168a567da0b4304e608ed3cce9e231d84
5
5
  SHA512:
6
- metadata.gz: f1edfa3ff3615560ff396d44314d7c4551b427da4ace19502e819ab7c4af366e1d371bdddbd73fefa33d4acaf0d0e51a784e6120cc3bab020527460426597def
7
- data.tar.gz: '07246815b370ca22e46d055a455911d4fde32ee56b53f99997e1f0797e5f4e3b346a6ea77cf80b9da959af72570957e0615e288d60ac9992ce0c0877f57ae960'
6
+ metadata.gz: 4b95bd4f2ea05a77d8e3f7e8ab0592642ebe4b16ac4b42537b3c93f92b8ac8725365c2225b1d1960e50f9c5ee469200281a57fb59bea5ebbf5d694d845f205ec
7
+ data.tar.gz: e50fd998966dc6d6af5e24e23819ba0ce5655b3c767abf17e915a9669fbeed22e79294012a6dd10758679c8916e116dba3ff490e6070cf901c21c80bb02b9950
@@ -23,13 +23,14 @@ jobs:
23
23
  test:
24
24
  runs-on: ubuntu-latest
25
25
  strategy:
26
+ fail-fast: false
26
27
  matrix:
27
- ruby-version: ["3.3", "3.4"]
28
+ ruby-version: ["3.4", "4.0"]
28
29
 
29
30
  steps:
30
- - uses: actions/checkout@v2
31
+ - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
31
32
  - name: Set up Ruby
32
- uses: ruby/setup-ruby@v1
33
+ uses: ruby/setup-ruby@12fd324f1d0b43274fdc8130f6980590a667c455 # v1.312.0
33
34
  with:
34
35
  ruby-version: ${{ matrix.ruby-version }}
35
36
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
data/.gitignore CHANGED
@@ -11,3 +11,7 @@
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
13
  .env
14
+
15
+ # Library gem: dependencies are resolved by the consuming app against the
16
+ # gemspec, so the lockfile is not committed. CI resolves fresh on each run.
17
+ Gemfile.lock
data/.rubocop.yml CHANGED
@@ -9,7 +9,7 @@ Style/MutableConstant:
9
9
 
10
10
  Layout/LineLength:
11
11
  Max: 100
12
- IgnoredPatterns: ['(\A|\s)#']
12
+ AllowedPatterns: ['(\A|\s)#']
13
13
 
14
14
  Style/Documentation:
15
15
  Enabled: false
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Unit Ruby
2
2
 
3
- ![Gem Version](https://img.shields.io/gem/v/unit-ruby)
3
+ [![Gem Version](https://img.shields.io/gem/v/unit-ruby)](https://rubygems.org/gems/unit-ruby/)
4
4
  [![Ruby](https://github.com/retirable/unit-ruby/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/retirable/unit-ruby/actions/workflows/ci.yml)
5
5
  ![GitHub License](https://img.shields.io/github/license/retirable/unit-ruby)
6
6
 
@@ -8,7 +8,7 @@ A Ruby SDK for the [Unit's Banking-as-a-Service API](https://docs.unit.co/).
8
8
 
9
9
  > [!IMPORTANT]
10
10
  >
11
- > The development of the `unit-ruby` gem is sponsored and used in production by [Retirable](https://retirable).
11
+ > The development of the [`unit-ruby`](https://rubygems.org/gems/unit-ruby/) gem is sponsored and used in production by [Retirable](https://retirable).
12
12
  >
13
13
  > If you are starting a new project, you might want to consider Unit's officially supported gem, [`unit-ruby-sdk`](https://github.com/unit-finance/unit-ruby-sdk)
14
14
 
@@ -1,3 +1,3 @@
1
1
  module Unit
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
data/unit-ruby.gemspec CHANGED
@@ -29,11 +29,11 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.required_ruby_version = '>= 3.3'
31
31
 
32
- spec.add_dependency 'activesupport', '~> 7'
32
+ spec.add_dependency 'activesupport', '>= 7.0', '< 9'
33
33
  spec.add_dependency 'faraday', '~> 2'
34
34
  spec.add_dependency 'faraday-retry', '~> 2'
35
35
 
36
- spec.add_development_dependency 'dotenv', '~> 2'
36
+ spec.add_development_dependency 'dotenv', '~> 3'
37
37
  spec.add_development_dependency 'pry', '~> 0.15'
38
38
  spec.add_development_dependency 'rake', '~> 13'
39
39
  spec.add_development_dependency 'rspec', '~> 3'
metadata CHANGED
@@ -1,31 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unit-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chloe Isacke
8
8
  - Ian Yamey
9
9
  - Trevor Nelson
10
- autorequire:
11
10
  bindir: exe
12
11
  cert_chain: []
13
- date: 2025-06-05 00:00:00.000000000 Z
12
+ date: 1980-01-02 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: activesupport
17
16
  requirement: !ruby/object:Gem::Requirement
18
17
  requirements:
19
- - - "~>"
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '7.0'
21
+ - - "<"
20
22
  - !ruby/object:Gem::Version
21
- version: '7'
23
+ version: '9'
22
24
  type: :runtime
23
25
  prerelease: false
24
26
  version_requirements: !ruby/object:Gem::Requirement
25
27
  requirements:
26
- - - "~>"
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: '7.0'
31
+ - - "<"
27
32
  - !ruby/object:Gem::Version
28
- version: '7'
33
+ version: '9'
29
34
  - !ruby/object:Gem::Dependency
30
35
  name: faraday
31
36
  requirement: !ruby/object:Gem::Requirement
@@ -60,14 +65,14 @@ dependencies:
60
65
  requirements:
61
66
  - - "~>"
62
67
  - !ruby/object:Gem::Version
63
- version: '2'
68
+ version: '3'
64
69
  type: :development
65
70
  prerelease: false
66
71
  version_requirements: !ruby/object:Gem::Requirement
67
72
  requirements:
68
73
  - - "~>"
69
74
  - !ruby/object:Gem::Version
70
- version: '2'
75
+ version: '3'
71
76
  - !ruby/object:Gem::Dependency
72
77
  name: pry
73
78
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +143,6 @@ dependencies:
138
143
  - - "~>"
139
144
  - !ruby/object:Gem::Version
140
145
  version: '1'
141
- description:
142
146
  email:
143
147
  - chloe@retirable.com
144
148
  - ian@retirable.com
@@ -155,7 +159,6 @@ files:
155
159
  - CHANGELOG.md
156
160
  - CODE_OF_CONDUCT.md
157
161
  - Gemfile
158
- - Gemfile.lock
159
162
  - LICENSE.txt
160
163
  - README.md
161
164
  - Rakefile
@@ -220,7 +223,6 @@ metadata:
220
223
  source_code_uri: https://github.com/retirable/unit-ruby
221
224
  changelog_uri: https://github.com/retirable/unit-ruby/blob/main/CHANGELOG.md
222
225
  rubygems_mfa_required: 'true'
223
- post_install_message:
224
226
  rdoc_options: []
225
227
  require_paths:
226
228
  - lib
@@ -235,8 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
237
  - !ruby/object:Gem::Version
236
238
  version: '0'
237
239
  requirements: []
238
- rubygems_version: 3.5.22
239
- signing_key:
240
+ rubygems_version: 3.6.9
240
241
  specification_version: 4
241
242
  summary: A Ruby gem for communicating with the Unit API.
242
243
  test_files: []
data/Gemfile.lock DELETED
@@ -1,95 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- unit-ruby (1.0.0)
5
- activesupport (~> 7)
6
- faraday (~> 2)
7
- faraday-retry (~> 2)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activesupport (7.0.8.7)
13
- concurrent-ruby (~> 1.0, >= 1.0.2)
14
- i18n (>= 1.6, < 2)
15
- minitest (>= 5.1)
16
- tzinfo (~> 2.0)
17
- ast (2.4.2)
18
- coderay (1.1.3)
19
- concurrent-ruby (1.3.4)
20
- diff-lcs (1.5.1)
21
- dotenv (2.7.6)
22
- faraday (2.12.2)
23
- faraday-net_http (>= 2.0, < 3.5)
24
- json
25
- logger
26
- faraday-net_http (3.4.0)
27
- net-http (>= 0.5.0)
28
- faraday-retry (2.2.1)
29
- faraday (~> 2.0)
30
- i18n (1.14.6)
31
- concurrent-ruby (~> 1.0)
32
- json (2.9.1)
33
- logger (1.6.4)
34
- method_source (1.1.0)
35
- minitest (5.25.4)
36
- net-http (0.6.0)
37
- uri
38
- parallel (1.26.3)
39
- parser (3.3.6.0)
40
- ast (~> 2.4.1)
41
- racc
42
- pry (0.15.2)
43
- coderay (~> 1.1)
44
- method_source (~> 1.0)
45
- racc (1.8.1)
46
- rainbow (3.1.1)
47
- rake (13.2.1)
48
- regexp_parser (2.10.0)
49
- rexml (3.4.0)
50
- rspec (3.13.0)
51
- rspec-core (~> 3.13.0)
52
- rspec-expectations (~> 3.13.0)
53
- rspec-mocks (~> 3.13.0)
54
- rspec-core (3.13.2)
55
- rspec-support (~> 3.13.0)
56
- rspec-expectations (3.13.3)
57
- diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.13.0)
59
- rspec-file_fixtures (0.1.9)
60
- rspec (~> 3.12)
61
- rspec-mocks (3.13.2)
62
- diff-lcs (>= 1.2.0, < 2.0)
63
- rspec-support (~> 3.13.0)
64
- rspec-support (3.13.2)
65
- rubocop (1.24.1)
66
- parallel (~> 1.10)
67
- parser (>= 3.0.0.0)
68
- rainbow (>= 2.2.2, < 4.0)
69
- regexp_parser (>= 1.8, < 3.0)
70
- rexml
71
- rubocop-ast (>= 1.15.1, < 2.0)
72
- ruby-progressbar (~> 1.7)
73
- unicode-display_width (>= 1.4.0, < 3.0)
74
- rubocop-ast (1.37.0)
75
- parser (>= 3.3.1.0)
76
- ruby-progressbar (1.13.0)
77
- tzinfo (2.0.6)
78
- concurrent-ruby (~> 1.0)
79
- unicode-display_width (2.6.0)
80
- uri (1.0.3)
81
-
82
- PLATFORMS
83
- ruby
84
-
85
- DEPENDENCIES
86
- dotenv (~> 2)
87
- pry (~> 0.15)
88
- rake (~> 13)
89
- rspec (~> 3)
90
- rspec-file_fixtures (~> 0.1.9)
91
- rubocop (~> 1)
92
- unit-ruby!
93
-
94
- BUNDLED WITH
95
- 2.4.19