rubyshell 1.1.1 → 1.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3dc52bfe0cf67de6392904a19c61eecd1ba03d309ed0b71fe7c9f62c43a99389
4
- data.tar.gz: 99ec7930b2fb5223efe6533fee5357ea1a18ee8501267479157d533e9be687e5
3
+ metadata.gz: d144b65a358ed5bfc9fbb6a7c4e1f1dcc6ad90516f98a8787a07ab84a81943a7
4
+ data.tar.gz: 06f5260717bc2e232d0d82e231eee1ddf8aa33bd5f640d1de48f52649f2862be
5
5
  SHA512:
6
- metadata.gz: f44145f622774e54812697bb03a16e06f5b1a5f4dedbe3832879af9f500144a1b81a67424a0567b0a738efa713c5d849321f58ba6281fe8c2d573e53d04343b3
7
- data.tar.gz: 6b213e46dd112c32449cfab374cafefaa41265dfdc4b32152bfeac6757757266bdb56e81dc975f9c816c8818edc1d5533e28bebacdda510310f2fb43c7a2b83b
6
+ metadata.gz: 82ffc3ad85d2412d885bfb59fec0835964d1ff8b1d1bb2796d3c0a98d5421c8a8eb62ad7e6d19240b3d10446e72b3cbc72f4ed0ebef461f82a292037490f812b
7
+ data.tar.gz: 23d6b6f996ce1867dcbc6cb5e1714eb51d4ff49c5f84d0a629cfec01384c911c5c61d6f1e0e3510ba65497911685cee285ee5dc467865c62c46d95b2be3bd15e
data/exe/rubyshell ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "rubyshell"
5
+
6
+ require "irb"
7
+
8
+ IRB.start(__FILE__)
@@ -43,7 +43,7 @@ module RubyShell
43
43
  "--#{k}"
44
44
  end
45
45
 
46
- [key, v.is_a?(TrueClass) ? nil : v].compact.join(" ")
46
+ [key, v.is_a?(TrueClass) ? nil : "'#{v}'"].compact.join(" ")
47
47
  end.compact
48
48
  end
49
49
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyShell
4
- VERSION = "1.1.1"
4
+ VERSION = "1.2.1"
5
5
  end
metadata CHANGED
@@ -1,24 +1,26 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyshell
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - albertalef
8
- bindir: bin
8
+ bindir: exe
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: A rubist way to run shell commands
13
13
  email:
14
14
  - albertalef@protonmail.com
15
- executables: []
15
+ executables:
16
+ - rubyshell
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
19
20
  - CHANGELOG.md
20
21
  - README.md
21
22
  - Rakefile
23
+ - exe/rubyshell
22
24
  - lib/rubyshell.rb
23
25
  - lib/rubyshell/chain_context.rb
24
26
  - lib/rubyshell/chainer.rb