omnicontacts 0.2.4 → 0.2.5
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.
- data/Gemfile.lock +1 -1
- data/lib/omnicontacts.rb +1 -1
- data/lib/omnicontacts/http_utils.rb +2 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/lib/omnicontacts.rb
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require "net/http"
|
|
2
|
+
require "net/https"
|
|
2
3
|
require "cgi"
|
|
3
4
|
require "openssl"
|
|
4
5
|
|
|
@@ -73,7 +74,7 @@ module OmniContacts
|
|
|
73
74
|
|
|
74
75
|
# Executes an HTTP GET request over SSL
|
|
75
76
|
# It raises a RuntimeError if the response code is not equal to 200
|
|
76
|
-
def https_get host, path, params, headers =
|
|
77
|
+
def https_get host, path, params, headers ={}
|
|
77
78
|
https_connection host do |connection|
|
|
78
79
|
connection.request_get(path + "?" + to_query_string(params), headers)
|
|
79
80
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omnicontacts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rack
|