rspeckled 0.0.21 → 0.0.22

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: ac73c50fa775dc64ac675e9e9d05d17be1837eec
4
- data.tar.gz: 4c05ce7cf6e3b4770dac69bf2f4fc10ed474e315
3
+ metadata.gz: 867728341ae6b98a06764871ff4d6ad8639cb71b
4
+ data.tar.gz: e6e9037030a945889f6689736bd0a5b2addf9b26
5
5
  SHA512:
6
- metadata.gz: 04ca1390f869892e9b9c06704549504256a3ec23c9afca7391cf3f06626c4220320492942a356b4e8b4c71fc900b7e02afac8c8903d470b5508552dce02c6f36
7
- data.tar.gz: 4e9772a82e6dea286a6ce1f632b6c74df6ab2b0ec88c40e5a6fde5915813ef3db6f6102349ffdf08a99062df76c283aa6713304501b84f252702453698ac2abd
6
+ metadata.gz: f9decaeac43c3b3794d7aef91b011c70c33bdd36a7dd7b88142feeef53c3fde89ae6e6cbbbdb871e98c304f3ba776716612c155ddf5b3bf0b9bb2c193bdaf018
7
+ data.tar.gz: 0e1b5bd1bf042c8f15b9d2f5d1d6ed8154de8b35d66c48b6e6c44d47de4eaa3199afcd147187e858d8b807f1693893e977b30871cff269db076b0140722c28ec
checksums.yaml.gz.sig CHANGED
Binary file
@@ -3,6 +3,12 @@ begin
3
3
  unless RUBY_VERSION.start_with?('1.8')
4
4
  require 'simplecov'
5
5
 
6
+ if ENV['CIRCLE_ARTIFACTS']
7
+ coverage_directory = File.join(ENV['CIRCLE_ARTIFACTS'], 'coverage')
8
+
9
+ SimpleCov.coverage_dir(coverage_directory)
10
+ end
11
+
6
12
  SimpleCov.start do
7
13
  add_filter '/config/'
8
14
  add_filter '/spec/'
@@ -25,9 +25,21 @@ begin
25
25
  rescue LoadError
26
26
  end
27
27
 
28
+ RSpec.configure do |config|
29
+ config.around(:each, :vcr => lambda { |v| !!v }) do |example|
30
+ VCR.configuration.allow_http_connections_when_no_cassette = false
31
+
32
+ example.run
33
+
34
+ VCR.configuration.allow_http_connections_when_no_cassette = true
35
+ end
36
+ end
37
+
28
38
  VCR.configure do |config|
29
39
  config.ignore_hosts 'lvh.me', 'localhost', '127.0.0.1', '0.0.0.0'
30
- config.cassette_library_dir = File.expand_path('./tmp/vcr_cassettes')
40
+
41
+ config.cassette_library_dir = File.expand_path('./tmp/vcr_cassettes')
42
+ config.allow_http_connections_when_no_cassette = true
31
43
 
32
44
  # So that the Code Climate coverage reporter (if installed) can send reports
33
45
  # even though VCR is enabled.
@@ -49,6 +49,11 @@ RSpec.configure do |config|
49
49
  config.add_formatter 'Fuubar'
50
50
  config.add_formatter 'documentation', 'tmp/rspec.txt'
51
51
 
52
+ if ENV['CONTINUOUS_INTEGRATION'] && defined?(RSpecJUnitFormatter)
53
+ config.add_formatter 'RSpecJUnitFormatter',
54
+ "#{ENV['CIRCLE_TEST_REPORTS']}/rspec/junit.xml"
55
+ end
56
+
52
57
  ##############################################################################
53
58
  # FILTERING AND RUN ORDER
54
59
  ##############################################################################
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Rspeckled
3
- VERSION = '0.0.21'
3
+ VERSION = '0.0.22'
4
4
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspeckled
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
@@ -31,7 +31,7 @@ cert_chain:
31
31
  zRIv8lqQM8QFT76rzP5SBCERwN+ltKAFbQ5/FwmZNGWYnmCP3RZMQiRnbh+9H9lh
32
32
  mlbwaYZTjgsXq6cy8N38EecewgBbZYS1IYJraE/M
33
33
  -----END CERTIFICATE-----
34
- date: 2016-10-17 00:00:00.000000000 Z
34
+ date: 2016-11-12 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
metadata.gz.sig CHANGED
Binary file