summaryrefslogtreecommitdiff
path: root/lib/bundler.gemspec
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 06:15:44 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 06:15:44 +0000
commita1a20cfaa2cf73ae8daaf2123d7c5b513427162e (patch)
tree7f112577119ebda6c3dfd71cbc24f1bc559280ae /lib/bundler.gemspec
parentf1c33950998bf2d38d9416aa4f5dfe7f9f869f86 (diff)
Merge 1-16-stable branch of bundler.
It's rc version for bundler-1.16.1. I'm going to update it version after official release from bundler team. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/bundler.gemspec')
-rw-r--r--lib/bundler.gemspec9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/bundler.gemspec b/lib/bundler.gemspec
index b3dff1ef14..fdc1a5cea9 100644
--- a/lib/bundler.gemspec
+++ b/lib/bundler.gemspec
@@ -1,7 +1,12 @@
# coding: utf-8
# frozen_string_literal: true
-require File.expand_path("../bundler/version", __FILE__)
+version = File.expand_path("../lib/bundler/version", __FILE__)
+if File.file?(version)
+ require version
+else # for Ruby core repository
+ require File.expand_path("../bundler/version", __FILE__)
+end
require "shellwords"
Gem::Specification.new do |s|
@@ -163,6 +168,7 @@ Gem::Specification.new do |s|
lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem
lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem
lib/bundler/stub_specification.rb
+ lib/bundler/templates/.document
lib/bundler/templates/Executable
lib/bundler/templates/Executable.bundler
lib/bundler/templates/Executable.standalone
@@ -333,6 +339,7 @@ Gem::Specification.new do |s|
CHANGELOG.md
LICENSE.md
README.md
+ bundler.gemspec
]
s.bindir = "exe"