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 +4 -4
- data/.env.example +3 -1
- data/.github/workflows/{ruby.yml → ci.yml} +4 -3
- data/.gitignore +4 -0
- data/.rubocop.yml +1 -1
- data/CODE_OF_CONDUCT.md +12 -12
- data/README.md +105 -17
- data/bin/setup +7 -1
- data/bin/test +2 -0
- data/lib/unit-ruby/version.rb +1 -1
- data/unit-ruby.gemspec +17 -22
- metadata +36 -40
- data/.travis.yml +0 -7
- data/Gemfile.lock +0 -95
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa9a1cd6cf99b8de4df268d918b5be2d4fc722e90fd861ad9c25da4c50f31d41
|
|
4
|
+
data.tar.gz: b3d93e3c864e8578062514a92ebc7cb168a567da0b4304e608ed3cce9e231d84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b95bd4f2ea05a77d8e3f7e8ab0592642ebe4b16ac4b42537b3c93f92b8ac8725365c2225b1d1960e50f9c5ee469200281a57fb59bea5ebbf5d694d845f205ec
|
|
7
|
+
data.tar.gz: e50fd998966dc6d6af5e24e23819ba0ce5655b3c767abf17e915a9669fbeed22e79294012a6dd10758679c8916e116dba3ff490e6070cf901c21c80bb02b9950
|
data/.env.example
CHANGED
|
@@ -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.
|
|
28
|
+
ruby-version: ["3.4", "4.0"]
|
|
28
29
|
|
|
29
30
|
steps:
|
|
30
|
-
- uses: actions/checkout@
|
|
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
data/.rubocop.yml
CHANGED
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
26
|
-
advances
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
#
|
|
1
|
+
# Unit Ruby
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://rubygems.org/gems/unit-ruby/)
|
|
4
|
+
[](https://github.com/retirable/unit-ruby/actions/workflows/ci.yml)
|
|
5
|
+

|
|
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
|
-
|
|
35
|
+
```bash
|
|
36
|
+
$ bundle install
|
|
37
|
+
```
|
|
16
38
|
|
|
17
39
|
Or install it yourself as:
|
|
18
40
|
|
|
19
|
-
|
|
41
|
+
```bash
|
|
42
|
+
$ gem install unit-ruby
|
|
43
|
+
```
|
|
20
44
|
|
|
21
|
-
##
|
|
45
|
+
## Configuration
|
|
22
46
|
|
|
23
|
-
|
|
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
|
-
```
|
|
49
|
+
```ruby
|
|
26
50
|
require 'unit-ruby'
|
|
27
51
|
|
|
28
52
|
Unit.configure do |config|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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,
|
|
106
|
+
After checking out the repo, install dependencies:
|
|
39
107
|
|
|
40
|
-
|
|
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.
|
|
144
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/retirable/unit-ruby.
|
|
57
145
|
|
|
58
|
-
##
|
|
146
|
+
## Code of Conduct
|
|
59
147
|
|
|
60
|
-
|
|
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
|
-
##
|
|
150
|
+
## License
|
|
63
151
|
|
|
64
|
-
|
|
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
|
-
|
|
14
|
+
echo "Setup complete"
|
data/bin/test
ADDED
data/lib/unit-ruby/version.rb
CHANGED
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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.
|
|
38
|
-
|
|
39
|
-
spec.add_dependency '
|
|
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', '~>
|
|
42
|
-
spec.add_development_dependency 'pry'
|
|
43
|
-
spec.add_development_dependency 'rake', '~> 13
|
|
44
|
-
spec.add_development_dependency 'rspec', '~> 3
|
|
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
|
|
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:
|
|
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
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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:
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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/
|
|
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: '
|
|
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.
|
|
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
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
|