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.
@@ -7,9 +7,9 @@ module Search
7
7
 
8
8
  included do
9
9
 
10
- include ScopeBuilder::Model
10
+ include ScopeComposer::Model
11
11
 
12
- scope_builder_for :search
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 ScopeBuilder::Model
29
+ include ScopeComposer::Model
30
30
 
31
- scope_builder_for :search
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 }
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
2
  module Cassinatra
3
- VERSION = '0.0.15'
3
+ VERSION = '0.1.0'
4
4
  end
5
5
  end
@@ -9,7 +9,7 @@ require "active_support/core_ext/object"
9
9
 
10
10
  require 'her'
11
11
  require 'quandl/her/patch'
12
- require 'scope_builder'
12
+ require 'scope_composer'
13
13
  require "quandl/data"
14
14
 
15
15
  require 'quandl/cassinatra/concerns'
@@ -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 "scope_builder", ">= 0.0.7"
31
- s.add_runtime_dependency "quandl_data", ">= 0.0.12"
30
+ s.add_runtime_dependency "scope_composer", ">= 0.1.0"
31
+ s.add_runtime_dependency "quandl_data", ">= 0.1.0"
32
32
  end
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+
4
+ describe Quandl::Cassinatra::Dataset do
5
+ subject { Quandl::Cassinatra::Dataset.new }
6
+
7
+ it { should respond_to :columns_count }
8
+ it { should respond_to :data }
9
+ it { should respond_to :data_table }
10
+
11
+ 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.15
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-20 00:00:00.000000000 Z
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: scope_builder
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.7
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.7
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.12
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.12
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/quandl_cassinatra.rb
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/quandl_cassinatra.rb
231
+ - spec/quandl/cassinatra/dataset_spec.rb
232
232
  - spec/spec_helper.rb
@@ -1,5 +0,0 @@
1
- # encoding: utf-8
2
- require 'spec_helper'
3
-
4
- describe Quandl::Cassinatra do
5
- end