strelka 0.0.1.pre.293 → 0.0.1.pre.295

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.
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
- param = proc.parameters.first[1]
459
- route = "%s/%s/:%s" % [ route_prefix, name, param ]
460
- self.log.debug " route for dataset method %s: %s" % [ name, route ]
461
- self.add_dataset_read_handler( route, rsrcobj, name, param, options )
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.293
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-10 00:00:00.000000000 Z
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
@@ -1 +1,3 @@
1
- L������x�\���%65[}�@��M�5����*lZ���,���ʴ�+EN)�&=��q�̉����w�-�U��>���lc
1
+ Gv�#�SBH��&�C�6]�_,J ��6g8pJȶ0���ޡ�
2
+ ��;��@K�Y�/�x�~�x��ڬ�c��Kꦇ ��ʬUɅ�m�Y$}A� �T����_H�e�z�#h�u�
3
+ ����x>�-