flame 3.3.2 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flame.rb +0 -2
- data/lib/flame/dispatcher.rb +5 -1
- data/lib/flame/render.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 818593ea5e91d1799682df0b33a06a19c26248fd
|
4
|
+
data.tar.gz: 4f4ef2f5370602c4803e8b996d716dc88f51d200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e911c832e857fc1dfbdca84a683568c12d0f3d8d1711b8f9c38c17d874c16fd217fa573badd5af5bdfd6668e5329dabae17907943a5c54e57acf1202c8e0022c
|
7
|
+
data.tar.gz: 8690872363c5d6f705ff0a181cb1d2ba12b2a40d4fe8efd0a68dd51fc524602fc1933a72842a5636c8698ef61a09918ab6f25320f7fb89db8389fd67bfd8e8f3
|
data/lib/flame.rb
CHANGED
data/lib/flame/dispatcher.rb
CHANGED
@@ -1,8 +1,12 @@
|
|
1
|
+
require 'gorilla-patch/hash'
|
2
|
+
|
1
3
|
module Flame
|
2
4
|
## Helpers for dispatch Flame::Application#call
|
3
5
|
class Dispatcher
|
4
6
|
attr_reader :request, :response
|
5
7
|
|
8
|
+
using GorillaPatch::HashExt
|
9
|
+
|
6
10
|
def initialize(app, env)
|
7
11
|
@app = app
|
8
12
|
@request = Flame::Request.new(env)
|
@@ -27,7 +31,7 @@ module Flame
|
|
27
31
|
end
|
28
32
|
|
29
33
|
def params
|
30
|
-
request.params
|
34
|
+
@params ||= request.params.merge(request.params.keys_to_sym)
|
31
35
|
end
|
32
36
|
|
33
37
|
def session
|
data/lib/flame/render.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flame
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|