shell_mock 0.7.1 → 0.7.2

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
  SHA1:
3
- metadata.gz: 9cfb3f3cd0005a629a39cbd9dff20630b9688668
4
- data.tar.gz: 7276898279f5a813f7b7678ec2e6fee5d783f1e5
3
+ metadata.gz: 6741783edac183df2c8748957faf3fa4cf150f93
4
+ data.tar.gz: e49552c774ffb19f7434c7e91c77f72b4a54f443
5
5
  SHA512:
6
- metadata.gz: 504995cd6616c844be4281b875fab4fe40c5b94e9e9b47e0ee9e2d7dc561d37cb1a6d499c12c77ea4800871b020e38daff921c59c091f60c3ca0301b06035d86
7
- data.tar.gz: a3cd02b088b51cb9c72ecd6d7d28c112c47be614cc02d2403a083b83af1612d2d1d9337d61cf0ede8558e1ce8553dcac57c3cdc118b24b27a4399290231243df
6
+ metadata.gz: 9c9ef7049a47d4602b647fb24eb907124274c9a57ff77f714b18aff7c30398b4e236217496e2e9b22b30ea765addbc32928c0e3dde230b6308a71e4135657303
7
+ data.tar.gz: ad36d45c4bfdf2e0cd1ea96f436c9f47ce8423ce1bfef967936921c32c2a97f9c89a2c3b09a59b0fae8dfbbd98b5943dda51b8a372af921f402338deca6c8d15
@@ -10,6 +10,10 @@
10
10
  * maybe add `CommandStub#with_stdin(str)` for `spawn`?
11
11
  * maybe adding the ability to specify the order in which commands output to stdout vs. stderr (like, a sequence of outputs) would be useful? would definitely be fun to build, not sure how useful it would be though.
12
12
 
13
+ ## RELEASE 0.7.2
14
+
15
+ * FIX: fix bug in SpawnMonkeyPatch involving popen2e when commands were prevented from running.
16
+
13
17
  ## RELEASE 0.7.1
14
18
 
15
19
  * FIX: fixed an issue with our `spawn` monkey-patch receiving optional key-value parameters from `Open3.popen2e`.
@@ -1,6 +1,6 @@
1
1
  module ShellMock
2
2
  class NoStubSpecified < StandardError
3
- def initialize(env, command, **options)
3
+ def initialize(env, command, options)
4
4
  super("no stub specified for #{command}")
5
5
  end
6
6
  end
@@ -46,4 +46,3 @@ def SpawnArguments(*args)
46
46
  [env, [command, *args], options]
47
47
  end
48
48
  end
49
-
@@ -1,3 +1,3 @@
1
1
  module ShellMock
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shell_mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hoffman