mastercard_api_core 1.4.8 → 1.4.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d025f8d54349a5e5990074b4358c7818a4fe6738
4
- data.tar.gz: a8bc805f67ae082e55f10c07f25cf0c6f205bfd5
3
+ metadata.gz: d555cebaef1f94a88fa6df626a6dbcca63983c0c
4
+ data.tar.gz: 71d691fc5a87c36f577e82f529c287a6b05e5d65
5
5
  SHA512:
6
- metadata.gz: 146608b792c726769cc495b55c305f965159484d14f430b27e7427bf711c8642b2657029fbe9cf94b93707d5211b0b5a6be90b884708b10d084ab9f7de989390
7
- data.tar.gz: b52eccc7f00f1722c1c310a3d7abe8c2abe8db96ad26765bd30e7b3d841834d7116fe8519c2d4bd814bedc339a805724b5b1f887e6827b17ca78110930f73716
6
+ metadata.gz: 0748beead2212ef88e95ebe497c11cfa67a5c618a5c197cc51984f913fdfc6bb92a3d4f2e0b6fdb94f36e4d59c1ddee5a555bbfd9669f589708b9bd260b0b020
7
+ data.tar.gz: 50af187dca0729cd4503f2b487b71340084a11be6669c768b89f2100e7e9e7715c0daa6ad16d0c43bd90e884f138dee96efbd41153940f0a6852c29328f4f944
@@ -41,29 +41,39 @@ module MasterCard
41
41
 
42
42
  module Environment
43
43
  PRODUCTION = "production"
44
+ PRODUCTION_MTF = "production_mtf"
45
+ PRODUCTION_ITF = "production_itf"
46
+
44
47
  SANDBOX = "sandbox"
48
+ SANDBOX_STATIC = "sandbox_static"
45
49
  SANDBOX_MTF = "sandbox_mtf"
46
50
  SANDBOX_ITF = "sandbox_itf"
47
51
  STAGE = "stage"
48
- DEV = "dev"
49
- PRODUCTION_MTF = "production_mtf"
50
- PRODUCTION_ITF = "production_itf"
51
52
  STAGE_MTF = "stage_mtf"
52
53
  STAGE_ITF = "stage_itf"
54
+
55
+ DEV = "dev"
53
56
  LOCALHOST = "localhost"
54
57
  OTHER = "other"
58
+
59
+ ITF = "itf"
60
+ PERF = "perf"
61
+
55
62
  MAPPING = {
56
63
  "production" => ["https://api.mastercard.com", nil],
64
+ "production_mtf" => ["https://api.mastercard.com", "mtf"],
65
+ "production_itf" => ["https://api.mastercard.com", "itf"],
57
66
  "sandbox" => ["https://sandbox.api.mastercard.com", nil],
67
+ "sandbox_static" => ["https://sandbox.api.mastercard.com", "static"],
58
68
  "sandbox_mtf" => ["https://sandbox.api.mastercard.com", "mtf"],
59
69
  "sandbox_itf" => ["https://sandbox.api.mastercard.com", "itf"],
60
70
  "stage" => ["https://stage.api.mastercard.com", nil],
61
- "dev" => ["https://dev.api.mastercard.com", nil],
62
- "production_mtf" => ["https://api.mastercard.com", "mtf"],
63
- "production_itf" => ["https://api.mastercard.com", "itf"],
64
71
  "stage_mtf" => ["https://stage.api.mastercard.com", "mtf"],
65
72
  "stage_itf" => ["https://stage.api.mastercard.com", "itf"],
66
- "localhost" => ["http://localhost:8081", nil]
73
+ "dev" => ["https://dev.api.mastercard.com", nil],
74
+ "localhost" => ["http://localhost:8081", nil],
75
+ "itf" => ["https://itf.api.mastercard.com", nil],
76
+ "perf" => ["https://perf.api.mastercard.com", nil]
67
77
  }
68
78
 
69
79
  end
@@ -31,7 +31,7 @@ Gem::Specification.new do |gem|
31
31
  gem.summary = %q{MasterCard core SDK}
32
32
  gem.description = %q{This is the MasterCard OpenAPI core SDK. This provides the base functionality for all MasterCard APIs}
33
33
  gem.homepage = "https://developer.mastercard.com"
34
- gem.version = "1.4.8"
34
+ gem.version = "1.4.9"
35
35
  gem.license = "BSD-2-Clause"
36
36
 
37
37
  gem.files = Dir["{bin,spec,lib}/**/*"]+ Dir["data/*"] + ["mastercard_api_core.gemspec"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_api_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.8
4
+ version: 1.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - MasterCard Worldwide
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-22 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov