summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-02-20 12:02:36 +0000
committerBundlerbot <bot@bundler.io>2019-02-20 12:02:36 +0000
commit7199b124d4b6d217fc1dff2f1e93dda151ad9664 (patch)
tree8de74111bec0d533b42c21f469b77e009e1deee0
parent98a0a2dfdd42d9f624682915ab27fe1d4319def8 (diff)
parentf1581fe4b57a7d04930ca980e685a80a5701973f (diff)
downloadbundler-7199b124d4b6d217fc1dff2f1e93dda151ad9664.tar.gz
Merge #6977
6977: Update the location of bundler gemspec. r=deivid-rodriguez a=hsbt ### What was the end-user problem that led to this PR? On the ruby core repository has the original patch for the test suite. The current bundler repository was inconsistency status with it. ### What was your diagnosis of the problem? This pull-request was the missing commit of https://github.com/bundler/bundler/pull/6973 ### What is your fix for the problem, implemented in this PR? The test suite of bundler break the inconsistency gemspec location, Co-authored-by: SHIBATA Hiroshi <hsbt@ruby-lang.org>
-rw-r--r--bundler.gemspec2
-rw-r--r--spec/support/path.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundler.gemspec b/bundler.gemspec
index eebc4ef53b..56cb8e3ae1 100644
--- a/bundler.gemspec
+++ b/bundler.gemspec
@@ -5,7 +5,7 @@ begin
require File.expand_path("../lib/bundler/version", __FILE__)
rescue LoadError
# for Ruby core repository
- require File.expand_path("../bundler/version", __FILE__)
+ require File.expand_path("../version", __FILE__)
end
Gem::Specification.new do |s|
diff --git a/spec/support/path.rb b/spec/support/path.rb
index f85fbf330f..ae7a8c5bbe 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -9,7 +9,7 @@ module Spec
end
def gemspec
- @gemspec ||= root.join(ruby_core? ? "lib/bundler.gemspec" : "bundler.gemspec")
+ @gemspec ||= root.join(ruby_core? ? "lib/bundler/bundler.gemspec" : "bundler.gemspec")
end
def bindir