xmpush 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xmpush/http_base.rb +1 -1
- data/lib/xmpush/version.rb +1 -1
- data/lib/xmpush.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f37a227980b81b227bdd0bdb0980793f6350322
|
4
|
+
data.tar.gz: c1d6bdfbefa2c63e0bcd4cd1ec612a3f2eba7a1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bb0141dd53120550a982c0fdcd2d46aafe9e8f86f6ad6038ac936ffdba66bbfb40302157f3744d3e80997feb763d79373c153ae338bffcf768a9f2c5ad33213
|
7
|
+
data.tar.gz: 3b2cd59e451239bda030932fc5bf5c17f177dd5cca28a105be64ccd23ab229ba05efa77714c4d52701eba08cca477fddb2962b5e8fe157b5e7420467df65a6dd
|
data/lib/xmpush/http_base.rb
CHANGED
data/lib/xmpush/version.rb
CHANGED
data/lib/xmpush.rb
CHANGED
@@ -56,7 +56,7 @@ module Xmpush
|
|
56
56
|
resource_post('topic', message)
|
57
57
|
when :topics
|
58
58
|
return "must input topics" unless options[:topics]
|
59
|
-
message.values.each{|v| v.merge!(topics: options[:topics].join(";$;"))}
|
59
|
+
message.values.each{|v| v.merge!(topics: options[:topics].join(";$;"), topic_op: options[:topic_op] || "UNION")}
|
60
60
|
resource_post('mtopic', message)
|
61
61
|
when :all
|
62
62
|
resource_post('all', message)
|