wash 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wash/method.rb +4 -1
- data/lib/wash/streamer.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b87c836762091e36c54cfb1fc4873db4daddd3ae7d384e1a37cf7cfe5b67698d
|
4
|
+
data.tar.gz: a597868aaeee769935af33d6512c6a827114c1d20955a835f1947162909152c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4306cb5878a58478fbdd2b56fbcff026772f3e88307d1a361a698c6230741ce94f1f5499e7e7a6c42c6894f5cb9842983c0083e7ffb15f1f8be1bd83ef71d011
|
7
|
+
data.tar.gz: 2d4003b4a969f6a122fe7210b2798723b5d94c1963da4b8fa3006669c16004622d0cb9d025856c29b83bf07260fe89c56c9a077c2c895cf60e50876c9e0e12c4
|
data/lib/wash/method.rb
CHANGED
@@ -29,10 +29,13 @@ module Wash
|
|
29
29
|
private_class_method :method
|
30
30
|
|
31
31
|
method(:list)
|
32
|
-
method(:read)
|
33
32
|
method(:metadata)
|
34
33
|
method(:schema)
|
35
34
|
|
35
|
+
method(:read) do |entry, _|
|
36
|
+
STDOUT.print(entry.read)
|
37
|
+
end
|
38
|
+
|
36
39
|
method(:exec) do |entry, *args|
|
37
40
|
opts, cmd, args = Wash.send(:parse_json, args[0]), args[1], args[2..-1]
|
38
41
|
if opts[:stdin]
|
data/lib/wash/streamer.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A library for building Wash external plugins
|
14
14
|
email:
|
@@ -40,7 +40,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
requirements: []
|
43
|
-
|
43
|
+
rubyforge_project:
|
44
|
+
rubygems_version: 2.7.10
|
44
45
|
signing_key:
|
45
46
|
specification_version: 4
|
46
47
|
summary: A library for building Wash external plugins
|