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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bde56190c414de761d3907f24e40ba5d8db5357d
4
- data.tar.gz: ecf9a9762eda7467df6c49a93904576e451583ef
3
+ metadata.gz: 2ad2e8f8a7de74551f93f4c0226cff0d1160a56e
4
+ data.tar.gz: 6fb99475887f916442c9c5905422cfb38f29d514
5
5
  SHA512:
6
- metadata.gz: e55818211b5e112aaf57d29dc8b63e20d92a30ca0b9464641065ba047c69345d35ed17e498b9e12d344a3293f5d4442cbe268821995668a99cbd076e60e3fb45
7
- data.tar.gz: 65c0b87b5e5cfe75cb6a1abb1edf6b05424bedd48d4ffeb3c452943184b329cdd38ea5e29230b0a552c4927daa8366ef4f2a9be563812051abe71421411c40a6
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
@@ -1,3 +1,3 @@
1
1
  module Spring
2
- VERSION = "1.6.2"
2
+ VERSION = "1.6.3"
3
3
  end
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.2
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-01-08 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport