xmpush 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xmpush.rb +2 -4
- data/lib/xmpush/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: 83a349e7f5460aeb52e67ef1398f2ff6c42b239d
|
4
|
+
data.tar.gz: 69e2b50a50cf4ef378fedf123b0ff30157858d20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f60913ab8c95a1b22a70170cd94fa4711ceca043b8fa9d82b0dadbad40787724fd0f287e932c1ffb0b887b401a469406eb2860224cdfed5f469b0cc50b5cdad8
|
7
|
+
data.tar.gz: 09838c399b49c8f19c3adb6e838ad8824c728f4f1d2d7de86e7510be6eb8419de465d924586e0f4e0dfd4ee32f47cf2415b336e4518051b649b4f2096e88661d
|
data/lib/xmpush.rb
CHANGED
@@ -87,10 +87,8 @@ module Xmpush
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def resource_post(name, message)
|
90
|
-
|
91
|
-
|
92
|
-
android_result = android_http.post(Xmpush::XmResource.const_get("#{name.upcase}_URL"), message[:android]) if message[:android]
|
93
|
-
puts "====== android_result: #{android_result.inspect}"
|
90
|
+
ios_http.post(Xmpush::XmResource.const_get("#{name.upcase}_URL"), message[:ios]) if message[:ios]
|
91
|
+
android_http.post(Xmpush::XmResource.const_get("#{name.upcase}_URL"), message[:android]) if message[:android]
|
94
92
|
end
|
95
93
|
|
96
94
|
end
|
data/lib/xmpush/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmpush
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- blackanger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|