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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33e208966c719bffc9d8d9d181e4644d65b46ec358874ecf2a81cfc1e8e048e6
4
- data.tar.gz: 6cfac8ebad05c2f72de739dbf6658a08c19a49390690fb5cf606b8f7e30b7c92
3
+ metadata.gz: 40f19685adcb71589c00b1fb49b10d174dc75918beaf90b8b57663820d77ea58
4
+ data.tar.gz: 2cca1ff4273f7ae537837260b683f25873bb72dc23beb260cef88fe6be2fa922
5
5
  SHA512:
6
- metadata.gz: b3a003808b751464816eae04ce90cfb84d131e3dca1542f2038399a6ed61e5cc1ab235342a563bce20ccfdfd66d2dd7a1f75d4e8dd52406c79acbf733ed5cc04
7
- data.tar.gz: 9a1dbeb5328f677ffae281290c0fc278b82fdb86dfe05f3c562f8c509608b42fe717bd040361224e9eb1a82a01205674c49192d08945e2101521bbd58ad91dae
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
 
@@ -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 :plan_uuid
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ChartMogul
4
- VERSION = '2.1.0'
4
+ VERSION = '2.9.0'
5
5
  end
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.1.0
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-07-28 00:00:00.000000000 Z
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.4
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: []