td 0.16.8 → 0.16.9

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
  SHA1:
3
- metadata.gz: dc8c50e05e0ed05da8a93a7b7e39f5c7577e2115
4
- data.tar.gz: a5d08d636a3d28cf2c2a35047e3e7fe415e268d8
3
+ metadata.gz: 6aea3ef4a96f7d2d1042cbf337e5f95288022f39
4
+ data.tar.gz: 7ab665de173e7ce66dfa7b4622cb4513dcef6426
5
5
  SHA512:
6
- metadata.gz: 7536bf0689d4f7fd05bbb1d3c7a42d8e712cfeed53dda3d3f896f3803f2aff7cc036f41c7c6cf20e9f1203e538dbad0b81791d12f346f9f0b5c7ce478066131f
7
- data.tar.gz: 2b5872b1402f8f5302f8814e9100e8e129b65637fc66d330fc439071cc458a5e956d065307107deafe55cd168e921a663d2824789bf708f46daa43b2abe70c47
6
+ metadata.gz: 114f5e1e8763474cb53cdead4f511dd30a988457c8d72e0115fe20f4a013aae7fdbee3c13e8a627381145e05db4d5bf584690bdf863bc9d6fe35bbae66be9b35
7
+ data.tar.gz: 61f72c29b14c70627680248852303d878a92ea571e140c4e5c60318944248367f6509df81b1c19553e4a271ee8ce4f9bc54747610f8263f7ef4cc3fa6d053581
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ == 2020-04-10 version 0.16.9
2
+
3
+ * Update new workflow pattern to support ap02 #232
4
+
1
5
  == 2020-01-16 version 0.16.8
2
6
 
3
7
  * Update default maven repository #230
@@ -185,7 +185,7 @@ class Config
185
185
 
186
186
  def self.workflow_endpoint
187
187
  case self.endpoint_domain
188
- when /\Aapi(-(?:staging|development))?(-[a-z0-9]+)?\.(connect\.)?(eu01\.)?treasuredata\.(com|co\.jp)\z/i
188
+ when /\Aapi(-(?:staging|development))?(-[a-z0-9]+)?\.(connect\.)?((?:eu01|ap02)\.)?treasuredata\.(com|co\.jp)\z/i
189
189
  "https://api#{$1}-workflow#{$2}.#{$3}#{$4}treasuredata.#{$5}"
190
190
  else
191
191
  raise ConfigError, "Workflow is not supported for '#{self.endpoint}'"
@@ -1,3 +1,3 @@
1
1
  module TreasureData
2
- TOOLBELT_VERSION = '0.16.8'
2
+ TOOLBELT_VERSION = '0.16.9'
3
3
  end
@@ -28,6 +28,10 @@ describe TreasureData::Config do
28
28
  let(:api_endpoint){ 'api.eu01.treasuredata.com' }
29
29
  it { is_expected.to eq 'https://api-workflow.eu01.treasuredata.com' }
30
30
  end
31
+ context 'api.ap02.treasuredata.com' do
32
+ let(:api_endpoint){ 'api.ap02.treasuredata.com' }
33
+ it { is_expected.to eq 'https://api-workflow.ap02.treasuredata.com' }
34
+ end
31
35
 
32
36
  context 'api-hoge.connect.treasuredata.com' do
33
37
  let(:api_endpoint){ 'api-hoge.connect.treasuredata.com' }
@@ -50,6 +54,10 @@ describe TreasureData::Config do
50
54
  let(:api_endpoint){ 'api-staging.eu01.treasuredata.com' }
51
55
  it { is_expected.to eq 'https://api-staging-workflow.eu01.treasuredata.com' }
52
56
  end
57
+ context 'api-staging.ap02.treasuredata.com' do
58
+ let(:api_endpoint){ 'api-staging.ap02.treasuredata.com' }
59
+ it { is_expected.to eq 'https://api-staging-workflow.ap02.treasuredata.com' }
60
+ end
53
61
 
54
62
  context 'api-development.treasuredata.com' do
55
63
  let(:api_endpoint){ 'api-development.treasuredata.com' }
@@ -63,6 +71,10 @@ describe TreasureData::Config do
63
71
  let(:api_endpoint){ 'api-development.eu01.treasuredata.com' }
64
72
  it { is_expected.to eq 'https://api-development-workflow.eu01.treasuredata.com' }
65
73
  end
74
+ context 'api-development.ap02.treasuredata.com' do
75
+ let(:api_endpoint){ 'api-development.ap02.treasuredata.com' }
76
+ it { is_expected.to eq 'https://api-development-workflow.ap02.treasuredata.com' }
77
+ end
66
78
 
67
79
  context 'ybi.jp-east.idcfcloud.com' do
68
80
  let(:api_endpoint){ 'ybi.jp-east.idcfcloud.com' }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: td
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.8
4
+ version: 0.16.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Treasure Data, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-16 00:00:00.000000000 Z
11
+ date: 2020-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack