tramway-user 1.0.1.13 → 1.0.1.14

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
  SHA256:
3
- metadata.gz: be83d8af19cd848a94c62343512d4550b1c7302e7c1a8aacc525aa50c0df458e
4
- data.tar.gz: 53aacc48a2fc448dbea17f62ebf6cf3106720ec13c2d5528c6f03894dbe50a00
3
+ metadata.gz: 9c12d009cc770123cf11cf172ca2bd98f3e9afbb7d68f0432b45338ff6589e52
4
+ data.tar.gz: b28dd8484aeeb0cc4b765a8cf42d470c10d3c2b5b86050daeab8df55452681f2
5
5
  SHA512:
6
- metadata.gz: 640ea801b35ffd6271ba5a02bc7eed433feeb5b07d026592d2fe88b46ef9fc7b360716d912866856001548f4266dbe5ea39ad4db4355d0db2d582d7843212457
7
- data.tar.gz: 63f1acf49dbde002d86c9cf0eaba4937b88e55f8553555ae90eb63ccd0d4b7f58674485f2dc2be83f105256e7c91fc264d65c40b217a0b97e92be0ddb94e2e60
6
+ metadata.gz: 5379a920c201765a7ffcd5c30f93ac4181c43fe3f9331e26df088759272879867b6f59dc561175907f945ee18dca67d726464c71d01364c28b06458206ddb1e2
7
+ data.tar.gz: 5ddd9d766f70dbf95fc90dd594cc625ddf26e591cb6f68b85c373b2d5f004d54925304758a8cc78afcdb764c5b474b3dd1dea261ce8d8ef53292fd7da5c2868e
@@ -6,7 +6,7 @@ module Tramway
6
6
  before_action :application
7
7
 
8
8
  def application
9
- @application = ::Tramway::Core.application.model_class.first
9
+ @application = ::Tramway::Core.application&.model_class&.first
10
10
  end
11
11
  end
12
12
  end
@@ -7,6 +7,4 @@ class Tramway::User::User < ::Tramway::Core::ApplicationRecord
7
7
  def admin?
8
8
  role.admin?
9
9
  end
10
-
11
- # FIXME
12
10
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module User
3
- VERSION = '1.0.1.13'
3
+ VERSION = '1.0.1.14'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-user
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.13
4
+ version: 1.0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov