pixii 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/pixii.rb +4 -0
  2. metadata +1 -1
data/lib/pixii.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'open-uri'
2
+ require 'openssl'
2
3
  require 'fileutils'
3
4
  require 'erb'
4
5
  require 'uri'
@@ -12,6 +13,9 @@ class Mash
12
13
  end
13
14
 
14
15
  # Disables SSL
16
+ module OpenSSL::SSL
17
+ remove_const :VERIFY_PEER
18
+ end
15
19
  OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
16
20
 
17
21
  class Pixii
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixii
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Lloyd