unit_ruby_sdk 0.1.1 → 0.1.3
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/.rubocop.yml +3 -0
- data/Gemfile +0 -10
- data/README.md +73 -1
- data/lib/unit/api_resources/account_resource.rb +125 -0
- data/lib/unit/api_resources/application_resource.rb +9 -9
- data/lib/unit/api_resources/base_resource.rb +3 -11
- data/lib/unit/api_resources/customer_resource.rb +12 -11
- data/lib/unit/errors/unit_error.rb +7 -13
- data/lib/unit/errors/unit_error_payload.rb +15 -2
- data/lib/unit/models/account/account.rb +157 -0
- data/lib/unit/models/account/deposit/account_owners_request.rb +29 -0
- data/lib/unit/models/account/deposit/balance_history_request.rb +39 -0
- data/lib/unit/models/account/deposit/close_deposit_account_request.rb +36 -0
- data/lib/unit/models/account/deposit/create_deposit_account_request.rb +39 -0
- data/lib/unit/models/account/deposit/freeze_account_request.rb +36 -0
- data/lib/unit/models/account/deposit/list_account_params.rb +48 -0
- data/lib/unit/models/account/deposit/patch_deposit_account_request.rb +36 -0
- data/lib/unit/models/application/application.rb +127 -0
- data/lib/unit/models/application/create_business_application_request.rb +7 -7
- data/lib/unit/models/application/create_individual_application_request.rb +14 -14
- data/lib/unit/models/application/list_application_params.rb +3 -3
- data/lib/unit/models/application/patch_application_request.rb +3 -3
- data/lib/unit/models/application/upload_document_request.rb +1 -1
- data/lib/unit/models/customer/add_authorized_users_request.rb +3 -3
- data/lib/unit/models/customer/archive_customer_request.rb +3 -4
- data/lib/unit/models/customer/customer.rb +96 -0
- data/lib/unit/models/customer/list_customer_params.rb +9 -11
- data/lib/unit/models/customer/patch_business_customer_request.rb +8 -8
- data/lib/unit/models/customer/patch_individual_customer_request.rb +9 -10
- data/lib/unit/models/customer/remove_authorized_users_request.rb +3 -3
- data/lib/unit/models/unit_response.rb +7 -1
- data/lib/unit/types/authorized_user.rb +1 -1
- data/lib/unit/types/relationship.rb +4 -5
- data/lib/unit/types/relationship_array.rb +14 -12
- data/lib/unit/utils/http_helper.rb +56 -0
- data/lib/unit/version.rb +1 -1
- data/lib/unit_ruby_sdk.rb +15 -21
- metadata +70 -3
- data/Gemfile.lock +0 -132
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# Update business customer information request
|
|
4
|
-
#
|
|
4
|
+
# @see https://docs.unit.co/customers#update-business-customer
|
|
5
5
|
module Unit
|
|
6
6
|
module Customer
|
|
7
7
|
class PatchBusinessCustomerRequest
|
|
8
8
|
attr_reader :customer_id, :address, :phone, :contact, :authorized_users, :dba, :tags
|
|
9
9
|
|
|
10
|
-
# @param customer_id [String]
|
|
11
|
-
# @param
|
|
12
|
-
# @param
|
|
13
|
-
# @param
|
|
14
|
-
# @param
|
|
15
|
-
# @param
|
|
16
|
-
# @param
|
|
10
|
+
# @param customer_id [String]
|
|
11
|
+
# @param address [Address] - optional
|
|
12
|
+
# @param phone [Phone] - optional
|
|
13
|
+
# @param contact [BusinessContact] - optional
|
|
14
|
+
# @param authorized_users [Array<AuthorizedUser>] - optional
|
|
15
|
+
# @param dba [String] - optional
|
|
16
|
+
# @param tags [Hash] - optional
|
|
17
17
|
# more information regarding tags: https://docs.unit.co/#updating-tags
|
|
18
18
|
def initialize(customer_id, address = nil, phone = nil, contact = nil,
|
|
19
19
|
authorized_users = nil, dba = nil, tags = nil)
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# Update individual customer information request
|
|
4
|
-
#
|
|
4
|
+
# @see https://docs.unit.co/customers#update-individual-customer
|
|
5
5
|
module Unit
|
|
6
6
|
module Customer
|
|
7
7
|
class PatchIndividualCustomerRequest
|
|
8
8
|
attr_reader :customer_id, :address, :phone, :email, :dba, :authorized_users, :tags, :jwt_subject
|
|
9
9
|
|
|
10
|
-
# @param customer_id [String]
|
|
11
|
-
# @param
|
|
12
|
-
# @param
|
|
13
|
-
# @param
|
|
14
|
-
# @param
|
|
15
|
-
# @param
|
|
16
|
-
# @param
|
|
17
|
-
# @param
|
|
18
|
-
# More information regarding JWTSubject: https://docs.unit.co/customer-api-tokens/#customers-create-customer-bearer-token-jwt
|
|
10
|
+
# @param customer_id [String]
|
|
11
|
+
# @param address [Address] - optional
|
|
12
|
+
# @param phone [Phone] - optional
|
|
13
|
+
# @param email [String] - optional
|
|
14
|
+
# @param dba [String] - optional
|
|
15
|
+
# @param authorized_users [Array<AuthorizedUser>] - optional
|
|
16
|
+
# @param tags [Hash] - optional
|
|
17
|
+
# @param jwt_subject [String] - optional
|
|
19
18
|
def initialize(customer_id, address = nil, phone = nil, email = nil, dba = nil, authorized_users = nil, tags = nil, jwt_subject = nil)
|
|
20
19
|
@customer_id = customer_id
|
|
21
20
|
@address = address
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# Request to remove authorized users from customer
|
|
4
|
-
#
|
|
4
|
+
# @see https://docs.unit.co/customers#remove-authorized-users
|
|
5
5
|
module Unit
|
|
6
6
|
module Customer
|
|
7
7
|
class RemoveAuthorizedUsersRequest
|
|
8
8
|
attr_reader :customer_id, :authorized_users_emails
|
|
9
9
|
|
|
10
|
-
# @param customer_id [String]
|
|
11
|
-
# @param authorized_users_emails [Array<String>]
|
|
10
|
+
# @param customer_id [String]
|
|
11
|
+
# @param authorized_users_emails [Array<String>]
|
|
12
12
|
def initialize(customer_id, authorized_users_emails)
|
|
13
13
|
@customer_id = customer_id
|
|
14
14
|
@authorized_users_emails = authorized_users_emails
|
|
@@ -7,11 +7,17 @@ module Unit
|
|
|
7
7
|
|
|
8
8
|
# @param data [Hash] The JSON API payload
|
|
9
9
|
# @param included [Array] The JSON API payload
|
|
10
|
-
|
|
11
10
|
def initialize(data, included, meta)
|
|
12
11
|
@data = data
|
|
13
12
|
@included = included
|
|
14
13
|
@meta = meta
|
|
15
14
|
end
|
|
15
|
+
|
|
16
|
+
# Creates a new UnitResponse from given response.
|
|
17
|
+
# @param [HTTP::Response] response The response returned from Unit's API
|
|
18
|
+
# @return [UnitResponse] a new UnitResponse populated with values taken from the response
|
|
19
|
+
def self.from_json_api(response)
|
|
20
|
+
new(response.body["data"], response.body["included"], response.body["meta"])
|
|
21
|
+
end
|
|
16
22
|
end
|
|
17
23
|
end
|
|
@@ -8,14 +8,13 @@ module Unit
|
|
|
8
8
|
|
|
9
9
|
# @param id [String] The id of the relationship
|
|
10
10
|
# @param type [String] The type
|
|
11
|
-
def initialize(
|
|
12
|
-
@id = id
|
|
11
|
+
def initialize(type, id)
|
|
13
12
|
@type = type
|
|
13
|
+
@id = id
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
nested ? { "data": { "id": id, "type": type } } : { "id": id, "type": type }
|
|
16
|
+
def to_hash
|
|
17
|
+
{ "data": { "type": type, "id": id } }
|
|
19
18
|
end
|
|
20
19
|
end
|
|
21
20
|
end
|
|
@@ -6,23 +6,25 @@ module Unit
|
|
|
6
6
|
class RelationshipArray
|
|
7
7
|
attr_reader :data
|
|
8
8
|
|
|
9
|
-
# @param array [Array]
|
|
9
|
+
# @param array [Array]
|
|
10
10
|
def initialize(array)
|
|
11
|
-
|
|
12
|
-
array.map do |item|
|
|
13
|
-
relationships << if item.is_a?(Relationship)
|
|
14
|
-
item
|
|
15
|
-
else
|
|
16
|
-
Relationship.new(item[:data][:id], item[:data][:type]).represent
|
|
17
|
-
end
|
|
18
|
-
p item
|
|
19
|
-
end
|
|
20
|
-
@data = relationships
|
|
11
|
+
@data = array
|
|
21
12
|
end
|
|
22
13
|
|
|
23
|
-
def
|
|
14
|
+
def to_hash
|
|
24
15
|
{ "data": data }
|
|
25
16
|
end
|
|
17
|
+
|
|
18
|
+
def self.from_params_array(array)
|
|
19
|
+
@relationships = []
|
|
20
|
+
array.map do |item|
|
|
21
|
+
@relationships << if item.is_a?(Relationship)
|
|
22
|
+
item.to_hash[:data]
|
|
23
|
+
else
|
|
24
|
+
Relationship.new(item[:type], item[:id]).to_hash[:data] end
|
|
25
|
+
end
|
|
26
|
+
RelationshipArray.new(@relationships).to_hash
|
|
27
|
+
end
|
|
26
28
|
end
|
|
27
29
|
end
|
|
28
30
|
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "uri"
|
|
4
|
+
require "net/http"
|
|
5
|
+
require "json"
|
|
6
|
+
|
|
7
|
+
module HttpHelper
|
|
8
|
+
def self.get(url, headers:, params: nil)
|
|
9
|
+
make_request(Net::HTTP::Get, url, headers, params: params)
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def self.post(url, headers:, body: nil)
|
|
13
|
+
make_request(Net::HTTP::Post, url, headers, body: body)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def self.put(url, body:, headers:)
|
|
17
|
+
make_request(Net::HTTP::Put, url, headers, body: body)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def self.patch(url, body:, headers:)
|
|
21
|
+
make_request(Net::HTTP::Patch, url, headers, body: body)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def self.delete(url, body:, headers:)
|
|
25
|
+
make_request(Net::HTTP::Delete, url, headers, body: body)
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def self.make_request(net_http, url, headers, body: nil, params: nil)
|
|
29
|
+
uri = params.nil? ? URI(url) : URI("#{url}?#{encode(params)}")
|
|
30
|
+
host = uri.host.to_s
|
|
31
|
+
port = uri.port
|
|
32
|
+
options = { use_ssl: uri.scheme == "https" }
|
|
33
|
+
|
|
34
|
+
Net::HTTP.start(host, port, options) do |http|
|
|
35
|
+
request = net_http.new uri, headers
|
|
36
|
+
request.body = body unless body.nil?
|
|
37
|
+
response = http.request request
|
|
38
|
+
response.body = JSON.parse(response.body)
|
|
39
|
+
response
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def self.encode(value, key = nil)
|
|
44
|
+
case value
|
|
45
|
+
when Hash then value.map { |k, v| encode(v, append_key(key, k)) }.join("&")
|
|
46
|
+
when Array then value.map { |v| encode(v, "#{key}[]") }.join("&")
|
|
47
|
+
when nil then ""
|
|
48
|
+
else
|
|
49
|
+
"#{key}=#{CGI.escape(value.to_s)}"
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def self.append_key(root_key, key)
|
|
54
|
+
root_key.nil? ? key : "#{root_key}[#{key}]"
|
|
55
|
+
end
|
|
56
|
+
end
|
data/lib/unit/version.rb
CHANGED
data/lib/unit_ruby_sdk.rb
CHANGED
|
@@ -3,26 +3,14 @@
|
|
|
3
3
|
require_relative "unit/version"
|
|
4
4
|
|
|
5
5
|
module Unit
|
|
6
|
+
autoload :Application, "unit/models/application/application"
|
|
7
|
+
autoload :Customer, "unit/models/customer/customer"
|
|
8
|
+
autoload :Account, "unit/models/account/account"
|
|
9
|
+
|
|
6
10
|
module Resource
|
|
7
11
|
autoload :ApplicationResource, "unit/api_resources/application_resource"
|
|
8
12
|
autoload :CustomerResource, "unit/api_resources/customer_resource"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
module Application
|
|
12
|
-
autoload :CreateBusinessApplicationRequest, "unit/models/application/create_business_application_request"
|
|
13
|
-
autoload :CreateIndividualApplicationRequest, "unit/models/application/create_individual_application_request"
|
|
14
|
-
autoload :ListApplicationParams, "unit/models/application/list_application_params"
|
|
15
|
-
autoload :PatchApplicationRequest, "unit/models/application/patch_application_request"
|
|
16
|
-
autoload :UploadDocumentRequest, "unit/models/application/upload_document_request"
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
module Customer
|
|
20
|
-
autoload :AddAuthorizedUsersRequest, "unit/models/customer/add_authorized_users_request"
|
|
21
|
-
autoload :ArchiveCustomerRequest, "unit/models/customer/archive_customer_request"
|
|
22
|
-
autoload :ListCustomerParams, "unit/models/customer/list_customer_params"
|
|
23
|
-
autoload :PatchBusinessCustomerRequest, "unit/models/customer/patch_business_customer_request"
|
|
24
|
-
autoload :PatchIndividualCustomerRequest, "unit/models/customer/patch_individual_customer_request"
|
|
25
|
-
autoload :RemoveAuthorizedUsersRequest, "unit/models/customer/remove_authorized_users_request"
|
|
13
|
+
autoload :AccountResource, "unit/api_resources/account_resource"
|
|
26
14
|
end
|
|
27
15
|
|
|
28
16
|
module Types
|
|
@@ -46,9 +34,15 @@ module Unit
|
|
|
46
34
|
autoload :UnitResource, "unit/models/unit_resource"
|
|
47
35
|
|
|
48
36
|
# Configure Unit SDK - acts both as a setter and a getter
|
|
49
|
-
#
|
|
50
|
-
# @
|
|
51
|
-
|
|
52
|
-
|
|
37
|
+
# If params are passed, updates config
|
|
38
|
+
# @param [String] api_url
|
|
39
|
+
# @param [String] token
|
|
40
|
+
# @return [Hash] current (updated) config
|
|
41
|
+
def self.config(api_url: nil, token: nil)
|
|
42
|
+
@@config ||= {}
|
|
43
|
+
@@config[:api_url] = api_url if api_url
|
|
44
|
+
@@config[:token] = token if token
|
|
45
|
+
|
|
46
|
+
@@config
|
|
53
47
|
end
|
|
54
48
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,43 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unit_ruby_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Unit
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-12-
|
|
11
|
+
date: 2022-12-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: factory_bot_rails
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 6.2.0
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 6.2.0
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '13.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '13.0'
|
|
13
41
|
- !ruby/object:Gem::Dependency
|
|
14
42
|
name: rspec
|
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -24,6 +52,34 @@ dependencies:
|
|
|
24
52
|
- - ">="
|
|
25
53
|
- !ruby/object:Gem::Version
|
|
26
54
|
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rubocop
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '1.21'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '1.21'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: ruby-debug-ide
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
27
83
|
description: This library provides a Ruby wrapper to http://unit.co API. See https://docs.unit.co/
|
|
28
84
|
email:
|
|
29
85
|
- engineering@unit.co
|
|
@@ -35,15 +91,24 @@ files:
|
|
|
35
91
|
- ".rubocop.yml"
|
|
36
92
|
- CHANGELOG.md
|
|
37
93
|
- Gemfile
|
|
38
|
-
- Gemfile.lock
|
|
39
94
|
- LICENSE.txt
|
|
40
95
|
- README.md
|
|
41
96
|
- Rakefile
|
|
97
|
+
- lib/unit/api_resources/account_resource.rb
|
|
42
98
|
- lib/unit/api_resources/application_resource.rb
|
|
43
99
|
- lib/unit/api_resources/base_resource.rb
|
|
44
100
|
- lib/unit/api_resources/customer_resource.rb
|
|
45
101
|
- lib/unit/errors/unit_error.rb
|
|
46
102
|
- lib/unit/errors/unit_error_payload.rb
|
|
103
|
+
- lib/unit/models/account/account.rb
|
|
104
|
+
- lib/unit/models/account/deposit/account_owners_request.rb
|
|
105
|
+
- lib/unit/models/account/deposit/balance_history_request.rb
|
|
106
|
+
- lib/unit/models/account/deposit/close_deposit_account_request.rb
|
|
107
|
+
- lib/unit/models/account/deposit/create_deposit_account_request.rb
|
|
108
|
+
- lib/unit/models/account/deposit/freeze_account_request.rb
|
|
109
|
+
- lib/unit/models/account/deposit/list_account_params.rb
|
|
110
|
+
- lib/unit/models/account/deposit/patch_deposit_account_request.rb
|
|
111
|
+
- lib/unit/models/application/application.rb
|
|
47
112
|
- lib/unit/models/application/create_business_application_request.rb
|
|
48
113
|
- lib/unit/models/application/create_individual_application_request.rb
|
|
49
114
|
- lib/unit/models/application/list_application_params.rb
|
|
@@ -51,6 +116,7 @@ files:
|
|
|
51
116
|
- lib/unit/models/application/upload_document_request.rb
|
|
52
117
|
- lib/unit/models/customer/add_authorized_users_request.rb
|
|
53
118
|
- lib/unit/models/customer/archive_customer_request.rb
|
|
119
|
+
- lib/unit/models/customer/customer.rb
|
|
54
120
|
- lib/unit/models/customer/list_customer_params.rb
|
|
55
121
|
- lib/unit/models/customer/patch_business_customer_request.rb
|
|
56
122
|
- lib/unit/models/customer/patch_individual_customer_request.rb
|
|
@@ -69,6 +135,7 @@ files:
|
|
|
69
135
|
- lib/unit/types/power_of_attorney_agent.rb
|
|
70
136
|
- lib/unit/types/relationship.rb
|
|
71
137
|
- lib/unit/types/relationship_array.rb
|
|
138
|
+
- lib/unit/utils/http_helper.rb
|
|
72
139
|
- lib/unit/version.rb
|
|
73
140
|
- lib/unit_ruby_sdk.rb
|
|
74
141
|
homepage: https://github.com/unit-finance/unit-ruby-sdk
|
data/Gemfile.lock
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
unit_ruby_sdk (0.1.0)
|
|
5
|
-
|
|
6
|
-
GEM
|
|
7
|
-
remote: https://rubygems.org/
|
|
8
|
-
specs:
|
|
9
|
-
actionpack (6.1.7)
|
|
10
|
-
actionview (= 6.1.7)
|
|
11
|
-
activesupport (= 6.1.7)
|
|
12
|
-
rack (~> 2.0, >= 2.0.9)
|
|
13
|
-
rack-test (>= 0.6.3)
|
|
14
|
-
rails-dom-testing (~> 2.0)
|
|
15
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
16
|
-
actionview (6.1.7)
|
|
17
|
-
activesupport (= 6.1.7)
|
|
18
|
-
builder (~> 3.1)
|
|
19
|
-
erubi (~> 1.4)
|
|
20
|
-
rails-dom-testing (~> 2.0)
|
|
21
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
22
|
-
activesupport (6.1.7)
|
|
23
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
24
|
-
i18n (>= 1.6, < 2)
|
|
25
|
-
minitest (>= 5.1)
|
|
26
|
-
tzinfo (~> 2.0)
|
|
27
|
-
zeitwerk (~> 2.3)
|
|
28
|
-
ast (2.4.2)
|
|
29
|
-
builder (3.2.4)
|
|
30
|
-
concurrent-ruby (1.1.10)
|
|
31
|
-
crass (1.0.6)
|
|
32
|
-
diff-lcs (1.5.0)
|
|
33
|
-
erubi (1.11.0)
|
|
34
|
-
factory_bot (6.2.1)
|
|
35
|
-
activesupport (>= 5.0.0)
|
|
36
|
-
factory_bot_rails (6.2.0)
|
|
37
|
-
factory_bot (~> 6.2.0)
|
|
38
|
-
railties (>= 5.0.0)
|
|
39
|
-
httparty (0.20.0)
|
|
40
|
-
mime-types (~> 3.0)
|
|
41
|
-
multi_xml (>= 0.5.2)
|
|
42
|
-
i18n (1.12.0)
|
|
43
|
-
concurrent-ruby (~> 1.0)
|
|
44
|
-
json (2.6.2)
|
|
45
|
-
loofah (2.19.0)
|
|
46
|
-
crass (~> 1.0.2)
|
|
47
|
-
nokogiri (>= 1.5.9)
|
|
48
|
-
method_source (1.0.0)
|
|
49
|
-
mime-types (3.4.1)
|
|
50
|
-
mime-types-data (~> 3.2015)
|
|
51
|
-
mime-types-data (3.2022.0105)
|
|
52
|
-
minitest (5.16.3)
|
|
53
|
-
multi_xml (0.6.0)
|
|
54
|
-
nokogiri (1.13.9-arm64-darwin)
|
|
55
|
-
racc (~> 1.4)
|
|
56
|
-
nokogiri (1.13.9-x86_64-darwin)
|
|
57
|
-
racc (~> 1.4)
|
|
58
|
-
nokogiri (1.13.9-x86_64-linux)
|
|
59
|
-
racc (~> 1.4)
|
|
60
|
-
parallel (1.22.1)
|
|
61
|
-
parser (3.1.3.0)
|
|
62
|
-
ast (~> 2.4.1)
|
|
63
|
-
racc (1.6.0)
|
|
64
|
-
rack (2.2.4)
|
|
65
|
-
rack-test (2.0.2)
|
|
66
|
-
rack (>= 1.3)
|
|
67
|
-
rails-dom-testing (2.0.3)
|
|
68
|
-
activesupport (>= 4.2.0)
|
|
69
|
-
nokogiri (>= 1.6)
|
|
70
|
-
rails-html-sanitizer (1.4.3)
|
|
71
|
-
loofah (~> 2.3)
|
|
72
|
-
railties (6.1.7)
|
|
73
|
-
actionpack (= 6.1.7)
|
|
74
|
-
activesupport (= 6.1.7)
|
|
75
|
-
method_source
|
|
76
|
-
rake (>= 12.2)
|
|
77
|
-
thor (~> 1.0)
|
|
78
|
-
rainbow (3.1.1)
|
|
79
|
-
rake (13.0.6)
|
|
80
|
-
regexp_parser (2.6.1)
|
|
81
|
-
rexml (3.2.5)
|
|
82
|
-
rspec (3.12.0)
|
|
83
|
-
rspec-core (~> 3.12.0)
|
|
84
|
-
rspec-expectations (~> 3.12.0)
|
|
85
|
-
rspec-mocks (~> 3.12.0)
|
|
86
|
-
rspec-core (3.12.0)
|
|
87
|
-
rspec-support (~> 3.12.0)
|
|
88
|
-
rspec-expectations (3.12.0)
|
|
89
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
90
|
-
rspec-support (~> 3.12.0)
|
|
91
|
-
rspec-mocks (3.12.0)
|
|
92
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
93
|
-
rspec-support (~> 3.12.0)
|
|
94
|
-
rspec-support (3.12.0)
|
|
95
|
-
rubocop (1.39.0)
|
|
96
|
-
json (~> 2.3)
|
|
97
|
-
parallel (~> 1.10)
|
|
98
|
-
parser (>= 3.1.2.1)
|
|
99
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
100
|
-
regexp_parser (>= 1.8, < 3.0)
|
|
101
|
-
rexml (>= 3.2.5, < 4.0)
|
|
102
|
-
rubocop-ast (>= 1.23.0, < 2.0)
|
|
103
|
-
ruby-progressbar (~> 1.7)
|
|
104
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
|
105
|
-
rubocop-ast (1.23.0)
|
|
106
|
-
parser (>= 3.1.1.0)
|
|
107
|
-
ruby-debug-ide (0.7.3)
|
|
108
|
-
rake (>= 0.8.1)
|
|
109
|
-
ruby-progressbar (1.11.0)
|
|
110
|
-
thor (1.2.1)
|
|
111
|
-
tzinfo (2.0.5)
|
|
112
|
-
concurrent-ruby (~> 1.0)
|
|
113
|
-
unicode-display_width (2.3.0)
|
|
114
|
-
zeitwerk (2.6.6)
|
|
115
|
-
|
|
116
|
-
PLATFORMS
|
|
117
|
-
arm64-darwin-21
|
|
118
|
-
universal-darwin-22
|
|
119
|
-
x86_64-darwin-21
|
|
120
|
-
x86_64-linux
|
|
121
|
-
|
|
122
|
-
DEPENDENCIES
|
|
123
|
-
factory_bot_rails (~> 6.2.0)
|
|
124
|
-
httparty
|
|
125
|
-
rake (~> 13.0)
|
|
126
|
-
rspec
|
|
127
|
-
rubocop (~> 1.21)
|
|
128
|
-
ruby-debug-ide
|
|
129
|
-
unit_ruby_sdk!
|
|
130
|
-
|
|
131
|
-
BUNDLED WITH
|
|
132
|
-
2.3.25
|