restpack-web 0.1.45 → 0.1.46

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.
@@ -31,6 +31,7 @@ module RestPack
31
31
  env[:restpack][:channel] = channel
32
32
  env[:restpack][:application] = domain.application
33
33
  env[:restpack][:domain] = domain
34
+ env[:restpack][:configurations] = @core_cache.configurations
34
35
 
35
36
  add_user env
36
37
 
@@ -3,7 +3,7 @@ require 'public_suffix'
3
3
  module RestPack
4
4
  module Web
5
5
  class Context
6
- attr_accessor :domain, :application, :channel, :user, :user_id, :request
6
+ attr_accessor :domain, :application, :channel, :configurations, :user, :user_id, :request
7
7
 
8
8
  def initialize(env)
9
9
  restpack = env[:restpack]
@@ -13,6 +13,7 @@ module RestPack
13
13
  @domain = restpack[:domain]
14
14
  @application = restpack[:application]
15
15
  @channel = restpack[:channel]
16
+ @configurations = restpack[:configurations]
16
17
  @user = restpack[:user]
17
18
  @user_id = @user[:id] if @user
18
19
  end
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Web
3
- VERSION = "0.1.45"
3
+ VERSION = "0.1.46"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.45
4
+ version: 0.1.46
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: