spring 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/spring/application_manager.rb +1 -0
- data/lib/spring/test/acceptance_test.rb +13 -0
- 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: 2ad2e8f8a7de74551f93f4c0226cff0d1160a56e
|
4
|
+
data.tar.gz: 6fb99475887f916442c9c5905422cfb38f29d514
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5274790bcf83db46c5eb4b80babbcf4a2dacd828fc382bc2c4d2d9c75a9bdf9c7ef361409ed8e34d62cc54307a4933a819b5633443975e6d770980e6d31b6ca6
|
7
|
+
data.tar.gz: 43ffcc23ce15e662a7f0e129a3b43501f72551bdb793a9da9b5c3cad0214926693850cfae966c241f45aeb8254701633949360ced7f435f6c5988b17d2b74e15
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ boot it every time you run a test, rake task or migration.
|
|
16
16
|
|
17
17
|
## Compatibility
|
18
18
|
|
19
|
-
* Ruby versions: MRI 1.9.3, MRI 2.0, MRI 2.1
|
19
|
+
* Ruby versions: MRI 1.9.3, MRI 2.0, MRI 2.1, MRI 2.2
|
20
20
|
* Rails versions: 4.0+ (in Rails 4.1 and up Spring is included by default)
|
21
21
|
|
22
22
|
Spring makes extensive use of `Process.fork`, so won't be able to
|
@@ -101,6 +101,7 @@ module Spring
|
|
101
101
|
"SPRING_PRELOAD" => preload ? "1" : "0"
|
102
102
|
},
|
103
103
|
"ruby",
|
104
|
+
"-I", File.expand_path("../..", $LOADED_FEATURES.grep(/bundler\/setup\.rb$/).first),
|
104
105
|
"-I", File.expand_path("../..", __FILE__),
|
105
106
|
"-e", "require 'spring/application/boot'",
|
106
107
|
3 => child_socket
|
@@ -495,6 +495,19 @@ module Spring
|
|
495
495
|
expr = "p Kernel.private_instance_methods.include?(:raise)"
|
496
496
|
assert_success %(bin/rails runner '#{expr}'), stdout: "true"
|
497
497
|
end
|
498
|
+
|
499
|
+
test "custom bundle path" do
|
500
|
+
bundle_path = app.path(".bundle/#{Bundler.ruby_scope}")
|
501
|
+
bundle_path.dirname.mkpath
|
502
|
+
|
503
|
+
FileUtils.cp_r "#{app.gem_home}/", bundle_path.to_s
|
504
|
+
|
505
|
+
app.run! "bundle install --path .bundle --clean --local"
|
506
|
+
|
507
|
+
assert_speedup do
|
508
|
+
2.times { assert_success "bundle exec rails runner ''" }
|
509
|
+
end
|
510
|
+
end
|
498
511
|
end
|
499
512
|
end
|
500
513
|
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.6.
|
4
|
+
version: 1.6.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: 2016-
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|