strelka 0.0.1.pre.293 → 0.0.1.pre.295
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/lib/strelka/app/restresources.rb +6 -4
- data/lib/strelka/multipartparser.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +3 -1
data.tar.gz.sig
CHANGED
Binary file
|
@@ -455,10 +455,12 @@ module Strelka::App::RestResources
|
|
455
455
|
# Use the name of the dataset block's parameter
|
456
456
|
# :TODO: Handle the case where the parameter name doesn't match a column
|
457
457
|
# or a parameter-type more gracefully.
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
458
|
+
unless proc.parameters.empty?
|
459
|
+
param = proc.parameters.first[1]
|
460
|
+
route = "%s/%s/:%s" % [ route_prefix, name, param ]
|
461
|
+
self.log.debug " route for dataset method %s: %s" % [ name, route ]
|
462
|
+
self.add_dataset_read_handler( route, rsrcobj, name, param, options )
|
463
|
+
end
|
462
464
|
end
|
463
465
|
|
464
466
|
# Add composite service routes for each association
|
@@ -80,7 +80,7 @@ class Strelka::MultipartParser
|
|
80
80
|
self.bufsize = Integer( options[:bufsize] ) || CONFIG_DEFAULTS[:bufsize]
|
81
81
|
self.spooldir = Pathname( options[:spooldir] ) || CONFIG_DEFAULTS[:spooldir]
|
82
82
|
else
|
83
|
-
self.log.debug "Configuring %p with defaults" % [ self, CONFIG_DEFAULTS ]
|
83
|
+
self.log.debug "Configuring %p with defaults: %p" % [ self, CONFIG_DEFAULTS ]
|
84
84
|
self.bufsize = CONFIG_DEFAULTS[:bufsize]
|
85
85
|
self.spooldir = CONFIG_DEFAULTS[:spooldir]
|
86
86
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strelka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.pre.
|
4
|
+
version: 0.0.1.pre.295
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
|
37
37
|
Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
|
38
38
|
cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
39
|
-
date: 2012-08-
|
39
|
+
date: 2012-08-17 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: configurability
|
metadata.gz.sig
CHANGED