sorcery 0.16.0 → 0.16.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 +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.github/workflows/ruby.yml +42 -16
- data/.rubocop_todo.yml +9 -1
- data/CHANGELOG.md +9 -0
- data/README.md +0 -1
- data/Rakefile +3 -1
- data/SECURITY.md +5 -4
- data/lib/generators/sorcery/helpers.rb +1 -1
- data/lib/sorcery/controller/submodules/external.rb +0 -3
- data/lib/sorcery/version.rb +1 -1
- data/sorcery.gemspec +1 -1
- metadata +8 -8
- data/.travis.yml +0 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f0614713fb5b564c7273b8f08b71547414613303b574156932f415dee83286e
|
|
4
|
+
data.tar.gz: aa2b3081950f5c5f4615dbb21f535fa90ade9a600b29a9d41e3449bdd8551c58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 781c5dd4d01ab49353464f4e8eb1f1990351f75e1acf307ef9fb83892e4304fd5a5876afa4b8091e4f4edad6661e1f6a4b6b226eb8cb1b290d0712e30826414b
|
|
7
|
+
data.tar.gz: 347e36c6b09f16eaa1028e8ae02eca140763d07c9981a74b867997994e32a968dcde6016b4b8aab61738ee5eaf463989775ae1c1d257bc561e20ec30ac7e4068
|
data/.github/FUNDING.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: athix
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -1,23 +1,49 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Test Suite
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
branches: [ master ]
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: [ master ]
|
|
3
|
+
# Run against all commits and pull requests.
|
|
4
|
+
on: [ push, pull_request ]
|
|
8
5
|
|
|
9
6
|
jobs:
|
|
10
|
-
|
|
7
|
+
test_matrix:
|
|
11
8
|
|
|
12
9
|
runs-on: ubuntu-latest
|
|
13
10
|
|
|
11
|
+
strategy:
|
|
12
|
+
fail-fast: false
|
|
13
|
+
matrix:
|
|
14
|
+
ruby:
|
|
15
|
+
- 2.4
|
|
16
|
+
- 2.5
|
|
17
|
+
- 2.6
|
|
18
|
+
- 2.7
|
|
19
|
+
- 3.0
|
|
20
|
+
|
|
21
|
+
rails:
|
|
22
|
+
- '52'
|
|
23
|
+
- '60'
|
|
24
|
+
|
|
25
|
+
exclude:
|
|
26
|
+
- ruby: 2.4
|
|
27
|
+
rails: '60'
|
|
28
|
+
- ruby: 3.0
|
|
29
|
+
rails: '52'
|
|
30
|
+
|
|
31
|
+
env:
|
|
32
|
+
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile
|
|
33
|
+
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/checkout@v2
|
|
36
|
+
- name: Set up Ruby
|
|
37
|
+
uses: ruby/setup-ruby@v1
|
|
38
|
+
with:
|
|
39
|
+
ruby-version: ${{ matrix.ruby }}
|
|
40
|
+
bundler-cache: true
|
|
41
|
+
- name: Run tests
|
|
42
|
+
run: bundle exec rake spec
|
|
43
|
+
|
|
44
|
+
finish:
|
|
45
|
+
runs-on: ubuntu-latest
|
|
46
|
+
needs: [ test_matrix ]
|
|
14
47
|
steps:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
uses: ruby/setup-ruby@v1
|
|
18
|
-
with:
|
|
19
|
-
ruby-version: 2.6
|
|
20
|
-
- name: Install dependencies
|
|
21
|
-
run: bundle install
|
|
22
|
-
- name: Run tests
|
|
23
|
-
run: bundle exec rake
|
|
48
|
+
- name: Wait for status checks
|
|
49
|
+
run: echo "All Green!"
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2021-
|
|
3
|
+
# on 2021-04-04 05:00:11 UTC using RuboCop version 0.88.0.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
@@ -147,6 +147,14 @@ Style/StringLiterals:
|
|
|
147
147
|
- 'spec/controllers/controller_oauth2_spec.rb'
|
|
148
148
|
- 'spec/sorcery_crypto_providers_spec.rb'
|
|
149
149
|
|
|
150
|
+
# Offense count: 1
|
|
151
|
+
# Cop supports --auto-correct.
|
|
152
|
+
# Configuration parameters: EnforcedStyle, MinSize.
|
|
153
|
+
# SupportedStyles: percent, brackets
|
|
154
|
+
Style/SymbolArray:
|
|
155
|
+
Exclude:
|
|
156
|
+
- 'Rakefile'
|
|
157
|
+
|
|
150
158
|
# Offense count: 2
|
|
151
159
|
# Cop supports --auto-correct.
|
|
152
160
|
Style/UnpackFirst:
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
## HEAD
|
|
3
3
|
|
|
4
|
+
## 0.16.1
|
|
5
|
+
|
|
6
|
+
* Fix default table name being incorrect in migration generator [#274](https://github.com/Sorcery/sorcery/pull/274)
|
|
7
|
+
* Update `oauth` dependency per CVE-2016-11086
|
|
8
|
+
|
|
4
9
|
## 0.16.0
|
|
5
10
|
|
|
6
11
|
* Add BattleNet Provider [#260](https://github.com/Sorcery/sorcery/pull/260)
|
|
@@ -11,6 +16,10 @@
|
|
|
11
16
|
* Fix ruby 2.7 deprecation warnings [#241](https://github.com/Sorcery/sorcery/pull/241)
|
|
12
17
|
* Use set to ensure unique arrays [#233](https://github.com/Sorcery/sorcery/pull/233)
|
|
13
18
|
|
|
19
|
+
## 0.15.1
|
|
20
|
+
|
|
21
|
+
* Update `oauth` dependency per CVE-2016-11086
|
|
22
|
+
|
|
14
23
|
## 0.15.0
|
|
15
24
|
|
|
16
25
|
* Fix brute force vuln due to callbacks no being ran [#235](https://github.com/Sorcery/sorcery/pull/235)
|
data/README.md
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
[](https://rubygems.org/gems/sorcery)
|
|
5
5
|
[](https://travis-ci.org/Sorcery/sorcery)
|
|
6
6
|
[](https://codeclimate.com/github/Sorcery/sorcery)
|
|
7
|
-
[](http://inch-ci.org/github/Sorcery/sorcery)
|
|
8
7
|
[](https://gitter.im/Sorcery/sorcery?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
9
8
|
|
|
10
9
|
Magical Authentication for Rails. Supports ActiveRecord, DataMapper, Mongoid and MongoMapper.
|
data/Rakefile
CHANGED
data/SECURITY.md
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Supported Versions
|
|
4
4
|
|
|
5
|
-
| Version
|
|
6
|
-
|
|
|
7
|
-
| 0.
|
|
8
|
-
|
|
|
5
|
+
| Version | Supported |
|
|
6
|
+
| --------- | ------------------ |
|
|
7
|
+
| ~> 0.16.0 | :white_check_mark: |
|
|
8
|
+
| ~> 0.15.0 | :white_check_mark: |
|
|
9
|
+
| < 0.15.0 | :x: |
|
|
9
10
|
|
|
10
11
|
## Reporting a Vulnerability
|
|
11
12
|
|
data/lib/sorcery/version.rb
CHANGED
data/sorcery.gemspec
CHANGED
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
|
|
|
34
34
|
s.required_ruby_version = '>= 2.4.9'
|
|
35
35
|
|
|
36
36
|
s.add_dependency 'bcrypt', '~> 3.1'
|
|
37
|
-
s.add_dependency 'oauth', '~> 0.
|
|
37
|
+
s.add_dependency 'oauth', '~> 0.5', '>= 0.5.5'
|
|
38
38
|
s.add_dependency 'oauth2', '~> 1.0', '>= 0.8.0'
|
|
39
39
|
|
|
40
40
|
s.add_development_dependency 'byebug', '~> 10.0.0'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sorcery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.16.
|
|
4
|
+
version: 0.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Noam Ben Ari
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2021-
|
|
15
|
+
date: 2021-04-30 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: bcrypt
|
|
@@ -34,20 +34,20 @@ dependencies:
|
|
|
34
34
|
requirements:
|
|
35
35
|
- - "~>"
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
|
-
version: '0.
|
|
37
|
+
version: '0.5'
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.
|
|
40
|
+
version: 0.5.5
|
|
41
41
|
type: :runtime
|
|
42
42
|
prerelease: false
|
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0.
|
|
47
|
+
version: '0.5'
|
|
48
48
|
- - ">="
|
|
49
49
|
- !ruby/object:Gem::Version
|
|
50
|
-
version: 0.
|
|
50
|
+
version: 0.5.5
|
|
51
51
|
- !ruby/object:Gem::Dependency
|
|
52
52
|
name: oauth2
|
|
53
53
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -195,6 +195,7 @@ extensions: []
|
|
|
195
195
|
extra_rdoc_files: []
|
|
196
196
|
files:
|
|
197
197
|
- ".document"
|
|
198
|
+
- ".github/FUNDING.yml"
|
|
198
199
|
- ".github/ISSUE_TEMPLATE.md"
|
|
199
200
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
200
201
|
- ".github/workflows/ruby.yml"
|
|
@@ -202,7 +203,6 @@ files:
|
|
|
202
203
|
- ".rspec"
|
|
203
204
|
- ".rubocop.yml"
|
|
204
205
|
- ".rubocop_todo.yml"
|
|
205
|
-
- ".travis.yml"
|
|
206
206
|
- CHANGELOG.md
|
|
207
207
|
- CODE_OF_CONDUCT.md
|
|
208
208
|
- Gemfile
|
|
@@ -386,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
386
386
|
- !ruby/object:Gem::Version
|
|
387
387
|
version: '0'
|
|
388
388
|
requirements: []
|
|
389
|
-
rubygems_version: 3.1.
|
|
389
|
+
rubygems_version: 3.1.4
|
|
390
390
|
signing_key:
|
|
391
391
|
specification_version: 4
|
|
392
392
|
summary: Magical authentication for Rails applications
|
data/.travis.yml
DELETED