appygram 1.0.4 → 1.0.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/README.md CHANGED
@@ -106,6 +106,15 @@ anything you supply here will be additively merged.
106
106
  Appygram.add_trace_uris 'lib' => 'http://github.com/anythinglabs/appygram.rb'
107
107
  ```
108
108
 
109
+ ## Troubleshooting SSL
110
+
111
+ The default production endpoint, https://arecibo.appygram.com, requires
112
+ SNI (Server Name Indication) support for SSL. This is not present in
113
+ older versions of OpenSSL and/or Ruby, and may be buggy on some
114
+ platforms. An alternate non-SNI SSL endpoint is at
115
+ https://appygram.appspot.com. You can, but almost certainly should
116
+ not, send messages over plain HTTP without SSL.
117
+
109
118
  ## Rules for improvement
110
119
 
111
120
  * This gem must not have other dependencies.
@@ -17,8 +17,8 @@ module Appygram
17
17
  Appygram::Config.trace_endpoint = URI trace_endpoint
18
18
  end
19
19
  # defaults if nothing is set
20
- Appygram::Config.appygram_endpoint ||= URI 'https://appygram.herokuapp.com/appygrams'
21
- Appygram::Config.trace_endpoint ||= URI 'https://appygram.appspot.com/traces'
20
+ Appygram::Config.appygram_endpoint ||= URI 'https://arecibo.appygram.com/appygrams'
21
+ Appygram::Config.trace_endpoint ||= URI 'https://arecibo.appygram.com/traces'
22
22
  if params[:platform]
23
23
  Appygram::Config.platform = params[:platform] || 'web'
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module Appygram
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
@@ -4,8 +4,8 @@ require 'appygram'
4
4
  describe Appygram do
5
5
  before do
6
6
  Appygram.configure :api_key => '6135441b70dc91c092fef59cb983f97eada68b75',
7
- :appygram_endpoint => 'https://appygram.herokuapp.com/appygrams',
8
- :trace_endpoint => 'https://appygram.appspot.com/traces'
7
+ :appygram_endpoint => 'https://arecibo.appygram.com/appygrams',
8
+ :trace_endpoint => 'https://arecibo.appygram.com/traces'
9
9
  end
10
10
  describe "When connected to real servers" do
11
11
  it "sends appygrams" do
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.4
4
+ version: 1.0.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: 2012-11-13 00:00:00.000000000 Z
12
+ date: 2013-02-06 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Discovers topics and sends messages
15
15
  email:
@@ -47,11 +47,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  requirements: []
49
49
  rubyforge_project:
50
- rubygems_version: 1.8.17
50
+ rubygems_version: 1.8.23
51
51
  signing_key:
52
52
  specification_version: 3
53
53
  summary: Communicate with the Appygram message routing service
54
54
  test_files:
55
55
  - test/local.rb
56
56
  - test/network.rb
57
- has_rdoc: