restpack_web 0.2.20 → 0.2.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/restpack_web/app.rb +1 -0
- data/lib/restpack_web/context.rb +2 -1
- data/lib/restpack_web/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzkyYjAzMWU0NjA1MzUyYjc5NWU3MzM3NDg5ZmY0ZGE1MDI5MDcxZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Njc5OTE3NGJhYjRkYjkwY2IyMjVlNWM3N2I5M2JiYmMyNDcxZjFlYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTg1ZWZlMGM5ZmQxMGRkZTQwYjk1Yzg3ZTEyNjA2MDY5NDc2Y2IzNWM0MWNh
|
10
|
+
MDNjMWMzNmRmYWMxMzMzYTEyMDg3YWVjOGRhYmIzMTcyMDFmZjI2YTcyMGIw
|
11
|
+
MTllMjNiOWY3ZDVjNDlmZDZlNThjZDg5MDMwZjBiYjY0YmRkNzY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGY1OTI2MmZjMTM3ZTEzNWFmZjU5MDExMjE3MTQxMzJiYjMzOGZkMmM2NmQw
|
14
|
+
Y2JmNGM5ZDZjNjQ4NGJjZWU0NTNlOGJkNjFhMjhjN2ZhNjgwZDNmMmJlMDI3
|
15
|
+
MmQxMmMxNWIwYjQ2MmY1MDVkZWE2ZjNjYWM0NTRmY2EyNTVlNWY=
|
data/lib/restpack_web/app.rb
CHANGED
data/lib/restpack_web/context.rb
CHANGED
@@ -3,12 +3,13 @@ require 'public_suffix'
|
|
3
3
|
module RestPack
|
4
4
|
module Web
|
5
5
|
class Context
|
6
|
-
attr_accessor :domain, :application, :channel, :configurations, :user, :user_id
|
6
|
+
attr_accessor :request, :domain, :application, :channel, :configurations, :user, :user_id
|
7
7
|
|
8
8
|
def initialize(env)
|
9
9
|
restpack = env[:restpack]
|
10
10
|
|
11
11
|
if restpack
|
12
|
+
@request = restpack[:request]
|
12
13
|
@domain = restpack[:domain]
|
13
14
|
@application = restpack[:application]
|
14
15
|
@channel = restpack[:channel]
|
data/lib/restpack_web/version.rb
CHANGED