iron_bank 5.1.0 → 5.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -1
- data/.github/workflows/ci.yml +1 -0
- data/.rubocop.yml +5 -38
- data/Gemfile +14 -0
- data/Gemfile.lock +82 -62
- data/iron_bank.gemspec +3 -17
- data/lib/iron_bank.rb +2 -0
- data/lib/iron_bank/action.rb +5 -3
- data/lib/iron_bank/actions/query.rb +2 -0
- data/lib/iron_bank/associations.rb +2 -2
- data/lib/iron_bank/describe/excluded_fields.rb +2 -2
- data/lib/iron_bank/describe/object.rb +10 -0
- data/lib/iron_bank/endpoint.rb +1 -1
- data/lib/iron_bank/faraday_middleware/response/raise_error.rb +0 -2
- data/lib/iron_bank/local.rb +3 -3
- data/lib/iron_bank/logger.rb +1 -1
- data/lib/iron_bank/metadata.rb +6 -0
- data/lib/iron_bank/version.rb +1 -1
- metadata +8 -189
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9da8499c799ae6aca23dd6c93f064783d0fb8dadb059389de73fd7b6d68d0552
|
4
|
+
data.tar.gz: c99262ba87775925b30ddf25056dd170f58689c257422502aad7ed56b1034470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 392c4d7602ef91a74a41b34f2c44b254079947bdb696ee4942ffacbc8732a8e8ea7d7b733401e98ba2f1fb8ae4e14c9a12efef83d86067d695df9c3006dfe5df
|
7
|
+
data.tar.gz: 3d0866660d5932567bc3ad81d7d76a7a3b02f3be5826390829bfd3d4c1c6b1393c59a88d9a3e17b15fdc2a081c8d05729ab80c23448ae89b5991fe5aa564940d
|
data/.github/CODEOWNERS
CHANGED
@@ -1 +1 @@
|
|
1
|
-
* @zendesk/
|
1
|
+
* @zendesk/billing
|
data/.github/workflows/ci.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -3,31 +3,19 @@ require: rubocop-performance
|
|
3
3
|
AllCops:
|
4
4
|
DisplayCopNames: true
|
5
5
|
DisplayStyleGuide: true
|
6
|
+
NewCops: enable
|
7
|
+
SuggestExtensions: false
|
6
8
|
|
7
9
|
Layout/DotPosition:
|
8
10
|
EnforcedStyle: trailing
|
9
11
|
|
10
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
11
|
-
Enabled: true
|
12
|
-
|
13
12
|
Layout/HashAlignment:
|
14
13
|
EnforcedHashRocketStyle: table
|
15
14
|
EnforcedColonStyle: table
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
Lint/DeprecatedOpenSSLConstant:
|
21
|
-
Enabled: true
|
22
|
-
|
23
|
-
Lint/MixedRegexpCaptureTypes:
|
24
|
-
Enabled: true
|
25
|
-
|
26
|
-
Lint/RaiseException:
|
27
|
-
Enabled: true
|
28
|
-
|
29
|
-
Lint/StructNewOverride:
|
30
|
-
Enabled: true
|
16
|
+
Lint/EmptyBlock:
|
17
|
+
Exclude:
|
18
|
+
- spec/**/*.rb
|
31
19
|
|
32
20
|
Lint/UselessAssignment:
|
33
21
|
Exclude:
|
@@ -66,30 +54,12 @@ Style/MixinUsage:
|
|
66
54
|
Style/StringLiterals:
|
67
55
|
EnforcedStyle: double_quotes
|
68
56
|
|
69
|
-
Style/ExponentialNotation:
|
70
|
-
Enabled: true
|
71
|
-
|
72
|
-
Style/HashEachMethods:
|
73
|
-
Enabled: true
|
74
|
-
|
75
|
-
Style/HashTransformKeys:
|
76
|
-
Enabled: true
|
77
|
-
|
78
|
-
Style/HashTransformValues:
|
79
|
-
Enabled: true
|
80
|
-
|
81
57
|
Style/OptionalArguments:
|
82
58
|
Exclude:
|
83
59
|
- lib/iron_bank/local.rb
|
84
60
|
- lib/iron_bank/queryable.rb
|
85
61
|
- lib/iron_bank/resource.rb
|
86
62
|
|
87
|
-
Style/RedundantRegexpCharacterClass:
|
88
|
-
Enabled: true
|
89
|
-
|
90
|
-
Style/RedundantRegexpEscape:
|
91
|
-
Enabled: true
|
92
|
-
|
93
63
|
Style/RegexpLiteral:
|
94
64
|
Exclude:
|
95
65
|
- lib/iron_bank/describe/excluded_fields.rb
|
@@ -97,6 +67,3 @@ Style/RegexpLiteral:
|
|
97
67
|
Style/RescueStandardError:
|
98
68
|
Exclude:
|
99
69
|
- lib/iron_bank/csv.rb
|
100
|
-
|
101
|
-
Style/SlicingWithRange:
|
102
|
-
Enabled: true
|
data/Gemfile
CHANGED
@@ -4,3 +4,17 @@ source "https://rubygems.org"
|
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in zuora.gemspec
|
6
6
|
gemspec
|
7
|
+
|
8
|
+
gem "bump", "~> 0.5"
|
9
|
+
gem "bundler", "~> 2.0"
|
10
|
+
gem "dotenv", "~> 2.2"
|
11
|
+
gem "factory_bot", "~> 6.0"
|
12
|
+
gem "pry-byebug", "~> 3.4"
|
13
|
+
gem "rake", "~> 13.0"
|
14
|
+
gem "reek", "~> 6.0"
|
15
|
+
gem "rspec", "~> 3.0"
|
16
|
+
gem "rubocop", "~> 1.0"
|
17
|
+
gem "rubocop-performance", "~> 1.0"
|
18
|
+
gem "shoulda-matchers", "~> 4.0"
|
19
|
+
gem "simplecov", "~> 0.15"
|
20
|
+
gem "timecop", "~> 0.9"
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
iron_bank (5.
|
4
|
+
iron_bank (5.2.4)
|
5
5
|
faraday (~> 1)
|
6
6
|
faraday_middleware (~> 1)
|
7
7
|
nokogiri (~> 1)
|
@@ -9,93 +9,113 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (6.
|
12
|
+
activesupport (6.1.1)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
-
i18n (>=
|
15
|
-
minitest (
|
16
|
-
tzinfo (~>
|
17
|
-
zeitwerk (~> 2.
|
18
|
-
ast (2.4.
|
19
|
-
bump (0.
|
14
|
+
i18n (>= 1.6, < 2)
|
15
|
+
minitest (>= 5.1)
|
16
|
+
tzinfo (~> 2.0)
|
17
|
+
zeitwerk (~> 2.3)
|
18
|
+
ast (2.4.1)
|
19
|
+
bump (0.10.0)
|
20
20
|
byebug (11.1.3)
|
21
21
|
coderay (1.1.3)
|
22
|
-
concurrent-ruby (1.1.
|
23
|
-
diff-lcs (1.
|
24
|
-
docile (1.3.
|
25
|
-
dotenv (2.7.
|
26
|
-
factory_bot (
|
27
|
-
activesupport (>=
|
28
|
-
faraday (1.
|
22
|
+
concurrent-ruby (1.1.7)
|
23
|
+
diff-lcs (1.4.4)
|
24
|
+
docile (1.3.4)
|
25
|
+
dotenv (2.7.6)
|
26
|
+
factory_bot (6.1.0)
|
27
|
+
activesupport (>= 5.0.0)
|
28
|
+
faraday (1.5.1)
|
29
|
+
faraday-em_http (~> 1.0)
|
30
|
+
faraday-em_synchrony (~> 1.0)
|
31
|
+
faraday-excon (~> 1.1)
|
32
|
+
faraday-httpclient (~> 1.0.1)
|
33
|
+
faraday-net_http (~> 1.0)
|
34
|
+
faraday-net_http_persistent (~> 1.1)
|
35
|
+
faraday-patron (~> 1.0)
|
29
36
|
multipart-post (>= 1.2, < 3)
|
37
|
+
ruby2_keywords (>= 0.0.4)
|
38
|
+
faraday-em_http (1.0.0)
|
39
|
+
faraday-em_synchrony (1.0.0)
|
40
|
+
faraday-excon (1.1.0)
|
41
|
+
faraday-httpclient (1.0.1)
|
42
|
+
faraday-net_http (1.0.1)
|
43
|
+
faraday-net_http_persistent (1.2.0)
|
44
|
+
faraday-patron (1.0.0)
|
30
45
|
faraday_middleware (1.0.0)
|
31
46
|
faraday (~> 1.0)
|
32
|
-
i18n (1.8.
|
47
|
+
i18n (1.8.7)
|
33
48
|
concurrent-ruby (~> 1.0)
|
34
49
|
kwalify (0.7.2)
|
35
50
|
method_source (1.0.0)
|
36
|
-
mini_portile2 (2.
|
37
|
-
minitest (5.14.
|
51
|
+
mini_portile2 (2.5.3)
|
52
|
+
minitest (5.14.3)
|
38
53
|
multipart-post (2.1.1)
|
39
|
-
nokogiri (1.
|
40
|
-
mini_portile2 (~> 2.
|
41
|
-
|
42
|
-
|
43
|
-
|
54
|
+
nokogiri (1.11.7)
|
55
|
+
mini_portile2 (~> 2.5.0)
|
56
|
+
racc (~> 1.4)
|
57
|
+
parallel (1.20.1)
|
58
|
+
parser (3.0.0.0)
|
59
|
+
ast (~> 2.4.1)
|
44
60
|
pry (0.13.1)
|
45
61
|
coderay (~> 1.1)
|
46
62
|
method_source (~> 1.0)
|
47
63
|
pry-byebug (3.9.0)
|
48
64
|
byebug (~> 11.0)
|
49
65
|
pry (~> 0.13.0)
|
50
|
-
psych (3.
|
66
|
+
psych (3.3.0)
|
67
|
+
racc (1.5.2)
|
51
68
|
rainbow (3.0.0)
|
52
|
-
rake (13.0.
|
53
|
-
reek (6.0.
|
69
|
+
rake (13.0.3)
|
70
|
+
reek (6.0.3)
|
54
71
|
kwalify (~> 0.7.0)
|
55
|
-
parser (
|
56
|
-
psych (~> 3.1
|
72
|
+
parser (~> 3.0.0)
|
73
|
+
psych (~> 3.1)
|
57
74
|
rainbow (>= 2.0, < 4.0)
|
58
|
-
regexp_parser (
|
75
|
+
regexp_parser (2.0.3)
|
59
76
|
rexml (3.2.4)
|
60
|
-
rspec (3.
|
61
|
-
rspec-core (~> 3.
|
62
|
-
rspec-expectations (~> 3.
|
63
|
-
rspec-mocks (~> 3.
|
64
|
-
rspec-core (3.
|
65
|
-
rspec-support (~> 3.
|
66
|
-
rspec-expectations (3.
|
77
|
+
rspec (3.10.0)
|
78
|
+
rspec-core (~> 3.10.0)
|
79
|
+
rspec-expectations (~> 3.10.0)
|
80
|
+
rspec-mocks (~> 3.10.0)
|
81
|
+
rspec-core (3.10.1)
|
82
|
+
rspec-support (~> 3.10.0)
|
83
|
+
rspec-expectations (3.10.1)
|
67
84
|
diff-lcs (>= 1.2.0, < 2.0)
|
68
|
-
rspec-support (~> 3.
|
69
|
-
rspec-mocks (3.
|
85
|
+
rspec-support (~> 3.10.0)
|
86
|
+
rspec-mocks (3.10.1)
|
70
87
|
diff-lcs (>= 1.2.0, < 2.0)
|
71
|
-
rspec-support (~> 3.
|
72
|
-
rspec-support (3.
|
73
|
-
rubocop (
|
88
|
+
rspec-support (~> 3.10.0)
|
89
|
+
rspec-support (3.10.1)
|
90
|
+
rubocop (1.8.1)
|
74
91
|
parallel (~> 1.10)
|
75
|
-
parser (>=
|
92
|
+
parser (>= 3.0.0.0)
|
76
93
|
rainbow (>= 2.2.2, < 4.0)
|
77
|
-
regexp_parser (>= 1.
|
94
|
+
regexp_parser (>= 1.8, < 3.0)
|
78
95
|
rexml
|
79
|
-
rubocop-ast (>= 0.0
|
96
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
80
97
|
ruby-progressbar (~> 1.7)
|
81
|
-
unicode-display_width (>= 1.4.0, <
|
82
|
-
rubocop-ast (
|
83
|
-
parser (>= 2.7.
|
84
|
-
rubocop-performance (1.
|
85
|
-
rubocop (>= 0.
|
86
|
-
|
87
|
-
|
98
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
99
|
+
rubocop-ast (1.4.0)
|
100
|
+
parser (>= 2.7.1.5)
|
101
|
+
rubocop-performance (1.9.2)
|
102
|
+
rubocop (>= 0.90.0, < 2.0)
|
103
|
+
rubocop-ast (>= 0.4.0)
|
104
|
+
ruby-progressbar (1.11.0)
|
105
|
+
ruby2_keywords (0.0.5)
|
106
|
+
shoulda-matchers (4.5.0)
|
88
107
|
activesupport (>= 4.2.0)
|
89
|
-
simplecov (0.
|
108
|
+
simplecov (0.21.2)
|
90
109
|
docile (~> 1.1)
|
91
110
|
simplecov-html (~> 0.11)
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
111
|
+
simplecov_json_formatter (~> 0.1)
|
112
|
+
simplecov-html (0.12.3)
|
113
|
+
simplecov_json_formatter (0.1.2)
|
114
|
+
timecop (0.9.2)
|
115
|
+
tzinfo (2.0.4)
|
116
|
+
concurrent-ruby (~> 1.0)
|
117
|
+
unicode-display_width (2.0.0)
|
118
|
+
zeitwerk (2.4.2)
|
99
119
|
|
100
120
|
PLATFORMS
|
101
121
|
ruby
|
@@ -104,17 +124,17 @@ DEPENDENCIES
|
|
104
124
|
bump (~> 0.5)
|
105
125
|
bundler (~> 2.0)
|
106
126
|
dotenv (~> 2.2)
|
107
|
-
factory_bot (~>
|
127
|
+
factory_bot (~> 6.0)
|
108
128
|
iron_bank!
|
109
129
|
pry-byebug (~> 3.4)
|
110
130
|
rake (~> 13.0)
|
111
131
|
reek (~> 6.0)
|
112
132
|
rspec (~> 3.0)
|
113
|
-
rubocop (~> 0
|
133
|
+
rubocop (~> 1.0)
|
114
134
|
rubocop-performance (~> 1.0)
|
115
135
|
shoulda-matchers (~> 4.0)
|
116
136
|
simplecov (~> 0.15)
|
117
137
|
timecop (~> 0.9)
|
118
138
|
|
119
139
|
BUNDLED WITH
|
120
|
-
2.
|
140
|
+
2.2.21
|
data/iron_bank.gemspec
CHANGED
@@ -29,21 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
|
-
spec.
|
33
|
-
spec.
|
34
|
-
spec.
|
35
|
-
spec.add_development_dependency "factory_bot", "~> 5.0"
|
36
|
-
spec.add_development_dependency "pry-byebug", "~> 3.4"
|
37
|
-
spec.add_development_dependency "rake", "~> 13.0"
|
38
|
-
spec.add_development_dependency "reek", "~> 6.0"
|
39
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
40
|
-
spec.add_development_dependency "rubocop", "~> 0.67"
|
41
|
-
spec.add_development_dependency "rubocop-performance", "~> 1.0"
|
42
|
-
spec.add_development_dependency "shoulda-matchers", "~> 4.0"
|
43
|
-
spec.add_development_dependency "simplecov", "~> 0.15"
|
44
|
-
spec.add_development_dependency "timecop", "~> 0.9"
|
45
|
-
|
46
|
-
spec.add_runtime_dependency "faraday", "~> 1"
|
47
|
-
spec.add_runtime_dependency "faraday_middleware", "~> 1"
|
48
|
-
spec.add_runtime_dependency "nokogiri", "~> 1"
|
32
|
+
spec.add_dependency "faraday", "~> 1"
|
33
|
+
spec.add_dependency "faraday_middleware", "~> 1"
|
34
|
+
spec.add_dependency "nokogiri", "~> 1"
|
49
35
|
end
|
data/lib/iron_bank.rb
CHANGED
@@ -60,7 +60,9 @@ require "iron_bank/faraday_middleware/response/raise_error"
|
|
60
60
|
require "iron_bank/faraday_middleware/response/renew_auth"
|
61
61
|
|
62
62
|
# Use default configuration
|
63
|
+
# rubocop:disable Lint/EmptyBlock
|
63
64
|
IronBank.configure {}
|
65
|
+
# rubocop:enable Lint/EmptyBlock
|
64
66
|
|
65
67
|
# Actions
|
66
68
|
require "iron_bank/action"
|
data/lib/iron_bank/action.rb
CHANGED
@@ -40,9 +40,11 @@ module IronBank
|
|
40
40
|
|
41
41
|
def response_object
|
42
42
|
@response_object ||= begin
|
43
|
-
|
44
|
-
|
45
|
-
|
43
|
+
if body.is_a?(Array)
|
44
|
+
::IronBank::Object.new(body.first).deep_underscore
|
45
|
+
else
|
46
|
+
{}
|
47
|
+
end
|
46
48
|
end
|
47
49
|
end
|
48
50
|
|
@@ -12,7 +12,7 @@ module IronBank
|
|
12
12
|
:resource_name,
|
13
13
|
IronBank::Utils.camelize(name)
|
14
14
|
)
|
15
|
-
foreign_key = options.fetch(:foreign_key, name
|
15
|
+
foreign_key = options.fetch(:foreign_key, "#{name}_id")
|
16
16
|
|
17
17
|
define_method(name) do
|
18
18
|
return unless (foreign_key_value = public_send(foreign_key))
|
@@ -37,7 +37,7 @@ module IronBank
|
|
37
37
|
|
38
38
|
foreign_key = options.fetch(
|
39
39
|
:foreign_key,
|
40
|
-
IronBank::Utils.underscore(object_name)
|
40
|
+
"#{IronBank::Utils.underscore(object_name)}_id"
|
41
41
|
)
|
42
42
|
|
43
43
|
define_method(name) do
|
@@ -82,12 +82,12 @@ module IronBank
|
|
82
82
|
def valid_query?
|
83
83
|
# Querying using the ID (which is an indexed field) should return an
|
84
84
|
# empty collection very quickly when successful
|
85
|
-
object.where(id: INVALID_OBJECT_ID)
|
85
|
+
object.where({ id: INVALID_OBJECT_ID })
|
86
86
|
|
87
87
|
info "Successful query for #{object_name}"
|
88
88
|
|
89
89
|
true
|
90
|
-
rescue IronBank::InternalServerError => e
|
90
|
+
rescue IronBank::InternalServerError, IronBank::BadRequestError => e
|
91
91
|
@last_failed_fields = extract_fields_from_exception(e)
|
92
92
|
|
93
93
|
false
|
@@ -56,6 +56,16 @@ module IronBank
|
|
56
56
|
@query_fields ||= fields.select(&:selectable?).map(&:name)
|
57
57
|
end
|
58
58
|
|
59
|
+
def query_custom_fields
|
60
|
+
@query_custom_fields ||= begin
|
61
|
+
custom_fields = fields.select do |field|
|
62
|
+
field.selectable? && field.custom?
|
63
|
+
end
|
64
|
+
|
65
|
+
custom_fields.map(&:name)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
59
69
|
def related
|
60
70
|
@related ||= doc.xpath(".//related-objects/object").map do |node|
|
61
71
|
IronBank::Describe::Related.from_xml(node)
|
data/lib/iron_bank/endpoint.rb
CHANGED
@@ -7,7 +7,7 @@ module IronBank
|
|
7
7
|
private_class_method :new
|
8
8
|
|
9
9
|
PRODUCTION = /\Arest\.zuora\.com\z/i.freeze
|
10
|
-
SERVICES = /\A(rest)?
|
10
|
+
SERVICES = /\A(rest)?(\.)?[a-z]+(\d+)?\.zuora\.com(:\d+)?\z/i.freeze
|
11
11
|
APISANDBOX = /\Arest.apisandbox.zuora\.com\z/i.freeze
|
12
12
|
|
13
13
|
def self.base_url(domain = "")
|
@@ -9,8 +9,6 @@ module IronBank
|
|
9
9
|
# This class raises an exception based on the HTTP status code and the
|
10
10
|
# `success` flag (if present in the response) from Zuora.
|
11
11
|
class RaiseError < Faraday::Response::Middleware
|
12
|
-
private
|
13
|
-
|
14
12
|
def on_complete(env)
|
15
13
|
(error = IronBank::Error.from_response(env.response)) && raise(error)
|
16
14
|
end
|
data/lib/iron_bank/local.rb
CHANGED
@@ -8,11 +8,11 @@ module IronBank
|
|
8
8
|
store[id] || super
|
9
9
|
end
|
10
10
|
|
11
|
-
def find_each
|
12
|
-
return enum_for(:find_each) unless
|
11
|
+
def find_each(&block)
|
12
|
+
return enum_for(:find_each) unless block
|
13
13
|
|
14
14
|
values = store.values
|
15
|
-
values.any? ? values.each
|
15
|
+
values.any? ? values.each(&block) : super
|
16
16
|
end
|
17
17
|
|
18
18
|
def all
|
data/lib/iron_bank/logger.rb
CHANGED
@@ -14,7 +14,7 @@ module IronBank
|
|
14
14
|
|
15
15
|
def_delegators :@logger, :debug, :info, :warn, :error, :fatal
|
16
16
|
|
17
|
-
def initialize(logger: ::Logger.new(
|
17
|
+
def initialize(logger: ::Logger.new($stdout), level: LEVEL)
|
18
18
|
@logger = logger
|
19
19
|
@logger.progname = PROGNAME
|
20
20
|
@logger.level = level
|
data/lib/iron_bank/metadata.rb
CHANGED
@@ -31,6 +31,12 @@ module IronBank
|
|
31
31
|
@query_fields ||= schema.query_fields - excluded_fields
|
32
32
|
end
|
33
33
|
|
34
|
+
def query_custom_fields
|
35
|
+
return [] unless schema
|
36
|
+
|
37
|
+
@query_custom_fields ||= schema.query_custom_fields - excluded_fields
|
38
|
+
end
|
39
|
+
|
34
40
|
def schema
|
35
41
|
@schema ||= IronBank::Schema.for(object_name)
|
36
42
|
end
|
data/lib/iron_bank/version.rb
CHANGED
metadata
CHANGED
@@ -1,200 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_bank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mickael Pham
|
8
8
|
- Cheng Cui
|
9
9
|
- Ryan Ringler
|
10
10
|
- Mustafa Turan
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
17
|
-
name: bump
|
18
|
-
requirement: !ruby/object:Gem::Requirement
|
19
|
-
requirements:
|
20
|
-
- - "~>"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0.5'
|
23
|
-
type: :development
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0.5'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: bundler
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
requirements:
|
34
|
-
- - "~>"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: '2.0'
|
37
|
-
type: :development
|
38
|
-
prerelease: false
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - "~>"
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '2.0'
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: dotenv
|
46
|
-
requirement: !ruby/object:Gem::Requirement
|
47
|
-
requirements:
|
48
|
-
- - "~>"
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: '2.2'
|
51
|
-
type: :development
|
52
|
-
prerelease: false
|
53
|
-
version_requirements: !ruby/object:Gem::Requirement
|
54
|
-
requirements:
|
55
|
-
- - "~>"
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '2.2'
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
name: factory_bot
|
60
|
-
requirement: !ruby/object:Gem::Requirement
|
61
|
-
requirements:
|
62
|
-
- - "~>"
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: '5.0'
|
65
|
-
type: :development
|
66
|
-
prerelease: false
|
67
|
-
version_requirements: !ruby/object:Gem::Requirement
|
68
|
-
requirements:
|
69
|
-
- - "~>"
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: '5.0'
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: pry-byebug
|
74
|
-
requirement: !ruby/object:Gem::Requirement
|
75
|
-
requirements:
|
76
|
-
- - "~>"
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: '3.4'
|
79
|
-
type: :development
|
80
|
-
prerelease: false
|
81
|
-
version_requirements: !ruby/object:Gem::Requirement
|
82
|
-
requirements:
|
83
|
-
- - "~>"
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '3.4'
|
86
|
-
- !ruby/object:Gem::Dependency
|
87
|
-
name: rake
|
88
|
-
requirement: !ruby/object:Gem::Requirement
|
89
|
-
requirements:
|
90
|
-
- - "~>"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '13.0'
|
93
|
-
type: :development
|
94
|
-
prerelease: false
|
95
|
-
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '13.0'
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
|
-
name: reek
|
102
|
-
requirement: !ruby/object:Gem::Requirement
|
103
|
-
requirements:
|
104
|
-
- - "~>"
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: '6.0'
|
107
|
-
type: :development
|
108
|
-
prerelease: false
|
109
|
-
version_requirements: !ruby/object:Gem::Requirement
|
110
|
-
requirements:
|
111
|
-
- - "~>"
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '6.0'
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
name: rspec
|
116
|
-
requirement: !ruby/object:Gem::Requirement
|
117
|
-
requirements:
|
118
|
-
- - "~>"
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: '3.0'
|
121
|
-
type: :development
|
122
|
-
prerelease: false
|
123
|
-
version_requirements: !ruby/object:Gem::Requirement
|
124
|
-
requirements:
|
125
|
-
- - "~>"
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
version: '3.0'
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
name: rubocop
|
130
|
-
requirement: !ruby/object:Gem::Requirement
|
131
|
-
requirements:
|
132
|
-
- - "~>"
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: '0.67'
|
135
|
-
type: :development
|
136
|
-
prerelease: false
|
137
|
-
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
- - "~>"
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0.67'
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: rubocop-performance
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
145
|
-
requirements:
|
146
|
-
- - "~>"
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
version: '1.0'
|
149
|
-
type: :development
|
150
|
-
prerelease: false
|
151
|
-
version_requirements: !ruby/object:Gem::Requirement
|
152
|
-
requirements:
|
153
|
-
- - "~>"
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: '1.0'
|
156
|
-
- !ruby/object:Gem::Dependency
|
157
|
-
name: shoulda-matchers
|
158
|
-
requirement: !ruby/object:Gem::Requirement
|
159
|
-
requirements:
|
160
|
-
- - "~>"
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: '4.0'
|
163
|
-
type: :development
|
164
|
-
prerelease: false
|
165
|
-
version_requirements: !ruby/object:Gem::Requirement
|
166
|
-
requirements:
|
167
|
-
- - "~>"
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: '4.0'
|
170
|
-
- !ruby/object:Gem::Dependency
|
171
|
-
name: simplecov
|
172
|
-
requirement: !ruby/object:Gem::Requirement
|
173
|
-
requirements:
|
174
|
-
- - "~>"
|
175
|
-
- !ruby/object:Gem::Version
|
176
|
-
version: '0.15'
|
177
|
-
type: :development
|
178
|
-
prerelease: false
|
179
|
-
version_requirements: !ruby/object:Gem::Requirement
|
180
|
-
requirements:
|
181
|
-
- - "~>"
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
version: '0.15'
|
184
|
-
- !ruby/object:Gem::Dependency
|
185
|
-
name: timecop
|
186
|
-
requirement: !ruby/object:Gem::Requirement
|
187
|
-
requirements:
|
188
|
-
- - "~>"
|
189
|
-
- !ruby/object:Gem::Version
|
190
|
-
version: '0.9'
|
191
|
-
type: :development
|
192
|
-
prerelease: false
|
193
|
-
version_requirements: !ruby/object:Gem::Requirement
|
194
|
-
requirements:
|
195
|
-
- - "~>"
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version: '0.9'
|
198
16
|
- !ruby/object:Gem::Dependency
|
199
17
|
name: faraday
|
200
18
|
requirement: !ruby/object:Gem::Requirement
|
@@ -237,7 +55,7 @@ dependencies:
|
|
237
55
|
- - "~>"
|
238
56
|
- !ruby/object:Gem::Version
|
239
57
|
version: '1'
|
240
|
-
description:
|
58
|
+
description:
|
241
59
|
email:
|
242
60
|
- mickael@zendesk.com
|
243
61
|
- ccui@zendesk.com
|
@@ -337,7 +155,7 @@ homepage: https://github.com/zendesk/iron_bank
|
|
337
155
|
licenses:
|
338
156
|
- Apache-2.0
|
339
157
|
metadata: {}
|
340
|
-
post_install_message:
|
158
|
+
post_install_message:
|
341
159
|
rdoc_options: []
|
342
160
|
require_paths:
|
343
161
|
- lib
|
@@ -352,8 +170,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
352
170
|
- !ruby/object:Gem::Version
|
353
171
|
version: '0'
|
354
172
|
requirements: []
|
355
|
-
|
356
|
-
|
173
|
+
rubyforge_project:
|
174
|
+
rubygems_version: 2.7.6.2
|
175
|
+
signing_key:
|
357
176
|
specification_version: 4
|
358
177
|
summary: An opinionated Ruby interface to the Zuora API.
|
359
178
|
test_files: []
|