spring-commands-parallel-rspec 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spring/commands/parallel_rspec.rb +5 -0
- data/spring-commands-parallel-rspec.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b0580299f50de9c041ea1b66424841ba124a5ed8dae35a2cf9ccd868a85fccf
|
4
|
+
data.tar.gz: '088f93bef3f0f0934b0e39303b8749542899a7a580c61a51dd5940651428da28'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 336764abc70749d04504e9ce6dd0008cdf9268e24bbc12a9ff27a2f4489e1ff1c55bafc2a39036b71b96b0b19a3774c917f833cf5a7cfc6b8a3fb54b24cc16ae
|
7
|
+
data.tar.gz: d236c11fb5ef77cefade8a3710c87d6101607f7447f2d987d07448258add65d906ffb31181c9044ecd49ea33e0c5981b069db719db50baf25ed184e6c16138bd
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require 'spring/application'
|
2
2
|
|
3
|
+
# The parallel_tests gem disables Spring by default by calling: ENV['DISABLE_SPRING'] ||= '1'
|
4
|
+
# https://github.com/grosser/parallel_tests/blob/master/lib/parallel_tests/cli.rb#L13
|
5
|
+
# Our code runs first, so we can set the default value to '0'.
|
6
|
+
ENV['DISABLE_SPRING'] ||= '0'
|
7
|
+
|
3
8
|
module Spring
|
4
9
|
# Patch Spring to work with parallel_tests
|
5
10
|
# From: https://github.com/grosser/parallel_tests/wiki/Spring
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "spring-commands-parallel-rspec"
|
7
|
-
spec.version = "1.
|
7
|
+
spec.version = "1.1.0"
|
8
8
|
spec.authors = ["Jon Leighton", "Nathan Broadbent"]
|
9
9
|
spec.email = ["j@jonathanleighton.com", "nathan@docspring.com"]
|
10
10
|
spec.description = %q{parallel_rspec command for spring}
|