3scale_toolbox 0.2.1 → 0.2.2

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: 6edc160258055594806f1c1acd494201e8f9ae67
4
- data.tar.gz: 3dfe9b992cd0310113edd5eff26499a061a76400
3
+ metadata.gz: 3ba9d1b4f8d84a4bbb476373306f7f8a9fae3635
4
+ data.tar.gz: 50e3fa7fd1003b1d7315ce639c70327ef895b059
5
5
  SHA512:
6
- metadata.gz: 7c731d310c1ff612f8f522a6c60f61ed37f64b8519ac86121f8a0b0ab776f6b441a2f564f9ac21c1eb783de6903837c533d52d2b37d3e3a03662f5d80eb592d8
7
- data.tar.gz: 66c9e710b6764bf1b87a15391b151223c5b23f29532b24b723c583ef241e168308e437bd2d0cf6e785f1fb73e0f3150f6079927b454c3e58cc62664032523cdf
6
+ metadata.gz: ce7697adb8338135b1b1e2cc60cf4c710e59b132605a5214290d1a847a3520615d1b565275502b47a1c16c9742286d8d230603dea36b091fd32c4e180370e49f
7
+ data.tar.gz: 4203344963af5486f4e90a70bcc60eac36d75267ffe67f1de3820bac3ef8db4229c470f305c0d76b94715537e1f581807109e98150d1fd8a2f0d4b90cc0c15f6
data/exe/3scale-import CHANGED
@@ -143,7 +143,7 @@ when 'csv'
143
143
  end
144
144
 
145
145
  # create a mapping rule
146
- if (metric_id = metric ? metric['id'] : (method ? method['id'] : nil))
146
+ if (metric_id = metric['id'] || method['id'])
147
147
  mapping_rule = client.create_mapping_rule(service['id'], {
148
148
  metric_id: metric_id,
149
149
  pattern: item['endpoint_path'],
@@ -1,3 +1,3 @@
1
1
  module ThreeScaleToolbox
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: 3scale_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Cichra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-12 00:00:00.000000000 Z
11
+ date: 2016-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.2.5
93
+ rubygems_version: 2.5.1
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: 3scale CLI Toolbox.