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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad3790563d52ec2096955f357da2811a78b40027
4
- data.tar.gz: 67a78703d9f568ee2eb566415dcda42f1b2dbcbe
3
+ metadata.gz: ae757957f1f5fa394c3e50c00878dbef38ead011
4
+ data.tar.gz: db45e799105de584c46598aa6b3697e1ef0832d5
5
5
  SHA512:
6
- metadata.gz: b6cd042a68e0c71c8b40804506a4bd9aa811c716823ecd7b4697840ce946493fc9624c6f25081b2a76eec73345483a3cc42b03a27f3b9d5809b8cea97e2b6b97
7
- data.tar.gz: 5904fdc85ad53613bf93778e17a4f20553a67a0ead5e437165655de57b113a91330bf83bb1704ea58474e4d0be73d680358fac09e37c7310ec187bc22d788512
6
+ metadata.gz: 48302016e4b40177451d5180d538e945fbe74f019dcf8806bf1fe5235228ab7d5a4ee258c775ef56453a487d66da6ae3f7d109dffdebca0254f4903b70229dbb
7
+ data.tar.gz: a512cd732bbb37844436529b752c2bcc43cb8c6c18f9ba16129a9a107ebdbf3e41901e9e9d0e36a7768ed2eb3a98356302a3439868cb85a0ee8696c463915e85
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.3.4
data/CHANGELOG.md CHANGED
@@ -1,20 +1,19 @@
1
- ## v1.0.0.pre.2 (2017-07-25)
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.pre.2
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', :auth_controller do
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
@@ -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.0.pre.1'
26
- spec.add_dependency 'g5_authenticatable_api', '1.0.0.pre.1'
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'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module G5Authenticatable
4
- VERSION = '1.0.0-4'
4
+ VERSION = '1.0.0'
5
5
  end
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.pre.4
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-09-14 00:00:00.000000000 Z
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.0.pre.1
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.0.pre.1
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.0.pre.1
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.0.pre.1
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: 1.3.1
305
+ version: '0'
306
306
  requirements: []
307
307
  rubyforge_project:
308
- rubygems_version: 2.6.11
308
+ rubygems_version: 2.5.2
309
309
  signing_key:
310
310
  specification_version: 4
311
311
  summary: An authentication engine for G5 applications.