ytools 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/VERSION +1 -1
  2. data/lib/ytools/basecli.rb +4 -1
  3. metadata +14 -5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -51,7 +51,10 @@ module YTools
51
51
  yaml_object.merge(YAML::load(options[:literal]))
52
52
  end
53
53
  if YTools::Utils.stdin?
54
- yaml_object.merge(YAML::load(STDIN.read))
54
+ # We need to make sure there are no files that
55
+ # ARGF will try to read from
56
+ ARGV.clear
57
+ yaml_object.merge(YAML::load(ARGF.read))
55
58
  end
56
59
  options[:yaml_object] = yaml_object
57
60
  rescue Exception => e
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ytools
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 21
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 2
8
- - 0
9
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Gabe McArthur
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-03-10 00:00:00 -08:00
18
+ date: 2011-03-17 00:00:00 -07:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ~>
27
28
  - !ruby/object:Gem::Version
29
+ hash: 31
28
30
  segments:
29
31
  - 0
30
32
  - 2
@@ -40,6 +42,7 @@ dependencies:
40
42
  requirements:
41
43
  - - ">="
42
44
  - !ruby/object:Gem::Version
45
+ hash: 3
43
46
  segments:
44
47
  - 0
45
48
  version: "0"
@@ -53,6 +56,7 @@ dependencies:
53
56
  requirements:
54
57
  - - ">="
55
58
  - !ruby/object:Gem::Version
59
+ hash: 3
56
60
  segments:
57
61
  - 0
58
62
  version: "0"
@@ -66,6 +70,7 @@ dependencies:
66
70
  requirements:
67
71
  - - ">="
68
72
  - !ruby/object:Gem::Version
73
+ hash: 3
69
74
  segments:
70
75
  - 0
71
76
  version: "0"
@@ -79,6 +84,7 @@ dependencies:
79
84
  requirements:
80
85
  - - ">="
81
86
  - !ruby/object:Gem::Version
87
+ hash: 29
82
88
  segments:
83
89
  - 0
84
90
  - 2
@@ -94,6 +100,7 @@ dependencies:
94
100
  requirements:
95
101
  - - ">="
96
102
  - !ruby/object:Gem::Version
103
+ hash: 27
97
104
  segments:
98
105
  - 2
99
106
  - 5
@@ -161,6 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
168
  requirements:
162
169
  - - ">="
163
170
  - !ruby/object:Gem::Version
171
+ hash: 3
164
172
  segments:
165
173
  - 0
166
174
  version: "0"
@@ -169,13 +177,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
177
  requirements:
170
178
  - - ">="
171
179
  - !ruby/object:Gem::Version
180
+ hash: 3
172
181
  segments:
173
182
  - 0
174
183
  version: "0"
175
184
  requirements: []
176
185
 
177
186
  rubyforge_project:
178
- rubygems_version: 1.3.7
187
+ rubygems_version: 1.6.1
179
188
  signing_key:
180
189
  specification_version: 3
181
190
  summary: For reading or writing configuration files using YAML.