gaptool-api 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/gaptool-api.rb +1 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61ba794e4018dd72cf4d66762bffdab25b626500
4
- data.tar.gz: 2a89717cefa29833daf527c348aa0743dc3c88b9
3
+ metadata.gz: dc30dde7d59dd2e6126225ab8c02143207a9f2f9
4
+ data.tar.gz: 3eaaa37b8286223d58d881d1de983f47b27144f5
5
5
  SHA512:
6
- metadata.gz: d57b1b015d1c1a6a2a9dd36dcea46324bfa38df708f1c91c8a0fb499e2e9e94160aa21923e4fbc7b0a53322f5801cbf98165d279c0c6a34fdb8ba29ea6c2b383
7
- data.tar.gz: 9d0449c36be2d1d0d6f1058d714a09e503638aa287a828f5417ddc98ea0b299352500997fcd7027496e4c995058850ccaf9990254ba67ee0159dcc47cb6ba819
6
+ metadata.gz: c0e6be66e4279c4e160deb1eec8156e23f7c9ed55976a2f184122683cb637a434a38441123ae078648f54ecf0b3f25a2fee3ffae820a5e768b2c5a1972112c44
7
+ data.tar.gz: b33d30a49197508cf8fc16a0b6909ea6658518d977ca445c6ba8a57dd422399e2bacd79f7ff0ae01af6c2f74b3c395e091c848a521aab4a9689cbb0708ccd99d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.6.1
data/lib/gaptool-api.rb CHANGED
@@ -32,7 +32,7 @@ module GTAPI
32
32
  JSON::parse self.class.get("/hosts/#{role}/#{environment}", options)
33
33
  end
34
34
 
35
- def addnode(zone, itype, role, environment, mirror=0, security_group=nil, ami=nil, chef_repo=nil, chef_branch=nil)
35
+ def addnode(zone, itype, role, environment, mirror=nil, security_group=nil, ami=nil, chef_repo=nil, chef_branch=nil)
36
36
  @body = {
37
37
  'zone' => zone || @default_aws_az,
38
38
  'itype' => itype,
@@ -42,9 +42,6 @@ module GTAPI
42
42
  'chef_repo' => chef_repo,
43
43
  'chef_branch' => chef_branch
44
44
  }
45
- unless mirror == 0 or mirror.nil?
46
- @body['mirror'] = mirror
47
- end
48
45
  unless security_group.nil?
49
46
  @body['security_group'] = security_group
50
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaptool-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Bailey
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-11 00:00:00.000000000 Z
12
+ date: 2014-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty