omniauth-cybozu 0.1.2 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gem-push.yml +1 -0
- data/.rubocop.yml +11 -9
- data/CHANGELOG.md +26 -2
- data/README.md +1 -1
- data/Rakefile +5 -3
- data/bin/console +4 -11
- data/bin/setup +0 -2
- data/lib/omniauth-cybozu/version.rb +2 -2
- data/lib/omniauth/strategies/cybozu.rb +4 -2
- data/omniauth-cybozu.gemspec +9 -7
- metadata +40 -27
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2414dfcc4e4ff7651add420919e0b1191624cbaeac61c03eb116055c67c1a1d
|
4
|
+
data.tar.gz: 800575e0b5d4e65eeeea3fefc93138e0b4b77d5d6aad8b8a6c9ba60a466e28e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af73009765fa08f6c5bb57a87c223a0f2751eb205a12a71a5cf3599820329191470deb1aa12433cddacf74969d916d3bc43ec3937940aadd302b5a5bd7837edd
|
7
|
+
data.tar.gz: 8bab6cb03556c86e7c75746fddeac3126f41d11e19dfc30ee7c4e6c00fa88fba863339c80b7f715d442de6b7554447f9f4340d8e16f2d573548e5f19b2b3e3c7
|
data/.rubocop.yml
CHANGED
@@ -23,12 +23,11 @@ Metrics/BlockNesting:
|
|
23
23
|
Max: 2
|
24
24
|
|
25
25
|
Layout/LineLength:
|
26
|
-
|
27
|
-
Enabled: false
|
26
|
+
Max: 120
|
28
27
|
|
29
28
|
Metrics/MethodLength:
|
30
29
|
CountComments: false
|
31
|
-
Max:
|
30
|
+
Max: 20
|
32
31
|
|
33
32
|
Metrics/ParameterLists:
|
34
33
|
Max: 4
|
@@ -39,10 +38,10 @@ Metrics/AbcSize:
|
|
39
38
|
|
40
39
|
Style/CollectionMethods:
|
41
40
|
PreferredMethods:
|
42
|
-
map:
|
43
|
-
reduce:
|
44
|
-
find:
|
45
|
-
find_all:
|
41
|
+
map: "collect"
|
42
|
+
reduce: "inject"
|
43
|
+
find: "detect"
|
44
|
+
find_all: "select"
|
46
45
|
|
47
46
|
Style/Documentation:
|
48
47
|
Enabled: false
|
@@ -60,10 +59,13 @@ Style/ExpandPathArguments:
|
|
60
59
|
Enabled: false
|
61
60
|
|
62
61
|
Style/HashSyntax:
|
63
|
-
EnforcedStyle:
|
62
|
+
EnforcedStyle: ruby19
|
64
63
|
|
65
64
|
Style/Lambda:
|
66
65
|
Enabled: false
|
67
66
|
|
68
67
|
Style/RaiseArgs:
|
69
|
-
EnforcedStyle: compact
|
68
|
+
EnforcedStyle: compact
|
69
|
+
|
70
|
+
Style/AsciiComments:
|
71
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,32 @@
|
|
1
|
-
#
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## 0.3.0
|
4
|
+
|
5
|
+
- be specified dependency on omniauth 1.9.
|
6
|
+
|
7
|
+
## 0.2.1
|
8
|
+
|
9
|
+
- fix rubocop warnings.
|
10
|
+
|
11
|
+
## 0.2.0
|
12
|
+
|
13
|
+
- refs #7 fix dependencies.
|
14
|
+
|
15
|
+
## 0.1.4
|
16
|
+
|
17
|
+
- rename module 'Omniauth' to 'OmniAuth'.
|
18
|
+
- make callback_url method private method.
|
19
|
+
- update gem-push GitHub Actions settings in order to ignore error for same version.
|
20
|
+
|
21
|
+
## 0.1.3
|
22
|
+
|
23
|
+
- update README.
|
24
|
+
|
25
|
+
## 0.1.2
|
2
26
|
|
3
27
|
- refs #1 setup GitHub Actions for rspec and pushing to RubyGems.
|
4
28
|
- measure code coverage.
|
5
29
|
|
6
|
-
|
30
|
+
## 0.1.1
|
7
31
|
|
8
32
|
- Initial release
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OmniAuth::Cybozu
|
2
2
|
|
3
3
|
[![Test](https://github.com/koshilife/omniauth-cybozu/workflows/Test/badge.svg)](https://github.com/koshilife/omniauth-cybozu/actions?query=workflow%3ATest)
|
4
4
|
[![codecov](https://codecov.io/gh/koshilife/omniauth-cybozu/branch/master/graph/badge.svg)](https://codecov.io/gh/koshilife/omniauth-cybozu)
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,14 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
require
|
4
|
-
require
|
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"
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'omniauth-cybozu'
|
6
|
+
require 'irb'
|
14
7
|
IRB.start(__FILE__)
|
data/bin/setup
CHANGED
@@ -9,8 +9,10 @@ module OmniAuth
|
|
9
9
|
|
10
10
|
option :skip_info, true
|
11
11
|
|
12
|
-
option :client_options, :
|
13
|
-
:
|
12
|
+
option :client_options, authorize_url: '/oauth2/authorization',
|
13
|
+
token_url: '/oauth2/token'
|
14
|
+
|
15
|
+
private
|
14
16
|
|
15
17
|
def callback_url
|
16
18
|
full_host + script_name + callback_path
|
data/omniauth-cybozu.gemspec
CHANGED
@@ -4,7 +4,7 @@ require_relative 'lib/omniauth-cybozu/version'
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'omniauth-cybozu'
|
7
|
-
spec.version =
|
7
|
+
spec.version = OmniAuth::Cybozu::VERSION
|
8
8
|
spec.authors = ['Kenji Koshikawa']
|
9
9
|
spec.email = ['koshikawa2009@gmail.com']
|
10
10
|
|
@@ -28,10 +28,12 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ['lib']
|
30
30
|
|
31
|
-
spec.add_runtime_dependency 'omniauth
|
32
|
-
spec.
|
33
|
-
|
34
|
-
spec.add_development_dependency '
|
35
|
-
spec.add_development_dependency '
|
36
|
-
spec.add_development_dependency '
|
31
|
+
spec.add_runtime_dependency 'omniauth', '~> 1.9'
|
32
|
+
spec.add_runtime_dependency 'omniauth-oauth2', '>= 1.6.0'
|
33
|
+
|
34
|
+
spec.add_development_dependency 'bundler'
|
35
|
+
spec.add_development_dependency 'codecov'
|
36
|
+
spec.add_development_dependency 'rake'
|
37
|
+
spec.add_development_dependency 'rspec'
|
38
|
+
spec.add_development_dependency 'simplecov'
|
37
39
|
end
|
metadata
CHANGED
@@ -1,99 +1,113 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-cybozu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenji Koshikawa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: omniauth
|
14
|
+
name: omniauth
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.9'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: omniauth-oauth2
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.6.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: 1.6.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - "
|
45
|
+
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
47
|
+
version: '0'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - "
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: codecov
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - "
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0
|
61
|
+
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - "
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rake
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- - "
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
75
|
+
version: '0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- - "
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rspec
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - "
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
89
|
+
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: simplecov
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- - "
|
101
|
+
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0
|
103
|
+
version: '0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- - "
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0
|
110
|
+
version: '0'
|
97
111
|
description: ''
|
98
112
|
email:
|
99
113
|
- koshikawa2009@gmail.com
|
@@ -106,7 +120,6 @@ files:
|
|
106
120
|
- ".gitignore"
|
107
121
|
- ".rspec"
|
108
122
|
- ".rubocop.yml"
|
109
|
-
- ".travis.yml"
|
110
123
|
- CHANGELOG.md
|
111
124
|
- CODE_OF_CONDUCT.md
|
112
125
|
- Gemfile
|
@@ -126,7 +139,7 @@ metadata:
|
|
126
139
|
homepage_uri: https://github.com/koshilife/omniauth-cybozu
|
127
140
|
source_code_uri: https://github.com/koshilife/omniauth-cybozu
|
128
141
|
changelog_uri: https://github.com/koshilife/omniauth-cybozu/blob/master/CHANGELOG.md
|
129
|
-
documentation_uri: https://www.rubydoc.info/gems/omniauth-cybozu/0.1
|
142
|
+
documentation_uri: https://www.rubydoc.info/gems/omniauth-cybozu/0.3.1
|
130
143
|
post_install_message:
|
131
144
|
rdoc_options: []
|
132
145
|
require_paths:
|
@@ -142,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
155
|
- !ruby/object:Gem::Version
|
143
156
|
version: '0'
|
144
157
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
158
|
+
rubygems_version: 3.1.4
|
146
159
|
signing_key:
|
147
160
|
specification_version: 4
|
148
161
|
summary: OmniAuth strategy for cybozu(Kintone and Garoon)
|