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.
@@ -5,7 +5,7 @@ require "cgi"
5
5
  module PushToDevices
6
6
 
7
7
  module Config
8
- VERSION = '0.1.0'
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
- api_host,
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
- api_host,
77
+ host,
78
78
  api_port
79
79
  )
80
80
  http.use_ssl = (use_ssl == true)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = %q{push_to_devices}
3
- gem.version = "0.1.0"
3
+ gem.version = "0.1.1"
4
4
  gem.date = %q{2013-02-15}
5
5
  gem.authors = ["Lloyd Meta"]
6
6
  gem.email = ["lloydmeta@gmail.com"]
@@ -4,7 +4,7 @@ describe PushToDevices do
4
4
 
5
5
  before(:all) do
6
6
  PushToDevices::API.configure do |config|
7
- config.api_host = "nowhere.com"
7
+ config.host = "nowhere.com"
8
8
  config.client_id = "fakeclientid"
9
9
  config.client_secret = "fakeclientsecret"
10
10
  config.use_ssl = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: push_to_devices
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: