chargebee 2.4.4 → 2.4.5
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 +15 -0
- data/chargebee.gemspec +3 -3
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/customer.rb +1 -1
- data/lib/chargebee/models/promotional_credit.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9863573133a95cfc48380d5b6d94795ef82733a
|
|
4
|
+
data.tar.gz: 4aa7e99ff4be31e4cec6d27ef45111120a0dc39a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e475654a0c3b460efdcdb8026f39661f4a61f791304cdade58bd1c251b8101d7c25a555b0a31b51ebf55a59cf662bc3e885f36343b1cc9133ff1bbf5747e463
|
|
7
|
+
data.tar.gz: de30c57808b1fbf28ba1525569d4ba2e1573e0035e26c1a5f1af8b3e6a64f3d8136e4d66fa88772e640c13c1b00e7de49f1a7ab08bb7aa028924c560f8782811
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
### v2.4.5 (2018-03-02)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
The attribute 'balance_currency_code' has been deprecated and attribute 'currency_code' has been added to Balances sub-resource in Customer resource.
|
|
5
|
+
See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
|
|
6
|
+
|
|
7
|
+
The attribute done_by has been added to Promotional credits resource.
|
|
8
|
+
See : https://apidocs.chargebee.com/docs/api/promotional_credits
|
|
9
|
+
|
|
10
|
+
New payment method wechat_pay has been added.
|
|
11
|
+
See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
|
|
12
|
+
|
|
13
|
+
The endpoint Manage Payment Sources has been undeprecated in Hosted pages resource.
|
|
14
|
+
See : https://apidocs.chargebee.com/docs/api/hosted_pages
|
|
15
|
+
|
|
1
16
|
### v2.4.4 (2018-02-01)
|
|
2
17
|
* * *
|
|
3
18
|
|
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.4.
|
|
8
|
-
s.date = '2018-02
|
|
7
|
+
s.version = '2.4.5'
|
|
8
|
+
s.date = '2018-03-02'
|
|
9
9
|
|
|
10
10
|
s.summary = "Ruby client for Chargebee API."
|
|
11
11
|
s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
|
20
20
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
21
21
|
s.extra_rdoc_files = %w[README.rdoc LICENSE]
|
|
22
22
|
|
|
23
|
-
s.add_dependency('json_pure', '~> 1
|
|
23
|
+
s.add_dependency('json_pure', '~> 2.1')
|
|
24
24
|
s.add_dependency('rest-client', '>= 1.8', '< 3.0')
|
|
25
25
|
|
|
26
26
|
s.add_development_dependency('rspec', '~> 3.0.0')
|
data/lib/chargebee.rb
CHANGED
|
@@ -18,7 +18,7 @@ module ChargeBee
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
class Balance < Model
|
|
21
|
-
attr_accessor :promotional_credits, :excess_payments, :refundable_credits, :unbilled_charges, :balance_currency_code
|
|
21
|
+
attr_accessor :promotional_credits, :excess_payments, :refundable_credits, :unbilled_charges, :currency_code, :balance_currency_code
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection,
|
|
@@ -2,7 +2,7 @@ module ChargeBee
|
|
|
2
2
|
class PromotionalCredit < Model
|
|
3
3
|
|
|
4
4
|
attr_accessor :id, :customer_id, :type, :amount, :currency_code, :description, :credit_type,
|
|
5
|
-
:reference, :closing_balance, :created_at
|
|
5
|
+
:reference, :closing_balance, :done_by, :created_at
|
|
6
6
|
|
|
7
7
|
# OPERATIONS
|
|
8
8
|
#-----------
|
|
@@ -28,4 +28,4 @@ module ChargeBee
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
end # ~PromotionalCredit
|
|
31
|
-
end # ~ChargeBee
|
|
31
|
+
end # ~ChargeBee
|
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.
|
|
4
|
+
version: 2.4.5
|
|
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: 2018-02
|
|
12
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json_pure
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - ~>
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: '1
|
|
20
|
+
version: '2.1'
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - ~>
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: '1
|
|
27
|
+
version: '2.1'
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: rest-client
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|