rubygems-update 2.4.3 → 2.4.4

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

Potentially problematic release.


This version of rubygems-update might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9590fe7af11c969a256fd3ee4982e6a66000d8f4
4
- data.tar.gz: 9f12672f9b143be36e3ea4b364d9d9cd6084321a
3
+ metadata.gz: d45335473804839a55a75fa236d648bcd9f33b17
4
+ data.tar.gz: ace593b2f7f8b001fe67f038b0f6f9a3a837411a
5
5
  SHA512:
6
- metadata.gz: 36e53063316a912cbece180ff81ceb35dc8645c258c109fdcca9e0a25075b231c462864ec4d4d92720355b31946f4511223e021072f47685ab5fdf4865f95b0f
7
- data.tar.gz: 9dadca128322f2acb0dbfe986069b9d1be4a683e52f749ca43a0645bd8106f296d42e0ca2545f5e562076696aa52a61144fcea2b3da61b614f10dcc8b626b68d
6
+ metadata.gz: d255ea71d77bd18fa781c6076dec28c3383818575e53876d912ff07b4ce504cfbf0d56c3cfe529d8bd09cadc7e46309bafd146fdaf9c20b8164a2f8d57a38848
7
+ data.tar.gz: e625369d791159e76f18eaab91d52d3cdb8f4519e1cabeb27903e38ad25db9ff0614ca3796d33dd3e1ecae297e8a2afca7d741f5187f041a8ce91aa09acdc71b
@@ -1,5 +1,12 @@
1
1
  # coding: UTF-8
2
2
 
3
+ === 2.4.4 / 2014-11-12
4
+
5
+ Bug fixes:
6
+
7
+ * Add alternate Root CA for upcoming certificate change. Fixes #1050 by
8
+ Protosac
9
+
3
10
  === 2.4.3 / 2014-11-10
4
11
 
5
12
  Bug fixes:
@@ -152,9 +152,8 @@ lib/rubygems/source_specific_file.rb
152
152
  lib/rubygems/spec_fetcher.rb
153
153
  lib/rubygems/specification.rb
154
154
  lib/rubygems/ssl_certs/.document
155
+ lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem
155
156
  lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem
156
- lib/rubygems/ssl_certs/COMODORSACertificationAuthority.pem
157
- lib/rubygems/ssl_certs/COMODORSADomainValidationSecureServer.pem
158
157
  lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem
159
158
  lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem
160
159
  lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem
@@ -9,7 +9,7 @@ require 'rbconfig'
9
9
  require 'thread'
10
10
 
11
11
  module Gem
12
- VERSION = '2.4.3'
12
+ VERSION = '2.4.4'
13
13
  end
14
14
 
15
15
  # Must be first since it unloads the prelude from 1.9.2
@@ -102,7 +102,7 @@ prefix or only the files that are requireable.
102
102
  end
103
103
 
104
104
  def files_in_default_gem spec
105
- spec.files.sort.map do |file|
105
+ spec.files.map do |file|
106
106
  case file
107
107
  when /\A#{spec.bindir}\//
108
108
  [RbConfig::CONFIG['bindir'], $POSTMATCH]
@@ -0,0 +1,25 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
3
+ MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
4
+ IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
5
+ MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
6
+ FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
7
+ bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
8
+ dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
9
+ H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCw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204
 
205
205
  expected = [
206
- File.join(RbConfig::CONFIG['bindir'], 'default_command'),
207
- File.join(RbConfig::CONFIG['rubylibdir'], 'default/gem.rb'),
208
- File.join(RbConfig::CONFIG['archdir'], 'default_gem.so')
209
- ].sort.join "\n"
206
+ [RbConfig::CONFIG['bindir'], 'default_command'],
207
+ [RbConfig::CONFIG['rubylibdir'], 'default/gem.rb'],
208
+ [RbConfig::CONFIG['archdir'], 'default_gem.so']
209
+ ].sort.map{|a|File.join a}.join "\n"
210
210
 
211
211
  assert_equal expected, @ui.output.chomp
212
212
  assert_equal "", @ui.error
@@ -3,6 +3,7 @@ require 'openssl'
3
3
 
4
4
  URIS = [
5
5
  URI('https://rubygems.org'),
6
+ URI('https://staging.rubygems.org'),
6
7
  URI('https://s3.amazonaws.com'),
7
8
  URI('https://d2chzxaqi4y7f8.cloudfront.net'),
8
9
  URI('https://rubygems.global.ssl.fastly.net'),
@@ -12,6 +13,7 @@ def connect_to uri, store
12
13
  http = Net::HTTP.new uri.hostname, uri.port
13
14
 
14
15
  http.use_ssl = uri.scheme.downcase == 'https'
16
+ http.ssl_version = :TLSv1_2
15
17
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
16
18
  http.cert_store = store
17
19
 
@@ -55,6 +57,7 @@ def test_certificates certificates, uri
55
57
  if match then
56
58
  $needed_combinations << match
57
59
  puts
60
+ puts match.map { |certificate| certificate.subject }
58
61
  return
59
62
  else
60
63
  print '.'
@@ -80,7 +83,11 @@ def write_certificates certificates
80
83
  name = (subject.assoc('CN') || subject.assoc('OU'))[1]
81
84
  name = name.delete ' .-'
82
85
 
83
- open "lib/rubygems/ssl_certs/#{name}.pem", 'w' do |io|
86
+ destination = "lib/rubygems/ssl_certs/#{name}.pem"
87
+
88
+ warn "overwriting certificate #{name}" if File.exist? destination
89
+
90
+ open destination, 'w' do |io|
84
91
  io.write certificate.to_pem
85
92
  end
86
93
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-11-11 00:00:00.000000000 Z
13
+ date: 2014-11-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
@@ -306,9 +306,8 @@ files:
306
306
  - lib/rubygems/spec_fetcher.rb
307
307
  - lib/rubygems/specification.rb
308
308
  - lib/rubygems/ssl_certs/.document
309
+ - lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem
309
310
  - lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem
310
- - lib/rubygems/ssl_certs/COMODORSACertificationAuthority.pem
311
- - lib/rubygems/ssl_certs/COMODORSADomainValidationSecureServer.pem
312
311
  - lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem
313
312
  - lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem
314
313
  - lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem
@@ -1,35 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUim7bo3yMBzANBgkqhkiG9w0BAQwFADCB
3
- hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
4
- A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
5
- BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwMjEy
6
- MDAwMDAwWhcNMjkwMjExMjM1OTU5WjCBkDELMAkGA1UEBhMCR0IxGzAZBgNVBAgT
7
- EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4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