tramway-user 1.1.3 → 1.1.4

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: be6c8877d9afabff8a66154d3052649d72d47166afa490cf2d7eca83c52efbd0
4
- data.tar.gz: 6f6b4a93159174af7e870323b600e3febeb71ce4796e0be13c643083c5415a4b
3
+ metadata.gz: 99e61769c1b7d0384fed752d7bc5bb5e98049635094e0af23431f1f0f14e9515
4
+ data.tar.gz: af1507aeb34fae8c2e957cc573e6dcd132f25bd50fe83f767cf0712a2af34066
5
5
  SHA512:
6
- metadata.gz: cd647db0ee37e7e3bd04d54e9a2d05b1acd34b6fd42ec488a4e8618bfcf297bfbc7c232a72dc097d58d264a017ef39ab4a3250684fa05ebe7b74f4661555ac39
7
- data.tar.gz: 68aba20dc296e5bcc3d4954f06144e62eb4d17b2a095ef15c958e241dd14a0b4f16efba3484eebec7ee58c358d970c3f4fbd47c1ba05c749f0151f347efb5e14
6
+ metadata.gz: 86839e5a57df4dc02e88b8eff4c5adf86bc99baadc243b71aa5788d30ea3c4e2f9b00b507391ebce6203805269391d4cfdd3b756950346a8fbcd036dec44faaa
7
+ data.tar.gz: 0d5f3c9b8e51c277da6d8469bf156446127945071bd80d95b2ff6e6e710cf411c921756d2c0fd1bbe29684578d390fb1b0ab5a52d64d44c8fd7adad5f61c8325
@@ -6,7 +6,9 @@ module Tramway
6
6
  before_action :application
7
7
 
8
8
  def application
9
- @application = ::Tramway::Core.application&.model_class&.first
9
+ if ::Tramway::Core.application
10
+ @application = Tramway::Core.application&.model_class&.first || Tramway::Core.application
11
+ end
10
12
  end
11
13
  end
12
14
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module User
3
- VERSION = '1.1.3'
3
+ VERSION = '1.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-user
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-13 00:00:00.000000000 Z
11
+ date: 2019-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt