certified 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/certified.rb +8 -0
  3. metadata +8 -11
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: abf78d4df0750fdcb8be8156c4b7d19876e9c393
4
+ data.tar.gz: e3f2ad19ea9af34492451ab3ec77d56d6dde35c1
5
+ SHA512:
6
+ metadata.gz: b4988c5da36ec39381c18bc17ae69014bdf1947bc71eab6813ab8e3262e333c9196ec7d57caadfff7840497a63b498521ebff13e1ceab0c2261c03219d339b95
7
+ data.tar.gz: e9ace03960026942a0c2ac56c033c8b4c7d664bd2e113d805d87ba11e3fa3e931ff9469bb7be696674469db0966d2f8ba33a63671a932177d8b9eacd41edde32
@@ -10,3 +10,11 @@ Net::HTTP.class_eval do
10
10
  end
11
11
  end
12
12
 
13
+ OpenSSL::X509::Store.class_eval do
14
+ alias _set_default_paths set_default_paths
15
+
16
+ def set_default_paths
17
+ self._set_default_paths
18
+ self.add_file "#{File.dirname(__FILE__)}/certs/ca-bundle.crt"
19
+ end
20
+ end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: certified
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Stevie Graham
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-08-28 00:00:00.000000000 Z
11
+ date: 2014-05-15 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Ensure net/https uses OpenSSL::SSL::VERIFY_PEER to verify SSL certificates
15
14
  and provides certificate bundle in case OpenSSL cannot find one
@@ -23,28 +22,26 @@ files:
23
22
  - certs/ca-bundle.crt
24
23
  homepage: http://github.com/stevegraham/certified
25
24
  licenses: []
25
+ metadata: {}
26
26
  post_install_message:
27
27
  rdoc_options: []
28
28
  require_paths:
29
- - .
29
+ - "."
30
30
  required_ruby_version: !ruby/object:Gem::Requirement
31
- none: false
32
31
  requirements:
33
- - - ! '>='
32
+ - - ">="
34
33
  - !ruby/object:Gem::Version
35
34
  version: 1.8.7
36
35
  required_rubygems_version: !ruby/object:Gem::Requirement
37
- none: false
38
36
  requirements:
39
- - - ! '>='
37
+ - - ">="
40
38
  - !ruby/object:Gem::Version
41
39
  version: '0'
42
40
  requirements: []
43
41
  rubyforge_project:
44
- rubygems_version: 1.8.11
42
+ rubygems_version: 2.2.0.rc.1
45
43
  signing_key:
46
- specification_version: 3
44
+ specification_version: 4
47
45
  summary: Ensure net/https uses OpenSSL::SSL::VERIFY_PEER to verify SSL certificates
48
46
  and provides certificate bundle in case OpenSSL cannot find one
49
47
  test_files: []
50
- has_rdoc: