unit-ruby 0.12.1 → 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: 1d08a1092fb609e066e0005fab4221d2f15f3f8463546105d91c9615d070f9d1
4
- data.tar.gz: beae817395d4bfb358d32bd5d6be145db674f4568691959c0b5fd583c7ca822b
3
+ metadata.gz: fa9a1cd6cf99b8de4df268d918b5be2d4fc722e90fd861ad9c25da4c50f31d41
4
+ data.tar.gz: b3d93e3c864e8578062514a92ebc7cb168a567da0b4304e608ed3cce9e231d84
5
5
  SHA512:
6
- metadata.gz: fada79f639e700076c84a097c216ef4514b656739cc7e751fd72d6f5994afafa183e120e598b31e4c2358fb76adbca078c292579ba63792b8c8efeda420b2267
7
- data.tar.gz: 8a5e71571c63a735c07ebefaec4843a49e4896f0e795e2a7e45e0ce703cdea9974ef226bf70fbf91399c375991f52054f145a3a84ab29de1901f93426f9279a7
6
+ metadata.gz: 4b95bd4f2ea05a77d8e3f7e8ab0592642ebe4b16ac4b42537b3c93f92b8ac8725365c2225b1d1960e50f9c5ee469200281a57fb59bea5ebbf5d694d845f205ec
7
+ data.tar.gz: e50fd998966dc6d6af5e24e23819ba0ce5655b3c767abf17e915a9669fbeed22e79294012a6dd10758679c8916e116dba3ff490e6070cf901c21c80bb02b9950
data/.env.example CHANGED
@@ -1,2 +1,4 @@
1
1
  UNIT_API_KEY=v2.public.enter_your_api_key_here
2
- UNIT_BASE_URL=https://api.s.unit.sh
2
+ UNIT_BASE_URL=https://api.s.unit.sh
3
+ UNIT_LANGUAGE_ID=123
4
+ UNIT_THEME_ID=456
@@ -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.0", "3.3"]
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/CODE_OF_CONDUCT.md CHANGED
@@ -14,21 +14,21 @@ orientation.
14
14
  Examples of behavior that contributes to creating a positive environment
15
15
  include:
16
16
 
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
17
+ - Using welcoming and inclusive language
18
+ - Being respectful of differing viewpoints and experiences
19
+ - Gracefully accepting constructive criticism
20
+ - Focusing on what is best for the community
21
+ - Showing empathy towards other community members
22
22
 
23
23
  Examples of unacceptable behavior by participants include:
24
24
 
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
25
+ - The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ - Trolling, insulting/derogatory comments, and personal or political attacks
28
+ - Public or private harassment
29
+ - Publishing others' private information, such as a physical or electronic
30
30
  address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
31
+ - Other conduct which could reasonably be considered inappropriate in a
32
32
  professional setting
33
33
 
34
34
  ## Our Responsibilities
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at chloe.isacke@gmail.com. All
58
+ reported by contacting the project team at cto@retirable.com. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
data/README.md CHANGED
@@ -1,9 +1,29 @@
1
- # Documentation
1
+ # Unit Ruby
2
2
 
