appygram 1.0.3 → 1.0.4

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.
@@ -1,3 +1,3 @@
1
1
  module Appygram
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
data/lib/appygram.rb CHANGED
@@ -39,7 +39,7 @@ module Appygram
39
39
  url = Appygram::Config.appygram_endpoint
40
40
  req = Net::HTTP::Post.new url.request_uri
41
41
  req.form_data = pc
42
- session = Net::HTTP.new(url.hostname, url.port)
42
+ session = Net::HTTP.new(url.host, url.port)
43
43
  if url.scheme == 'https'
44
44
  session.use_ssl = true
45
45
  end
@@ -68,7 +68,7 @@ module Appygram
68
68
  'backtrace' => trace
69
69
  })
70
70
  req.form_data = pc
71
- session = Net::HTTP.new(url.hostname, url.port)
71
+ session = Net::HTTP.new(url.host, url.port)
72
72
  if url.scheme == 'https'
73
73
  session.use_ssl = true
74
74
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appygram
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
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: 2012-11-12 00:00:00.000000000 Z
12
+ date: 2012-11-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Discovers topics and sends messages
15
15
  email:
@@ -47,8 +47,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  requirements: []
49
49
  rubyforge_project:
50
- rubygems_version: 1.8.15
50
+ rubygems_version: 1.8.17
51
51
  signing_key:
52
52
  specification_version: 3
53
53
  summary: Communicate with the Appygram message routing service
54
- test_files: []
54
+ test_files:
55
+ - test/local.rb
56
+ - test/network.rb
57
+ has_rdoc: