restpack-web 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,12 @@ module RestPack
17
17
 
18
18
  env["restpack"][:host] = host
19
19
  begin #TODO: GJ: cache should handle errors gracefully
20
- env["restpack"][:channel] = @core_cache.get_channel(host)
20
+ channel = @core_cache.get_channel(host)
21
+ domain = channel.get_domain_by_identifier(host)
22
+
23
+ env["restpack"][:channel] = channel
24
+ env["restpack"][:application] = domain.application
25
+ env["restpack"][:domain] = domain
21
26
  rescue Exception => e
22
27
  p e.message
23
28
  p e.backtrace.inspect
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Web
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
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.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: