rocketio 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rocketio/controller.rb +5 -1
- data/lib/rocketio/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b08a3d047446386c8322a859eecef01851b45314
|
4
|
+
data.tar.gz: 572adaa3b4168db78a9bf24e3d84f2e2ae6c2811
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0428c3a14b9a7935c801be7abd6a3c2b52250f3f4f45985df5c6eb871c94d7d7cd6a42f3be208ef9d7263e464c608a0f0ffb58f07088e1ad0cd33f74f61b4900
|
7
|
+
data.tar.gz: e3f63dd9de47a05e33397ec0a2af5ff4d7b4f481a686fccbb96e4ff42ca856f2430879317c17d7d669a1d1d82c7f9ca20f4ade645f17f35140595df6e00f419d
|
data/lib/rocketio/controller.rb
CHANGED
@@ -85,7 +85,11 @@ module RocketIO
|
|
85
85
|
rangemap = self.class.path_params[requested_method] ||
|
86
86
|
raise(StandardError, 'No path_params map found for %s method' % requested_method)
|
87
87
|
indifferent_params(rangemap.each_with_object({}) {|(m,r),o|
|
88
|
-
o[m] = r.min
|
88
|
+
o[m] = if r.min && r.max
|
89
|
+
r.min == r.max ? path_params_array[r.min] : path_params_array[r]
|
90
|
+
else
|
91
|
+
path_params_array[r]
|
92
|
+
end
|
89
93
|
}).freeze
|
90
94
|
end
|
91
95
|
end
|
data/lib/rocketio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocketio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Slee Woo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -210,5 +210,5 @@ rubyforge_project:
|
|
210
210
|
rubygems_version: 2.4.5.1
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
|
-
summary: '["rocketio-0.0.
|
213
|
+
summary: '["rocketio-0.0.6", "Simple, fast, scalable web framework for Ruby"]'
|
214
214
|
test_files: []
|