config_parser 0.5.2 → 0.5.3

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.
data/History CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.5.3 / 2010-12-04
2
+
3
+ * altered targname formatting for list to use an elipsis rather than brackets
4
+ * updated list to unassign using ASET, not delete
5
+
1
6
  == 0.5.2 / 2010-11-27
2
7
 
3
8
  * fixed sorting of mixed long and short options
@@ -30,7 +30,7 @@ class ConfigParser
30
30
  nest_config = nest(config)
31
31
 
32
32
  unless assigned
33
- nest_config.delete(key)
33
+ nest_config[key] = []
34
34
  end
35
35
 
36
36
  array = (nest_config[key] ||= [])
@@ -56,7 +56,7 @@ class ConfigParser
56
56
  private
57
57
 
58
58
  def header_str # :nodoc:
59
- " #{short_str}#{long_str} [#{arg_name}]"
59
+ " #{short_str}#{long_str} #{arg_name}..."
60
60
  end
61
61
  end
62
62
  end
@@ -1,7 +1,7 @@
1
1
  class ConfigParser
2
2
  MAJOR = 0
3
3
  MINOR = 5
4
- TINY = 2
4
+ TINY = 3
5
5
 
6
6
  VERSION = "#{MAJOR}.#{MINOR}.#{TINY}"
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config_parser
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 2
10
- version: 0.5.2
9
+ - 3
10
+ version: 0.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Simon Chiang
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-27 00:00:00 -07:00
18
+ date: 2010-12-04 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency