ytools 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/VERSION +1 -1
- data/lib/ytools/basecli.rb +1 -4
- data/lib/ytools/utils.rb +1 -1
- metadata +3 -3
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/ytools/basecli.rb
CHANGED
@@ -51,10 +51,7 @@ module YTools
|
|
51
51
|
yaml_object.merge(YAML::load(options[:literal]))
|
52
52
|
end
|
53
53
|
if YTools::Utils.stdin?
|
54
|
-
|
55
|
-
# ARGF will try to read from
|
56
|
-
ARGV.clear
|
57
|
-
yaml_object.merge(YAML::load(ARGF.read))
|
54
|
+
yaml_object.merge(YAML::load(STDIN.read))
|
58
55
|
end
|
59
56
|
options[:yaml_object] = yaml_object
|
60
57
|
rescue Exception => e
|
data/lib/ytools/utils.rb
CHANGED
metadata
CHANGED