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 +4 -4
- data/.github/workflows/ci.yml +12 -0
- data/lib/killbill_client/models/resource.rb +10 -9
- data/lib/killbill_client/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fae67b395a1dd76a7de734c1cdfeba67e650a071
|
4
|
+
data.tar.gz: 007ff0eb5554f4453940d0989120e96e355e7fb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08e6a74046988565f92e8b8c3773a09e29115669ee51b457be6b0e3994f02af852334bba841ae6aa35e94b0d90d257e611f07b3722abceff2edf488a92d8bd5c'
|
7
|
+
data.tar.gz: a4668b8f712e652969e37b9067eff100defbfb3be6396a3468d914fbe03e47b6fc74164073fd712259b9da8ab7aaa44192030c94c16ee96aa202c9112137a1e4
|
data/.github/workflows/ci.yml
CHANGED
@@ -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
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
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)
|
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.
|
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:
|
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: []
|