weixin_authorize_superayi 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +2 -0
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/.travis.yml +11 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +22 -0
- data/README.md +72 -0
- data/Rakefile +1 -0
- data/lib/weixin_authorize/api/custom.rb +176 -0
- data/lib/weixin_authorize/api/data_cube.rb +8 -0
- data/lib/weixin_authorize/api/groups.rb +60 -0
- data/lib/weixin_authorize/api/mass.rb +80 -0
- data/lib/weixin_authorize/api/media.rb +149 -0
- data/lib/weixin_authorize/api/menu.rb +36 -0
- data/lib/weixin_authorize/api/oauth.rb +50 -0
- data/lib/weixin_authorize/api/qrcode.rb +53 -0
- data/lib/weixin_authorize/api/template.rb +43 -0
- data/lib/weixin_authorize/api/user.rb +69 -0
- data/lib/weixin_authorize/api.rb +3 -0
- data/lib/weixin_authorize/carrierwave/weixin_uploader.rb +4 -0
- data/lib/weixin_authorize/client.rb +95 -0
- data/lib/weixin_authorize/config.rb +35 -0
- data/lib/weixin_authorize/handler/exceptions.rb +5 -0
- data/lib/weixin_authorize/handler/global_code.rb +127 -0
- data/lib/weixin_authorize/handler/result_handler.rb +52 -0
- data/lib/weixin_authorize/handler.rb +3 -0
- data/lib/weixin_authorize/js_ticket/object_store.rb +21 -0
- data/lib/weixin_authorize/js_ticket/redis_store.rb +41 -0
- data/lib/weixin_authorize/js_ticket/store.rb +40 -0
- data/lib/weixin_authorize/token/object_store.rb +25 -0
- data/lib/weixin_authorize/token/redis_store.rb +38 -0
- data/lib/weixin_authorize/token/store.rb +72 -0
- data/lib/weixin_authorize/version.rb +3 -0
- data/lib/weixin_authorize.rb +97 -0
- data/spec/1_fetch_access_token_spec.rb +43 -0
- data/spec/2_fetch_jsticket_spec.rb +10 -0
- data/spec/api/custom_spec.rb +71 -0
- data/spec/api/groups_spec.rb +74 -0
- data/spec/api/mass_spec.rb +70 -0
- data/spec/api/media_spec.rb +82 -0
- data/spec/api/medias/favicon.ico +0 -0
- data/spec/api/medias/ruby-logo.jpg +0 -0
- data/spec/api/menu_spec.rb +26 -0
- data/spec/api/qrcode_spec.rb +22 -0
- data/spec/api/template_spec.rb +40 -0
- data/spec/api/user_spec.rb +26 -0
- data/spec/spec_helper.rb +130 -0
- data/weixin_authorize_superayi.gemspec +48 -0
- metadata +301 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
4
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
5
|
+
#
|
6
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
7
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
8
|
+
# (such as loading up an entire rails app) will add to the boot time of your
|
9
|
+
# test suite on EVERY test run, even for an individual file that may not need
|
10
|
+
# all of that loaded.
|
11
|
+
#
|
12
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
13
|
+
# users commonly want.
|
14
|
+
#
|
15
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
16
|
+
require "rspec"
|
17
|
+
require "weixin_authorize"
|
18
|
+
require "redis"
|
19
|
+
require "redis-namespace"
|
20
|
+
|
21
|
+
require 'coveralls'
|
22
|
+
require 'simplecov'
|
23
|
+
require "codeclimate-test-reporter"
|
24
|
+
|
25
|
+
require "pry-rails"
|
26
|
+
|
27
|
+
Coveralls.wear!
|
28
|
+
|
29
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
30
|
+
SimpleCov::Formatter::HTMLFormatter,
|
31
|
+
Coveralls::SimpleCov::Formatter
|
32
|
+
]
|
33
|
+
|
34
|
+
SimpleCov.start
|
35
|
+
|
36
|
+
ENV['CODECLIMATE_REPO_TOKEN'] = "c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399"
|
37
|
+
CodeClimate::TestReporter.start
|
38
|
+
|
39
|
+
# If you want test, change your weixin test profile
|
40
|
+
ENV["APPID"]="wx986f04063d341d04"
|
41
|
+
ENV["APPSECRET"]="1a941cd88cb4579ba98ec06b6813af03"
|
42
|
+
ENV["OPENID"]="o9k6BuB0kydAcPTc7sPxppB1GQqA"
|
43
|
+
ENV["TEMPLATE_ID"]="-8ooXrOK3VD3HuSS8--nH154PO9Lw2E7T-RV1uTaGLc"
|
44
|
+
|
45
|
+
# Comment to test for ClientStorage
|
46
|
+
redis = Redis.new(host: "127.0.0.1", port: "6379", db: 15)
|
47
|
+
|
48
|
+
namespace = "weixin_test:weixin_authorize"
|
49
|
+
|
50
|
+
# cleanup keys in the current namespace when restart server everytime.
|
51
|
+
exist_keys = redis.keys("#{namespace}:*")
|
52
|
+
exist_keys.each{|key|redis.del(key)}
|
53
|
+
|
54
|
+
redis_with_ns = Redis::Namespace.new("#{namespace}", :redis => redis)
|
55
|
+
|
56
|
+
WeixinAuthorize.configure do |config|
|
57
|
+
config.redis = redis_with_ns
|
58
|
+
# config.key_expired = 200
|
59
|
+
config.rest_client_options = {timeout: 10, open_timeout: 10, verify_ssl: true}
|
60
|
+
end
|
61
|
+
|
62
|
+
$client = WeixinAuthorize::Client.new(ENV["APPID"], ENV["APPSECRET"])
|
63
|
+
|
64
|
+
RSpec.configure do |config|
|
65
|
+
# The settings below are suggested to provide a good initial experience
|
66
|
+
# with RSpec, but feel free to customize to your heart's content.
|
67
|
+
=begin
|
68
|
+
# These two settings work together to allow you to limit a spec run
|
69
|
+
# to individual examples or groups you care about by tagging them with
|
70
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
71
|
+
# get run.
|
72
|
+
config.filter_run :focus
|
73
|
+
config.run_all_when_everything_filtered = true
|
74
|
+
|
75
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
76
|
+
# file, and it's useful to allow more verbose output when running an
|
77
|
+
# individual spec file.
|
78
|
+
if config.files_to_run.one?
|
79
|
+
# RSpec filters the backtrace by default so as not to be so noisy.
|
80
|
+
# This causes the full backtrace to be printed when running a single
|
81
|
+
# spec file (e.g. to troubleshoot a particular spec failure).
|
82
|
+
config.full_backtrace = true
|
83
|
+
|
84
|
+
# Use the documentation formatter for detailed output,
|
85
|
+
# unless a formatter has already been configured
|
86
|
+
# (e.g. via a command-line flag).
|
87
|
+
config.formatter = 'doc' if config.formatters.none?
|
88
|
+
end
|
89
|
+
|
90
|
+
# Print the 10 slowest examples and example groups at the
|
91
|
+
# end of the spec run, to help surface which specs are running
|
92
|
+
# particularly slow.
|
93
|
+
config.profile_examples = 10
|
94
|
+
|
95
|
+
# Run specs in random order to surface order dependencies. If you find an
|
96
|
+
# order dependency and want to debug it, you can fix the order by providing
|
97
|
+
# the seed, which is printed after each run.
|
98
|
+
# --seed 1234
|
99
|
+
config.order = :random
|
100
|
+
|
101
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
102
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
103
|
+
# test failures related to randomization by passing the same `--seed` value
|
104
|
+
# as the one that triggered the failure.
|
105
|
+
Kernel.srand config.seed
|
106
|
+
|
107
|
+
# rspec-expectations config goes here. You can use an alternate
|
108
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
109
|
+
# assertions if you prefer.
|
110
|
+
config.expect_with :rspec do |expectations|
|
111
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
112
|
+
# For more details, see:
|
113
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
114
|
+
expectations.syntax = :expect
|
115
|
+
end
|
116
|
+
|
117
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
118
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
119
|
+
config.mock_with :rspec do |mocks|
|
120
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
121
|
+
# For more details, see:
|
122
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
123
|
+
mocks.syntax = :expect
|
124
|
+
|
125
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
126
|
+
# a real object. This is generally recommended.
|
127
|
+
mocks.verify_partial_doubles = true
|
128
|
+
end
|
129
|
+
=end
|
130
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'weixin_authorize/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "weixin_authorize_superayi"
|
8
|
+
spec.version = WeixinAuthorize::VERSION
|
9
|
+
spec.authors = ["lanrion"]
|
10
|
+
spec.email = ["huaitao-deng@foxmail.com"]
|
11
|
+
spec.description = %q{weixin api authorize access_token}
|
12
|
+
spec.summary = %q{weixin api authorize access_token}
|
13
|
+
spec.homepage = "https://github.com/randeeshen/weixin_authorize_suerpayi"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "rest-client", ">= 1.6.7"
|
22
|
+
spec.add_dependency "redis", ">= 3.1.0"
|
23
|
+
|
24
|
+
spec.add_dependency "carrierwave", ">= 0.10.0"
|
25
|
+
spec.add_dependency 'mini_magick', '>= 3.7.0'
|
26
|
+
|
27
|
+
# A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)
|
28
|
+
# https://github.com/brianmario/yajl-ruby
|
29
|
+
# yajl-ruby 不支持 jruby
|
30
|
+
if RUBY_PLATFORM == 'java'
|
31
|
+
spec.add_dependency "json"
|
32
|
+
else
|
33
|
+
spec.add_dependency "yajl-ruby", ">= 1.2.0"
|
34
|
+
end
|
35
|
+
|
36
|
+
spec.add_development_dependency "bundler"
|
37
|
+
spec.add_development_dependency "rake"
|
38
|
+
spec.add_development_dependency "rspec"
|
39
|
+
spec.add_development_dependency "redis-namespace"
|
40
|
+
spec.add_development_dependency "codeclimate-test-reporter"
|
41
|
+
spec.add_development_dependency "simplecov", "~> 0.10.0"
|
42
|
+
spec.add_development_dependency 'coveralls', '~> 0.8.2'
|
43
|
+
spec.add_development_dependency 'pry-rails'
|
44
|
+
if RUBY_PLATFORM != 'java'
|
45
|
+
spec.add_development_dependency 'pry-byebug'
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
metadata
ADDED
@@ -0,0 +1,301 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: weixin_authorize_superayi
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.6.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- lanrion
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rest-client
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.6.7
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.6.7
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: redis
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: carrierwave
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.10.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.10.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mini_magick
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.7.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.7.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: yajl-ruby
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.2.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.2.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: redis-namespace
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: codeclimate-test-reporter
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.10.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.10.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: coveralls
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.8.2
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.8.2
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: pry-rails
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: pry-byebug
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
description: weixin api authorize access_token
|
210
|
+
email:
|
211
|
+
- huaitao-deng@foxmail.com
|
212
|
+
executables: []
|
213
|
+
extensions: []
|
214
|
+
extra_rdoc_files: []
|
215
|
+
files:
|
216
|
+
- ".coveralls.yml"
|
217
|
+
- ".gitignore"
|
218
|
+
- ".rspec"
|
219
|
+
- ".travis.yml"
|
220
|
+
- Gemfile
|
221
|
+
- LICENSE.txt
|
222
|
+
- README.md
|
223
|
+
- Rakefile
|
224
|
+
- lib/weixin_authorize.rb
|
225
|
+
- lib/weixin_authorize/api.rb
|
226
|
+
- lib/weixin_authorize/api/custom.rb
|
227
|
+
- lib/weixin_authorize/api/data_cube.rb
|
228
|
+
- lib/weixin_authorize/api/groups.rb
|
229
|
+
- lib/weixin_authorize/api/mass.rb
|
230
|
+
- lib/weixin_authorize/api/media.rb
|
231
|
+
- lib/weixin_authorize/api/menu.rb
|
232
|
+
- lib/weixin_authorize/api/oauth.rb
|
233
|
+
- lib/weixin_authorize/api/qrcode.rb
|
234
|
+
- lib/weixin_authorize/api/template.rb
|
235
|
+
- lib/weixin_authorize/api/user.rb
|
236
|
+
- lib/weixin_authorize/carrierwave/weixin_uploader.rb
|
237
|
+
- lib/weixin_authorize/client.rb
|
238
|
+
- lib/weixin_authorize/config.rb
|
239
|
+
- lib/weixin_authorize/handler.rb
|
240
|
+
- lib/weixin_authorize/handler/exceptions.rb
|
241
|
+
- lib/weixin_authorize/handler/global_code.rb
|
242
|
+
- lib/weixin_authorize/handler/result_handler.rb
|
243
|
+
- lib/weixin_authorize/js_ticket/object_store.rb
|
244
|
+
- lib/weixin_authorize/js_ticket/redis_store.rb
|
245
|
+
- lib/weixin_authorize/js_ticket/store.rb
|
246
|
+
- lib/weixin_authorize/token/object_store.rb
|
247
|
+
- lib/weixin_authorize/token/redis_store.rb
|
248
|
+
- lib/weixin_authorize/token/store.rb
|
249
|
+
- lib/weixin_authorize/version.rb
|
250
|
+
- spec/1_fetch_access_token_spec.rb
|
251
|
+
- spec/2_fetch_jsticket_spec.rb
|
252
|
+
- spec/api/custom_spec.rb
|
253
|
+
- spec/api/groups_spec.rb
|
254
|
+
- spec/api/mass_spec.rb
|
255
|
+
- spec/api/media_spec.rb
|
256
|
+
- spec/api/medias/favicon.ico
|
257
|
+
- spec/api/medias/ruby-logo.jpg
|
258
|
+
- spec/api/menu_spec.rb
|
259
|
+
- spec/api/qrcode_spec.rb
|
260
|
+
- spec/api/template_spec.rb
|
261
|
+
- spec/api/user_spec.rb
|
262
|
+
- spec/spec_helper.rb
|
263
|
+
- weixin_authorize_superayi.gemspec
|
264
|
+
homepage: https://github.com/randeeshen/weixin_authorize_suerpayi
|
265
|
+
licenses:
|
266
|
+
- MIT
|
267
|
+
metadata: {}
|
268
|
+
post_install_message:
|
269
|
+
rdoc_options: []
|
270
|
+
require_paths:
|
271
|
+
- lib
|
272
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
273
|
+
requirements:
|
274
|
+
- - ">="
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
version: '0'
|
277
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
278
|
+
requirements:
|
279
|
+
- - ">="
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: '0'
|
282
|
+
requirements: []
|
283
|
+
rubyforge_project:
|
284
|
+
rubygems_version: 2.4.5
|
285
|
+
signing_key:
|
286
|
+
specification_version: 4
|
287
|
+
summary: weixin api authorize access_token
|
288
|
+
test_files:
|
289
|
+
- spec/1_fetch_access_token_spec.rb
|
290
|
+
- spec/2_fetch_jsticket_spec.rb
|
291
|
+
- spec/api/custom_spec.rb
|
292
|
+
- spec/api/groups_spec.rb
|
293
|
+
- spec/api/mass_spec.rb
|
294
|
+
- spec/api/media_spec.rb
|
295
|
+
- spec/api/medias/favicon.ico
|
296
|
+
- spec/api/medias/ruby-logo.jpg
|
297
|
+
- spec/api/menu_spec.rb
|
298
|
+
- spec/api/qrcode_spec.rb
|
299
|
+
- spec/api/template_spec.rb
|
300
|
+
- spec/api/user_spec.rb
|
301
|
+
- spec/spec_helper.rb
|