omniauth-chatwork 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/CHANGELOG.md +7 -1
- data/README.md +1 -1
- data/lib/omniauth/chatwork/version.rb +1 -1
- data/lib/omniauth/strategies/chatwork.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd3b42359827027b0b588801f1c70c179b4dcd27
|
4
|
+
data.tar.gz: 4c34ff62f7035e52c798d44a87b5b77589652014
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a3563901a23344d105d21bcad54723d674846461a67820476fc02da16593d02875a85e13da6f38e7c4b081e026532011e31f1b3b46004a941d15c26a6ab3130
|
7
|
+
data.tar.gz: e47a9674bc1dbe76226e6bcaf1378d425fc5ae2ebb69f110789f4f19eed8c5e36b15c6074321441b88b84662a36f55fcfad85d0fef0493d222ea07a85853f8b6
|
data/.travis.yml
CHANGED
@@ -4,10 +4,13 @@ rvm:
|
|
4
4
|
- 2.2
|
5
5
|
- 2.3
|
6
6
|
- 2.4.1
|
7
|
+
- 2.5.0
|
7
8
|
- ruby-head
|
8
9
|
bundler_args: "--jobs=2"
|
9
10
|
cache: bundler
|
10
|
-
before_install:
|
11
|
+
before_install:
|
12
|
+
- gem update --system --no-document
|
13
|
+
- gem install bundler -v 1.16.1 --no-document
|
11
14
|
before_script:
|
12
15
|
- export CODECLIMATE_REPO_TOKEN=57923c0aa656e8d9cf7af9aa9cfbbae06e909e53c8282d2eb428b7b97157e26d
|
13
16
|
- export CI=true
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
## Unreleased
|
2
|
-
[full changelog](https://github.com/sue445/omniauth-chatwork/compare/v0.1.
|
2
|
+
[full changelog](https://github.com/sue445/omniauth-chatwork/compare/v0.1.1...master)
|
3
|
+
|
4
|
+
## v0.1.1
|
5
|
+
[full changelog](https://github.com/sue445/omniauth-chatwork/compare/v0.1.0...v0.1.1)
|
6
|
+
|
7
|
+
* Add `users.profile.me:read` scope to default scope
|
8
|
+
* https://github.com/sue445/omniauth-chatwork/pull/5
|
3
9
|
|
4
10
|
## v0.1.0
|
5
11
|
* first release
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ And register `https://YOURSERVER/auth/chatwork/callback` to *Redirect URI*
|
|
40
40
|
## Configuring
|
41
41
|
* `scope` : `String` or `Array`
|
42
42
|
* A list of permissions you want to request from the user
|
43
|
-
* default is `["rooms.all:read_write"]`
|
43
|
+
* default is `["rooms.all:read_write", "users.profile.me:read"]`
|
44
44
|
* see Appendix scope list of http://download.chatwork.com/ChatWork_API_Documentation.pdf (en) or http://developer.chatwork.com/ja/oauth.html#secAppendix (ja)
|
45
45
|
|
46
46
|
## Auth Hash
|
@@ -4,7 +4,7 @@ require "faraday"
|
|
4
4
|
module OmniAuth
|
5
5
|
module Strategies
|
6
6
|
class Chatwork < ::OmniAuth::Strategies::OAuth2
|
7
|
-
DEFAULT_SCOPE = "rooms.all:read_write"
|
7
|
+
DEFAULT_SCOPE = "rooms.all:read_write users.profile.me:read"
|
8
8
|
|
9
9
|
option :client_options, {
|
10
10
|
site: "https://api.chatwork.com/v2",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-chatwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|