bundler 1.7.2 → 1.7.3

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: 255979ae6f36fa64f98d2b107eddf7f1be2399d3
4
- data.tar.gz: 0ef6bf64f268ec9d6cb84fa7f90e70dd67188f77
3
+ metadata.gz: 46bd149bdc713f4dbee824a21e2dfe9fb85b134e
4
+ data.tar.gz: 258468570e8baadd905738b57aa8a0f902419738
5
5
  SHA512:
6
- metadata.gz: 0bd4bf2ba3b85fbabf842ff5708fc084742871501df7605e6283132bba8df8ec6dcb8ba92e7c870dd9ca8c9beba9de5869709ac19ceac28a1cf69ebb1677f39b
7
- data.tar.gz: 2e7462d45fd546e05bfff85934c3b96ebae507e0f4a5b43f68c989ce7dc914d47cfd6b558e96b2215d8d99e10fbd9194b32a3d307e278da2089f30c21b5a6b6f
6
+ metadata.gz: 1a88ee0a1485e450a80fbcbe658c6af25d90fd7d6200265a0bea4aa8ef239893b339755b3abf8c3ea4c3f593dbd8e8049c94696ad437a8b6350a569eb33d32d1
7
+ data.tar.gz: 8872770af18aff6463c6d047eea3142d405897b898c8cfc8f9e2bf83a2504ead14e68e733f1754398bb2972e4a3d12815bdf3c7c3002a20cd2fb2f62b1376ac0
@@ -1,3 +1,10 @@
1
+ ## 1.7.3 (2014-09-14)
2
+
3
+ Bugfixes:
4
+
5
+ - `extconf.rb` is now generated with the right path for `create_makefile` (@andremedeiros)
6
+ - Fix various Ruby warnings (@piotrsanarki, @indirect)
7
+
1
8
  ## 1.7.2 (2014-08-23)
2
9
 
3
10
  Bugfixes:
@@ -29,6 +29,7 @@ module Bundler
29
29
  :name => name,
30
30
  :underscored_name => underscored_name,
31
31
  :namespaced_path => namespaced_path,
32
+ :makefile_path => "#{underscored_name}/#{underscored_name}",
32
33
  :constant_name => constant_name,
33
34
  :constant_array => constant_array,
34
35
  :author => git_user_name.empty? ? "TODO: Write your name" : git_user_name,
@@ -386,9 +386,10 @@ module Bundler
386
386
  end
387
387
  end
388
388
 
389
- private
390
-
391
389
  attr_reader :sources
390
+ private :sources
391
+
392
+ private
392
393
 
393
394
  def nothing_changed?
394
395
  !@source_changes && !@dependency_changes && !@new_platform && !@path_changes && !@local_changes
@@ -107,7 +107,7 @@ module Bundler
107
107
  # returns a list of the dependencies
108
108
  def unmet_dependency_names
109
109
  names = []
110
- each{|s| names.push *s.dependencies.map{|d| d.name } }
110
+ each{|s| names.push(*s.dependencies.map{|d| d.name }) }
111
111
  names.uniq!
112
112
  names.delete_if{|n| n == "bundler" }
113
113
  names.select{|n| search(n).empty? }
@@ -55,7 +55,9 @@ module Gem
55
55
  end
56
56
 
57
57
  # RubyGems 1.8+ used only.
58
- remove_method :gem_dir if instance_methods(false).include?(:gem_dir)
58
+ methods = instance_methods(false)
59
+ gem_dir = methods.first.is_a?(String) ? "gem_dir" : :gem_dir
60
+ remove_method :gem_dir if methods.include?(gem_dir)
59
61
  def gem_dir
60
62
  full_gem_path
61
63
  end
@@ -1,3 +1,3 @@
1
1
  require "mkmf"
2
2
 
3
- create_makefile(<%=config[:underscored_name].inspect%>)
3
+ create_makefile(<%= config[:makefile_path].inspect %>)
@@ -2,5 +2,5 @@ module Bundler
2
2
  # We're doing this because we might write tests that deal
3
3
  # with other versions of bundler and we are unsure how to
4
4
  # handle this better.
5
- VERSION = "1.7.2" unless defined?(::Bundler::VERSION)
5
+ VERSION = "1.7.3" unless defined?(::Bundler::VERSION)
6
6
  end
@@ -103,7 +103,7 @@ RSpec.configure do |config|
103
103
  end
104
104
 
105
105
  config.after :each do |example|
106
- puts @out if example.exception
106
+ puts @out if defined?(@out) && example.exception
107
107
 
108
108
  Dir.chdir(original_wd)
109
109
  # Reset ENV
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.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-08-24 00:00:00.000000000 Z
14
+ date: 2014-09-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rdiscount