quandl_cassinatra 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -45,7 +45,7 @@ module Searchable
|
|
45
45
|
search_scope :order, ->(dir) { where( order: (dir.to_sym == :asc) ? 'asc' : 'desc' ) }
|
46
46
|
search_scope :trim_start, ->(date) { where( trim_start: format_trim_date(date, :start)) }
|
47
47
|
search_scope :trim_end, ->(date) { where( trim_end: format_trim_date(date, :end)) }
|
48
|
-
search_scope :transform, ->(value) { where( transform: value ) if self.class.parent.valid_transformation?(value) }
|
48
|
+
search_scope :transform, ->(value) { where( transform: value.to_s ) if self.class.parent.valid_transformation?(value.to_sym) }
|
49
49
|
search_scope :with_id, ->(value) { where( id: value.to_i )}
|
50
50
|
|
51
51
|
search_scope :collapse, ->(name){
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quandl_cassinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|