iron_bank 5.0.0 → 5.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 456e503d0ff6a9b1213bc8111b02f49502c01b2448d65006c6cbed9d78a28234
4
- data.tar.gz: 564b5542ad7f12be3a5ae7afc310c22827125b3c67861fb997a5c705c5bb0f34
3
+ metadata.gz: 1e37b6edaf23f3f2c56ad899f5e22e5417080acf0f6af49b3e844f4b08403032
4
+ data.tar.gz: 41a4709d82e6e8d7a26dd6864a33f0872dfd41a28552276bb15a6f0ee2028dc1
5
5
  SHA512:
6
- metadata.gz: 2d2131d770bf910f786c257dbf57c9fa4eeb250e57b862424046eb6ede0ee11bd24854be8692b25169cf2785f9c88b3967783b4a48720965c3475ed8aef52ac9
7
- data.tar.gz: b0416ab3fcd57700c3b180c9ab51191bd9e3ee2f4874f109c7622ed1de20a7eb93c2e84710c1408d4fad908b7020eb3786c46a9475d14415dfaed919537a5f4a
6
+ metadata.gz: 595e9e90dd0e01cad19051c3e4c1b283aec74a45e61c4629fc84f2628e4c508acc205761a717f77ca92b06ddc1df7b414e91cb1b440afba58c17b9a1e4dbe14b
7
+ data.tar.gz: 68ad911c800be46ddd923ad5d660c173439dba05d1e45234ebe325c997126ccc480b04c82c3e4bc0c1c7ff2c294873c7f1c1f5b94110ae3651ce01d91354673e
data/.github/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @zendesk/narwhals @zendesk/walrus
1
+ * @zendesk/billing
@@ -3,10 +3,10 @@ name: CI
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - master
6
+ - main
7
7
  pull_request:
8
8
  branches:
9
- - master
9
+ - main
10
10
 
11
11
  jobs:
12
12
  test:
@@ -18,6 +18,7 @@ jobs:
18
18
  - 2.5
19
19
  - 2.6
20
20
  - 2.7
21
+ - 3.0
21
22
 
22
23
  runs-on: ubuntu-latest
23
24
 
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
- Layout/SpaceAroundMethodCallOperator:
18
- Enabled: true
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.0.0)
4
+ iron_bank (5.2.3)
5
5
  faraday (~> 1)
6
6
  faraday_middleware (~> 1)
7
7
  nokogiri (~> 1)
@@ -9,93 +9,109 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (6.0.3.1)
12
+ activesupport (6.1.1)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
- i18n (>= 0.7, < 2)
15
- minitest (~> 5.1)
16
- tzinfo (~> 1.1)
17
- zeitwerk (~> 2.2, >= 2.2.2)
18
- ast (2.4.0)
19
- bump (0.9.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.6)
23
- diff-lcs (1.3)
24
- docile (1.3.2)
25
- dotenv (2.7.5)
26
- factory_bot (5.2.0)
27
- activesupport (>= 4.2.0)
28
- faraday (1.0.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.4.3)
29
+ faraday-em_http (~> 1.0)
30
+ faraday-em_synchrony (~> 1.0)
31
+ faraday-excon (~> 1.1)
32
+ faraday-net_http (~> 1.0)
33
+ faraday-net_http_persistent (~> 1.1)
29
34
  multipart-post (>= 1.2, < 3)
35
+ ruby2_keywords (>= 0.0.4)
36
+ faraday-em_http (1.0.0)
37
+ faraday-em_synchrony (1.0.0)
38
+ faraday-excon (1.1.0)
39
+ faraday-net_http (1.0.1)
40
+ faraday-net_http_persistent (1.1.0)
30
41
  faraday_middleware (1.0.0)
31
42
  faraday (~> 1.0)
32
- i18n (1.8.2)
43
+ i18n (1.8.7)
33
44
  concurrent-ruby (~> 1.0)
34
45
  kwalify (0.7.2)
35
46
  method_source (1.0.0)
36
- mini_portile2 (2.4.0)
37
- minitest (5.14.1)
47
+ mini_portile2 (2.5.3)
48
+ minitest (5.14.3)
38
49
  multipart-post (2.1.1)
