cuba 3.9.1 → 3.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cuba.gemspec +1 -1
- data/lib/cuba.rb +1 -1
- 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: 7eab2e59d038c8c841524498b060412e0a608c7c
|
4
|
+
data.tar.gz: 35004e311b5df0deed594667027096b375551f49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38acf4e7fb1a06a0709e2c907f974a3b2aa51776742e709ec1d0149fd08e8160a5a2388c4bb98adfe1590aaa0e0b87a0240cac7f9432bc9f21350f5db885458c
|
7
|
+
data.tar.gz: db8ad6eecea1c976bc893c5cb20dada8926e2387a9a9c07c04ef835e6eccaaa48645aac8b62c5d70b66ab53ab835c44b68d437890b7a4233096eb4cb8048ab01
|
data/cuba.gemspec
CHANGED
data/lib/cuba.rb
CHANGED
@@ -262,7 +262,7 @@ class Cuba
|
|
262
262
|
# # If not provided, username == "guest"
|
263
263
|
# end
|
264
264
|
def param(key, default = nil)
|
265
|
-
value = req.params[key] || default
|
265
|
+
value = req.params[key.to_s] || default
|
266
266
|
|
267
267
|
lambda { captures << value unless value.to_s.empty? }
|
268
268
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.9.
|
4
|
+
version: 3.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michel Martens
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|