bundler 1.15.0.pre.1 → 1.15.0.pre.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bundler might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f5c3cfea6018ae18799cb8d0d6c68f271bf2b77
4
- data.tar.gz: bf3d00e24ba99f5a26ce3eb1a5ad4527c779dd36
3
+ metadata.gz: fc0514820479e02853769a88cea9f78ddfb91146
4
+ data.tar.gz: 0c7736db509279645483b3187f7b238906b982b5
5
5
  SHA512:
6
- metadata.gz: 6c630eea80f696e889d637331100fd135d707768d5a1e386f13fc1aba4858613584ab29820e412fff661c5d156a198014fa04d70251319d7c2b8d7fc46074aa4
7
- data.tar.gz: dccd06fcba8de7d284f8cba7aa62fac1ee4906c52fcfda8dfd279b4a8072a31b7d33cbb0f2a3c5d80cf7303e8a3e6de2e5183baf442e63b66944bc2716ab82c0
6
+ metadata.gz: 4330bf16e081ad1e568afb8b6603e603bbc6029c986dc47c92c0661468afb4b70ea82590bef0d63abf39c02848f2ac3549bb96035b061df6c34b2245f7e3f31e
7
+ data.tar.gz: 02abbb9bb724329f63e3a90f3547ece0ff3f196add05401c371dc536b9efa9149860dd856d20a4ca336a877207496c64d533558b613b7ade4727073266cb7482
@@ -1,3 +1,11 @@
1
+ ## 1.15.0.pre.2 (2017-04-23)
2
+
3
+ Bugfixes:
4
+
5
+ - ensure pre-existing fit caches are updated from remote sources (#5423, @alextaylor000)
6
+ - avoid duplicating specs in the lockfile after updating with the gem uninstalled (#5599, @segiddins)
7
+ - ensure git gems have their extensions available at runtime (#5594, @jules2689, @segiddins)
8
+
1
9
  ## 1.15.0.pre.1 (2017-04-16)
2
10
 
3
11
  Features:
@@ -29,7 +29,7 @@ module Bundler
29
29
  @name = name
30
30
  @version = version
31
31
  @dependencies = []
32
- @platform = platform
32
+ @platform = platform || Gem::Platform::RUBY
33
33
  @source = source
34
34
  @specification = nil
35
35
  end
@@ -105,6 +105,8 @@ module Bundler
105
105
 
106
106
  def unlock!
107
107
  git_proxy.revision = nil
108
+ options["revision"] = nil
109
+
108
110
  @unlocked = true
109
111
  end
110
112
 
@@ -147,7 +149,6 @@ module Bundler
147
149
  changed
148
150
  end
149
151
 
150
- # TODO: cache git specs
151
152
  def specs(*)
152
153
  set_local!(app_cache_path) if has_app_cache? && !local?
153
154
 
@@ -11,6 +11,19 @@ module Bundler
11
11
 
12
12
  attr_accessor :stub, :ignored
13
13
 
14
+ # Pre 2.2.0 did not include extension_dir
15
+ # https://github.com/rubygems/rubygems/commit/9485ca2d101b82a946d6f327f4bdcdea6d4946ea
16
+ if Bundler.rubygems.provides?(">= 2.2.0")
17
+ def source=(source)
18
+ super
19
+ # Stub has no concept of source, which means that extension_dir may be wrong
20
+ # This is the case for git-based gems. So, instead manually assign the extension dir
21
+ return unless source.respond_to?(:extension_dir_name)
22
+ path = File.join(stub.extensions_dir, source.extension_dir_name)
23
+ stub.extension_dir = File.expand_path(path)
24
+ end
25
+ end
26
+
14
27
  def to_yaml
15
28
  _remote_specification.to_yaml
16
29
  end
@@ -7,7 +7,7 @@ module Bundler
7
7
  # We're doing this because we might write tests that deal
8
8
  # with other versions of bundler and we are unsure how to
9
9
  # handle this better.
10
- VERSION = "1.15.0.pre.1" unless defined?(::Bundler::VERSION)
10
+ VERSION = "1.15.0.pre.2" unless defined?(::Bundler::VERSION)
11
11
 
12
12
  def self.overwrite_loaded_gem_version
13
13
  begin
@@ -58,7 +58,8 @@ namespace :release do
58
58
  abort "#{pr["html_url"]} hasn't been closed yet!" unless pr["state"] == "closed"
59
59
  next unless pr["pull_request"]
60
60
  pr["number"].to_s
61
- end.compact
61
+ end
62
+ prs.compact!
62
63
 
63
64
  version_file = "lib/bundler/version.rb"
64
65
  version_contents = File.read(version_file)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0.pre.1
4
+ version: 1.15.0.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: exe
19
19
  cert_chain: []
20
- date: 2017-04-17 00:00:00.000000000 Z
20
+ date: 2017-04-23 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: automatiek