bundler 1.3.1 → 1.3.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.
- data/CHANGELOG.md +10 -0
- data/lib/bundler/cli.rb +5 -4
- data/lib/bundler/fetcher.rb +32 -10
- data/lib/bundler/runtime.rb +4 -4
- data/lib/bundler/ssl_certs/.document +1 -0
- data/lib/bundler/ssl_certs/AddTrustExternalCARoot.pem +90 -0
- data/lib/bundler/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem +90 -0
- data/lib/bundler/ssl_certs/GeoTrust_Global_CA.pem +20 -0
- data/lib/bundler/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem +57 -0
- data/lib/bundler/vendored_persistent.rb +0 -5
- data/lib/bundler/version.rb +1 -1
- data/spec/other/clean_spec.rb +30 -0
- metadata +80 -57
data/CHANGELOG.md
CHANGED
data/lib/bundler/cli.rb
CHANGED
@@ -328,8 +328,10 @@ module Bundler
|
|
328
328
|
method_option "paths", :type => :boolean,
|
329
329
|
:banner => "List the paths of all gems that are required by your Gemfile."
|
330
330
|
def show(gem_name = nil)
|
331
|
-
Bundler.
|
332
|
-
|
331
|
+
Bundler.ui.silence do
|
332
|
+
Bundler.definition.validate_ruby!
|
333
|
+
Bundler.load.lock
|
334
|
+
end
|
333
335
|
|
334
336
|
if gem_name
|
335
337
|
if gem_name == "bundler"
|
@@ -731,8 +733,7 @@ module Bundler
|
|
731
733
|
"forces clean even if --path is not set"
|
732
734
|
def clean
|
733
735
|
if Bundler.settings[:path] || options[:force]
|
734
|
-
Bundler.
|
735
|
-
Bundler.load.clean
|
736
|
+
Bundler.load.clean(options[:"dry-run"])
|
736
737
|
else
|
737
738
|
Bundler.ui.error "Can only use bundle clean when --path is set or --force is set"
|
738
739
|
exit 1
|
data/lib/bundler/fetcher.rb
CHANGED
@@ -22,6 +22,15 @@ module Bundler
|
|
22
22
|
" sources and change 'https' to 'http'."
|
23
23
|
end
|
24
24
|
end
|
25
|
+
# This is the error raised when a source is HTTPS and OpenSSL didn't load
|
26
|
+
class SSLError < HTTPError
|
27
|
+
def initialize(msg = nil)
|
28
|
+
super msg || "Could not load OpenSSL.\n" \
|
29
|
+
"You must recompile Ruby with OpenSSL support or change the sources in your " \
|
30
|
+
"Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL " \
|
31
|
+
"using RVM are available at rvm.io/packages/openssl."
|
32
|
+
end
|
33
|
+
end
|
25
34
|
|
26
35
|
class << self
|
27
36
|
attr_accessor :disable_endpoint
|
@@ -59,16 +68,14 @@ module Bundler
|
|
59
68
|
@remote_uri = remote_uri
|
60
69
|
@public_uri = remote_uri.dup
|
61
70
|
@public_uri.user, @public_uri.password = nil, nil # don't print these
|
62
|
-
if
|
63
|
-
@connection
|
71
|
+
if defined?(OpenSSL::SSL)
|
72
|
+
@connection = Net::HTTP::Persistent.new 'bundler', :ENV
|
73
|
+
@connection.verify_mode = (Bundler.settings[:ssl_verify_mode] ||
|
74
|
+
OpenSSL::SSL::VERIFY_PEER)
|
75
|
+
@connection.cert_store = bundler_cert_store
|
64
76
|
else
|
65
|
-
if @remote_uri.scheme == "https"
|
66
|
-
|
67
|
-
"You must recompile Ruby with OpenSSL support or change the sources in your " \
|
68
|
-
"Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL " \
|
69
|
-
"using RVM are available at rvm.io/packages/openssl."
|
70
|
-
end
|
71
|
-
@connection ||= Net::HTTP.new(@remote_uri.host, @remote_uri.port)
|
77
|
+
raise SSLError if @remote_uri.scheme == "https"
|
78
|
+
@connection = Net::HTTP.new(@remote_uri.host, @remote_uri.port)
|
72
79
|
end
|
73
80
|
@connection.read_timeout = API_TIMEOUT
|
74
81
|
|
@@ -191,7 +198,7 @@ module Bundler
|
|
191
198
|
|
192
199
|
begin
|
193
200
|
Bundler.ui.debug "Fetching from: #{uri}"
|
194
|
-
if
|
201
|
+
if @connection.is_a?(Net::HTTP::Persistent)
|
195
202
|
response = @connection.request(uri)
|
196
203
|
else
|
197
204
|
req = Net::HTTP::Get.new uri.request_uri
|
@@ -273,6 +280,21 @@ module Bundler
|
|
273
280
|
"this issue. For more information, see http://bit.ly/syck-defaultkey."
|
274
281
|
end
|
275
282
|
|
283
|
+
def bundler_cert_store
|
284
|
+
store = OpenSSL::X509::Store.new
|
285
|
+
if Bundler.settings[:ssl_ca_cert]
|
286
|
+
if File.directory? Bundler.settings[:ssl_ca_cert]
|
287
|
+
store.add_path Bundler.settings[:ssl_ca_cert]
|
288
|
+
else
|
289
|
+
store.add_file Bundler.settings[:ssl_ca_cert]
|
290
|
+
end
|
291
|
+
else
|
292
|
+
store.set_default_paths
|
293
|
+
certs = File.expand_path("../ssl_certs/*.pem", __FILE__)
|
294
|
+
Dir.glob(certs).each { |c| store.add_file c }
|
295
|
+
end
|
296
|
+
store
|
297
|
+
end
|
276
298
|
|
277
299
|
end
|
278
300
|
end
|
data/lib/bundler/runtime.rb
CHANGED
@@ -124,7 +124,7 @@ module Bundler
|
|
124
124
|
prune_git_and_path_cache(resolve)
|
125
125
|
end
|
126
126
|
|
127
|
-
def clean
|
127
|
+
def clean(dry_run = false)
|
128
128
|
gem_bins = Dir["#{Gem.dir}/bin/*"]
|
129
129
|
git_dirs = Dir["#{Gem.dir}/bundler/gems/*"]
|
130
130
|
git_cache_dirs = Dir["#{Gem.dir}/cache/bundler/git/*"]
|
@@ -169,7 +169,7 @@ module Bundler
|
|
169
169
|
version = parts.last
|
170
170
|
output = "#{name} (#{version})"
|
171
171
|
|
172
|
-
if
|
172
|
+
if dry_run
|
173
173
|
Bundler.ui.info "Would have removed #{output}"
|
174
174
|
else
|
175
175
|
Bundler.ui.info "Removing #{output}"
|
@@ -185,7 +185,7 @@ module Bundler
|
|
185
185
|
revision = parts[-1]
|
186
186
|
output = "#{name} (#{revision})"
|
187
187
|
|
188
|
-
if
|
188
|
+
if dry_run
|
189
189
|
Bundler.ui.info "Would have removed #{output}"
|
190
190
|
else
|
191
191
|
Bundler.ui.info "Removing #{output}"
|
@@ -195,7 +195,7 @@ module Bundler
|
|
195
195
|
output
|
196
196
|
end
|
197
197
|
|
198
|
-
unless
|
198
|
+
unless dry_run
|
199
199
|
stale_gem_bins.each { |bin| FileUtils.rm(bin) if File.exists?(bin) }
|
200
200
|
stale_gem_files.each { |file| FileUtils.rm(file) if File.exists?(file) }
|
201
201
|
stale_gemspec_files.each { |file| FileUtils.rm(file) if File.exists?(file) }
|
@@ -0,0 +1 @@
|
|
1
|
+
# Ignore all files in this directory
|
@@ -0,0 +1,90 @@
|
|
1
|
+
This CA certificate is for verifying HTTPS connection to;
|
2
|
+
- https://rubygems.org/ (obtained by RubyGems team)
|
3
|
+
|
4
|
+
Certificate:
|
5
|
+
Data:
|
6
|
+
Version: 3 (0x2)
|
7
|
+
Serial Number: 1 (0x1)
|
8
|
+
Signature Algorithm: sha1WithRSAEncryption
|
9
|
+
Issuer: C=SE, O=AddTrust AB, OU=AddTrust External TTP Network, CN=AddTrust External CA Root
|
10
|
+
Validity
|
11
|
+
Not Before: May 30 10:48:38 2000 GMT
|
12
|
+
Not After : May 30 10:48:38 2020 GMT
|
13
|
+
Subject: C=SE, O=AddTrust AB, OU=AddTrust External TTP Network, CN=AddTrust External CA Root
|
14
|
+
Subject Public Key Info:
|
15
|
+
Public Key Algorithm: rsaEncryption
|
16
|
+
Public-Key: (2048 bit)
|
17
|
+
Modulus:
|
18
|
+
00:b7:f7:1a:33:e6:f2:00:04:2d:39:e0:4e:5b:ed:
|
19
|
+
1f:bc:6c:0f:cd:b5:fa:23:b6:ce:de:9b:11:33:97:
|
20
|
+
a4:29:4c:7d:93:9f:bd:4a:bc:93:ed:03:1a:e3:8f:
|
21
|
+
cf:e5:6d:50:5a:d6:97:29:94:5a:80:b0:49:7a:db:
|
22
|
+
2e:95:fd:b8:ca:bf:37:38:2d:1e:3e:91:41:ad:70:
|
23
|
+
56:c7:f0:4f:3f:e8:32:9e:74:ca:c8:90:54:e9:c6:
|
24
|
+
5f:0f:78:9d:9a:40:3c:0e:ac:61:aa:5e:14:8f:9e:
|
25
|
+
87:a1:6a:50:dc:d7:9a:4e:af:05:b3:a6:71:94:9c:
|
26
|
+
71:b3:50:60:0a:c7:13:9d:38:07:86:02:a8:e9:a8:
|
27
|
+
69:26:18:90:ab:4c:b0:4f:23:ab:3a:4f:84:d8:df:
|
28
|
+
ce:9f:e1:69:6f:bb:d7:42:d7:6b:44:e4:c7:ad:ee:
|
29
|
+
6d:41:5f:72:5a:71:08:37:b3:79:65:a4:59:a0:94:
|
30
|
+
37:f7:00:2f:0d:c2:92:72:da:d0:38:72:db:14:a8:
|
31
|
+
45:c4:5d:2a:7d:b7:b4:d6:c4:ee:ac:cd:13:44:b7:
|
32
|
+
c9:2b:dd:43:00:25:fa:61:b9:69:6a:58:23:11:b7:
|
33
|
+
a7:33:8f:56:75:59:f5:cd:29:d7:46:b7:0a:2b:65:
|
34
|
+
b6:d3:42:6f:15:b2:b8:7b:fb:ef:e9:5d:53:d5:34:
|
35
|
+
5a:27
|
36
|
+
Exponent: 65537 (0x10001)
|
37
|
+
X509v3 extensions:
|
38
|
+
X509v3 Subject Key Identifier:
|
39
|
+
AD:BD:98:7A:34:B4:26:F7:FA:C4:26:54:EF:03:BD:E0:24:CB:54:1A
|
40
|
+
X509v3 Key Usage:
|
41
|
+
Certificate Sign, CRL Sign
|
42
|
+
X509v3 Basic Constraints: critical
|
43
|
+
CA:TRUE
|
44
|
+
X509v3 Authority Key Identifier:
|
45
|
+
keyid:AD:BD:98:7A:34:B4:26:F7:FA:C4:26:54:EF:03:BD:E0:24:CB:54:1A
|
46
|
+
DirName:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root
|
47
|
+
serial:01
|
48
|
+
|
49
|
+
Signature Algorithm: sha1WithRSAEncryption
|
50
|
+
b0:9b:e0:85:25:c2:d6:23:e2:0f:96:06:92:9d:41:98:9c:d9:
|
51
|
+
84:79:81:d9:1e:5b:14:07:23:36:65:8f:b0:d8:77:bb:ac:41:
|
52
|
+
6c:47:60:83:51:b0:f9:32:3d:e7:fc:f6:26:13:c7:80:16:a5:
|
53
|
+
bf:5a:fc:87:cf:78:79:89:21:9a:e2:4c:07:0a:86:35:bc:f2:
|
54
|
+
de:51:c4:d2:96:b7:dc:7e:4e:ee:70:fd:1c:39:eb:0c:02:51:
|
55
|
+
14:2d:8e:bd:16:e0:c1:df:46:75:e7:24:ad:ec:f4:42:b4:85:
|
56
|
+
93:70:10:67:ba:9d:06:35:4a:18:d3:2b:7a:cc:51:42:a1:7a:
|
57
|
+
63:d1:e6:bb:a1:c5:2b:c2:36:be:13:0d:e6:bd:63:7e:79:7b:
|
58
|
+
a7:09:0d:40:ab:6a:dd:8f:8a:c3:f6:f6:8c:1a:42:05:51:d4:
|
59
|
+
45:f5:9f:a7:62:21:68:15:20:43:3c:99:e7:7c:bd:24:d8:a9:
|
60
|
+
91:17:73:88:3f:56:1b:31:38:18:b4:71:0f:9a:cd:c8:0e:9e:
|
61
|
+
8e:2e:1b:e1:8c:98:83:cb:1f:31:f1:44:4c:c6:04:73:49:76:
|
62
|
+
60:0f:c7:f8:bd:17:80:6b:2e:e9:cc:4c:0e:5a:9a:79:0f:20:
|
63
|
+
0a:2e:d5:9e:63:26:1e:55:92:94:d8:82:17:5a:7b:d0:bc:c7:
|
64
|
+
8f:4e:86:04
|
65
|
+
|
66
|
+
-----BEGIN CERTIFICATE-----
|
67
|
+
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
|
68
|
+
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
|
69
|
+
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
|
70
|
+
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
|
71
|
+
FDASBgNVBAoTC0FkZFRyd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|
86
|
+
6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC
|
87
|
+
Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
|
88
|
+
c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
|
89
|
+
mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
|
90
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1,90 @@
|
|
1
|
+
This CA certificate is for verifying HTTPS connection to;
|
2
|
+
- https://d2chzxaqi4y7f8.cloudfront.net/ (prepared by AWS)
|
3
|
+
|
4
|
+
Certificate:
|
5
|
+
Data:
|
6
|
+
Version: 3 (0x2)
|
7
|
+
Serial Number: 927650371 (0x374ad243)
|
8
|
+
Signature Algorithm: sha1WithRSAEncryption
|
9
|
+
Issuer: C=US, O=Entrust.net, OU=www.entrust.net/CPS incorp. by ref. (limits liab.), OU=(c) 1999 Entrust.net Limited, CN=Entrust.net Secure Server Certification Authority
|
10
|
+
Validity
|
11
|
+
Not Before: May 25 16:09:40 1999 GMT
|
12
|
+
Not After : May 25 16:39:40 2019 GMT
|
13
|
+
Subject: C=US, O=Entrust.net, OU=www.entrust.net/CPS incorp. by ref. (limits liab.), OU=(c) 1999 Entrust.net Limited, CN=Entrust.net Secure Server Certification Authority
|
14
|
+
Subject Public Key Info:
|
15
|
+
Public Key Algorithm: rsaEncryption
|
16
|
+
Public-Key: (1024 bit)
|
17
|
+
Modulus:
|
18
|
+
00:cd:28:83:34:54:1b:89:f3:0f:af:37:91:31:ff:
|
19
|
+
af:31:60:c9:a8:e8:b2:10:68:ed:9f:e7:93:36:f1:
|
20
|
+
0a:64:bb:47:f5:04:17:3f:23:47:4d:c5:27:19:81:
|
21
|
+
26:0c:54:72:0d:88:2d:d9:1f:9a:12:9f:bc:b3:71:
|
22
|
+
d3:80:19:3f:47:66:7b:8c:35:28:d2:b9:0a:df:24:
|
23
|
+
da:9c:d6:50:79:81:7a:5a:d3:37:f7:c2:4a:d8:29:
|
24
|
+
92:26:64:d1:e4:98:6c:3a:00:8a:f5:34:9b:65:f8:
|
25
|
+
ed:e3:10:ff:fd:b8:49:58:dc:a0:de:82:39:6b:81:
|
26
|
+
b1:16:19:61:b9:54:b6:e6:43
|
27
|
+
Exponent: 3 (0x3)
|
28
|
+
X509v3 extensions:
|
29
|
+
Netscape Cert Type:
|
30
|
+
SSL CA, S/MIME CA, Object Signing CA
|
31
|
+
X509v3 CRL Distribution Points:
|
32
|
+
|
33
|
+
Full Name:
|
34
|
+
DirName: C = US, O = Entrust.net, OU = www.entrust.net/CPS incorp. by ref. (limits liab.), OU = (c) 1999 Entrust.net Limited, CN = Entrust.net Secure Server Certification Authority, CN = CRL1
|
35
|
+
|
36
|
+
Full Name:
|
37
|
+
URI:http://www.entrust.net/CRL/net1.crl
|
38
|
+
|
39
|
+
X509v3 Private Key Usage Period:
|
40
|
+
Not Before: May 25 16:09:40 1999 GMT, Not After: May 25 16:09:40 2019 GMT
|
41
|
+
X509v3 Key Usage:
|
42
|
+
Certificate Sign, CRL Sign
|
43
|
+
X509v3 Authority Key Identifier:
|
44
|
+
keyid:F0:17:62:13:55:3D:B3:FF:0A:00:6B:FB:50:84:97:F3:ED:62:D0:1A
|
45
|
+
|
46
|
+
X509v3 Subject Key Identifier:
|
47
|
+
F0:17:62:13:55:3D:B3:FF:0A:00:6B:FB:50:84:97:F3:ED:62:D0:1A
|
48
|
+
X509v3 Basic Constraints:
|
49
|
+
CA:TRUE
|
50
|
+
1.2.840.113533.7.65.0:
|
51
|
+
0
|
52
|
+
..V4.0....
|
53
|
+
Signature Algorithm: sha1WithRSAEncryption
|
54
|
+
90:dc:30:02:fa:64:74:c2:a7:0a:a5:7c:21:8d:34:17:a8:fb:
|
55
|
+
47:0e:ff:25:7c:8d:13:0a:fb:e4:98:b5:ef:8c:f8:c5:10:0d:
|
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|
14
|
+
uMrMTjANBgkqhkiG9w0BAQUFAAOCAQEANeMpauUvXVSOKVCUn5kaFOSPeCpilKIn
|
15
|
+
Z57QzxpeR+nBsqTP3UEaBU6bS+5Kb1VSsyShNwrrZHYqLizz/Tt1kL/6cdjHPTfS
|
16
|
+
tQWVYrmm3ok9Nns4d0iXrKYgjy6myQzCsplFAMfOEVEiIuCl6rYVSAlk6l5PdPcF
|
17
|
+
PseKUgzbFbS9bZvlxrFUaKnjaZC2mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Un
|
18
|
+
hw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6pXE0zX5IJL4hmXXeXxx12E6nV
|
19
|
+
5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvmMw==
|
20
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1,57 @@
|
|
1
|
+
This CA certificate is for verifying HTTPS connection to;
|
2
|
+
- https://s3.amazon.com/ (prepared by AWS)
|
3
|
+
|
4
|
+
Certificate:
|
5
|
+
Data:
|
6
|
+
Version: 1 (0x0)
|
7
|
+
Serial Number:
|
8
|
+
7d:d9:fe:07:cf:a8:1e:b7:10:79:67:fb:a7:89:34:c6
|
9
|
+
Signature Algorithm: sha1WithRSAEncryption
|
10
|
+
Issuer: C=US, O=VeriSign, Inc., OU=Class 3 Public Primary Certification Authority - G2, OU=(c) 1998 VeriSign, Inc. - For authorized use only, OU=VeriSign Trust Network
|
11
|
+
Validity
|
12
|
+
Not Before: May 18 00:00:00 1998 GMT
|
13
|
+
Not After : Aug 1 23:59:59 2028 GMT
|
14
|
+
Subject: C=US, O=VeriSign, Inc., OU=Class 3 Public Primary Certification Authority - G2, OU=(c) 1998 VeriSign, Inc. - For authorized use only, OU=VeriSign Trust Network
|
15
|
+
Subject Public Key Info:
|
16
|
+
Public Key Algorithm: rsaEncryption
|
17
|
+
Public-Key: (1024 bit)
|
18
|
+
Modulus:
|
19
|
+
00:cc:5e:d1:11:5d:5c:69:d0:ab:d3:b9:6a:4c:99:
|
20
|
+
1f:59:98:30:8e:16:85:20:46:6d:47:3f:d4:85:20:
|
21
|
+
84:e1:6d:b3:f8:a4:ed:0c:f1:17:0f:3b:f9:a7:f9:
|
22
|
+
25:d7:c1:cf:84:63:f2:7c:63:cf:a2:47:f2:c6:5b:
|
23
|
+
33:8e:64:40:04:68:c1:80:b9:64:1c:45:77:c7:d8:
|
24
|
+
6e:f5:95:29:3c:50:e8:34:d7:78:1f:a8:ba:6d:43:
|
25
|
+
91:95:8f:45:57:5e:7e:c5:fb:ca:a4:04:eb:ea:97:
|
26
|
+
37:54:30:6f:bb:01:47:32:33:cd:dc:57:9b:64:69:
|
27
|
+
61:f8:9b:1d:1c:89:4f:5c:67
|
28
|
+
Exponent: 65537 (0x10001)
|
29
|
+
Signature Algorithm: sha1WithRSAEncryption
|
30
|
+
51:4d:cd:be:5c:cb:98:19:9c:15:b2:01:39:78:2e:4d:0f:67:
|
31
|
+
70:70:99:c6:10:5a:94:a4:53:4d:54:6d:2b:af:0d:5d:40:8b:
|
32
|
+
64:d3:d7:ee:de:56:61:92:5f:a6:c4:1d:10:61:36:d3:2c:27:
|
33
|
+
3c:e8:29:09:b9:11:64:74:cc:b5:73:9f:1c:48:a9:bc:61:01:
|
34
|
+
ee:e2:17:a6:0c:e3:40:08:3b:0e:e7:eb:44:73:2a:9a:f1:69:
|
35
|
+
92:ef:71:14:c3:39:ac:71:a7:91:09:6f:e4:71:06:b3:ba:59:
|
36
|
+
57:26:79:00:f6:f8:0d:a2:33:30:28:d4:aa:58:a0:9d:9d:69:
|
37
|
+
91:fd
|
38
|
+
|
39
|
+
-----BEGIN CERTIFICATE-----
|
40
|
+
MIIDAjCCAmsCEH3Z/gfPqB63EHln+6eJNMYwDQYJKoZIhvcNAQEFBQAwgcExCzAJ
|
41
|
+
BgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xh
|
42
|
+
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ICATE-----
|
data/lib/bundler/version.rb
CHANGED
@@ -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.3.
|
5
|
+
VERSION = "1.3.2" unless defined?(::Bundler::VERSION)
|
6
6
|
end
|
data/spec/other/clean_spec.rb
CHANGED
@@ -559,4 +559,34 @@ describe "bundle clean" do
|
|
559
559
|
|
560
560
|
expect(vendored_gems("bin/rackup")).to exist
|
561
561
|
end
|
562
|
+
|
563
|
+
it "doesn't store dry run as a config setting" do
|
564
|
+
gemfile <<-G
|
565
|
+
source "file://#{gem_repo1}"
|
566
|
+
|
567
|
+
gem "thin"
|
568
|
+
gem "foo"
|
569
|
+
G
|
570
|
+
|
571
|
+
bundle "install --path vendor/bundle --no-clean"
|
572
|
+
bundle "config dry_run false"
|
573
|
+
|
574
|
+
gemfile <<-G
|
575
|
+
source "file://#{gem_repo1}"
|
576
|
+
|
577
|
+
gem "thin"
|
578
|
+
G
|
579
|
+
|
580
|
+
bundle :install
|
581
|
+
|
582
|
+
bundle "clean"
|
583
|
+
|
584
|
+
expect(out).to eq("Removing foo (1.0)")
|
585
|
+
expect(out).not_to eq("Would have removed foo (1.0)")
|
586
|
+
|
587
|
+
should_have_gems 'thin-1.0', 'rack-1.0.0'
|
588
|
+
should_not_have_gems 'foo-1.0'
|
589
|
+
|
590
|
+
expect(vendored_gems("bin/rackup")).to exist
|
591
|
+
end
|
562
592
|
end
|
metadata
CHANGED
@@ -1,60 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
- 2
|
10
|
+
version: 1.3.2
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
-
|
12
|
+
authors:
|
13
|
+
- "Andr\xC3\xA9 Arko"
|
9
14
|
- Terence Lee
|
10
15
|
- Carl Lerche
|
11
16
|
- Yehuda Katz
|
12
17
|
autorequire:
|
13
18
|
bindir: bin
|
14
19
|
cert_chain: []
|
15
|
-
|
16
|
-
|
17
|
-
|
20
|
+
|
21
|
+
date: 2013-03-07 00:00:00 Z
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
18
24
|
name: ronn
|
19
|
-
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
|
-
requirements:
|
22
|
-
- - ~>
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 0.7.3
|
25
|
-
type: :development
|
26
25
|
prerelease: false
|
27
|
-
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
27
|
none: false
|
29
|
-
requirements:
|
28
|
+
requirements:
|
30
29
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 5
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
- 7
|
35
|
+
- 3
|
32
36
|
version: 0.7.3
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: rspec
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
|
-
requirements:
|
38
|
-
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.11'
|
41
37
|
type: :development
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: rspec
|
42
41
|
prerelease: false
|
43
|
-
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
44
43
|
none: false
|
45
|
-
requirements:
|
44
|
+
requirements:
|
46
45
|
- - ~>
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: 21
|
48
|
+
segments:
|
49
|
+
- 2
|
50
|
+
- 11
|
51
|
+
version: "2.11"
|
52
|
+
type: :development
|
53
|
+
version_requirements: *id002
|
54
|
+
description: Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
|
55
|
+
email:
|
52
56
|
- andre@arko.net
|
53
|
-
executables:
|
57
|
+
executables:
|
54
58
|
- bundle
|
55
59
|
extensions: []
|
60
|
+
|
56
61
|
extra_rdoc_files: []
|
57
|
-
|
62
|
+
|
63
|
+
files:
|
58
64
|
- .gitignore
|
59
65
|
- .rspec
|
60
66
|
- .travis.yml
|
@@ -114,6 +120,11 @@ files:
|
|
114
120
|
- lib/bundler/source/path/installer.rb
|
115
121
|
- lib/bundler/source/rubygems.rb
|
116
122
|
- lib/bundler/spec_set.rb
|
123
|
+
- lib/bundler/ssl_certs/.document
|
124
|
+
- lib/bundler/ssl_certs/AddTrustExternalCARoot.pem
|
125
|
+
- lib/bundler/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem
|
126
|
+
- lib/bundler/ssl_certs/GeoTrust_Global_CA.pem
|
127
|
+
- lib/bundler/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem
|
117
128
|
- lib/bundler/templates/Executable
|
118
129
|
- lib/bundler/templates/Executable.standalone
|
119
130
|
- lib/bundler/templates/Gemfile
|
@@ -269,48 +280,60 @@ files:
|
|
269
280
|
- spec/update/gems_spec.rb
|
270
281
|
- spec/update/git_spec.rb
|
271
282
|
- spec/update/source_spec.rb
|
272
|
-
- lib/bundler/man/bundle
|
273
|
-
- lib/bundler/man/bundle-config
|
274
|
-
- lib/bundler/man/bundle-config.txt
|
275
283
|
- lib/bundler/man/bundle-exec
|
276
|
-
- lib/bundler/man/bundle
|
284
|
+
- lib/bundler/man/bundle
|
277
285
|
- lib/bundler/man/bundle-install
|
278
|
-
- lib/bundler/man/
|
279
|
-
- lib/bundler/man/bundle-package
|
280
|
-
- lib/bundler/man/bundle-package.txt
|
286
|
+
- lib/bundler/man/gemfile.5
|
281
287
|
- lib/bundler/man/bundle-platform
|
282
|
-
- lib/bundler/man/bundle-
|
288
|
+
- lib/bundler/man/bundle-package
|
283
289
|
- lib/bundler/man/bundle-update
|
290
|
+
- lib/bundler/man/bundle-exec.txt
|
291
|
+
- lib/bundler/man/gemfile.5.txt
|
284
292
|
- lib/bundler/man/bundle-update.txt
|
293
|
+
- lib/bundler/man/bundle-config
|
294
|
+
- lib/bundler/man/bundle-platform.txt
|
295
|
+
- lib/bundler/man/bundle-config.txt
|
285
296
|
- lib/bundler/man/bundle.txt
|
286
|
-
- lib/bundler/man/
|
287
|
-
- lib/bundler/man/
|
297
|
+
- lib/bundler/man/bundle-package.txt
|
298
|
+
- lib/bundler/man/bundle-install.txt
|
288
299
|
homepage: http://gembundler.com
|
289
|
-
licenses:
|
300
|
+
licenses:
|
290
301
|
- MIT
|
291
302
|
post_install_message:
|
292
303
|
rdoc_options: []
|
293
|
-
|
304
|
+
|
305
|
+
require_paths:
|
294
306
|
- lib
|
295
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
307
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
296
308
|
none: false
|
297
|
-
requirements:
|
298
|
-
- -
|
299
|
-
- !ruby/object:Gem::Version
|
309
|
+
requirements:
|
310
|
+
- - ">="
|
311
|
+
- !ruby/object:Gem::Version
|
312
|
+
hash: 57
|
313
|
+
segments:
|
314
|
+
- 1
|
315
|
+
- 8
|
316
|
+
- 7
|
300
317
|
version: 1.8.7
|
301
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
318
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
302
319
|
none: false
|
303
|
-
requirements:
|
304
|
-
- -
|
305
|
-
- !ruby/object:Gem::Version
|
320
|
+
requirements:
|
321
|
+
- - ">="
|
322
|
+
- !ruby/object:Gem::Version
|
323
|
+
hash: 23
|
324
|
+
segments:
|
325
|
+
- 1
|
326
|
+
- 3
|
327
|
+
- 6
|
306
328
|
version: 1.3.6
|
307
329
|
requirements: []
|
330
|
+
|
308
331
|
rubyforge_project:
|
309
|
-
rubygems_version: 1.8.
|
332
|
+
rubygems_version: 1.8.24
|
310
333
|
signing_key:
|
311
334
|
specification_version: 3
|
312
335
|
summary: The best way to manage your application's dependencies
|
313
|
-
test_files:
|
336
|
+
test_files:
|
314
337
|
- spec/bundler/bundler_spec.rb
|
315
338
|
- spec/bundler/cli_rspec.rb
|
316
339
|
- spec/bundler/definition_spec.rb
|