bonio-omniauth-wechat-oauth2 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -1
- data/lib/{omniauth-wechat-oauth2.rb → bonio-omniauth-wechat-oauth2.rb} +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b66823442b8279887ee3443eb12adc41fed6dc19
|
4
|
+
data.tar.gz: 9f3c9f55c8d5a565a0f57d0fc964cfcfc1765ed7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8240ee9ae88d074a3206b147af0ed64e744dfea1f7c6251b7485b74962f3af6d42002a9eb43766b2dabafe53837c22b8e1e59005f19dc7e29815652de4040e61
|
7
|
+
data.tar.gz: 06140fb6bfe26210d3ed9a99bdd75a55435c3276abdd116a270f0cf79cd9da85abfa1dc702a874f667030e0d134004fb3bdb4e7ec7572d6b2bea3189460821c8
|
data/README.md
CHANGED
@@ -6,10 +6,21 @@ Omniauth Strategy for https://open.weixin.qq.com/
|
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
9
11
|
```ruby
|
10
|
-
gem
|
12
|
+
gem 'bonio-omniauth-wechat-oauth2'
|
11
13
|
```
|
12
14
|
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install bonio-omniauth-wechat-oauth2
|
22
|
+
|
23
|
+
|
13
24
|
## Usage
|
14
25
|
|
15
26
|
Here's an example for adding the middleware to a Rails app in `config/initializers/omniauth.rb`:
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bonio-omniauth-wechat-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Skinnyworm, yangsr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -61,7 +61,7 @@ extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
63
|
- README.md
|
64
|
-
- lib/omniauth-wechat-oauth2.rb
|
64
|
+
- lib/bonio-omniauth-wechat-oauth2.rb
|
65
65
|
- lib/omniauth/strategies/wechat.rb
|
66
66
|
homepage: https://github.com/BonioTw/omniauth-wechat-oauth2
|
67
67
|
licenses: []
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.4.8
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Omniauth strategy for open.weixin.qq.com
|