quandl_cassinatra 0.0.15 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/quandl/cassinatra/concerns/search.rb +2 -2
- data/lib/quandl/cassinatra/model/dataset/searchable.rb +2 -2
- data/lib/quandl/cassinatra/version.rb +1 -1
- data/lib/quandl/cassinatra.rb +1 -1
- data/quandl_cassinatra.gemspec +2 -2
- data/spec/quandl/cassinatra/dataset_spec.rb +11 -0
- metadata +9 -9
- data/spec/quandl_cassinatra.rb +0 -5
@@ -7,9 +7,9 @@ module Search
|
|
7
7
|
|
8
8
|
included do
|
9
9
|
|
10
|
-
include
|
10
|
+
include ScopeComposer::Model
|
11
11
|
|
12
|
-
|
12
|
+
scope_composer_for :search
|
13
13
|
|
14
14
|
search_helper :all, ->{ connection.where(attributes).fetch }
|
15
15
|
search_helper :connection, -> { self.class.parent }
|
@@ -26,9 +26,9 @@ module Searchable
|
|
26
26
|
included do
|
27
27
|
|
28
28
|
include Quandl
|
29
|
-
include
|
29
|
+
include ScopeComposer::Model
|
30
30
|
|
31
|
-
|
31
|
+
scope_composer_for :search
|
32
32
|
|
33
33
|
search_helper :column_ids, -> { dataset.column_ids }
|
34
34
|
search_helper :data_table, -> { dataset.data_table }
|
data/lib/quandl/cassinatra.rb
CHANGED
data/quandl_cassinatra.gemspec
CHANGED
@@ -27,6 +27,6 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_runtime_dependency "yajl-ruby", "~> 1.1.0"
|
28
28
|
s.add_runtime_dependency 'json', '~> 1.7.7'
|
29
29
|
|
30
|
-
s.add_runtime_dependency "
|
31
|
-
s.add_runtime_dependency "quandl_data", ">= 0.0
|
30
|
+
s.add_runtime_dependency "scope_composer", ">= 0.1.0"
|
31
|
+
s.add_runtime_dependency "quandl_data", ">= 0.1.0"
|
32
32
|
end
|
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.1.0
|
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-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -140,13 +140,13 @@ dependencies:
|
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: 1.7.7
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
|
-
name:
|
143
|
+
name: scope_composer
|
144
144
|
requirement: !ruby/object:Gem::Requirement
|
145
145
|
none: false
|
146
146
|
requirements:
|
147
147
|
- - '>='
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0.0
|
149
|
+
version: 0.1.0
|
150
150
|
type: :runtime
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -154,7 +154,7 @@ dependencies:
|
|
154
154
|
requirements:
|
155
155
|
- - '>='
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 0.0
|
157
|
+
version: 0.1.0
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: quandl_data
|
160
160
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +162,7 @@ dependencies:
|
|
162
162
|
requirements:
|
163
163
|
- - '>='
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: 0.0
|
165
|
+
version: 0.1.0
|
166
166
|
type: :runtime
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -170,7 +170,7 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.0
|
173
|
+
version: 0.1.0
|
174
174
|
description: An orm for the cassinatra rest interface.
|
175
175
|
email:
|
176
176
|
- blake@hilscher.ca
|
@@ -200,7 +200,7 @@ files:
|
|
200
200
|
- lib/quandl/cassinatra/version.rb
|
201
201
|
- lib/quandl/her/patch.rb
|
202
202
|
- quandl_cassinatra.gemspec
|
203
|
-
- spec/
|
203
|
+
- spec/quandl/cassinatra/dataset_spec.rb
|
204
204
|
- spec/spec_helper.rb
|
205
205
|
homepage: http://blake.hilscher.ca/
|
206
206
|
licenses:
|
@@ -228,5 +228,5 @@ signing_key:
|
|
228
228
|
specification_version: 3
|
229
229
|
summary: Cassinatra rest orm.
|
230
230
|
test_files:
|
231
|
-
- spec/
|
231
|
+
- spec/quandl/cassinatra/dataset_spec.rb
|
232
232
|
- spec/spec_helper.rb
|