bmo 0.11.0 → 0.11.2
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -1
- data/lib/bmo/apns/connection.rb +1 -1
- data/lib/bmo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 67c2763712b6cbe556baf252e3d8b0a5c31c0f3a
|
|
4
|
+
data.tar.gz: a987a57802a541c04142f05b09731a8cfa12a39e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1099d1f066d5d2b1e1dd719d13fe14439eac618857b8675965c217be786e32561743de066464e0981e03b95ac63a27ebe74ec593d82b18c3a891b55b028d1ec5
|
|
7
|
+
data.tar.gz: 27f7aaa3ee22ac92dc40025a13fe30329057da0caca29469c0d5f3d776dfd358c14563ba3a3105cf2458f1e62c6c4a8c2dc33f781b7f311a731bcf5b41db8f06
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
# BMO (Beemo)
|
|
11
11
|
|
|
12
|
-
BMO is a gem to Push Notifications to iOS (via APNS) and Android (via GCM)
|
|
12
|
+
BMO is a gem to Push Notifications to iOS (via APNS) and Android (via GCM). It handles TCP & HTTP Proxies.
|
|
13
13
|
|
|
14
14
|
| Project | BMO |
|
|
15
15
|
|------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -23,6 +23,10 @@ BMO is a gem to Push Notifications to iOS (via APNS) and Android (via GCM)
|
|
|
23
23
|
| Homepage | [BMO](https://github.com/antoinelyset/bmo) |
|
|
24
24
|
| Documentation | [Rdoc](http://rdoc.info/github/antoinelyset/bmo/frames) |
|
|
25
25
|
|
|
26
|
+
## Why another gem ?
|
|
27
|
+
|
|
28
|
+
I needed to use stunnel (TCP Proxy for encrypting with SSL/TLS) and a HTTP Proxy. The existing gems couldn't.
|
|
29
|
+
|
|
26
30
|
## Installation
|
|
27
31
|
|
|
28
32
|
```
|
data/lib/bmo/apns/connection.rb
CHANGED
|
@@ -44,7 +44,7 @@ module BMO
|
|
|
44
44
|
#
|
|
45
45
|
def ssl_context
|
|
46
46
|
cert = File.read(cert_path)
|
|
47
|
-
context = OpenSSL::SSL::SSLContext.new
|
|
47
|
+
context = OpenSSL::SSL::SSLContext.new(:TLSv1)
|
|
48
48
|
context.cert = OpenSSL::X509::Certificate.new(cert)
|
|
49
49
|
context.key = OpenSSL::PKey::RSA.new(cert, cert_pass)
|
|
50
50
|
context
|
data/lib/bmo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bmo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Antoine Lyset
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: equalizer
|