spring 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/spring/client/binstub.rb +1 -1
- data/lib/spring/client/run.rb +2 -2
- data/lib/spring/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cde6360a4b33f56263394ce08ec4106cebffb798
|
4
|
+
data.tar.gz: 07b6f995b9d54551873050eb6579b5b43bb466f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1c7533823b22b79eb73fe3bf19aeadb513f6c29b4e1e6d432151eaef6a6adbd01702d5ba6324ff7a7d22418e1d5b6e7e6cae615fcc05aae428dd3eaf968367c
|
7
|
+
data.tar.gz: f27eaa5b33ff127beacddbec35ede4aaebd1c762a6dd15ea132118139af85659a78d4eae86a0aa75d19556241fa846cb7356fc9a83b1e0dc99a03aa2d24319db
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -72,7 +72,7 @@ For this walkthrough I've generated a new Rails application, and run
|
|
72
72
|
Let's run a test:
|
73
73
|
|
74
74
|
```
|
75
|
-
$ time bin/rake test test/
|
75
|
+
$ time bin/rake test test/controllers/posts_controller_test.rb
|
76
76
|
Run options:
|
77
77
|
|
78
78
|
# Running tests:
|
@@ -102,7 +102,7 @@ Spring is running:
|
|
102
102
|
The next run is faster:
|
103
103
|
|
104
104
|
```
|
105
|
-
$ time bin/rake test test/
|
105
|
+
$ time bin/rake test test/controllers/posts_controller_test.rb
|
106
106
|
Run options:
|
107
107
|
|
108
108
|
# Running tests:
|
@@ -37,7 +37,7 @@ unless defined?(Spring)
|
|
37
37
|
require "bundler"
|
38
38
|
|
39
39
|
if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
|
40
|
-
Gem.paths = { "GEM_PATH" => Bundler.bundle_path.to_s }
|
40
|
+
Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq }
|
41
41
|
gem "spring", match[1]
|
42
42
|
require "spring/binstub"
|
43
43
|
end
|
data/lib/spring/client/run.rb
CHANGED
@@ -81,10 +81,10 @@ module Spring
|
|
81
81
|
|
82
82
|
def gem_env
|
83
83
|
bundle = Bundler.bundle_path.to_s
|
84
|
-
paths = ENV["GEM_PATH"].to_s.split(File::PATH_SEPARATOR)
|
84
|
+
paths = Gem.path + ENV["GEM_PATH"].to_s.split(File::PATH_SEPARATOR)
|
85
85
|
|
86
86
|
{
|
87
|
-
"GEM_PATH" => [bundle, *paths].join(File::PATH_SEPARATOR),
|
87
|
+
"GEM_PATH" => [bundle, *paths].uniq.join(File::PATH_SEPARATOR),
|
88
88
|
"GEM_HOME" => bundle
|
89
89
|
}
|
90
90
|
end
|
data/lib/spring/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Leighton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|