omniauth-ely 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +74 -65
- data/README.md +1 -1
- data/lib/omniauth/strategies/ely.rb +1 -1
- data/lib/omniauth-ely/version.rb +1 -1
- data/omniauth-ely.gemspec +1 -1
- data/spec/omniauth/strategies/ely_spec.rb +1 -1
- metadata +14 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bef96bfa999ae1d0730f067768ddaf4966235cbaf3543a17288dce99137263a3
|
4
|
+
data.tar.gz: 18beb6bd7d2cc62ebd1359051b675b86875abdba704065ccd0052cfca67c4d5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5b061d97be5d02d2cb005ee4e9c82e174c156311f6e0ada72d80ac772cb4d86fb0ec46ab6a58452788ac799188699149304c9373a739062c7e9479581ea0ff3
|
7
|
+
data.tar.gz: 615ad5f484e69bb6d554ecc75438ed9a1ac8a6d0ed7228029e7c4dca6e62508b4281a2c95d943198d82f12e2b5df8343b47468379099a766ff66c66aec6042ad
|
data/Gemfile.lock
CHANGED
@@ -1,36 +1,40 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-ely (0.1
|
5
|
-
omniauth (
|
4
|
+
omniauth-ely (0.2.1)
|
5
|
+
omniauth (>= 1.0, < 3.0)
|
6
6
|
omniauth-oauth2 (>= 1.1.1, < 2.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
addressable (2.5
|
12
|
-
public_suffix (>= 2.0.2, <
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
11
|
+
addressable (2.8.5)
|
12
|
+
public_suffix (>= 2.0.2, < 6.0)
|
13
|
+
base64 (0.1.1)
|
14
|
+
coderay (1.1.3)
|
15
|
+
crack (0.4.5)
|
16
|
+
rexml
|
17
|
+
diff-lcs (1.5.0)
|
18
|
+
docile (1.4.0)
|
19
|
+
faraday (2.7.11)
|
20
|
+
base64
|
21
|
+
faraday-net_http (>= 2.0, < 3.1)
|
22
|
+
ruby2_keywords (>= 0.0.4)
|
23
|
+
faraday-net_http (3.0.2)
|
24
|
+
ffi (1.16.3)
|
25
|
+
formatador (1.1.0)
|
22
26
|
growl (1.0.3)
|
23
|
-
guard (2.
|
27
|
+
guard (2.18.1)
|
24
28
|
formatador (>= 0.2.4)
|
25
29
|
listen (>= 2.7, < 4.0)
|
26
|
-
lumberjack (
|
30
|
+
lumberjack (>= 1.0.12, < 2.0)
|
27
31
|
nenv (~> 0.1)
|
28
32
|
notiffany (~> 0.0)
|
29
|
-
pry (>= 0.
|
33
|
+
pry (>= 0.13.0)
|
30
34
|
shellany (~> 0.0)
|
31
35
|
thor (>= 0.18.1)
|
32
|
-
guard-bundler (
|
33
|
-
bundler (
|
36
|
+
guard-bundler (3.0.1)
|
37
|
+
bundler (>= 2.1, < 3)
|
34
38
|
guard (~> 2.2)
|
35
39
|
guard-compat (~> 1.1)
|
36
40
|
guard-compat (1.2.1)
|
@@ -38,45 +42,46 @@ GEM
|
|
38
42
|
guard (~> 2.1)
|
39
43
|
guard-compat (~> 1.1)
|
40
44
|
rspec (>= 2.99.0, < 4.0)
|
41
|
-
hashdiff (0.
|
42
|
-
hashie (
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
rb-
|
47
|
-
|
48
|
-
|
49
|
-
lumberjack (1.0.12)
|
50
|
-
method_source (0.9.0)
|
51
|
-
multi_json (1.12.2)
|
45
|
+
hashdiff (1.0.1)
|
46
|
+
hashie (5.0.0)
|
47
|
+
jwt (2.7.1)
|
48
|
+
listen (3.8.0)
|
49
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
50
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
51
|
+
lumberjack (1.2.9)
|
52
|
+
method_source (1.0.0)
|
52
53
|
multi_xml (0.6.0)
|
53
|
-
multipart-post (2.0.0)
|
54
54
|
nenv (0.3.0)
|
55
|
-
notiffany (0.1.
|
55
|
+
notiffany (0.1.3)
|
56
56
|
nenv (~> 0.1)
|
57
57
|
shellany (~> 0.0)
|
58
|
-
oauth2 (
|
59
|
-
faraday (>= 0.
|
60
|
-
jwt (
|
61
|
-
multi_json (~> 1.3)
|
58
|
+
oauth2 (2.0.9)
|
59
|
+
faraday (>= 0.17.3, < 3.0)
|
60
|
+
jwt (>= 1.0, < 3.0)
|
62
61
|
multi_xml (~> 0.5)
|
63
|
-
rack (>= 1.2, <
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
62
|
+
rack (>= 1.2, < 4)
|
63
|
+
snaky_hash (~> 2.0)
|
64
|
+
version_gem (~> 1.1)
|
65
|
+
omniauth (2.1.1)
|
66
|
+
hashie (>= 3.4.6)
|
67
|
+
rack (>= 2.2.3)
|
68
|
+
rack-protection
|
69
|
+
omniauth-oauth2 (1.8.0)
|
70
|
+
oauth2 (>= 1.4, < 3)
|
71
|
+
omniauth (~> 2.0)
|
72
|
+
pry (0.14.2)
|
73
|
+
coderay (~> 1.1)
|
74
|
+
method_source (~> 1.0)
|
75
|
+
public_suffix (5.0.3)
|
76
|
+
rack (3.0.8)
|
77
|
+
rack-protection (3.0.6)
|
78
|
+
rack
|
79
|
+
rack-test (2.1.0)
|
80
|
+
rack (>= 1.3)
|
81
|
+
rb-fsevent (0.11.2)
|
82
|
+
rb-inotify (0.10.1)
|
83
|
+
ffi (~> 1.0)
|
84
|
+
rexml (3.2.6)
|
80
85
|
rspec (2.99.0)
|
81
86
|
rspec-core (~> 2.99.0)
|
82
87
|
rspec-expectations (~> 2.99.0)
|
@@ -85,22 +90,26 @@ GEM
|
|
85
90
|
rspec-expectations (2.99.2)
|
86
91
|
diff-lcs (>= 1.1.3, < 2.0)
|
87
92
|
rspec-mocks (2.99.4)
|
88
|
-
|
89
|
-
safe_yaml (1.0.4)
|
93
|
+
ruby2_keywords (0.0.5)
|
90
94
|
shellany (0.0.1)
|
91
|
-
simplecov (0.
|
92
|
-
docile (~> 1.1
|
93
|
-
|
94
|
-
|
95
|
-
simplecov-html (0.
|
96
|
-
|
97
|
-
|
98
|
-
|
95
|
+
simplecov (0.22.0)
|
96
|
+
docile (~> 1.1)
|
97
|
+
simplecov-html (~> 0.11)
|
98
|
+
simplecov_json_formatter (~> 0.1)
|
99
|
+
simplecov-html (0.12.3)
|
100
|
+
simplecov_json_formatter (0.1.4)
|
101
|
+
snaky_hash (2.0.1)
|
102
|
+
hashie
|
103
|
+
version_gem (~> 1.1, >= 1.1.1)
|
104
|
+
thor (1.3.0)
|
105
|
+
version_gem (1.1.3)
|
106
|
+
webmock (3.19.1)
|
107
|
+
addressable (>= 2.8.0)
|
99
108
|
crack (>= 0.3.2)
|
100
|
-
hashdiff
|
109
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
101
110
|
|
102
111
|
PLATFORMS
|
103
|
-
|
112
|
+
x86_64-linux
|
104
113
|
|
105
114
|
DEPENDENCIES
|
106
115
|
growl
|
@@ -115,4 +124,4 @@ DEPENDENCIES
|
|
115
124
|
webmock
|
116
125
|
|
117
126
|
BUNDLED WITH
|
118
|
-
|
127
|
+
2.4.20
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
This is the official OmniAuth strategy for authenticating to Ely.by. To
|
4
4
|
use it, you'll need to sign up for an OAuth2 Application ID and Secret
|
5
|
-
on the [Ely.by Account Applications Page](
|
5
|
+
on the [Ely.by Account Applications Page](https://account.ely.by/dev/applications).
|
6
6
|
|
7
7
|
## Usage
|
8
8
|
|
data/lib/omniauth-ely/version.rb
CHANGED
data/omniauth-ely.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.description = %q{Official OmniAuth strategy for Ely.by.}
|
13
13
|
gem.summary = %q{Official OmniAuth strategy for Ely.by.}
|
14
14
|
|
15
|
-
gem.add_dependency 'omniauth', '
|
15
|
+
gem.add_dependency 'omniauth', '>= 1.0', '< 3.0'
|
16
16
|
gem.add_dependency 'omniauth-oauth2', '>= 1.1.1', '< 2.0'
|
17
17
|
gem.add_development_dependency 'rspec', '~> 2.7'
|
18
18
|
gem.add_development_dependency 'rack-test'
|
@@ -37,7 +37,7 @@ describe OmniAuth::Strategies::Ely do
|
|
37
37
|
raw_info = Hash.new
|
38
38
|
raw_info['id'] = 1
|
39
39
|
allow(subject).to receive(:raw_info).and_return(raw_info)
|
40
|
-
expect(subject.profile_url).to eq('
|
40
|
+
expect(subject.profile_url).to eq('https://ely.by/u1')
|
41
41
|
end
|
42
42
|
|
43
43
|
it 'should build valid skin link' do
|
metadata
CHANGED
@@ -1,30 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-ely
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ely.by team
|
8
8
|
- ErickSkrauch
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.0'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '3.0'
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- - "
|
28
|
+
- - ">="
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: '1.0'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.0'
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: omniauth-oauth2
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,7 +133,7 @@ homepage: https://github.com/elyby/omniauth-ely
|
|
127
133
|
licenses:
|
128
134
|
- MIT
|
129
135
|
metadata: {}
|
130
|
-
post_install_message:
|
136
|
+
post_install_message:
|
131
137
|
rdoc_options: []
|
132
138
|
require_paths:
|
133
139
|
- lib
|
@@ -142,9 +148,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
148
|
- !ruby/object:Gem::Version
|
143
149
|
version: '0'
|
144
150
|
requirements: []
|
145
|
-
|
146
|
-
|
147
|
-
signing_key:
|
151
|
+
rubygems_version: 3.3.25
|
152
|
+
signing_key:
|
148
153
|
specification_version: 4
|
149
154
|
summary: Official OmniAuth strategy for Ely.by.
|
150
155
|
test_files:
|