household_people_and_contributions 0.0.9 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b827cc54689810b5016338fd25f5d48abe3e72b
4
- data.tar.gz: 13d21caec856b17af5a37a3b85d802f41322a871
3
+ metadata.gz: 77257594620516cfaa81014aaa44e89b7fdd9e45
4
+ data.tar.gz: 759af707cb1606ac891c044f70eeeb8320c885cd
5
5
  SHA512:
6
- metadata.gz: 795f3fcd411b2cf4c45743af89282769051480bf2a6cae0237fd5314a33fea66d214839d2c7249e1f94418f379aed7c63ca0e2192f45dcbb270dc2e0437bc35a
7
- data.tar.gz: 4d0203baae91638059fb444a37a06583cc19962860735d99a8eb1a40a538af73e7b95fa7d22ce83ed1d203b5c9809149fabb6ff3a16b1db55a43812f86bd75d7
6
+ metadata.gz: fbf8669df9c6b3f4c2df39189686953e6528f1ec96cdddb80c4b1f41d2e782169314459527a186962a9d1e50fe6ae479e95d77618066fb8bc03c64f590a593e3
7
+ data.tar.gz: cbfb3dd16fd17c46fd80d142e229ba3738ac09c4af65f721a386abfb2359b9d743083e0dd41f061a51e2ad2040d1d74558185d6194dc26623fe5ca94cc79164a
data/lib/fix_ssl.rb ADDED
@@ -0,0 +1,16 @@
1
+ require 'open-uri'
2
+ require 'net/https'
3
+
4
+ module Net
5
+ class HTTP
6
+ alias_method :original_use_ssl=, :use_ssl=
7
+
8
+ def use_ssl=(flag)
9
+ _ssl_dir = $OPENSSLDIR || ENV['OPENSSLDIR'] || '/usr/lib/ssl/'
10
+ _ssl_dir = '/usr/lib/ssl/' if _ssl_dir.nil? || _ssl_dir.empty?
11
+ self.ca_file = "#{_ssl_dir}/certs/ca-certificates.crt"
12
+ self.verify_mode = OpenSSL::SSL::VERIFY_PEER
13
+ self.original_use_ssl = flag
14
+ end
15
+ end
16
+ end
@@ -1,3 +1,3 @@
1
1
  module HouseholdPeopleAndContributions
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: household_people_and_contributions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Tee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -58,6 +58,7 @@ files:
58
58
  - config/.keep
59
59
  - config/f1_keys_rb.sample
60
60
  - household_people_and_contributions.gemspec
61
+ - lib/fix_ssl.rb
61
62
  - lib/household_people_and_contributions.rb
62
63
  - lib/household_people_and_contributions/client.rb
63
64
  - lib/household_people_and_contributions/version.rb