chartmogul-ruby 2.1.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +0 -0
- data/changelog.md +3 -0
- data/chartmogul-ruby.gemspec +6 -0
- data/lib/chartmogul/line_items/one_time.rb +4 -1
- data/lib/chartmogul/line_items/subscription.rb +3 -0
- data/lib/chartmogul/version.rb +1 -1
- data/pre-commit.example +0 -0
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40f19685adcb71589c00b1fb49b10d174dc75918beaf90b8b57663820d77ea58
|
4
|
+
data.tar.gz: 2cca1ff4273f7ae537837260b683f25873bb72dc23beb260cef88fe6be2fa922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0f481312ddcc98a3db16e3ce30e763b82d81ca8a0d8bc82cf9567f0a5bb69f0f0149c4938277c8d8ae59440b4d58f346cc5c53c15718131e332fdcca214f52a
|
7
|
+
data.tar.gz: a865cae002eac8073ef58ff40937c32fa4f489e4f1f6fdde8c336dc016f0a80214d27c76ab5ada9dd3fc8fb51d1ded199c092d04f72e66e4ed5546f74875edb4
|
data/.rspec
CHANGED
File without changes
|
data/changelog.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# chartmogul-ruby Change Log
|
2
2
|
|
3
|
+
## Version 2.9.0 - 3 Nov 2021
|
4
|
+
- Adds post install message informing about authentication changes *& deprecation warning.
|
5
|
+
|
3
6
|
## Version 2.1.0 - 9 July 2021
|
4
7
|
- Adds ChartMogul::Metrics::ActivitiesExport class to support async activities export endpoint
|
5
8
|
|
data/chartmogul-ruby.gemspec
CHANGED
@@ -16,6 +16,12 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.license = 'MIT'
|
17
17
|
spec.required_ruby_version = '>= 2.3'
|
18
18
|
|
19
|
+
spec.post_install_message = %q{
|
20
|
+
Starting October 29 2021, we are updating our developer libraries to support the enhanced API Access Management. Please use the same API Key for both API Token and Secret Key.
|
21
|
+
[Deprecation] - account_token/secret_key combo is deprecated. Please use API key for both fields.
|
22
|
+
Version 3.x will introduce a breaking change in authentication configuration. For more details, please visit: https://dev.chartmogul.com/docs/authentication
|
23
|
+
}
|
24
|
+
|
19
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
26
|
spec.bindir = 'exe'
|
21
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
@@ -14,8 +14,11 @@ module ChartMogul
|
|
14
14
|
writeable_attr :tax_amount_in_cents
|
15
15
|
writeable_attr :transaction_fees_in_cents
|
16
16
|
writeable_attr :external_id
|
17
|
-
writeable_attr :
|
17
|
+
writeable_attr :transaction_fees_currency
|
18
|
+
writeable_attr :discount_description
|
19
|
+
writeable_attr :event_order
|
18
20
|
|
21
|
+
writeable_attr :plan_uuid
|
19
22
|
writeable_attr :invoice_uuid
|
20
23
|
|
21
24
|
def initialize(attributes = {})
|
@@ -19,6 +19,9 @@ module ChartMogul
|
|
19
19
|
writeable_attr :transaction_fees_in_cents
|
20
20
|
writeable_attr :external_id
|
21
21
|
writeable_attr :subscription_set_external_id
|
22
|
+
writeable_attr :transaction_fees_currency
|
23
|
+
writeable_attr :discount_description
|
24
|
+
writeable_attr :event_order
|
22
25
|
|
23
26
|
readonly_attr :subscription_uuid
|
24
27
|
writeable_attr :invoice_uuid
|
data/lib/chartmogul/version.rb
CHANGED
data/pre-commit.example
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chartmogul-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petr Kopac
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -331,7 +331,12 @@ homepage: https://github.com/chartmogul/chartmogul-ruby
|
|
331
331
|
licenses:
|
332
332
|
- MIT
|
333
333
|
metadata: {}
|
334
|
-
post_install_message:
|
334
|
+
post_install_message: "\n Starting October 29 2021, we are updating our developer
|
335
|
+
libraries to support the enhanced API Access Management. Please use the same API
|
336
|
+
Key for both API Token and Secret Key.\n [Deprecation] - account_token/secret_key
|
337
|
+
combo is deprecated. Please use API key for both fields.\n Version 3.x will introduce
|
338
|
+
a breaking change in authentication configuration. For more details, please visit:
|
339
|
+
https://dev.chartmogul.com/docs/authentication\n "
|
335
340
|
rdoc_options: []
|
336
341
|
require_paths:
|
337
342
|
- lib
|
@@ -346,8 +351,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
346
351
|
- !ruby/object:Gem::Version
|
347
352
|
version: '0'
|
348
353
|
requirements: []
|
349
|
-
rubygems_version: 3.1.
|
350
|
-
signing_key:
|
354
|
+
rubygems_version: 3.1.6
|
355
|
+
signing_key:
|
351
356
|
specification_version: 4
|
352
357
|
summary: Chartmogul API Ruby Client
|
353
358
|
test_files: []
|