39
- nokogiri (1.10.9)
40
- mini_portile2 (~> 2.4.0)
41
- parallel (1.19.1)
42
- parser (2.7.1.3)
43
- ast (~> 2.4.0)
50
+ nokogiri (1.11.7)
51
+ mini_portile2 (~> 2.5.0)
52
+ racc (~> 1.4)
53
+ parallel (1.20.1)
54
+ parser (3.0.0.0)
55
+ ast (~> 2.4.1)
44
56
  pry (0.13.1)
45
57
  coderay (~> 1.1)
46
58
  method_source (~> 1.0)
47
59
  pry-byebug (3.9.0)
48
60
  byebug (~> 11.0)
49
61
  pry (~> 0.13.0)
50
- psych (3.1.0)
62
+ psych (3.3.0)
63
+ racc (1.5.2)
51
64
  rainbow (3.0.0)
52
- rake (13.0.1)
53
- reek (6.0.1)
65
+ rake (13.0.3)
66
+ reek (6.0.3)
54
67
  kwalify (~> 0.7.0)
55
- parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
56
- psych (~> 3.1.0)
68
+ parser (~> 3.0.0)
69
+ psych (~> 3.1)
57
70
  rainbow (>= 2.0, < 4.0)
58
- regexp_parser (1.7.0)
71
+ regexp_parser (2.0.3)
59
72
  rexml (3.2.4)
60
- rspec (3.9.0)
61
- rspec-core (~> 3.9.0)
62
- rspec-expectations (~> 3.9.0)
63
- rspec-mocks (~> 3.9.0)
64
- rspec-core (3.9.2)
65
- rspec-support (~> 3.9.3)
66
- rspec-expectations (3.9.2)
73
+ rspec (3.10.0)
74
+ rspec-core (~> 3.10.0)
75
+ rspec-expectations (~> 3.10.0)
76
+ rspec-mocks (~> 3.10.0)
77
+ rspec-core (3.10.1)
78
+ rspec-support (~> 3.10.0)
79
+ rspec-expectations (3.10.1)
67
80
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.9.0)
69
- rspec-mocks (3.9.1)
81
+ rspec-support (~> 3.10.0)
82
+ rspec-mocks (3.10.1)
70
83
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.9.0)
72
- rspec-support (3.9.3)
73
- rubocop (0.85.0)
84
+ rspec-support (~> 3.10.0)
85
+ rspec-support (3.10.1)
86
+ rubocop (1.8.1)
74
87
  parallel (~> 1.10)
75
- parser (>= 2.7.0.1)
88
+ parser (>= 3.0.0.0)
76
89
  rainbow (>= 2.2.2, < 4.0)
77
- regexp_parser (>= 1.7)
90
+ regexp_parser (>= 1.8, < 3.0)
78
91
  rexml
79
- rubocop-ast (>= 0.0.3)
92
+ rubocop-ast (>= 1.2.0, < 2.0)
80
93
  ruby-progressbar (~> 1.7)
81
- unicode-display_width (>= 1.4.0, < 2.0)
82
- rubocop-ast (0.0.3)
83
- parser (>= 2.7.0.1)
84
- rubocop-performance (1.6.0)
85
- rubocop (>= 0.71.0)
86
- ruby-progressbar (1.10.1)
87
- shoulda-matchers (4.3.0)
94
+ unicode-display_width (>= 1.4.0, < 3.0)
95
+ rubocop-ast (1.4.0)
96
+ parser (>= 2.7.1.5)
97
+ rubocop-performance (1.9.2)
98
+ rubocop (>= 0.90.0, < 2.0)
99
+ rubocop-ast (>= 0.4.0)
100
+ ruby-progressbar (1.11.0)
101
+ ruby2_keywords (0.0.4)
102
+ shoulda-matchers (4.5.0)
88
103
  activesupport (>= 4.2.0)
89
- simplecov (0.18.5)
104
+ simplecov (0.21.2)
90
105
  docile (~> 1.1)
91
106
  simplecov-html (~> 0.11)
92
- simplecov-html (0.12.2)
93
- thread_safe (0.3.6)
94
- timecop (0.9.1)
95
- tzinfo (1.2.7)
96
- thread_safe (~> 0.1)
97
- unicode-display_width (1.7.0)
98
- zeitwerk (2.3.0)
107
+ simplecov_json_formatter (~> 0.1)
108
+ simplecov-html (0.12.3)
109
+ simplecov_json_formatter (0.1.2)
110
+ timecop (0.9.2)
111
+ tzinfo (2.0.4)
112
+ concurrent-ruby (~> 1.0)
113
+ unicode-display_width (2.0.0)
114
+ zeitwerk (2.4.2)
99
115
 
