spring 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76889e8dea82b0143cb774944f4122cf0968bd92
4
- data.tar.gz: e46aede880a055694bff834fbe9b0b301b33acaf
3
+ metadata.gz: cde6360a4b33f56263394ce08ec4106cebffb798
4
+ data.tar.gz: 07b6f995b9d54551873050eb6579b5b43bb466f0
5
5
  SHA512:
6
- metadata.gz: a0deb4670c1a305c57814ba43f75de2c74a2ff5cef1d62682570a6fa9cc3c6519450c68ba0f0b0cb3170b3104589edbdce7ac56a1ea83809b675eb00605910b4
7
- data.tar.gz: a43f986537391bfa979cb5da46d73370af325527342f5db11812b8453d418bca56ef48267d9be9694eef09e8e85b067e94f243916a8882ddb459c8a2653f1223
6
+ metadata.gz: e1c7533823b22b79eb73fe3bf19aeadb513f6c29b4e1e6d432151eaef6a6adbd01702d5ba6324ff7a7d22418e1d5b6e7e6cae615fcc05aae428dd3eaf968367c
7
+ data.tar.gz: f27eaa5b33ff127beacddbec35ede4aaebd1c762a6dd15ea132118139af85659a78d4eae86a0aa75d19556241fa846cb7356fc9a83b1e0dc99a03aa2d24319db
@@ -1,3 +1,8 @@
1
+ ## 1.3.3
2
+
3
+ * Fix yet another problem with loading spring which seems to affect
4
+ some/all rbenv users. Issue #390.
5
+
1
6
  ## 1.3.2
2
7
 
3
8
  * Fix another problem with gems bundled from git repositories. This
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/functional/posts_controller_test.rb
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/functional/posts_controller_test.rb
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Spring
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.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.3.2
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-14 00:00:00.000000000 Z
11
+ date: 2015-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport