chargebee 2.54.0 → 2.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +1 -1
- data/chargebee.gemspec +2 -2
- data/lib/chargebee/models/model.rb +5 -1
- 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: 08c00f3c33087b3539f16d88e278b1d1f0e49d41
|
4
|
+
data.tar.gz: 14cca643852e1b99872d80f46e749e914f9fa018
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e706d3f71e25154f4e2712e3977b5269d0aefa7ac63a8c7c6f4f63119b2159f4a3da4739b67785e08dc4f2c6d41ed8606fa0adb33a8f6d863a8fb1ff1791a88
|
7
|
+
data.tar.gz: ba9875acbd1b53b3e207cc4fa6f2a790b493a6d3a2a623447ac8ba989cb050eb39140ef3f1aafc13a75109a41bfe94eedb20b92df859b52fa5007b639c37696b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
### v2.55.0 (2025-06-03)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
### New Feature:
|
5
|
+
* Added respond_to_missing? to ChargeBee::Model.
|
6
|
+
|
7
|
+
### Bug fixes:
|
8
|
+
* Resolved an issue where API calls would fail if the resource ID contained whitespace characters.
|
9
|
+
|
10
|
+
|
1
11
|
### v2.54.0 (2025-05-15)
|
2
12
|
* * *
|
3
13
|
|
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.
|
8
|
-
s.date = '2025-
|
7
|
+
s.version = '2.55.0'
|
8
|
+
s.date = '2025-06-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 = {
|
@@ -44,6 +44,10 @@ module ChargeBee
|
|
44
44
|
def replace_white_space_with_underscore(s)
|
45
45
|
s.to_s.tr(" ", "_")
|
46
46
|
end
|
47
|
+
|
48
|
+
def respond_to_missing?(m, include_private = false)
|
49
|
+
@values.has_key?(m) || m[0,3] == "cf_" || super
|
50
|
+
end
|
47
51
|
|
48
52
|
def method_missing(m, *args, &block)
|
49
53
|
if(@values.has_key?(m))
|
@@ -61,7 +65,7 @@ module ChargeBee
|
|
61
65
|
if(path.nil? || path.strip.length < 1)
|
62
66
|
raise "Id is empty or nil"
|
63
67
|
end
|
64
|
-
url = "#{url}/#{CGI.escape(path.strip).gsub("%2F", "/")}"
|
68
|
+
url = "#{url}/#{CGI.escape(path.strip).gsub("+","%20").gsub("%2F", "/")}"
|
65
69
|
end
|
66
70
|
return url
|
67
71
|
end
|
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.
|
4
|
+
version: 2.55.0
|
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: 2025-
|
12
|
+
date: 2025-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cgi
|