igetui-ruby 1.2.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3035d4d4c94322549376457acbe615abc7b67c98
4
- data.tar.gz: 51e6782e963c61b1956fea8b1c46d5316c5872c9
3
+ metadata.gz: a6a52226beb8126107f77e9bde018d0767a0ebc1
4
+ data.tar.gz: 6daf3cc44d644859deba5f499a4a921294278288
5
5
  SHA512:
6
- metadata.gz: 7df6aa78d90fa7a906a1e60ea0fa1914cbe8111059d275623cde13ca404a09687e387b4ccee3e9ca0a7f6e5583afc6d785fbab9314f7cf3d450cf24ba6d6b824
7
- data.tar.gz: f82c3a064264ce66e33d52ba9d2720d0a1f28d3012d82bc5c478dc872aeaf21ae5efd9a57839d2ecdae631d91fdd385ad089ae47d098cbb9de9612331463b3ca
6
+ metadata.gz: 512232c73da3a45c2a0e55a1779604aefcd114f6079cc477f2df98230077d11bdd7425f0cc4cfdf04ae7a90a1732ea966fb43fbde5fee550ab5a402ebd549976
7
+ data.tar.gz: e43faae143676a9033e5912a32e55f2803940f073703b70cb1f180c004cfd1861533a097928de81006ffeb7913c5cc1af372dd9cea57f7c238724f2173e4fac0
data/README.md CHANGED
@@ -65,6 +65,8 @@ content = {
65
65
  }
66
66
  content = content.to_s.gsub(":", "").gsub("=>", ":")
67
67
  template.transmission_content = content
68
+ # 设置iOS的推送参数,如果只有安卓 App,可以忽略下面一行
69
+ # template.set_push_info("", 1, "这里是iOS推送的显示信息", "")
68
70
 
69
71
  # 创建群发消息
70
72
  list_message = IGeTui::ListMessage.new
@@ -127,7 +129,7 @@ rake test
127
129
 
128
130
  ## Contributing
129
131
 
130
- 1. Fork it ( http://github.com/<my-github-username>/igetui-ruby/fork )
132
+ 1. Fork it ( http://github.com/wjp2013/igetui-ruby/fork )
131
133
  2. Create your feature branch (`git checkout -b my-new-feature`)
132
134
  3. Commit your changes (`git commit -am 'Add some feature'`)
133
135
  4. Push to the branch (`git push origin my-new-feature`)
@@ -62,7 +62,7 @@ module IGeTui
62
62
  @push_info.message = ''
63
63
  @push_info.actionKey = ''
64
64
  @push_info.sound = ''
65
- @push_info.badge = ''
65
+ @push_info.badge = '-1'
66
66
  @push_info
67
67
  end
68
68
 
@@ -1,3 +1,3 @@
1
1
  module IGeTui
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: igetui-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Wang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-03 00:00:00.000000000 Z
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.2.2
157
+ rubygems_version: 2.4.2
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: igetui.com ruby sdk