nrser 0.0.5 → 0.0.6

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: f304a245c2445a67bec1ddf07dce65e08a4e55bd
4
- data.tar.gz: c702f259bb2dea50381d7e8c56a57eeed03713aa
3
+ metadata.gz: 5c8731154cddca4f094d4d430d8250c736787828
4
+ data.tar.gz: 8e721938ec4c42a38710af59b3a5d2523e7a2a72
5
5
  SHA512:
6
- metadata.gz: b75a5917d0a3752d3d72731bf8b47d0d1a4691bc4288d295cb2bc69629565a27b59d531e752dd34a57e12ca69a787b8d6d1d6b0f199db29d4bda6a9a90c18d28
7
- data.tar.gz: 1049973338a16728e22deee3afa4ef5ee4e8ef1da5b3ed696312b07e025d06eabcd5e3ed84bd3cabe67b8baff1dc233e6ce451dfcd653125627039da62cc60cb
6
+ metadata.gz: e2944482bc327588d1a9320768176b26ccb17409a76c4a39f39dac94b5dc9f77c1bd5799009b7eb49dfdeb670b055622ede08906169525d3aee0a81f49301610
7
+ data.tar.gz: 274e7e3bf113716008789a1104a3aed27be1338708565587461239a61a030d3a714c13a9f72e137542dc9e265c2f4f157d3242f3619b8ad85402db9d057874c3
@@ -1,5 +1,6 @@
1
+ require 'nrser'
1
2
 
2
- module NRSER; end
3
+ using NRSER
3
4
 
4
5
  module NRSER::Exec
5
6
  # substitute stuff into a shell command after escaping with
@@ -1,3 +1,3 @@
1
1
  module NRSER
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -16,4 +16,8 @@ describe "NRSER::Exec.run" do
16
16
  ).to eq "$HOME\n"
17
17
  end
18
18
 
19
+ it "handles commands that error" do
20
+ expect{ NRSER::Exec.run "false" }.to raise_error SystemCallError
21
+ end
22
+
19
23
  end # describe run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nrser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - nrser