g5_authenticatable 1.0.0.pre.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +6 -7
- data/README.md +3 -3
- data/g5_authenticatable.gemspec +2 -2
- data/lib/g5_authenticatable/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae757957f1f5fa394c3e50c00878dbef38ead011
|
4
|
+
data.tar.gz: db45e799105de584c46598aa6b3697e1ef0832d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48302016e4b40177451d5180d538e945fbe74f019dcf8806bf1fe5235228ab7d5a4ee258c775ef56453a487d66da6ae3f7d109dffdebca0254f4903b70229dbb
|
7
|
+
data.tar.gz: a512cd732bbb37844436529b752c2bcc43cb8c6c18f9ba16129a9a107ebdbf3e41901e9e9d0e36a7768ed2eb3a98356302a3439868cb85a0ee8696c463915e85
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4
|
1
|
+
2.3.4
|
data/CHANGELOG.md
CHANGED
@@ -1,20 +1,19 @@
|
|
1
|
-
## v1.0.0
|
2
|
-
|
3
|
-
* Extend session timeout to 12 hours for client applications
|
4
|
-
|
5
|
-
## v1.0.0.pre.1 (2017-07-13)
|
1
|
+
## v1.0.0 (2017-10-19)
|
6
2
|
|
7
3
|
* **Backwards incompatible changes**
|
8
4
|
* Dropped support for rails < 4.1
|
9
5
|
* The `:g5_authenticatable_user` factory no longer assigns a default role to
|
10
6
|
the user. If you specifically need a user with a global viewer role, use the
|
11
7
|
new `:g5_authenticatable_viewer` factory instead.
|
12
|
-
* Bug fixes
|
13
|
-
* Fixed problem with route generation in devise failure app
|
14
8
|
* Deprecations
|
15
9
|
* The `has_global_role?` method on `G5Authenticatable::BasePolicy` and
|
16
10
|
`G5Authenticatable::BasePolicy::BaseScope` has been deprecated in favor of
|
17
11
|
`global_role?`
|
12
|
+
* Bug fixes
|
13
|
+
* Fixed problem with route generation in devise failure app
|
14
|
+
* Enhancements
|
15
|
+
* Extend session timeout to 12 hours for client applications
|
16
|
+
* Add support for rails 5.x and ruby 2.4
|
18
17
|
|
19
18
|
## v0.9.0 (2016-11-03)
|
20
19
|
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ library in isolation.
|
|
18
18
|
|
19
19
|
## Current Version
|
20
20
|
|
21
|
-
1.0.0
|
21
|
+
1.0.0
|
22
22
|
|
23
23
|
## Requirements
|
24
24
|
|
@@ -622,14 +622,14 @@ Rspec metadata:
|
|
622
622
|
|
623
623
|
```ruby
|
624
624
|
describe 'my secure action' do
|
625
|
-
context 'when the user is authenticated' do
|
625
|
+
context 'when the user is authenticated', :auth_controller do
|
626
626
|
it 'can access some secure path' do
|
627
627
|
get :my_action
|
628
628
|
expect(response). to be_success
|
629
629
|
end
|
630
630
|
end
|
631
631
|
|
632
|
-
context 'when there is no authenticated user'
|
632
|
+
context 'when there is no authenticated user' do
|
633
633
|
it 'cannot access the secure path' do
|
634
634
|
get :my_action
|
635
635
|
expect(reponse).to be_redirect
|
data/g5_authenticatable.gemspec
CHANGED
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.add_dependency 'devise_g5_authenticatable', '1.0
|
26
|
-
spec.add_dependency 'g5_authenticatable_api', '1.0
|
25
|
+
spec.add_dependency 'devise_g5_authenticatable', '~> 1.0'
|
26
|
+
spec.add_dependency 'g5_authenticatable_api', '~> 1.0'
|
27
27
|
spec.add_dependency 'rolify', '~> 5.1.0'
|
28
28
|
spec.add_dependency 'pundit', '~> 1.0'
|
29
29
|
spec.add_dependency 'g5_updatable', '> 0.6.0'
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: g5_authenticatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- maeve
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise_g5_authenticatable
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0
|
19
|
+
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.0
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: g5_authenticatable_api
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0
|
33
|
+
version: '1.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0
|
40
|
+
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rolify
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -300,12 +300,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
300
300
|
version: '0'
|
301
301
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
302
302
|
requirements:
|
303
|
-
- - "
|
303
|
+
- - ">="
|
304
304
|
- !ruby/object:Gem::Version
|
305
|
-
version:
|
305
|
+
version: '0'
|
306
306
|
requirements: []
|
307
307
|
rubyforge_project:
|
308
|
-
rubygems_version: 2.
|
308
|
+
rubygems_version: 2.5.2
|
309
309
|
signing_key:
|
310
310
|
specification_version: 4
|
311
311
|
summary: An authentication engine for G5 applications.
|