killbill-client 4.0.3 → 4.0.5

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
  SHA1:
3
- metadata.gz: f0b014a03675df00b0ecc8905bc7e2f87d3a66b8
4
- data.tar.gz: b00efcc489669f9d3dde0fd3ed3f4ad43484ae4d
3
+ metadata.gz: fae67b395a1dd76a7de734c1cdfeba67e650a071
4
+ data.tar.gz: 007ff0eb5554f4453940d0989120e96e355e7fb2
5
5
  SHA512:
6
- metadata.gz: 1ca5f7216fc9715cf80ee0aad0de09fb3ce090c5310b6138d221a4142f4261b25e98429ae77566e906de88e55720cbf61c2deee20687a46da532c9e8e724f870
7
- data.tar.gz: d07ae44a92648d46ed01403cf3ee367f52c187cbc3302dc0e12ef9aafee15fba648173019f9b162250a866e2887eda8f7cae4df0999602f186f18014d081e10e
6
+ metadata.gz: '08e6a74046988565f92e8b8c3773a09e29115669ee51b457be6b0e3994f02af852334bba841ae6aa35e94b0d90d257e611f07b3722abceff2edf488a92d8bd5c'
7
+ data.tar.gz: a4668b8f712e652969e37b9067eff100defbfb3be6396a3468d914fbe03e47b6fc74164073fd712259b9da8ab7aaa44192030c94c16ee96aa202c9112137a1e4
@@ -25,6 +25,12 @@ jobs:
25
25
  database-password: 'root'
26
26
  database-port: '3306'
27
27
  docker-compose-file: 'docker-compose.ci.mysql.yml'
28
+ - ruby-version: '3.3.5'
29
+ database-adapter: 'postgresql'
30
+ database-user: 'postgres'
31
+ database-password: 'postgres'
32
+ database-port: '5432'
33
+ docker-compose-file: 'docker-compose.ci.postgresql.yml'
28
34
  - ruby-version: 'jruby-9.1.17.0'
29
35
  database-adapter: 'mysql2'
30
36
  database-user: 'root'
@@ -37,6 +43,12 @@ jobs:
37
43
  database-password: 'postgres'
38
44
  database-port: '5432'
39
45
  docker-compose-file: 'docker-compose.ci.postgresql.yml'
46
+ - ruby-version: '3.3.5'
47
+ database-adapter: 'postgresql'
48
+ database-user: 'postgres'
49
+ database-password: 'postgres'
50
+ database-port: '5432'
51
+ docker-compose-file: 'docker-compose.ci.postgresql.yml'
40
52
  - ruby-version: 'jruby-9.1.17.0'
41
53
  database-adapter: 'postgresql'
42
54
  database-user: 'postgres'
@@ -174,15 +174,16 @@ module KillBillClient
174
174
 
175
175
  def attribute(name)
176
176
  send('attr_accessor', name.to_sym)
177
- attributes = @json_attributes ||= []
178
- begin
179
- json_attributes.push(name.to_s)
180
- rescue NameError
181
- (class << self; self; end).
182
- send(:define_method, :json_attributes) { attributes }
183
- retry
184
- end
185
- end
177
+ attributes = @json_attributes ||= []
178
+
179
+ if respond_to?(:json_attributes, true)
180
+ json_attributes.push(name.to_s)
181
+ else
182
+ (class << self; self; end).
183
+ send(:define_method, :json_attributes) { attributes }
184
+ json_attributes.push(name.to_s)
185
+ end
186
+ end
186
187
 
187
188
  def has_many(attr_name, type = nil)
188
189
  send("attr_accessor", attr_name.to_sym)
@@ -1,3 +1,3 @@
1
1
  module KillBillClient
2
- VERSION = '4.0.3'
2
+ VERSION = '4.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Killbill core team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-16 00:00:00.000000000 Z
11
+ date: 2025-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem-release
@@ -214,7 +214,7 @@ homepage: http://www.killbilling.org
214
214
  licenses:
215
215
  - Apache-2.0
216
216
  metadata: {}
217
- post_install_message:
217
+ post_install_message:
218
218
  rdoc_options:
219
219
  - "--exclude"
220
220
  - "."
@@ -231,9 +231,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  - !ruby/object:Gem::Version
232
232
  version: '0'
233
233
  requirements: []
234
- rubyforge_project:
234
+ rubyforge_project:
235
235
  rubygems_version: 2.6.13
236
- signing_key:
236
+ signing_key:
237
237
  specification_version: 4
238
238
  summary: Kill Bill client library.
239
239
  test_files: []