tramway-auth 1.1.0.2 → 1.1.0.3

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
2
  SHA256:
3
- metadata.gz: 17e985facc791296ef2dabb8de8ea72f7ede24e1676b86207fcc47537dbfb4d4
4
- data.tar.gz: fed766e1558ac7839ceb43e042dafff2a4fe71ab9f2de3d874e10392032caa80
3
+ metadata.gz: 0d2473a57b2fa14a55ca4b0ebf937c407fffb0a77f36c7873ef0397986fc1d02
4
+ data.tar.gz: 210d77cce88f4f85d4769856c91f1d5306bd030b165a22a23a808bb53c335ceb
5
5
  SHA512:
6
- metadata.gz: 7b18bec956230a0783fb3a8c6104a8a87c2bc1bcdd9dd522af5021095bb9e63f37d38cacda45855faebb647fafc4e57fc40dd1250ad12691a0bba9487a382b9f
7
- data.tar.gz: d9c12efdcd5e423365a7e56e7b0504dda55c32cdbd7d4060a984de5c6665f63c00abc6c6447a75b9047f234fde163e4086af3af940d94352c8c9b4908a32f392
6
+ metadata.gz: af9c60e64439b9f790c9c6af09416e0b7d7c626e3ffecc0c8bdf5f9d371a1e4e2da58636ee005499193e88561ff0a7fcc404819cbac9480cc2f87d0b5d977e96
7
+ data.tar.gz: f4410b617a4657715bb720167a90779b9375f2d8fbbcc5b48ffaa14ea50e65c97b9ad3695acfb46d4b1a554de32a34278d5e27e026964daedaac5eedb5338ca2
@@ -1,13 +1 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
1
  //= require_tree .
@@ -20,7 +20,9 @@ module Tramway
20
20
 
21
21
  def authenticate_admin!
22
22
  if signed_in?
23
- redirect_to ::Tramway::Auth.root_path if !current_user.admin? && request.env['PATH_INFO'] != ::Tramway::Auth.root_path
23
+ if !current_user.admin? && request.env['PATH_INFO'] != ::Tramway::Auth.root_path
24
+ redirect_to ::Tramway::Auth.root_path
25
+ end
24
26
  else
25
27
  redirect_to '/auth/session/new'
26
28
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Auth
5
- VERSION = '1.1.0.2'
5
+ VERSION = '1.1.0.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.2
4
+ version: 1.1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2020-03-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for auth
14
14
  email:
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  requirements: []
64
- rubygems_version: 3.0.3
64
+ rubygems_version: 3.1.2
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Rails engine for auth