push_to_devices 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/push_to_devices.rb
CHANGED
@@ -5,7 +5,7 @@ require "cgi"
|
|
5
5
|
module PushToDevices
|
6
6
|
|
7
7
|
module Config
|
8
|
-
VERSION = '0.1.
|
8
|
+
VERSION = '0.1.1'
|
9
9
|
end
|
10
10
|
|
11
11
|
class Exception < ::StandardError
|
@@ -42,7 +42,7 @@ module PushToDevices
|
|
42
42
|
|
43
43
|
# Set up the HTTP connection
|
44
44
|
http = Net::HTTP.new(
|
45
|
-
|
45
|
+
host,
|
46
46
|
api_port
|
47
47
|
)
|
48
48
|
http.use_ssl = (use_ssl == true)
|
@@ -74,7 +74,7 @@ module PushToDevices
|
|
74
74
|
|
75
75
|
# Set up the HTTP connection
|
76
76
|
http = Net::HTTP.new(
|
77
|
-
|
77
|
+
host,
|
78
78
|
api_port
|
79
79
|
)
|
80
80
|
http.use_ssl = (use_ssl == true)
|
data/push_to_devices.gemspec
CHANGED