omniauth-ely 0.2.0 → 0.2.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
- SHA1:
3
- metadata.gz: 88664606685defcfe4482e68a7b659f7364f3db2
4
- data.tar.gz: d5654ef1e7c9670210decfe53098ca3b540f2b49
2
+ SHA256:
3
+ metadata.gz: bef96bfa999ae1d0730f067768ddaf4966235cbaf3543a17288dce99137263a3
4
+ data.tar.gz: 18beb6bd7d2cc62ebd1359051b675b86875abdba704065ccd0052cfca67c4d5d
5
5
  SHA512:
6
- metadata.gz: f88f5fed71477fb067c6b797c1959dbf04eadec657cb74c40d6b2fe05c5728d5bc70a353a109fe04a7d33df777f5ce24f3d926381005997be3632d749ad7df77
7
- data.tar.gz: 41ae7ff5f6ecf635711d39f79fb4b05e63133d310d7af460617e89534d184a8aa223b908d2fe42c1c595b4f2f7df7e50bb40a5ac9897e146b12e72a6edc233c8
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.0)
5
- omniauth (~> 1.0)
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.2)
12
- public_suffix (>= 2.0.2, < 4.0)
13
- coderay (1.1.2)
14
- crack (0.4.3)
15
- safe_yaml (~> 1.0.0)
16
- diff-lcs (1.3)
17
- docile (1.1.5)
18
- faraday (0.12.2)
19
- multipart-post (>= 1.2, < 3)
20
- ffi (1.9.18)
21
- formatador (0.2.5)
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.14.1)
27
+ guard (2.18.1)
24
28
  formatador (>= 0.2.4)
25
29
  listen (>= 2.7, < 4.0)
26
- lumberjack (~> 1.0)
30
+ lumberjack (>= 1.0.12, < 2.0)
27
31
  nenv (~> 0.1)
28
32
  notiffany (~> 0.0)
29
- pry (>= 0.9.12)
33
+ pry (>= 0.13.0)
30
34
  shellany (~> 0.0)
31
35
  thor (>= 0.18.1)
32
- guard-bundler (2.1.0)
33
- bundler (~> 1.0)
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.3.7)
42
- hashie (3.5.6)
43
- json (2.1.0)
44
- jwt (1.5.6)
45
- listen (3.1.5)
46
- rb-fsevent (~> 0.9, >= 0.9.4)
47
- rb-inotify (~> 0.9, >= 0.9.7)
48
- ruby_dep (~> 1.2)
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.1)
55
+ notiffany (0.1.3)
56
56
  nenv (~> 0.1)
57
57
  shellany (~> 0.0)
58
- oauth2 (1.4.0)
59
- faraday (>= 0.8, < 0.13)
60
- jwt (~> 1.0)
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, < 3)
64
- omniauth (1.7.1)
65
- hashie (>= 3.4.6, < 3.6.0)
66
- rack (>= 1.6.2, < 3)
67
- omniauth-oauth2 (1.4.0)
68
- oauth2 (~> 1.0)
69
- omniauth (~> 1.2)
70
- pry (0.11.2)
71
- coderay (~> 1.1.0)
72
- method_source (~> 0.9.0)
73
- public_suffix (3.0.0)
74
- rack (2.0.3)
75
- rack-test (0.7.0)
76
- rack (>= 1.0, < 3)
77
- rb-fsevent (0.10.2)
78
- rb-inotify (0.9.10)
79
- ffi (>= 0.5.0, < 2)
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
- ruby_dep (1.5.0)
89
- safe_yaml (1.0.4)
93
+ ruby2_keywords (0.0.5)
90
94
  shellany (0.0.1)
91
- simplecov (0.15.1)
92
- docile (~> 1.1.0)
93
- json (>= 1.8, < 3)
94
- simplecov-html (~> 0.10.0)
95
- simplecov-html (0.10.2)
96
- thor (0.20.0)
97
- webmock (3.1.0)
98
- addressable (>= 2.3.6)
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
- ruby
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
- 1.16.0
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
 
@@ -40,7 +40,7 @@ module OmniAuth
40
40
  end
41
41
 
42
42
  def profile_url
43
- 'http://ely.by/u' + raw_info['id'].to_s
43
+ 'https://ely.by/u' + raw_info['id'].to_s
44
44
  end
45
45
 
46
46
  def callback_url
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Ely
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
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', '~> 1.0'
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('http://ely.by/u1')
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.0
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: 2017-11-03 00:00:00.000000000 Z
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
- rubyforge_project:
146
- rubygems_version: 2.6.14
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: