cpsn 0.4.0 → 0.4.1

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/bin/cpsn +5 -0
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/bin/cpsn CHANGED
@@ -25,6 +25,11 @@ end
25
25
  def load_groups(settings)
26
26
  $log.debug("Loading groups")
27
27
  groups = {}
28
+
29
+ if not settings.value.has_key?(:groups)
30
+ return groups
31
+ end
32
+
28
33
  for group in settings[:groups].value
29
34
  name = group.value.keys[0].value
30
35
  vals = group.value[group.value.keys[0]]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpsn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Bowes
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-15 00:00:00 -05:00
12
+ date: 2009-11-18 00:00:00 -05:00
13
13
  default_executable: cpsn
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency