registrar-rails 0.0.9.alpha → 0.0.10.alpha

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: b6f8c6284bfffa18141cceac05c5a85a28faf176
4
- data.tar.gz: dab9a8dd3d1c974a73929526dae0cecdeb9cbed4
3
+ metadata.gz: 86e2bb34e2aa372a9383a57f8e6ae9c5138a251a
4
+ data.tar.gz: b42c5172789d682263a46a7bf0bae6cdad24760b
5
5
  SHA512:
6
- metadata.gz: fe496460276cfede00004d1d1dc0eb38d305b501a29fb4d25db2886f96886eb21433dbacfbdf0758c1fc4a584f409c67cfb3a751e9edaa62d8781f4545303d3b
7
- data.tar.gz: 48960e40325c75911332d9f9c8864b6c63347ed82b0afc8aa150edbf0b75ba056bef61ef3baba4b2895336c406d9075654ab6b5e2fd4ef0e15f2ce708bf6f030
6
+ metadata.gz: 7ede434276a965df993cc4aef94dc27cbd755aa821c80ef86ed80f6959452b68d2db8efcd1108e8e6587f79e98cc7c602cc8754fbe55c8cfc65be623f14a666e
7
+ data.tar.gz: 36993a8ebccf7e6e18e146ca62f24ce4344d4dd8b77f8b32032a7fc512575105ed60e61b4f748e1a1dbfe21b30ed5f8923006a00d21304d8be804954773f2631
@@ -34,8 +34,8 @@ module Registrar
34
34
  end
35
35
 
36
36
  def reload_current_profile
37
- if env[REGISTRAR_PROFILE_KEY]
38
- env[REGISTRAR_PROFILE_KEY] = Registrar::Middleware::config.handler.call(env[REGISTRAR_PROFILE_KEY])
37
+ if current_profile
38
+ env[REGISTRAR_PROFILE_KEY] = Registrar::Middleware::config.handler.call(current_profile)
39
39
  try_to_store_current_profile
40
40
  end
41
41
  end
@@ -1,5 +1,5 @@
1
1
  module Registrar
2
2
  module Rails
3
- VERSION = "0.0.9.alpha"
3
+ VERSION = "0.0.10.alpha"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: registrar-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9.alpha
4
+ version: 0.0.10.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Owiesniak