quandl_client 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  /Gemfile.lock
2
2
  /pkg
3
3
  /tmp
4
- quandl_client-*
4
+ quandl_client-*
5
+ .rvmrc
@@ -13,12 +13,11 @@ module Properties
13
13
  before_save :halt_unless_valid!
14
14
 
15
15
  def valid_with_server?
16
- return false unless valid_without_server?
16
+ return false unless valid?
17
17
  return false unless errors_params.blank?
18
18
  return false unless errors_server.blank?
19
19
  true
20
20
  end
21
- alias_method_chain :valid?, :server
22
21
 
23
22
  def error_messages
24
23
  valid?
@@ -36,8 +36,8 @@ class Dataset
36
36
  # VALIDATIONS #
37
37
  ###############
38
38
 
39
- validates :source_code, presence: true, length: { minimum: 2 }, format: { with: /^([A-Z][A-Z0-9_]+)$/ }
40
- validates :code, presence: true, length: { minimum: 2 }, format: { with: /^([A-Z][A-Z0-9_]+)$/ }
39
+ validates :source_code, presence: true, length: { minimum: 2 }, format: { with: /([A-Z][A-Z0-9_]+)/ }
40
+ validates :code, presence: true, length: { minimum: 2 }, format: { with: /([A-Z][A-Z0-9_]+)/ }
41
41
  validates :name, presence: true
42
42
 
43
43
 
@@ -47,7 +47,7 @@ class Dataset
47
47
 
48
48
  attributes :data, :source_code, :code, :name, :urlize_name,
49
49
  :description, :updated_at, :frequency, :from_date,
50
- :to_date, :column_names, :private, :type
50
+ :to_date, :column_names, :private, :type, :display_url
51
51
 
52
52
  attributes :locations_attributes
53
53
 
@@ -14,9 +14,9 @@ class Sheet
14
14
  search_scope :query, :page, :parent_url_title
15
15
 
16
16
 
17
- ###############
17
+ ################
18
18
  # ASSOCIATIONS #
19
- ###############
19
+ ################
20
20
 
21
21
  def parent
22
22
  @parent ||= Sheet.find(parent_url_title)
@@ -28,7 +28,7 @@ class Source
28
28
  # VALIDATIONS #
29
29
  ###############
30
30
 
31
- validates :code, presence: true, length: { minimum: 2 }, format: { with: /^([A-Z][A-Z0-9_]+)$/ }
31
+ validates :code, presence: true, length: { minimum: 2 }, format: { with: /([A-Z][A-Z0-9_]+)/ }
32
32
  validates :host, :name, presence: true
33
33
 
34
34
 
@@ -1,6 +1,6 @@
1
1
  module Quandl
2
2
  module Client
3
- VERSION = '0.0.9'
3
+ VERSION = '0.0.10'
4
4
  API_VERSION = 'v1'
5
5
 
6
6
  class << self
metadata CHANGED
@@ -1,18 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
5
4
  prerelease:
5
+ version: 0.0.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Blkae Hilscher
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-24 00:00:00.000000000 Z
12
+ date: 2013-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
+ version_requirements: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '10.0'
16
22
  requirement: !ruby/object:Gem::Requirement
17
23
  none: false
18
24
  requirements:
@@ -21,14 +27,14 @@ dependencies:
21
27
  version: '10.0'
22
28
  type: :development
23
29
  prerelease: false
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
24
32
  version_requirements: !ruby/object:Gem::Requirement
25
33
  none: false
26
34
  requirements:
27
35
  - - ~>
28
36
  - !ruby/object:Gem::Version
29
- version: '10.0'
30
- - !ruby/object:Gem::Dependency
31
- name: rspec
37
+ version: '2.13'
32
38
  requirement: !ruby/object:Gem::Requirement
33
39
  none: false
34
40
  requirements:
@@ -37,14 +43,14 @@ dependencies:
37
43
  version: '2.13'
38
44
  type: :development
39
45
  prerelease: false
46
+ - !ruby/object:Gem::Dependency
47
+ name: fivemat
40
48
  version_requirements: !ruby/object:Gem::Requirement
41
49
  none: false
42
50
  requirements:
43
51
  - - ~>
44
52
  - !ruby/object:Gem::Version
45
- version: '2.13'
46
- - !ruby/object:Gem::Dependency
47
- name: fivemat
53
+ version: '1.2'
48
54
  requirement: !ruby/object:Gem::Requirement
49
55
  none: false
50
56
  requirements:
@@ -53,46 +59,46 @@ dependencies:
53
59
  version: '1.2'
54
60
  type: :development
55
61
  prerelease: false
62
+ - !ruby/object:Gem::Dependency
63
+ name: pry
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
65
  none: false
58
66
  requirements:
59
- - - ~>
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
- version: '1.2'
62
- - !ruby/object:Gem::Dependency
63
- name: pry
69
+ version: '0'
64
70
  requirement: !ruby/object:Gem::Requirement
