jpush_api_ruby_client 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +45 -0
- data/Rakefile +1 -0
- data/doc/Gemfile.html +105 -0
- data/doc/JPushApiRubyClient/Client.html +774 -0
- data/doc/JPushApiRubyClient/MsgType.html +159 -0
- data/doc/JPushApiRubyClient/PlatformType.html +164 -0
- data/doc/JPushApiRubyClient/ReceiverType.html +169 -0
- data/doc/JPushApiRubyClient.html +166 -0
- data/doc/LICENSE_txt.html +121 -0
- data/doc/Rakefile.html +101 -0
- data/doc/created.rid +15 -0
- data/doc/doc/created_rid.html +99 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +96 -0
- data/doc/jpush_api_ruby_client_gemspec.html +126 -0
- data/doc/js/darkfish.js +155 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +595 -0
- data/doc/table_of_contents.html +99 -0
- data/example/client_example.rb +66 -0
- data/jpush_api_ruby_client.gemspec +25 -0
- data/lib/jpush_api_ruby_client/client.rb +233 -0
- data/lib/jpush_api_ruby_client/msg_type.rb +12 -0
- data/lib/jpush_api_ruby_client/platform_type.rb +14 -0
- data/lib/jpush_api_ruby_client/receiver_type.rb +16 -0
- data/lib/jpush_api_ruby_client/version.rb +3 -0
- data/lib/jpush_api_ruby_client.rb +8 -0
- metadata +158 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3e463ad231ecaa0cbf83e47752d8589dfb40e990
|
4
|
+
data.tar.gz: 34634536d3a82e92b7d9ca431fc076ddae6c28ab
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a76b7c44054e97997b3644e08c0bb4a35a920449a56ef2a5f251a80db912aab9a8a2f303bffbeb524a7e5031bc4567485a39780a5da1ff75d4a96c45bad3eab0
|
7
|
+
data.tar.gz: 1d234a6856d9ffd9062d53f36b686ae57414d9c355267071e55e4fb438861b6aa0bb7af64b62a25bcef9dbe73ab33810dc7950e492e4ec18e1f732c3e7948cca
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 ouyangxian
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# JpushApiRubyClient
|
2
|
+
|
3
|
+
JPush API Ruby 客户端
|
4
|
+
|
5
|
+
forked from https://github.com/lanrion/jpush_ruby_sdk
|
6
|
+
|
7
|
+
感谢作者做的先期工作
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
gem 'jpush_api_ruby_client'
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
remote install
|
22
|
+
|
23
|
+
$ gem install jpush_api_ruby_client
|
24
|
+
|
25
|
+
local install
|
26
|
+
|
27
|
+
$ gem build jpush_api_ruby_client.gemspec
|
28
|
+
$ gem install jpush_api_ruby_client -l
|
29
|
+
|
30
|
+
|
31
|
+
##Example
|
32
|
+
|
33
|
+
Detailes refer to [Example](/example/client_example.rb)
|
34
|
+
|
35
|
+
## Usage
|
36
|
+
|
37
|
+
Detailes refer to [Doc](/doc/index.html)
|
38
|
+
|
39
|
+
## Contributing
|
40
|
+
|
41
|
+
1. Fork it
|
42
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
43
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
44
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
45
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/doc/Gemfile.html
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>Gemfile - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
<div id="project-metadata">
|
49
|
+
<nav id="fileindex-section" class="section project-section">
|
50
|
+
<h3 class="section-header">Pages</h3>
|
51
|
+
|
52
|
+
<ul>
|
53
|
+
|
54
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
55
|
+
|
56
|
+
<li class="file"><a href="./LICENSE_txt.html">LICENSE</a>
|
57
|
+
|
58
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
59
|
+
|
60
|
+
<li class="file"><a href="./doc/created_rid.html">created.rid</a>
|
61
|
+
|
62
|
+
<li class="file"><a href="./jpush_api_ruby_client_gemspec.html">jpush_api_ruby_client.gemspec</a>
|
63
|
+
|
64
|
+
</ul>
|
65
|
+
</nav>
|
66
|
+
|
67
|
+
<nav id="classindex-section" class="section project-section">
|
68
|
+
<h3 class="section-header">Class and Module Index</h3>
|
69
|
+
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="./JPushApiRubyClient.html">JPushApiRubyClient</a>
|
73
|
+
|
74
|
+
<li><a href="./JPushApiRubyClient/Client.html">JPushApiRubyClient::Client</a>
|
75
|
+
|
76
|
+
<li><a href="./JPushApiRubyClient/MsgType.html">JPushApiRubyClient::MsgType</a>
|
77
|
+
|
78
|
+
<li><a href="./JPushApiRubyClient/PlatformType.html">JPushApiRubyClient::PlatformType</a>
|
79
|
+
|
80
|
+
<li><a href="./JPushApiRubyClient/ReceiverType.html">JPushApiRubyClient::ReceiverType</a>
|
81
|
+
|
82
|
+
</ul>
|
83
|
+
</nav>
|
84
|
+
|
85
|
+
</div>
|
86
|
+
</nav>
|
87
|
+
|
88
|
+
<div id="documentation" class="description">
|
89
|
+
|
90
|
+
<p>source '<a href="https://rubygems.org">rubygems.org</a>'</p>
|
91
|
+
|
92
|
+
<p># Specify your gem's dependencies in <a
|
93
|
+
href="jpush_api_ruby_client_gemspec.html">jpush_api_ruby_client.gemspec</a>
|
94
|
+
gemspec</p>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<footer id="validator-badges">
|
101
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
102
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
|
103
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
104
|
+
</footer>
|
105
|
+
|