stacksondeck 1.2.0 → 1.2.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/stacksondeck/app.rb +5 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15986bb862a807230480fa8c0ce5fcc356739f17
4
- data.tar.gz: d8489c25579af8b858444691e038dd7de9506241
3
+ metadata.gz: e59861a72aa2acfea6a22166962ae7e42607e534
4
+ data.tar.gz: 2c05ab5b83fc34a0948d97186a26a87e410e6870
5
5
  SHA512:
6
- metadata.gz: e56c4f63a984b02ecc2a51756762a7f7eeedc3e96b5a27eb25ede66aaa054f203941023507cf6ceff4889f7a95659ae2f3f0d8ddf05603850f59e4d21934a3fb
7
- data.tar.gz: 3176dd765e2447b7c113013920c6111a3490ce87d71053d737030945a78d3729b7d530b5047b2ec6c114903b848b72a2c4fbc3f253e9bf47406bd0235b052b5b
6
+ metadata.gz: 256cf064bbb08b5dd60573bf311687b52b8c7fa27a28053be8ceadd66a40f4c31b24487d0df1e04a2a602b9faaf5ffb6eda97d56f987146b582724244214fb89
7
+ data.tar.gz: 06e295008d95714d06856d6987317c8dd450b2139e7332a8cca0fa04f534815577f7d784f6f50443e5052f6eb6f99aad1611f2e35b777cfb187b5040d7e05eba
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
@@ -97,10 +97,11 @@ module StacksOnDeck
97
97
  remote_url = File.join @@ridley.server_url, 'nodes', name
98
98
  edit_url = File.join remote_url, 'edit'
99
99
 
100
- tags = n.tags || []
101
- tags += n.roles || []
102
- tags << n.chef_environment
103
- tags = tags.uniq.compact
100
+ tags = n.tags || []
101
+ tags += n.roles || []
102
+ tags ||= []
103
+ tags << n.chef_environment
104
+ tags = tags.uniq.compact
104
105
 
105
106
  @@db[name] = {
106
107
  'hostname' => n.hostname,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stacksondeck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor