http_mini 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/lib/http_mini.rb +3 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 844f240444cecda6ab1c36ecdcccab8fc69ff49a
4
- data.tar.gz: f24e677aa2382aa47ecf899f757aa10b83e34b51
3
+ metadata.gz: 6fa249b9dc456f51c8cbceaed3938141bd03441d
4
+ data.tar.gz: e22d616355ae9c4f47952eb11a5e2cb257eacd07
5
5
  SHA512:
6
- metadata.gz: fb013638e075b0a6c6e26d87cc57b827d10b27e5f4abdeaa69fbcd0f6b6f53fb6aaf79512e203c42434ff0cb141f9eaedb52162306d546b7d4ab51f009d44635
7
- data.tar.gz: 8f414f68a651456f992b4ac910de684e645169c0a064517d63850b9ff1e63e385e3e663083d152afa2fd192535739f4c00397f380dea9cb48aa775d7661233a5
6
+ metadata.gz: 77801714a10935c065595a92888e4c576cadfaf1ba92906ad97380be40adfe79be64fe55384ac115cd02ebad4d12f50d9bd86c3d72f08878eca537ee80b774ab
7
+ data.tar.gz: f48ea3b22fa20ed1b751dfc93c7f8f416f402f553d95cba7de8d962c9a23881512ae733ad8ad55995c84d00bfb9a97ef2fc399fd21b38134bf60186bf1211339
@@ -1,5 +1,11 @@
1
1
  ## vNEXT
2
2
 
3
+ ## v3.0.3
4
+ * Require `openssl` to avoid errors on `unsafe` mode on certain cases
5
+
6
+ ## v3.0.2
7
+ * Add `unsafe` option to bypass SSL certificates verification
8
+
3
9
  ## v3.0.1
4
10
  * Basic auth
5
11
 
@@ -1,5 +1,6 @@
1
1
  require 'net/http'
2
- require "uri"
2
+ require 'uri'
3
+ require 'openssl'
3
4
 
4
5
  class HttpMini
5
6
 
@@ -8,7 +9,7 @@ class HttpMini
8
9
  IGNORE_ERROR = true
9
10
 
10
11
  def self.VERSION
11
- '0.3.2'
12
+ '0.3.3'
12
13
  end
13
14
 
14
15
  def initialize(uri, opts = {})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_mini
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerome Touffe-Blin