3
- The documentation for the Unit API can be found [here](https://docs.unit.co/).
3
+ [![Gem Version](https://img.shields.io/gem/v/unit-ruby)](https://rubygems.org/gems/unit-ruby/)
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
+ ![GitHub License](https://img.shields.io/github/license/retirable/unit-ruby)
6
+
7
+ A Ruby SDK for the [Unit's Banking-as-a-Service API](https://docs.unit.co/).
8
+
9
+ > [!IMPORTANT]
10
+ >
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
+ >
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
+
15
+ ## Features
16
+
17
+ - Ruby SDK for Unit's Banking-as-a-Service API
18
+ - Support for all major Unit API endpoints
19
+ - Built-in error handling and response parsing
20
+ - Production-ready and battle-tested by Retirable
21
+ - Ruby 3.3+ compatibility
4
22
 
5
23
  ## Installation
6
24
 
25
+ > **Requirements:** Ruby 3.3+
26
+
7
27
  Add this line to your application's Gemfile:
8
28
 
9
29
  ```ruby
@@ -12,32 +32,100 @@ gem 'unit-ruby'
12
32
 
13
33
  And then execute:
14
34
 
15
- $ bundle
35
+ ```bash
36
+ $ bundle install
37
+ ```
16
38
 
17
39
  Or install it yourself as:
18
40
 
19
- $ gem install unit-ruby
41
+ ```bash
42
+ $ gem install unit-ruby
43
+ ```
20
44
 
21
- ## Usage
45
+ ## Configuration
22
46
 
23
- To get started, add an initializer file for the `unit-ruby` gem e.g. in `config/initializers/unit.rb`.
47
+ Configure the library with your credentials from Unit, (e.g., in `config/initializers/unit.rb` if you are using Ruby on Rails):
24
48
 
25
- ```Ruby
49
+ ```ruby
26
50
  require 'unit-ruby'
27
51
 
28
52
  Unit.configure do |config|
29
- config.api_key = ENV['UNIT_API_KEY']
30
- config.base_url = ENV['UNIT_BASE_URL']
31
- config.trust_token = ENV['UNIT_TRUST_TOKEN] # optional
53
+ config.api_key = ENV['UNIT_API_KEY'] # Your Unit API key (required)
54
+ config.base_url = ENV['UNIT_BASE_URL'] # Unit API base URL (required)
55
+ config.trust_token = ENV['UNIT_TRUST_TOKEN'] # Trust token for enhanced security (optional, requires additional configuration from Unit's support team)
32
56
  end
57
+ ```
58
+
59
+ ## Usage
33
60
 
61
+ ```Ruby
62
+ my_user_id = 'some-user-id-from-your-app'
63
+
64
+ # Create an Individual Application
65
+ application = Unit::IndividualApplication.create(
66
+ full_name: Unit::Types::FullName.new(first: 'John', last: 'Doe'),
67
+ email: 'individual@example.com',
68
+ ssn: rand(10**9).to_s.rjust(9, '0'),
69
+ phone: Unit::Types::Phone.new(country_code: '1', number: '5555555555'),
70
+ occupation: 'ArchitectOrEngineer',
71
+ address: Unit::Types::Address.new(
72
+ street: '123 Main St.',
73
+ city: 'Brooklyn',
74
+ state: 'NY',
75
+ postal_code: '11211',
76
+ country: 'US'
77
+ ),
78
+ date_of_birth: '2000-01-01',
79
+ tags: {
80
+ externalUserId: my_user_id
81
+ }
82
+ )
83
+
84
+ customer = application.customer
85
+
86
+ deposit_account = Unit::DepositAccount.create(
87
+ deposit_product: 'checking',
88
+ customer: customer
89
+ )
90
+
91
+ debit_card = Unit::IndividualDebitCard.create(
92
+ idempotency_key: "debit-card-for-#{my_user_id}",
93
+ customer: customer,
94
+ account: deposit_account,
95
+ shipping_address: customer.address,
96
+ tags: { externalUserId: my_user_id }
97
+ )
34
98
  ```
35
99
 
100
+ > [!TIP]
101
+ >
102
+ > Refer to the examples in `./spec/**` for further examples
103
+
36
104
  ## Development
37
105
 
38
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You will also need UNIT_THEME_ID and UNIT_LANGUAGE_ID set in your environment. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
106
+ After checking out the repo, install dependencies:
39
107
 
40
- To install this gem onto your local machine, run `bundle exec rake install`.
108
+ ```bash
109
+ $ bin/setup
110
+ ```
111
+
112
+ Run the tests:
113
+
114
+ ```bash
115
+ $ bin/test
116
+ ```
117
+
118
+ For an interactive prompt to experiment with the gem:
119
+
120
+ ```bash
121
+ $ bin/console
122
+ ```
123
+
124
+ To install this gem onto your local machine:
125
+
126
+ ```bash
127
+ $ bundle exec rake install
128
+ ```
41
129
 
42
130
  ## Releasing
43
131
 
@@ -53,12 +141,12 @@ Once your account is set up, the following operations will facilitate publishing
53
141
 
54
142
  ## Contributing
55
143
 
56
- Bug reports and pull requests are welcome on GitHub at https://github.com/retirable/unit-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
144
+ Bug reports and pull requests are welcome on GitHub at https://github.com/retirable/unit-ruby.
57
145
 
58
- ## License
146
+ ## Code of Conduct
59
147
 
60
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
148
+ This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Code of Conduct](https://github.com/retirable/unit-ruby/blob/main/CODE_OF_CONDUCT.md).
61
149
 
62
- ## Code of Conduct
150
+ ## License
63
151
 
64
- Everyone interacting in the Unit project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/retirable/unit-ruby/blob/master/CODE_OF_CONDUCT.md).
152
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/bin/setup CHANGED
@@ -3,6 +3,12 @@ set -euo pipefail
3
3
  IFS=$'\n\t'
4
4
  set -vx
5
5
 
6
+ # Copy .env.example to .env if .env doesn't exist
7
+ if [ ! -f .env ] && [ -f .env.example ]; then
8
+ cp .env.example .env
9
+ echo "Created .env from .env.example"
10
+ fi
11
+
6
12
  bundle install
7
13
 
8
- # Do any other automated setup that you need to do here
14
+ echo "Setup complete"
data/bin/test ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ bundle exec rspec "$@"
@@ -1,3 +1,3 @@
1
1
  module Unit
2
- VERSION = '0.12.1'
2
+ VERSION = '1.1.0'
3
3
  end
data/unit-ruby.gemspec CHANGED
@@ -5,25 +5,18 @@ require 'unit-ruby/version'
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'unit-ruby'
7
7
  spec.version = Unit::VERSION
8
- spec.authors = ['Chloe Isacke', 'Ian Yamey']
9
- spec.email = ['chloe@retirable.com', 'ian@retirable.com']
8
+ spec.authors = ['Chloe Isacke', 'Ian Yamey', 'Trevor Nelson']
9
+ spec.email = ['chloe@retirable.com', 'ian@retirable.com', 'trevor@retirable.com']
10
10
 
11
11
  spec.summary = 'A Ruby gem for communicating with the Unit API.'
12
12
  spec.homepage = 'https://github.com/retirable/unit-ruby'
13
13
  spec.license = 'MIT'
14
14
 
15
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
- # to allow pushing to a single host or delete this section to allow pushing to any host.
17
- if spec.respond_to?(:metadata)
18
- spec.metadata['allowed_push_host'] = 'https://rubygems.org/'
19
-
20
- spec.metadata['homepage_uri'] = spec.homepage
21
- spec.metadata['source_code_uri'] = 'https://github.com/retirable/unit-ruby'
22
- spec.metadata['changelog_uri'] = 'https://github.com/retirable/unit-ruby/blob/main/CHANGELOG.md'
23
- else
24
- raise 'RubyGems 2.0 or newer is required to protect against ' \
25
- 'public gem pushes.'
26
- end
15
+ spec.metadata = {
16
+ 'allowed_push_host' => 'https://rubygems.org/',
17
+ 'source_code_uri' => 'https://github.com/retirable/unit-ruby',
18
+ 'changelog_uri' => 'https://github.com/retirable/unit-ruby/blob/main/CHANGELOG.md'
19
+ }
27
20
 
28
21
  # Specify which files should be added to the gem when it is released.
29
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -34,15 +27,17 @@ Gem::Specification.new do |spec|
34
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
35
28
  spec.require_paths = ['lib']
36
29
 
37
- spec.add_dependency 'activesupport'
38
- spec.add_dependency 'faraday', '>= 2.0.1', '< 3'
39
- spec.add_dependency 'faraday-retry'
30
+ spec.required_ruby_version = '>= 3.3'
31
+
32
+ spec.add_dependency 'activesupport', '>= 7.0', '< 9'
33
+ spec.add_dependency 'faraday', '~> 2'
34
+ spec.add_dependency 'faraday-retry', '~> 2'
40
35
 
41
- spec.add_development_dependency 'dotenv', '~> 2.7.6'
42
- spec.add_development_dependency 'pry'
43
- spec.add_development_dependency 'rake', '~> 13.0'
44
- spec.add_development_dependency 'rspec', '~> 3.0'
36
+ spec.add_development_dependency 'dotenv', '~> 3'
37
+ spec.add_development_dependency 'pry', '~> 0.15'
38
+ spec.add_development_dependency 'rake', '~> 13'
39
+ spec.add_development_dependency 'rspec', '~> 3'
45
40
  spec.add_development_dependency 'rspec-file_fixtures', '~> 0.1.9'
46
- spec.add_development_dependency 'rubocop', '~> 1.24.1'
41
+ spec.add_development_dependency 'rubocop', '~> 1'
47
42
  spec.metadata['rubygems_mfa_required'] = 'true'
48
43
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unit-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chloe Isacke
8
8
  - Ian Yamey
9
- autorequire:
9
+ - Trevor Nelson
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2025-02-24 00:00:00.000000000 Z
12
+ date: 1980-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -17,104 +17,104 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: '7.0'
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '9'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
28
  - - ">="
26
29
  - !ruby/object:Gem::Version
27
- version: '0'
30
+ version: '7.0'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '9'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: faraday
30
36
  requirement: !ruby/object:Gem::Requirement
31
37
  requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: 2.0.1
35
- - - "<"
38
+ - - "~>"
36
39
  - !ruby/object:Gem::Version
37
- version: '3'
40
+ version: '2'
38
41
  type: :runtime
39
42
  prerelease: false
40
43
  version_requirements: !ruby/object:Gem::Requirement
41
44
  requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: 2.0.1
45
- - - "<"
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3'
47
+ version: '2'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: faraday-retry
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '2'
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '2'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: dotenv
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.7.6
68
+ version: '3'
69
69
  type: :development
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.7.6
75
+ version: '3'
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: pry
78
78
  requirement: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '0.15'
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '0.15'
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: rake
92
92
  requirement: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '13.0'
96
+ version: '13'
97
97
  type: :development
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '13.0'
103
+ version: '13'
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rspec
106
106
  requirement: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '3.0'
110
+ version: '3'
111
111
  type: :development
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.0'
117
+ version: '3'
118
118
  - !ruby/object:Gem::Dependency
119
119
  name: rspec-file_fixtures
120
120
  requirement: !ruby/object:Gem::Requirement
@@ -135,37 +135,36 @@ dependencies:
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.24.1
138
+ version: '1'
139
139
  type: :development
140
140
  prerelease: false
141
141
  version_requirements: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.24.1
146
- description:
145
+ version: '1'
147
146
  email:
148
147
  - chloe@retirable.com
149
148
  - ian@retirable.com
149
+ - trevor@retirable.com
150
150
  executables: []
151
151
  extensions: []
152
152
  extra_rdoc_files: []
153
153
  files:
154
154
  - ".env.example"
155
- - ".github/workflows/ruby.yml"
155
+ - ".github/workflows/ci.yml"
156
156
  - ".gitignore"
157
157
  - ".rspec"
158
158
  - ".rubocop.yml"
159
- - ".travis.yml"
160
159
  - CHANGELOG.md
161
160
  - CODE_OF_CONDUCT.md
162
161
  - Gemfile
163
- - Gemfile.lock
164
162
  - LICENSE.txt
165
163
  - README.md
166
164
  - Rakefile
167
165
  - bin/console
168
166
  - bin/setup
167
+ - bin/test
169
168
  - lib/unit-ruby.rb
170
169
  - lib/unit-ruby/ach_counterparty.rb
171
170
  - lib/unit-ruby/ach_payment.rb
@@ -221,11 +220,9 @@ licenses:
221
220
  - MIT
222
221
  metadata:
223
222
  allowed_push_host: https://rubygems.org/
224
- homepage_uri: https://github.com/retirable/unit-ruby
225
223
  source_code_uri: https://github.com/retirable/unit-ruby
226
224
  changelog_uri: https://github.com/retirable/unit-ruby/blob/main/CHANGELOG.md
227
225
  rubygems_mfa_required: 'true'
228
- post_install_message:
229
226
  rdoc_options: []
230
227
  require_paths:
231
228
  - lib
@@ -233,15 +230,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
233
230
  requirements:
234
231
  - - ">="
235
232
  - !ruby/object:Gem::Version
236
- version: '0'
233
+ version: '3.3'
237
234
  required_rubygems_version: !ruby/object:Gem::Requirement
238
235
  requirements:
239
236
  - - ">="
240
237
  - !ruby/object:Gem::Version
241
238
  version: '0'
242
239
  requirements: []
243
- rubygems_version: 3.2.3
244
- signing_key:
240
+ rubygems_version: 3.6.9
245
241
  specification_version: 4
246
242
  summary: A Ruby gem for communicating with the Unit API.
247
243
  test_files: []
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.3
7
- before_install: gem install bundler -v 1.17.2
data/Gemfile.lock DELETED
@@ -1,95 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- unit-ruby (0.12.1)
5
- activesupport
6
- faraday (>= 2.0.1, < 3)
7
- faraday-retry
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.2)
81
-
82
- PLATFORMS
83
- ruby
84
-
85
- DEPENDENCIES
86
- dotenv (~> 2.7.6)
87
- pry
88
- rake (~> 13.0)
89
- rspec (~> 3.0)
90
- rspec-file_fixtures (~> 0.1.9)
91
- rubocop (~> 1.24.1)
92
- unit-ruby!
93
-
94
- BUNDLED WITH
95
- 2.4.19