rspeckled 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rspeckled/plugins/simple_cov.rb +6 -0
- data/lib/rspeckled/plugins/vcr.rb +13 -1
- data/lib/rspeckled/support.rb +5 -0
- data/lib/rspeckled/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 867728341ae6b98a06764871ff4d6ad8639cb71b
|
4
|
+
data.tar.gz: e6e9037030a945889f6689736bd0a5b2addf9b26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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.
|
data/lib/rspeckled/support.rb
CHANGED
@@ -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
|
##############################################################################
|
data/lib/rspeckled/version.rb
CHANGED
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.
|
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-
|
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
|