100
116
  PLATFORMS
101
117
  ruby
@@ -104,17 +120,17 @@ DEPENDENCIES
104
120
  bump (~> 0.5)
105
121
  bundler (~> 2.0)
106
122
  dotenv (~> 2.2)
107
- factory_bot (~> 5.0)
123
+ factory_bot (~> 6.0)
108
124
  iron_bank!
109
125
  pry-byebug (~> 3.4)
110
126
  rake (~> 13.0)
111
127
  reek (~> 6.0)
112
128
  rspec (~> 3.0)
113
- rubocop (~> 0.67)
129
+ rubocop (~> 1.0)
114
130
  rubocop-performance (~> 1.0)
115
131
  shoulda-matchers (~> 4.0)
116
132
  simplecov (~> 0.15)
117
133
  timecop (~> 0.9)
118
134
 
119
135
  BUNDLED WITH
120
- 2.1.4
136
+ 2.2.21
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Iron Bank
2
2
 
3
- ![CI](https://github.com/zendesk/iron_bank/workflows/CI/badge.svg?branch=master)
3
+ ![CI](https://github.com/zendesk/iron_bank/workflows/CI/badge.svg?branch=main)
4
4
 
5
5
  An opinionated Ruby interface to the [Zuora REST API][zuora-dev].
6
6
 
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.add_development_dependency "bump", "~> 0.5"
33
- spec.add_development_dependency "bundler", "~> 2.0"
34
- spec.add_development_dependency "dotenv", "~> 2.2"
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"
@@ -40,9 +40,11 @@ module IronBank
40
40
 
41
41
  def response_object
42
42
  @response_object ||= begin
43
- return {} unless body.is_a?(Array)
44
-
45
- ::IronBank::Object.new(body.first).deep_underscore
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
 
@@ -24,6 +24,8 @@ module IronBank
24
24
  def initialize(zoql, limit)
25
25
  @zoql = zoql
26
26
  @limit = limit
27
+
28
+ super(zoql: zoql, limit: limit)
27
29
  end
28
30
 
29
31
  def params
@@ -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.to_s + "_id")
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) + "_id"
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
@@ -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 = /\Aservices(\d+)\.zuora\.com(:\d+)?\z/i.freeze
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
@@ -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 block_given?
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 { |record| yield record } : super
15
+ values.any? ? values.each(&block) : super
16
16
  end
17
17
 
18
18
  def all
@@ -25,7 +25,9 @@ module IronBank
25
25
 
26
26
  def where(conditions, limit: IronBank::Actions::Query::DEFAULT_ZUORA_LIMIT)
27
27
  records = store.values.select do |record|
28
- conditions.all? { |field, value| record.public_send(field) == value }
28
+ conditions.all? do |field, match_value|
29
+ value_matches?(record.public_send(field), match_value)
30
+ end
29
31
  end
30
32
 
31
33
  records.any? ? records : super
@@ -81,5 +83,14 @@ module IronBank
81
83
  IronBank.configuration.export_directory
82
84
  )
83
85
  end
86
+
87
+ # :reek:UtilityFunction
88
+ def value_matches?(record_value, match_value)
89
+ if match_value.is_a? Array
90
+ match_value.include? record_value
91
+ else
92
+ record_value == match_value
93
+ end
94
+ end
84
95
  end
85
96
  end
@@ -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(STDOUT), level: LEVEL)
17
+ def initialize(logger: ::Logger.new($stdout), level: LEVEL)
18
18
  @logger = logger
19
19
  @logger.progname = PROGNAME
20
20
  @logger.level = level
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IronBank
4
- VERSION = "5.0.0"
4
+ VERSION = "5.2.3"
5
5
  API_VERSION = "v1"
6
6
  end
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.0.0
4
+ version: 5.2.3
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: 2020-06-15 00:00:00.000000000 Z
14
+ date: 2021-06-30 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
- rubygems_version: 3.1.3
356
- signing_key:
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: []