65
71
  none: false
66
72
  requirements:
67
- - - '>='
73
+ - - ! '>='
68
74
  - !ruby/object:Gem::Version
69
75
  version: '0'
70
76
  type: :development
71
77
  prerelease: false
78
+ - !ruby/object:Gem::Dependency
79
+ name: activesupport
72
80
  version_requirements: !ruby/object:Gem::Requirement
73
81
  none: false
74
82
  requirements:
75
- - - '>='
83
+ - - ! '>='
76
84
  - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: activesupport
85
+ version: 3.0.0
80
86
  requirement: !ruby/object:Gem::Requirement
81
87
  none: false
82
88
  requirements:
83
- - - '>='
89
+ - - ! '>='
84
90
  - !ruby/object:Gem::Version
85
91
  version: 3.0.0
86
92
  type: :runtime
87
93
  prerelease: false
94
+ - !ruby/object:Gem::Dependency
95
+ name: her
88
96
  version_requirements: !ruby/object:Gem::Requirement
89
97
  none: false
90
98
  requirements:
91
- - - '>='
99
+ - - ~>
92
100
  - !ruby/object:Gem::Version
93
- version: 3.0.0
94
- - !ruby/object:Gem::Dependency
95
- name: her
101
+ version: 0.6.7
96
102
  requirement: !ruby/object:Gem::Requirement
97
103
  none: false
98
104
  requirements:
@@ -101,14 +107,14 @@ dependencies:
101
107
  version: 0.6.7
102
108
  type: :runtime
103
109
  prerelease: false
110
+ - !ruby/object:Gem::Dependency
111
+ name: scope_builder
104
112
  version_requirements: !ruby/object:Gem::Requirement
105
113
  none: false
106
114
  requirements:
107
115
  - - ~>
108
116
  - !ruby/object:Gem::Version
109
- version: 0.6.7
110
- - !ruby/object:Gem::Dependency
111
- name: scope_builder
117
+ version: 0.0.6
112
118
  requirement: !ruby/object:Gem::Requirement
113
119
  none: false
114
120
  requirements:
@@ -117,14 +123,14 @@ dependencies:
117
123
  version: 0.0.6
118
124
  type: :runtime
119
125
  prerelease: false
126
+ - !ruby/object:Gem::Dependency
127
+ name: quandl_data
120
128
  version_requirements: !ruby/object:Gem::Requirement
121
129
  none: false
122
130
  requirements:
123
131
  - - ~>
124
132
  - !ruby/object:Gem::Version
125
- version: 0.0.6
126
- - !ruby/object:Gem::Dependency
127
- name: quandl_data
133
+ version: 0.0.5
128
134
  requirement: !ruby/object:Gem::Requirement
129
135
  none: false
130
136
  requirements:
@@ -133,14 +139,14 @@ dependencies:
133
139
  version: 0.0.5
134
140
  type: :runtime
135
141
  prerelease: false
142
+ - !ruby/object:Gem::Dependency
143
+ name: quandl_operation
136
144
  version_requirements: !ruby/object:Gem::Requirement
137
145
  none: false
138
146
  requirements:
139
147
  - - ~>
140
148
  - !ruby/object:Gem::Version
141
- version: 0.0.5
142
- - !ruby/object:Gem::Dependency
143
- name: quandl_operation
149
+ version: 0.0.8
144
150
  requirement: !ruby/object:Gem::Requirement
145
151
  none: false
146
152
  requirements:
@@ -149,14 +155,14 @@ dependencies:
149
155
  version: 0.0.8
150
156
  type: :runtime
151
157
  prerelease: false
158
+ - !ruby/object:Gem::Dependency
159
+ name: json
152
160
  version_requirements: !ruby/object:Gem::Requirement
153
161
  none: false
154
162
  requirements:
155
163
  - - ~>
156
164
  - !ruby/object:Gem::Version
157
- version: 0.0.8
158
- - !ruby/object:Gem::Dependency
159
- name: json
165
+ version: 1.7.7
160
166
  requirement: !ruby/object:Gem::Requirement
161
167
  none: false
162
168
  requirements:
@@ -165,12 +171,6 @@ dependencies:
165
171
  version: 1.7.7
166
172
  type: :runtime
167
173
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ~>
172
- - !ruby/object:Gem::Version
173
- version: 1.7.7
174
174
  description: An orm for the cassinatra rest interface.
175
175
  email:
176
176
  - blake@hilscher.ca
@@ -212,13 +212,13 @@ require_paths:
212
212
  required_ruby_version: !ruby/object:Gem::Requirement
213
213
  none: false
214
214
  requirements:
215
- - - '>='
215
+ - - ! '>='
216
216
  - !ruby/object:Gem::Version
217
217
  version: '0'
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements:
221
- - - '>='
221
+ - - ! '>='
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  requirements: []