chargebee 2.44.0 → 2.44.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/chargebee.gemspec +2 -2
- data/lib/chargebee/util.rb +4 -2
- data/lib/chargebee.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3621b2495d5b64a5507c2cdd14d16971bf3e763b
|
4
|
+
data.tar.gz: 49fc6659643194faadec24341e5796ab8c1d7215
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 578e9cdb85549a4078c8260822c377c7f728db26d3ad207c639a6e7082209b4197a9d569cbb8cca0bf30295883a61a71578ee8a3e2d77252344585e852329f20
|
7
|
+
data.tar.gz: 384b676a1a73e51ae91de6a6ba9378088586ba3b642470080ee6025a6129106cc3d44b4f4b35f841c928ae9e77cb0b9516b7da6e8dd805ecfd0ddd56557f42f2
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/chargebee.gemspec
CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
s.required_ruby_version = '>= 1.9.3'
|
6
6
|
s.name = 'chargebee'
|
7
|
-
s.version = '2.44.
|
8
|
-
s.date = '2024-
|
7
|
+
s.version = '2.44.1'
|
8
|
+
s.date = '2024-10-03'
|
9
9
|
s.summary = "Ruby client for Chargebee API."
|
10
10
|
s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
|
11
11
|
s.metadata = {
|
data/lib/chargebee/util.rb
CHANGED
@@ -6,7 +6,9 @@ module ChargeBee
|
|
6
6
|
case value
|
7
7
|
when Hash
|
8
8
|
value.each do |k, v|
|
9
|
-
if
|
9
|
+
if k == :metadata or k == :meta_data # metadata is encoded as a JSON string instead of URL-encoded.
|
10
|
+
serialized.merge!({k.to_s => as_str(v)})
|
11
|
+
elsif(v.kind_of? Hash or v.kind_of? Array)
|
10
12
|
serialized.merge!(serialize(v, k))
|
11
13
|
else
|
12
14
|
key = "#{(prefix!=nil) ? prefix:''}#{(prefix!=nil) ? '['+k.to_s+']' : k}#{(idx != nil) ? '['+idx.to_s+']':''}"
|
@@ -17,7 +19,7 @@ module ChargeBee
|
|
17
19
|
value.each_with_index do |v, i|
|
18
20
|
serialized.merge!(serialize(v, prefix, i))
|
19
21
|
end
|
20
|
-
|
22
|
+
else
|
21
23
|
if(idx != nil and prefix != nil)
|
22
24
|
key = "#{prefix}[#{idx.to_s}]"
|
23
25
|
serialized.merge!({key => as_str(value)})
|
data/lib/chargebee.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chargebee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.44.
|
4
|
+
version: 2.44.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajaraman S
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|