sym 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36befc7ec0737c70c0744632ffd3d161797bf169
4
- data.tar.gz: 060b3db5e9073057911ada5f5dedcc81ab40cab5
3
+ metadata.gz: 73e5b5a60ecd297628383c6dcedfae194ea1185d
4
+ data.tar.gz: 461b202fdabc71eba1a34ce70c80feb59bfc585f
5
5
  SHA512:
6
- metadata.gz: 6b511d18b5cb0d30e57ee5636ba140910831dbe8d21bed29277d314c9d18807505140e7e298ef1da4fb03d0c5a7f9740dfacaab0e18404f05e510c5aafa1e8a8
7
- data.tar.gz: f66653d1548d9e4daa92e8edd9f1efa081f840fb1b6fc6e51b7e93c4577d16ac5f3712b7773faeef232c1583f875b8d6aab266b22d4ba90227c10423ebc84e1c
6
+ metadata.gz: 135bb4d094617ad879a1b4dae069259dce319ce9a636303501d153a0538b9ffc717eb011bcba2fe2ad4a8127997b30131e054a0894babda17110056fc262c9d4
7
+ data.tar.gz: afb15abc2a14b8efbda115f76c8e54643221c45887ec440cc17561281ff8e16d440f02192d5ea3d55333023597235f04f34697baafd7a6357dcb1b545313c705
@@ -65,9 +65,9 @@ Diff:
65
65
  def example(comment: nil, command: nil, echo: nil, result: nil)
66
66
  out = []
67
67
  out << "# #{comment}".white.dark.italic if comment
68
- out << "#{command}" if command
69
- out << "#{echo}" if echo
70
- out << "#{result}" if result
68
+ out << command if command
69
+ out << echo if echo
70
+ out << result if result
71
71
  out << '—'*80
72
72
  end
73
73
  end
@@ -5,7 +5,7 @@ module Sym
5
5
  class Stdout < ::Sym::App::Output::Base
6
6
  required_option nil
7
7
  def output_proc
8
- ->(argument) { printf argument }
8
+ ->(argument) { printf "%s", argument }
9
9
  end
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Sym
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
@@ -84,9 +84,9 @@ Each URI type is supported by a corresponding plugin, and new ones can be easily
84
84
  Some examples:
85
85
 
86
86
  ```bash
87
- ——key-in string://234234234 # read from the literal data
87
+ ——key-in string://234234234 # read from the literal data
88
88
  ——key-out file://home/kig/.mykey # read/write from/to file
89
- ——key-in env://MY_VARIABLE # read from environment variable
89
+ ——key-in env://MY_VARIABLE # read from environment variable
90
90
  ——key-out stdio:// # read/write using stdin/out
91
91
 
92
92
  --data-in https://mysite.com/remote/secrets.json.enc
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sym
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Gredeskoul
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-24 00:00:00.000000000 Z
11
+ date: 2017-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored2