orbit-rb 0.2.2 → 0.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbca86299c3eff4a4155502ab7e7e1b4d71cb251
4
- data.tar.gz: 984a7289a91e3c43335af099ef57ec6bfffbd776
3
+ metadata.gz: 3df704f331d0413b400da3216999d794ddfdb93a
4
+ data.tar.gz: 9acd2a52e30766f7ac1aec79f9359e2715c6fcd9
5
5
  SHA512:
6
- metadata.gz: 9f30f44a96b60552f2e347a3f2d25e5c36dea711b6cc085252b89718a52c87cba0162b9b51a9bd4a1dbaea07b4115c002912b35cfa5fee31b98e4510e411ec91
7
- data.tar.gz: 8daf76dacd24d5aee271f37eae8d9dd4fceaf53536f887a82beb5ccc2afff013fbd6c9ab1064660a9cc7c00796c0499524e3a1c2020a06fc60f5758fa2da4aa4
6
+ metadata.gz: 077abc1aa3e8bf189b974a6ab907db24addbbdb253591b75368b52f7971b9866b792e0bb3cd1cd927516d58a92c3e54dfee44e19997ecd7d873cc7830ebfc1c8
7
+ data.tar.gz: 1e45ec10935380e5ff99466ae7410416cfde9ede8b4ab587421587a19c7af751b11b01649a9362a3e07f31a8a5265a811b7fb7c7eb0f61d967e89a60a4d90981
@@ -101,15 +101,23 @@ module Orbit
101
101
  Orbit::Router.add(verb, full_path, self, method_name)
102
102
  end
103
103
 
104
+ def session
105
+ @request.session
106
+ end
107
+
108
+ def cookies
109
+ request.cookies
110
+ end
111
+
112
+ def cookie_domain
113
+ request.host
114
+ end
115
+
104
116
  protected
105
117
  def params
106
118
  @request.params
107
119
  end
108
120
 
109
- def session
110
- @request.session
111
- end
112
-
113
121
  def headers
114
122
  request.headers
115
123
  end
data/lib/orbit/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Orbit
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orbit-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Torres
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-30 00:00:00.000000000 Z
11
+ date: 2016-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack