yourbase-rspec-skipper 0.1.7 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29375dc6c4c11ec8e312c8e1ca25ecb1eb6eaeb5e3184b56976e1ed27c5a8893
4
- data.tar.gz: c4ce4cf9f87d912cd4b804220c6fc401979e5a8e468c0e11158d84a163ab7824
3
+ metadata.gz: c5fc747f86f53db54cfa896ac55f77baf8c787f472096de095b64bf07eba485c
4
+ data.tar.gz: d4654f517441055a3190f240fb700dc0f685e652882da28e3611a767a7d97514
5
5
  SHA512:
6
- metadata.gz: eb4f5dfe3c8ed87f09777b37537543a186bb0bbb268c9796d81622ff5a4768145a25221d37c8e5d1244dd915607012bcbf9f588f8f9ff7ffa3696b5d2087099c
7
- data.tar.gz: cfe53f3fab7e6044323f255d4a4290ca819b083a96663097973e7ff87947d4db10360c7bc2d1883dc6c9f091389e303ba0b9fe28a06674af032547873d610af0
6
+ metadata.gz: a4c0b8287774df18136aa3737fdcc566718ad76ad3b8b946d99b3f20e2275c96c8659bb0496ba03f7a24ea2fdc1356faee06f04bfaa9a248cfa71d02e6fa97f9
7
+ data.tar.gz: ab5c5428f5d266f0a79079949ec8b6a3133bfd309a78952675aa25b79d953fbd0d9e96ae9ea74246286e146c345ea10c5224762da763de19d9e42b1d62c591ac
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # YourBase RSpec Accelerator
1
+ # YourBase RSpec Skipper
2
2
 
3
3
  ## What is this?
4
4
 
5
- This is a Ruby gem you can use in conjunction with [YourBase](https://yourbase.io)
5
+ This is a Ruby gem you can use in conjunction with [YourBase](https://yourbase.io).
6
6
 
7
7
  ## What does it do?
8
8
 
@@ -17,8 +17,7 @@ run based on the YourBase runtime dependency graph.
17
17
 
18
18
  ## How do I use this?
19
19
 
20
- Simply add `yourbase-rspec-accelerator` to your Gemfile; when you run your tests
20
+ Simply add `yourbase-rspec-skipper` to your Gemfile; when you run your tests
21
21
  locally it will have no impact at all, other than notifying that it won't
22
22
  accelerate your tests. When you run your tests in the YourBase CI, they will be
23
- accelerated where possible.
24
-
23
+ accelerated where possible.
@@ -1,4 +1,3 @@
1
-
2
1
  module YourBase
3
2
  module RSpec
4
3
  module Skipper
@@ -19,23 +18,21 @@ begin
19
18
  using_rspec = false
20
19
 
21
20
  begin
22
- require 'rspec'
21
+ require 'rspec/core'
23
22
  using_rspec = true
24
- rescue LoadError => e
23
+ rescue LoadError => e
25
24
  puts "YourBase can't accelerate RSpec because it's not loaded!"
25
+ return
26
26
  end
27
27
 
28
- if using_rspec
29
- begin
30
- puts "Loading YourBase RSpec Skipper..."
31
- require 'yourbase_test_skipper'
32
- ::YourBase::RSpec::Skipper.inject!
33
- rescue LoadError => e
34
- puts "Failed to find or load RSpec accelerator, falling back to normal behavior"
35
- end
28
+ begin
29
+ puts "Loading YourBase RSpec Skipper..."
30
+ require 'yourbase_test_skipper'
31
+ ::YourBase::RSpec::Skipper.inject!
32
+ rescue LoadError => e
33
+ puts "Failed to find or load RSpec accelerator, falling back to normal behavior"
36
34
  end
37
35
 
38
36
  rescue => e
39
37
  puts "Unable to load RSpec accelerator: #{e}"
40
38
  end
41
-
@@ -1,7 +1,7 @@
1
1
  module YourBase
2
2
  module RSpec
3
3
  module Skipper
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.9'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yourbase-rspec-skipper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Ewart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-05 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec