factor-connector-rackspace 0.0.9 → 0.0.10

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: 42d03ca196411464695479e1e6ea8ee520c7791f
4
- data.tar.gz: 721a65a14137c5526ea7b5baa2087fc8ecc3d79f
3
+ metadata.gz: a68b3308634a7a6812028af654263ee535a79813
4
+ data.tar.gz: 1a65d616b928bd00608614c7c0e54243460d1a59
5
5
  SHA512:
6
- metadata.gz: 45ee2a6f27b60f24685dc34d90278bf1e5fb801ff18190347cf2101e23bd2865915b85172fc2c83c3e474c5cc49c43fb954ae5aa2ab72f915d14b9a35c692347
7
- data.tar.gz: 18c0e6adb5c81376be5d277e4bd25ebf72892525a7d448d8135ba76ffc562d8eefbfae834b0fddc8b1f36fc55b62083d7e89ba6ef6cf3830fa26e1fd70c6be6f
6
+ metadata.gz: 9cb48915e03214306178b62f320ed42832cbedd6d2977c12d3f04a0afb4f1d4236acb9b5e51656aea97e4dd3c4ba38f262752917f531afd951d0507796e7516e
7
+ data.tar.gz: 1c96bb067bbe50310ce25360036882afa4960232ab00f5e3500a041fa6933c2bfb55d0f42c0ac28372e89395a4467e1a600b7eda104890ff501388b868a9cd0f
@@ -147,15 +147,13 @@ Factor::Connector.service 'rackspace_loadbalancers' do
147
147
  api_key = params['api_key']
148
148
  region = (params['region'] || 'ord').to_sym
149
149
  name = params['name']
150
- protocol = params['protocol']
151
- port = params['port']
152
- ip_type = params['ip_type']
153
- algorithm = params['algorithm']
154
- wait = params['wait']
150
+ protocol = params['protocol'] || 'HTTP'
151
+ port = params['port'] || 80
152
+ ip_type = params['ip_type'] || 'PUBLIC'
153
+ algorithm = params['algorithm'] || 'RANDOM'
154
+ wait = params['wait'] || false
155
155
 
156
156
  fail "Name (name) is required" unless name
157
- fail "Protocol (protocol) is required" unless protocol
158
- fail "Port (port) is required" unless port
159
157
  fail "Username (username) is required" unless username
160
158
  fail "API Key (api_key) is required" unless api_key
161
159
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factor-connector-rackspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Skierkowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-18 00:00:00.000000000 Z
11
+ date: 2014-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: factor-connector-api