certified-net-http-requests 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -25,6 +25,23 @@ Just require certified-net-http-requests gem in your code
25
25
  require 'rubygems'
26
26
  require 'certified-net-http-requests'
27
27
 
28
+ You should also first and time to time update your certification authority bundle
29
+
30
+ $ update-ca-bundle
31
+
32
+ ## Example code
33
+
34
+ require 'net/https'
35
+ require 'rubygems'
36
+
37
+ require 'certified-net-http-requests' # Try to comment this line after first runnning and run this code again
38
+
39
+ http = Net::HTTP.new('encrypted.google.com', 443) # Create a connection
40
+ http.use_ssl = true
41
+ header, body = http.get('/')
42
+
43
+ puts header
44
+
28
45
  ## Contributing
29
46
 
30
47
  1. [Fork it](http://help.github.com/fork-a-repo/)
@@ -1,3 +1,3 @@
1
1
  module Certified
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: certified-net-http-requests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-21 00:00:00.000000000Z
13
+ date: 2012-06-21 00:00:00.000000000Z
14
14
  dependencies: []
15
15
  description: ! 'Gem for dealing with `SSL_connect returned=1 errno=0 state=SSLv3 read
16
16
  server certificate B: certificate verify failed` error'
@@ -58,3 +58,4 @@ specification_version: 3
58
58
  summary: Make net/http verifying ssl certificates against Certificate Authorities
59
59
  from cURL CA bundle
60
60
  test_files: []
61
+ has_rdoc: