quandl_operation 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Quandl::Operation
2
2
 
3
+ ## Purpose
4
+
5
+ The purpose of this gem is to modify time-series array data by:
6
+
7
+ - collapse
8
+ - transform
9
+ - sort
10
+
11
+
12
+ ## Installation
13
+
14
+ ```ruby
15
+ gem 'quandl_operation'
16
+ ```
17
+
18
+
19
+ ## Usage
20
+
3
21
  ```ruby
4
22
 
5
23
  data = [[2456461, 1, 2, 3],[2456460, 2, 3, 4]]
data/Rakefile CHANGED
@@ -9,3 +9,12 @@ desc "Run all specs"
9
9
  RSpec::Core::RakeTask.new(:spec) do |task|
10
10
  task.pattern = "spec/**/*_spec.rb"
11
11
  end
12
+
13
+ require 'quandl/utility/rake_tasks'
14
+ Quandl::Utility::Tasks.configure do |c|
15
+ c.name = 'quandl'
16
+ c.version_path = 'VERSION'
17
+ c.changelog_path = 'UPGRADE.md'
18
+ c.tag_prefix = 'v'
19
+ c.changelog_matching = ['^QUGC','^WIKI']
20
+ end
data/UPGRADE.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.4.0
2
+
3
+ * QUGC-189 dont require active_support/object
4
+
5
+
6
+
1
7
  ## 0.3.1
2
8
 
3
9
  * value precision should ignore nils
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.4.0
@@ -7,7 +7,6 @@ require 'csv'
7
7
  require "active_support"
8
8
  require "active_support/inflector"
9
9
  require "active_support/core_ext/hash"
10
- require "active_support/core_ext/object"
11
10
 
12
11
  require 'quandl/operation/core_ext'
13
12
  require 'quandl/operation/collapse'
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
2
  module Operation
3
- VERSION = "0.3.2"
3
+ VERSION = File.read(File.expand_path(File.join(File.dirname(__FILE__), '../../../VERSION'))).strip.rstrip
4
4
  end
5
5
  end
@@ -28,4 +28,6 @@ Gem::Specification.new do |s|
28
28
  s.add_development_dependency "quandl_data"
29
29
  s.add_development_dependency "guard"
30
30
  s.add_development_dependency "guard-rspec"
31
+ s.add_development_dependency "quandl_utility"
32
+
31
33
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_operation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Blake Hilscher
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-12-11 00:00:00.000000000 Z
12
+ date: 2014-05-13 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: quandl_logger
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,20 +30,23 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: activesupport
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: 3.0.0
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: 3.0.0
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rake
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rspec
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: fivemat
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ~>
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ~>
81
92
  - !ruby/object:Gem::Version
@@ -83,71 +94,97 @@ dependencies:
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: pry
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - '>='
99
+ - - ! '>='
88
100
  - !ruby/object:Gem::Version
89
101
  version: '0'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - '>='
107
+ - - ! '>='
95
108
  - !ruby/object:Gem::Version
96
109
  version: '0'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: simplecov
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - '>='
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - '>='
123
+ - - ! '>='
109
124
  - !ruby/object:Gem::Version
110
125
  version: '0'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: quandl_data
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - '>='
131
+ - - ! '>='
116
132
  - !ruby/object:Gem::Version
117
133
  version: '0'
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - '>='
139
+ - - ! '>='
123
140
  - !ruby/object:Gem::Version
124
141
  version: '0'
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: guard
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - '>='
147
+ - - ! '>='
130
148
  - !ruby/object:Gem::Version
131
149
  version: '0'
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - '>='
155
+ - - ! '>='
137
156
  - !ruby/object:Gem::Version
138
157
  version: '0'
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: guard-rspec
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
- - - '>='
163
+ - - ! '>='
144
164
  - !ruby/object:Gem::Version
145
165
  version: '0'
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
- - - '>='
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: quandl_utility
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
151
188
  - !ruby/object:Gem::Version
152
189
  version: '0'
153
190
  description: Data will be operated
@@ -167,6 +204,7 @@ files:
167
204
  - README.md
168
205
  - Rakefile
169
206
  - UPGRADE.md
207
+ - VERSION
170
208
  - lib/quandl/operation.rb
171
209
  - lib/quandl/operation/collapse.rb
172
210
  - lib/quandl/operation/collapse/guess.rb
@@ -189,26 +227,33 @@ files:
189
227
  homepage: http://blake.hilscher.ca/
190
228
  licenses:
191
229
  - MIT
192
- metadata: {}
193
230
  post_install_message:
194
231
  rdoc_options: []
195
232
  require_paths:
196
233
  - lib
197
234
  required_ruby_version: !ruby/object:Gem::Requirement
235
+ none: false
198
236
  requirements:
199
- - - '>='
237
+ - - ! '>='
200
238
  - !ruby/object:Gem::Version
201
239
  version: '0'
240
+ segments:
241
+ - 0
242
+ hash: -909976350089713081
202
243
  required_rubygems_version: !ruby/object:Gem::Requirement
244
+ none: false
203
245
  requirements:
204
- - - '>='
246
+ - - ! '>='
205
247
  - !ruby/object:Gem::Version
206
248
  version: '0'
249
+ segments:
250
+ - 0
251
+ hash: -909976350089713081
207
252
  requirements: []
208
253
  rubyforge_project:
209
- rubygems_version: 2.1.10
254
+ rubygems_version: 1.8.23
210
255
  signing_key:
211
- specification_version: 4
256
+ specification_version: 3
212
257
  summary: For altering data
213
258
  test_files:
214
259
  - spec/lib/quandl/operation/collapse_spec.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: b7edf6372ccd3c854438e9b2b52dd62a54df8f2a
4
- data.tar.gz: 4edecc243eb516a58e6e8021449ba077a810f559
5
- SHA512:
6
- metadata.gz: 80fb10e89d71ebb36f9fb6e8bbed910962bcde22241110188fb7b72529aa302000ef11c1ed73004da09320711a6f2581d5b0a910f310c7f924bab5cdac52cf7b
7
- data.tar.gz: e2957fa9d28f11002aa15aa298f7aa34e9ef131f8be4e1570f505d17e4297e90cdc33048328b66d77c9cbefcff1cfceab767154097011ae028a9183590785f54