curacao 0.1.1 → 0.1.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: 1561a62d24064fcf735df041efaea8c760bca479
4
- data.tar.gz: b3a36f04627ca899b8b7d4c00f484633723e29f3
3
+ metadata.gz: eda45a5d5ea84c0c7578804e3089eac96080f694
4
+ data.tar.gz: f985020aee8084b7d08b696b122856b4c2150547
5
5
  SHA512:
6
- metadata.gz: 4f3910cb156d11ad1f4d90792669b79692bdde2f64cbbfe39992db9c66eb6ce0488e72054554a66cf8f9e05e9650583545261cb919e0829767e92234bc1f9409
7
- data.tar.gz: af05b93308ee310c6ab94b3f691d4ea7e6e1e2813d3bad68a625927a798fcd6d03a993e769164186e0ca6fc976c2ba9d6c85cd275e4555c1c6819ed60fbf7db1
6
+ metadata.gz: 7bf2a89689eb2256071659ba341d421d4ff5b61b14084348a7b4291f9a9f35f6bc0452b1a4e53e205a8c1d58ef4d5d92bc094ccf22c46185997aa695b4b91682
7
+ data.tar.gz: 994662a0491bf22ded8c3601f77286e77628d1323c75c12cbee240b6c1fc473acc9db764b7fc1ec7cb3f1be5d18a3c8749cac35f7f388d4209a06401f61f7afe
@@ -14,4 +14,20 @@ RSpec.configure do |config|
14
14
  config.after(:each) do
15
15
  FileUtils.cd $pwd
16
16
  end
17
+
18
+ # Suppress CLI output. This *will* break Pry
19
+ unless ENV['PRY']
20
+ original_stderr = $stderr
21
+ original_stdout = $stdout
22
+ config.before(:all) do
23
+ # Redirect stderr and stdout
24
+ $stderr = File.new '/dev/null', 'w'
25
+ $stdout = File.new '/dev/null', 'w'
26
+ end
27
+
28
+ config.after(:all) do
29
+ $stderr = original_stderr
30
+ $stdout = original_stdout
31
+ end
32
+ end
17
33
  end
@@ -1,3 +1,3 @@
1
1
  module Curacao
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: curacao
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley