xinge-for-ruby 0.1.13

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6175082406742b706120b1eedb0967fbd2765890
4
+ data.tar.gz: b17d8aa904fc23db6d19f5a1d8c1d95d6f52d051
5
+ SHA512:
6
+ metadata.gz: 5357e2605c4210555fd45b0931e78dbbc93a66572b62688dd6706ac16432515cef897768c730f2735ecbc3cdab8480a882b7dfa539e5021adc3bc6695061dd66
7
+ data.tar.gz: 9055932664787c3ddea761d98a05d4a54f5cc9824b010e9ec336907926ca72b46fd919f4311a277e488088ca999c536eda581b8cd93a99832a24d3f738c71e15
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.3
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://ruby.taobao.org'
2
+
3
+ # Specify your gem's dependencies in xinge.gemspec
4
+ gemspec
@@ -0,0 +1,41 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ xinge-for-ruby (0.1.13)
5
+
6
+ GEM
7
+ remote: https://ruby.taobao.org/
8
+ specs:
9
+ diff-lcs (1.2.5)
10
+ httparty (0.13.3)
11
+ json (~> 1.8)
12
+ multi_xml (>= 0.5.2)
13
+ json (1.8.2)
14
+ multi_xml (0.5.5)
15
+ rake (10.4.2)
16
+ rspec (3.2.0)
17
+ rspec-core (~> 3.2.0)
18
+ rspec-expectations (~> 3.2.0)
19
+ rspec-mocks (~> 3.2.0)
20
+ rspec-core (3.2.2)
21
+ rspec-support (~> 3.2.0)
22
+ rspec-expectations (3.2.0)
23
+ diff-lcs (>= 1.2.0, < 2.0)
24
+ rspec-support (~> 3.2.0)
25
+ rspec-mocks (3.2.1)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.2.0)
28
+ rspec-support (3.2.2)
29
+
30
+ PLATFORMS
31
+ ruby
32
+
33
+ DEPENDENCIES
34
+ bundler (~> 1.8)
35
+ httparty (~> 0.13.3)
36
+ rake (~> 10.0)
37
+ rspec
38
+ xinge-for-ruby!
39
+
40
+ BUNDLED WITH
41
+ 1.11.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Robot Jiang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,51 @@
1
+ # Ruby for Tencent Xinge
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/xinge`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'ruby-for-xinge'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install ruby-for-xinge
22
+
23
+ ## Usage
24
+
25
+ Add below codes to your application.rb or a init file in config/initializers
26
+
27
+ require 'xinge'
28
+ Xinge.configure do |config|
29
+ config[:android_accessId] = Your android access id
30
+ config[:android_secretKey] = 'Your secret key xxx'
31
+ config[:ios_accessId] = Your ios access id
32
+ config[:ios_secretKey] = 'Your secret key xxx'
33
+ config[:logger] = Rails.logger
34
+ config[:env] = Rails.env # if you are not in a rails app, you can set it config[:env]='development' or config[:env]='production', it is 'development' default.
35
+ end
36
+
37
+
38
+
39
+ ## Development
40
+
41
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
42
+
43
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
44
+
45
+ ## Contributing
46
+
47
+ 1. Fork it ( https://github.com/[my-github-username]/xinge/fork )
48
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
49
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
50
+ 4. Push to the branch (`git push origin my-new-feature`)
51
+ 5. Create a new Pull Request
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "xinge"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,9 @@
1
+ require "xinge/version"
2
+ require "xinge/base"
3
+ require "xinge/ios"
4
+ require "xinge/android"
5
+ require "xinge/notification"
6
+
7
+ module Xinge
8
+
9
+ end
@@ -0,0 +1,27 @@
1
+ require 'xinge/base'
2
+ module Xinge
3
+ class Android < Base
4
+ def initialize(accessId = nil, secretKey = nil, options = {})
5
+ super
6
+ end
7
+ def pushToSingleDevice(token, title, content, params={}, custom_content={})
8
+ self.push_single_device(token, 1, build_simple_message(title, content, custom_content), params)
9
+ end
10
+
11
+ def pushToMultiDevices(tokens, title, content, params={}, custom_content={})
12
+ self.push_multi_device(tokens, 1, build_simple_message(title, content, custom_content), params)
13
+ end
14
+
15
+ def pushToAllDevice(title, content, params={}, custom_content={})
16
+ self.push_all_device(1, build_simple_message(title, content, custom_content), params)
17
+ end
18
+
19
+ protected
20
+
21
+ def build_simple_message(title, content, custom_content)
22
+ {
23
+ title: title, content: content, vibrate: 1
24
+ }.merge(custom_content).to_json
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,192 @@
1
+ require 'httparty'
2
+ require 'digest'
3
+ require 'xinge/logger'
4
+
5
+ module Xinge
6
+
7
+ @xinge_config = {env: 'development'}
8
+
9
+ class << self
10
+
11
+ def logger
12
+ @@logger = defined?(@@logger) ? @@logger : (config[:logger].nil? ? Xinge::Logging.new.logger : config[:logger])
13
+ end
14
+
15
+ def configure
16
+ yield @xinge_config if block_given?
17
+ end
18
+ def config
19
+ @xinge_config
20
+ end
21
+ end
22
+
23
+ class Base
24
+ include HTTParty
25
+ base_uri 'http://openapi.xg.qq.com'
26
+
27
+ DEFAULT_OPTIONS = {
28
+ api_version: 'v2'
29
+ }
30
+ HOST = "openapi.xg.qq.com"
31
+ HTTP_METHOD = :post
32
+
33
+ def initialize(accessId = nil, secretKey = nil, options = {})
34
+ raise 'accessId is invalid' unless accessId.is_a? Integer
35
+ raise 'secretKey is invalid' if !secretKey.is_a?(String) or secretKey.strip.size == 0
36
+ @accessId = accessId
37
+ @secretKey = secretKey.strip
38
+ @options = DEFAULT_OPTIONS.merge options
39
+ end
40
+
41
+
42
+ #push消息(包括通知和透传消息)给单个设备
43
+ def push_single_device(device_token, message_type, message, params = {})
44
+ params.merge!({
45
+ device_token: device_token,
46
+ message: message,
47
+ message_type: message_type
48
+ })
49
+ self.send_request('push','single_device',params)
50
+ end
51
+
52
+ # push到多个设备
53
+ def push_multi_device(device_list, message_type, message, params = {})
54
+ params1 = params.merge({
55
+ message: message,
56
+ message_type: message_type
57
+ })
58
+ result = self.send_request('push','create_multipush', params1)
59
+ raise result.to_s if result['ret_code'] != 0
60
+
61
+ push_id = result['result']['push_id']
62
+ params.merge!({
63
+ device_list: device_list.to_json,
64
+ push_id: push_id
65
+ })
66
+
67
+ self.send_request('push', 'device_list_multiple', params)
68
+ end
69
+
70
+ #push消息(包括通知和透传消息)给单个账户或别名
71
+ def push_single_account(account, message_type, message, params = {})
72
+ params.merge!({
73
+ account: account,
74
+ message_type: message_type,
75
+ message: message
76
+ })
77
+ self.send_request('push','single_account',params)
78
+ end
79
+
80
+ #push消息(包括通知和透传消息)给app的所有设备
81
+ def push_all_device(message_type, message, params = {})
82
+ params.merge!({
83
+ message_type: message_type,
84
+ message: message
85
+ })
86
+ self.send_request('push','all_device',params)
87
+ end
88
+
89
+ #push消息(包括通知和透传消息)给tags指定的设备
90
+ def push_tags_device(message_type, message, tags_list, tags_op, params = {})
91
+ params.merge!({
92
+ message_type: message_type,
93
+ message: message,
94
+ tags_list: tags_list.to_json,
95
+ tags_op: tags_op
96
+ })
97
+ self.send_request('push','tags_device',params)
98
+ end
99
+
100
+ #查询群发消息发送状态
101
+ def push_get_msg_status(push_ids, params = {})
102
+ params.merge!({
103
+ push_ids: push_ids.to_json
104
+ })
105
+ self.send_request('push','get_msg_status',params)
106
+ end
107
+
108
+ #查询应用覆盖的设备数
109
+ def application_get_app_device_num(params = {})
110
+ self.send_request('application','get_app_device_num',params)
111
+ end
112
+
113
+ #查询应用的Tags
114
+ def tags_query_app_tags(params = {})
115
+ self.send_request('tags','query_app_tags',params)
116
+ end
117
+
118
+ #取消尚未触发的定时群发任务
119
+ def push_cancel_timing_task(push_id, params = {})
120
+ params.merge!({
121
+ push_id: push_id
122
+ })
123
+ @request.fetch(params)
124
+ self.send_request('push','cancel_timing_task',params)
125
+ end
126
+
127
+ #批量设置标签
128
+ def tags_batch_set(tag_token_list, params = {})
129
+ params.merge!({
130
+ tag_token_list: tag_token_list
131
+ })
132
+ self.send_request('tags','batch_set',params)
133
+ end
134
+
135
+ #批量删除标签
136
+ def tags_batch_del(tag_token_list, params = {})
137
+ params.merge!({
138
+ tag_token_list: tag_token_list
139
+ })
140
+ self.send_request('tags','batch_del',params)
141
+ end
142
+
143
+ #查询应用某token设置的标签
144
+ def tags_query_token_tags(device_token, params = {})
145
+ params.merge!({
146
+ device_token: device_token
147
+ })
148
+ self.send_request('tags','query_token_tags',params)
149
+ end
150
+
151
+ #查询应用某标签关联的设备数量
152
+ def tags_query_tag_token_num(tag, params = {})
153
+ params.merge!({
154
+ tag: tag
155
+ })
156
+ self.send_request('tags','query_tag_token_num',params)
157
+ end
158
+
159
+ protected
160
+
161
+ def send_request(type,method,params = {})
162
+ params.merge!({access_id: @accessId,
163
+ timestamp: Time.now.to_i})
164
+ #sign params
165
+ params_string = params.sort.map{ |h| h.join('=') }.join
166
+ sign = Digest::MD5.hexdigest("#{HTTP_METHOD.to_s.upcase}#{HOST}#{self.get_request_url(type,method)}#{params_string}#{@secretKey}")
167
+
168
+ params.merge!({ sign: sign })
169
+ options = { body: params }
170
+
171
+ request_url = self.get_request_url(type, method)
172
+ response_txt = self.class.send(HTTP_METHOD, request_url, options)
173
+ begin
174
+ JSON.parse(response_txt.to_s.gsub(/\\r\\n/, ''))
175
+ rescue => e
176
+ Xinge.logger.error "REQ URL: #{request_url} \n #{e} \n #{response_txt}"
177
+ response_txt
178
+ end
179
+
180
+ end
181
+
182
+ def get_request_url(type,method)
183
+ "/#{@options[:api_version]}/#{type}/#{method}"
184
+ end
185
+
186
+ def build_simple_message(title, content)
187
+ raise 'let child class to implement it.'
188
+ end
189
+
190
+ end
191
+
192
+ end
@@ -0,0 +1,35 @@
1
+ require 'xinge/base'
2
+ module Xinge
3
+ class Ios < Base
4
+
5
+ ENV_MAP = {'production' => 1, 'development' => 2}
6
+
7
+ def initialize(accessId = nil, secretKey = nil, options = {})
8
+ super
9
+ end
10
+ def pushToSingleDevice(token, title, content, params={}, custom_content={})
11
+ self.push_single_device(token, 0, build_simple_message(title, content, custom_content), params.merge({environment: ENV_MAP[Xinge.config[:env]] || 2}))
12
+ end
13
+ def pushToMultiDevices(tokens, title, content, params={}, custom_content={})
14
+ self.push_multi_device(tokens, 0, build_simple_message(title, content, custom_content), params.merge({environment: ENV_MAP[Xinge.config[:env]] || 2}))
15
+ end
16
+ def pushToAllDevice(title, content, params={}, custom_content={})
17
+ self.push_all_device(0, build_simple_message(title, content, custom_content), params.merge({environment: ENV_MAP[Xinge.config[:env]] || 2}))
18
+ end
19
+
20
+ protected
21
+
22
+ def build_simple_message(title, content, custom_content)
23
+ {
24
+ aps: {
25
+ alert: {
26
+ title: title,
27
+ body: content
28
+ },
29
+ sound: 'default',
30
+ badge: 1
31
+ }
32
+ }.merge(custom_content).to_json
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,18 @@
1
+ require 'logger'
2
+
3
+ module Xinge
4
+ class Logging
5
+
6
+ def initialize(log_target = STDOUT)
7
+ @logger = Logger.new(log_target)
8
+ @logger.level = Logger::INFO
9
+ @logger
10
+ end
11
+
12
+ def logger
13
+ @logger
14
+ end
15
+
16
+
17
+ end
18
+ end
@@ -0,0 +1,27 @@
1
+ require 'singleton'
2
+ require 'xinge/base'
3
+ require 'xinge/ios'
4
+ require 'xinge/android'
5
+
6
+ module Xinge
7
+
8
+ class Notification
9
+ include Singleton
10
+ attr_reader :android, :ios
11
+ def initialize
12
+ @android = Xinge::Android.new(Xinge.config[:android_accessId].to_i, Xinge.config[:android_secretKey])
13
+ @ios = Xinge::Ios.new(Xinge.config[:ios_accessId].to_i, Xinge.config[:ios_secretKey])
14
+ end
15
+ #发送简单消息到所有 android , ios 设备
16
+ def send_simple_to_all(title, content)
17
+ result = []
18
+ [@android, @ios].each do |sender|
19
+ result << sender.pushToAllDevice(title,content)
20
+ end
21
+ result
22
+ end
23
+
24
+ end
25
+
26
+ end
27
+
@@ -0,0 +1,3 @@
1
+ module Xinge
2
+ VERSION = "0.1.13"
3
+ end
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'xinge/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "xinge-for-ruby"
8
+ spec.version = Xinge::VERSION
9
+ spec.authors = ["ReYin Dev Team"]
10
+ spec.email = ["rdteam@reyinapp.com"]
11
+
12
+ if spec.respond_to?(:metadata)
13
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
14
+ end
15
+
16
+ spec.summary = %q{A Ruby portal for Tencent Xinge}
17
+ spec.description = %q{腾讯 信鸽 Rest API for Ruby}
18
+ spec.homepage = "https://github.com/DanielReYin/ruby-for-xinge"
19
+ spec.license = "MIT"
20
+
21
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ spec.bindir = "exe"
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.add_development_dependency "httparty", "~> 0.13.3"
27
+ spec.add_development_dependency "bundler", "~> 1.8"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rspec"
30
+ end
metadata ADDED
@@ -0,0 +1,121 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xinge-for-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.13
5
+ platform: ruby
6
+ authors:
7
+ - ReYin Dev Team
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-04-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.13.3
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.13.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.8'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: "腾讯 信鸽 Rest API for Ruby"
70
+ email:
71
+ - rdteam@reyinapp.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".travis.yml"
79
+ - CODE_OF_CONDUCT.md
80
+ - Gemfile
81
+ - Gemfile.lock
82
+ - LICENSE.txt
83
+ - README.md
84
+ - Rakefile
85
+ - bin/console
86
+ - bin/setup
87
+ - lib/xinge.rb
88
+ - lib/xinge/android.rb
89
+ - lib/xinge/base.rb
90
+ - lib/xinge/ios.rb
91
+ - lib/xinge/logger.rb
92
+ - lib/xinge/notification.rb
93
+ - lib/xinge/version.rb
94
+ - xinge.gemspec
95
+ homepage: https://github.com/DanielReYin/ruby-for-xinge
96
+ licenses:
97
+ - MIT
98
+ metadata:
99
+ allowed_push_host: https://rubygems.org
100
+ post_install_message:
101
+ rdoc_options: []
102
+ require_paths:
103
+ - lib
104
+ required_ruby_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ required_rubygems_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ requirements: []
115
+ rubyforge_project:
116
+ rubygems_version: 2.4.8
117
+ signing_key:
118
+ specification_version: 4
119
+ summary: A Ruby portal for Tencent Xinge
120
+ test_files: []
121
+ has_rdoc: