omniauth-chatwork 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0777c14710c5739f66724f4951a7d82305fd465
4
- data.tar.gz: a48d2807624063370c986420647b4c25fa4bb1f9
3
+ metadata.gz: bd3b42359827027b0b588801f1c70c179b4dcd27
4
+ data.tar.gz: 4c34ff62f7035e52c798d44a87b5b77589652014
5
5
  SHA512:
6
- metadata.gz: c754a416ea357c635698603990b55d18a9118b0dd0fe540456c505f56d761577b38fe8a2efa92dcefab6cbecd40e835954b380d5c33a19337e731d579b1f5a64
7
- data.tar.gz: 5e83c8ad545f17368a0520cb5333c0b9ec358797055b09005918927e47a00024eb675564f8843e6313954abdf8c974dc666f8fc7c9256c3c0b5679150633c617
6
+ metadata.gz: 6a3563901a23344d105d21bcad54723d674846461a67820476fc02da16593d02875a85e13da6f38e7c4b081e026532011e31f1b3b46004a941d15c26a6ab3130
7
+ data.tar.gz: e47a9674bc1dbe76226e6bcaf1378d425fc5ae2ebb69f110789f4f19eed8c5e36b15c6074321441b88b84662a36f55fcfad85d0fef0493d222ea07a85853f8b6
@@ -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: gem install bundler -v 1.16.0
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
@@ -1,5 +1,11 @@
1
1
  ## Unreleased
2
- [full changelog](https://github.com/sue445/omniauth-chatwork/compare/v0.1.0...master)
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
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Chatwork
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -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.0
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: 2017-11-15 00:00:00.000000000 Z
11
+ date: 2018-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2