quandl_operation 0.4.1 → 0.4.2.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +1,21 @@
1
1
  module Quandl
2
- module Operation
3
- class Value
4
-
5
- class << self
6
-
7
- def precision(data, prec=14)
8
- r = []
9
- data.each do |row|
10
- new_row = [row[0]]
11
- row[1..-1].each do |v|
12
- new_row << (( v.nil? || v == Float::INFINITY ) ? v : Float("%.#{prec}g" % v))
2
+ module Operation
3
+ class Value
4
+ class << self
5
+ # rubocop:disable Style/FormatString
6
+ def precision(data, prec = 14)
7
+ r = []
8
+ data.each do |row|
9
+ new_row = [row[0]]
10
+ row[1..-1].each do |v|
11
+ new_row << ((v.nil? || v == Float::INFINITY) ? v : Float("%.#{prec}g" % v))
12
+ end
13
+ r << new_row
14
+ end
15
+ r
13
16
  end
14
- r << new_row
17
+ # rubocop:enable Style/FormatString
15
18
  end
16
- r
17
19
  end
18
-
19
20
  end
20
-
21
21
  end
22
- end
23
- end
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
- module Operation
3
- VERSION = File.read(File.expand_path(File.join(File.dirname(__FILE__), '../../../VERSION'))).strip.rstrip
2
+ module Operation
3
+ VERSION = File.read(File.expand_path(File.join(File.dirname(__FILE__), '../../../VERSION'))).strip.rstrip
4
+ end
4
5
  end
5
- end
@@ -1,33 +1,33 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "quandl/operation/version"
2
+ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
3
+ require 'quandl/operation/version'
4
4
 
5
5
  Gem::Specification.new do |s|
6
- s.name = "quandl_operation"
6
+ s.name = 'quandl_operation'
7
7
  s.version = Quandl::Operation::VERSION
8
- s.authors = ["Blake Hilscher"]
9
- s.email = ["blake@hilscher.ca"]
10
- s.homepage = "http://blake.hilscher.ca/"
11
- s.license = "MIT"
12
- s.summary = "For altering data"
13
- s.description = "Data will be operated"
8
+ s.authors = ['Blake Hilscher']
9
+ s.email = ['blake@hilscher.ca']
10
+ s.homepage = 'http://blake.hilscher.ca/'
11
+ s.license = 'MIT'
12
+ s.summary = 'For altering data'
13
+ s.description = 'Data will be operated'
14
14
 
15
15
  s.files = `git ls-files`.split("\n")
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
- s.require_paths = ["lib"]
19
-
20
- s.add_runtime_dependency "quandl_logger", "~> 0.3"
21
- s.add_runtime_dependency "activesupport", ">= 3.0.0"
22
-
23
- s.add_development_dependency "rake", "~> 10.0"
24
- s.add_development_dependency "rspec", "~> 2.13"
25
- s.add_development_dependency "fivemat", "~> 1.2"
26
- s.add_development_dependency "pry"
27
- s.add_development_dependency "simplecov"
28
- s.add_development_dependency "quandl_data"
29
- s.add_development_dependency "guard"
30
- s.add_development_dependency "guard-rspec"
31
- s.add_development_dependency "quandl_utility"
32
-
17
+ s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
18
+ s.require_paths = ['lib']
19
+
20
+ s.add_runtime_dependency 'quandl_logger', '~> 0.3'
21
+ s.add_runtime_dependency 'activesupport', '>= 3.0.0'
22
+
23
+ s.add_development_dependency 'rake', '~> 10.0'
24
+ s.add_development_dependency 'rspec', '~> 2.13'
25
+ s.add_development_dependency 'rspec-its'
26
+ s.add_development_dependency 'fivemat', '~> 1.2'
27
+ s.add_development_dependency 'pry'
28
+ s.add_development_dependency 'simplecov'
29
+ s.add_development_dependency 'quandl_data'
30
+ s.add_development_dependency 'guard'
31
+ s.add_development_dependency 'guard-rspec'
32
+ s.add_development_dependency 'quandl_utility'
33
33
  end
@@ -2,131 +2,138 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe Quandl::Operation::Collapse do
5
-
6
5
  subject { Quandl::Operation::Collapse }
7
-
6
+
8
7
  it { should respond_to :perform }
9
-
10
- its(:valid_collapses){ should include :daily }
11
- its(:valid_collapses){ should include :weekly }
12
- its(:valid_collapses){ should include :monthly }
13
8
 
14
- it "should return collapses_greater_than :weekly" do
9
+ its(:valid_collapses) { should include :daily }
10
+ its(:valid_collapses) { should include :weekly }
11
+ its(:valid_collapses) { should include :monthly }
12
+
13
+ it 'should return collapses_greater_than :weekly' do
15
14
  subject.collapses_greater_than(:weekly).should eq [:monthly, :quarterly, :annual]
16
15
  end
17
-
18
- it "should return collapses_greater_than_or_equal_to :weekly" do
16
+
17
+ it 'should return collapses_greater_than_or_equal_to :weekly' do
19
18
  subject.collapses_greater_than_or_equal_to(:weekly).should eq [:weekly, :monthly, :quarterly, :annual]
20
19
  end
21
20
 
22
- it "should return collapses_greater_than :daily" do
21
+ it 'should return collapses_greater_than :daily' do
23
22
  subject.collapses_greater_than(:daily).should eq [:weekly, :monthly, :quarterly, :annual]
24
23
  end
25
-
26
- it "should return collapses_greater_than_or_equal_to :daily" do
24
+
25
+ it 'should return collapses_greater_than_or_equal_to :daily' do
27
26
  subject.collapses_greater_than_or_equal_to(:daily).should eq [:daily, :weekly, :monthly, :quarterly, :annual]
28
27
  end
29
28
 
30
- it "should return collapses_greater_than :annual" do
29
+ it 'should return collapses_greater_than :annual' do
31
30
  subject.collapses_greater_than(:annual).should eq []
32
31
  end
33
-
34
- it "should return collapses_greater_than_or_equal_to :annual" do
32
+
33
+ it 'should return collapses_greater_than_or_equal_to :annual' do
35
34
  subject.collapses_greater_than_or_equal_to(:annual).should eq [:annual]
36
35
  end
37
-
36
+
38
37
  def table_range(from, to, columns = 1)
39
38
  days = (to - from).to_i
40
39
  r = days.times.collect do |i|
41
- [ from + i ] + columns.times.collect{(rand(1000) * 0.7) + i}
40
+ [from + i] + columns.times.collect { (rand(1000) * 0.7) + i }
42
41
  end
43
42
  r
44
43
  end
45
-
46
- describe ".perform" do
47
-
48
- let(:data){
49
- [[Date.parse("2013-09-01"), 56.2, nil, nil], [Date.parse("2013-08-13"), 55.7, nil, nil],
50
- [Date.parse("2013-08-01"), nil, 136133.0, nil], [Date.parse("2013-07-13"), 55.4, nil, nil],
51
- [Date.parse("2013-07-01"), nil, 135964.0, nil], [Date.parse("2013-06-13"), 50.9, nil, nil], [Date.parse("2013-06-01"), nil, 135860.0, nil]]
52
- }
53
-
54
- it "should collapse data with nils" do
55
- subject.perform(data, :monthly).should eq [[Date.parse("2013-09-30"), 56.2, nil, nil], [Date.parse("2013-08-31"), 55.7, 136133.0, nil],
56
- [Date.parse("2013-07-31"), 55.4, 135964.0, nil], [Date.parse("2013-06-30"), 50.9, 135860.0, nil]]
44
+
45
+ describe '.perform' do
46
+ let(:data) do
47
+ [
48
+ [Date.parse('2013-09-01'), 56.2, nil, nil], [Date.parse('2013-08-13'), 55.7, nil, nil],
49
+ [Date.parse('2013-08-01'), nil, 136_133.0, nil], [Date.parse('2013-07-13'), 55.4, nil, nil],
50
+ [Date.parse('2013-07-01'), nil, 135_964.0, nil], [Date.parse('2013-06-13'), 50.9, nil, nil],
51
+ [Date.parse('2013-06-01'), nil, 135_860.0, nil]
52
+ ]
53
+ end
54
+
55
+ it 'should collapse data with nils' do
56
+ subject.perform(data, :monthly).should eq [
57
+ [Date.parse('2013-09-30'), 56.2, nil, nil], [Date.parse('2013-08-31'), 55.7, 136_133.0, nil],
58
+ [Date.parse('2013-07-31'), 55.4, 135_964.0, nil], [Date.parse('2013-06-30'), 50.9, 135_860.0, nil]
59
+ ]
60
+ end
61
+
62
+ it 'should handle empty data' do
63
+ subject.perform([], :weekly).should eq []
57
64
  end
58
-
59
- it "should handle empty data" do
60
- subject.perform( [], :weekly ).should eq []
65
+
66
+ it 'should handle empty data' do
67
+ subject.perform([nil], :weekly).should eq [nil]
61
68
  end
62
-
63
- it "should handle empty data" do
64
- subject.perform( [nil], :weekly ).should eq [nil]
69
+
70
+ context 'where only a date column is provided' do
71
+ let(:data) do
72
+ [
73
+ [Date.parse('2013-09-01')], [Date.parse('2013-08-13')],
74
+ [Date.parse('2013-08-01')], [Date.parse('2013-07-13')],
75
+ [Date.parse('2013-07-01')], [Date.parse('2014-06-13')]
76
+ ]
77
+ end
78
+
79
+ it 'shoudl return the date collapsed' do
80
+ subject.perform(data, :annual).should eq [[Date.parse('2014-12-31')], [Date.parse('2013-12-31')]]
81
+ end
65
82
  end
66
-
67
83
  end
68
-
69
- describe ".collapse" do
70
-
84
+
85
+ describe '.collapse' do
71
86
  it 'should handle data sets with one data point only' do
72
-
73
- data = [[ Date.parse('2011-11-09'), 42 ]]
74
- subject.collapse( data, :daily).should eq [[Date.parse('2011-11-09'), 42]]
75
- subject.collapse( data, :weekly).should eq [[Date.parse('2011-11-13'), 42]]
76
- subject.collapse( data, :monthly).should eq [[Date.parse('2011-11-30'), 42]]
77
- subject.collapse( data, :quarterly).should eq [[Date.parse('2011-12-31'), 42]]
78
- subject.collapse( data, :annual).should eq [[Date.parse('2011-12-31'), 42]]
79
-
87
+ data = [[Date.parse('2011-11-09'), 42]]
88
+ subject.collapse(data, :daily).should eq [[Date.parse('2011-11-09'), 42]]
89
+ subject.collapse(data, :weekly).should eq [[Date.parse('2011-11-13'), 42]]
90
+ subject.collapse(data, :monthly).should eq [[Date.parse('2011-11-30'), 42]]
91
+ subject.collapse(data, :quarterly).should eq [[Date.parse('2011-12-31'), 42]]
92
+ subject.collapse(data, :annual).should eq [[Date.parse('2011-12-31'), 42]]
80
93
  end
81
-
94
+
82
95
  it 'should handle data sets with only two data points, 1 day apart' do
83
-
84
- data = [[ Date.parse('2011-11-09'), 20111109 ],[ Date.parse('2011-11-10'), 20111110 ]]
85
-
96
+ data = [[Date.parse('2011-11-09'), 20_111_109], [Date.parse('2011-11-10'), 20_111_110]]
97
+
86
98
  subject.collapse(data, :daily).should eq data
87
- subject.collapse(data, :weekly).should eq [[ Date.parse('2011-11-13'), 20111110 ]]
88
- subject.collapse(data, :monthly).should eq [[ Date.parse('2011-11-30'), 20111110 ]]
89
- subject.collapse(data, :quarterly).should eq [[ Date.parse('2011-12-31'), 20111110 ]]
90
- subject.collapse(data, :annual).should eq [[ Date.parse('2011-12-31'), 20111110 ]]
91
-
99
+ subject.collapse(data, :weekly).should eq [[Date.parse('2011-11-13'), 20_111_110]]
100
+ subject.collapse(data, :monthly).should eq [[Date.parse('2011-11-30'), 20_111_110]]
101
+ subject.collapse(data, :quarterly).should eq [[Date.parse('2011-12-31'), 20_111_110]]
102
+ subject.collapse(data, :annual).should eq [[Date.parse('2011-12-31'), 20_111_110]]
92
103
  end
93
-
104
+
94
105
  it 'should handle data sets one year of daily data' do
95
106
  data = table_range Date.parse('Jan 1, 2011'), Date.parse('Dec 31, 2011'), 2
96
107
  data.count.should eq 364
97
- subject.collapse( data, :daily ).count.should eq 364
98
- subject.collapse( data, :weekly ).count.should eq 53
99
- subject.collapse( data, :monthly ).count.should eq 12
100
- subject.collapse( data, :quarterly ).count.should eq 4
101
- subject.collapse( data, :annual ).count.should eq 1
108
+ subject.collapse(data, :daily).count.should eq 364
109
+ subject.collapse(data, :weekly).count.should eq 53
110
+ subject.collapse(data, :monthly).count.should eq 12
111
+ subject.collapse(data, :quarterly).count.should eq 4
112
+ subject.collapse(data, :annual).count.should eq 1
102
113
  end
103
-
104
114
  end
105
-
106
- describe ".collapses_greater_than" do
107
- it "should return minimum frequency given nil" do
115
+
116
+ describe '.collapses_greater_than' do
117
+ it 'should return minimum frequency given nil' do
108
118
  subject.collapses_greater_than(nil).should eq []
109
119
  end
110
- it "should return weekly given daily" do
120
+ it 'should return weekly given daily' do
111
121
  subject.collapses_greater_than('daily').should eq [:weekly, :monthly, :quarterly, :annual]
112
122
  end
113
- it "should return [] given annual" do
123
+ it 'should return [] given annual' do
114
124
  subject.collapses_greater_than(:annual).should eq []
115
125
  end
116
-
117
126
  end
118
-
119
- describe ".collapses_greater_than_or_equal_to" do
120
- it "should return minimum frequency given nil" do
127
+
128
+ describe '.collapses_greater_than_or_equal_to' do
129
+ it 'should return minimum frequency given nil' do
121
130
  subject.collapses_greater_than_or_equal_to(nil).should eq []
122
131
  end
123
- it "should return weekly given weekly" do
132
+ it 'should return weekly given weekly' do
124
133
  subject.collapses_greater_than_or_equal_to('weekly').should eq [:weekly, :monthly, :quarterly, :annual]
125
134
  end
126
- it "should return [] given annual" do
135
+ it 'should return [] given annual' do
127
136
  subject.collapses_greater_than_or_equal_to(:annual).should eq [:annual]
128
137
  end
129
-
130
138
  end
131
-
132
- end
139
+ end
@@ -2,38 +2,33 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe Date do
5
-
6
5
  subject { Date.today }
7
-
8
- describe "#start_of_frequency" do
9
-
10
- context "given valid input" do
11
- it "should return the beginning of the month" do
6
+
7
+ describe '#start_of_frequency' do
8
+ context 'given valid input' do
9
+ it 'should return the beginning of the month' do
12
10
  subject.start_of_frequency(:monthly).should eq Date.today.beginning_of_month
13
11
  end
14
12
  end
15
-
16
- context "given invalid input" do
17
- it "should return the date" do
13
+
14
+ context 'given invalid input' do
15
+ it 'should return the date' do
18
16
  subject.start_of_frequency(:hippo).should eq Date.today
19
17
  end
20
18
  end
21
-
22
19
  end
23
-
24
- describe "#end_of_frequency" do
25
-
26
- context "given valid input" do
27
- it "should return the beginning of the month" do
20
+
21
+ describe '#end_of_frequency' do
22
+ context 'given valid input' do
23
+ it 'should return the beginning of the month' do
28
24
  subject.end_of_frequency(:monthly).should eq Date.today.end_of_month
29
25
  end
30
26
  end
31
-
32
- context "given invalid input" do
33
- it "should return the date" do
27
+
28
+ context 'given invalid input' do
29
+ it 'should return the date' do
34
30
  subject.end_of_frequency(:hippo).should eq Date.today
35
31
  end
36
32
  end
37
-
38
33
  end
39
- end
34
+ end
@@ -2,35 +2,31 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe Quandl::Operation::Transform do
5
-
6
- subject{ Quandl::Operation::Transform }
7
-
8
- describe ".perform" do
9
-
10
- it "should handle empty data" do
11
- subject.perform( [], :rdiff ).should eq []
5
+ subject { Quandl::Operation::Transform }
6
+
7
+ describe '.perform' do
8
+ it 'should handle empty data' do
9
+ subject.perform([], :rdiff).should eq []
12
10
  end
13
-
14
- it "should handle empty data" do
15
- subject.perform( [nil], :cumul ).should eq [nil]
11
+
12
+ it 'should handle empty data' do
13
+ subject.perform([nil], :cumul).should eq [nil]
16
14
  end
17
-
18
- it "should rdiff_from" do
19
- data = [[1,3,5],[4,5,4],[5,15,20]]
15
+
16
+ it 'should rdiff_from' do
17
+ data = [[1, 3, 5], [4, 5, 4], [5, 15, 20]]
20
18
  result = subject.perform(data, :rdiff_from)
21
- result.should eq [[1,4,3],[4,2,4],[5,0,0]]
19
+ result.should eq [[1, 4, 3], [4, 2, 4], [5, 0, 0]]
22
20
  end
23
- it "should cumul asc" do
21
+ it 'should cumul asc' do
24
22
  data = [[1000, 10], [1001, 20], [1002, 30]]
25
23
  result = subject.perform(data, :cumul)
26
24
  result.should eq [[1000, 10], [1001, 30], [1002, 60]]
27
25
  end
28
- it "should cumul desc" do
26
+ it 'should cumul desc' do
29
27
  data = [[1002, 30], [1001, 20], [1000, 10]]
30
28
  result = subject.perform(data, :cumul)
31
29
  result.should eq [[1002, 60], [1001, 30], [1000, 10]]
32
30
  end
33
-
34
31
  end
35
-
36
- end
32
+ end
@@ -3,8 +3,8 @@ if ENV['COVERAGE']
3
3
  SimpleCov.start
4
4
  end
5
5
 
6
- $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
6
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w(.. lib))
7
7
 
8
- require "rspec"
9
- require "quandl/operation"
10
- require 'pry'
8
+ require 'rspec'
9
+ require 'rspec/its'
10
+ require 'quandl/operation'
metadata CHANGED
@@ -1,190 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_operation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
5
- prerelease:
4
+ version: 0.4.2.rc1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Blake Hilscher
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-05-13 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: quandl_logger
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0.3'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0.3'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: activesupport
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: 3.0.0
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: 3.0.0
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '10.0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '10.0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: '2.13'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: '2.13'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-its
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
78
83
  - !ruby/object:Gem::Dependency
79
84
  name: fivemat
80
85
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
86
  requirements:
83
- - - ~>
87
+ - - "~>"
84
88
  - !ruby/object:Gem::Version
85
89
  version: '1.2'
86
90
  type: :development
87
91
  prerelease: false
88
92
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
93
  requirements:
91
- - - ~>
94
+ - - "~>"
92
95
  - !ruby/object:Gem::Version
93
96
  version: '1.2'
94
97
  - !ruby/object:Gem::Dependency
95
98
  name: pry
96
99
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
100
  requirements:
99
- - - ! '>='
101
+ - - ">="
100
102
  - !ruby/object:Gem::Version
101
103
  version: '0'
102
104
  type: :development
103
105
  prerelease: false
104
106
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
107
  requirements:
107
- - - ! '>='
108
+ - - ">="
108
109
  - !ruby/object:Gem::Version
109
110
  version: '0'
110
111
  - !ruby/object:Gem::Dependency
111
112
  name: simplecov
112
113
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
121
  requirements:
123
- - - ! '>='
122
+ - - ">="
124
123
  - !ruby/object:Gem::Version
125
124
  version: '0'
126
125
  - !ruby/object:Gem::Dependency
127
126
  name: quandl_data
128
127
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
128
  requirements:
131
- - - ! '>='
129
+ - - ">="
132
130
  - !ruby/object:Gem::Version
133
131
  version: '0'
134
132
  type: :development
135
133
  prerelease: false
136
134
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
135
  requirements:
139
- - - ! '>='
136
+ - - ">="
140
137
  - !ruby/object:Gem::Version
141
138
  version: '0'
142
139
  - !ruby/object:Gem::Dependency
143
140
  name: guard
144
141
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
142
  requirements:
147
- - - ! '>='
143
+ - - ">="
148
144
  - !ruby/object:Gem::Version
149
145
  version: '0'
150
146
  type: :development
151
147
  prerelease: false
152
148
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
149
  requirements:
155
- - - ! '>='
150
+ - - ">="
156
151
  - !ruby/object:Gem::Version
157
152
  version: '0'
158
153
  - !ruby/object:Gem::Dependency
159
154
  name: guard-rspec
160
155
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
156
  requirements:
163
- - - ! '>='
157
+ - - ">="
164
158
  - !ruby/object:Gem::Version
165
159
  version: '0'
166
160
  type: :development
167
161
  prerelease: false
168
162
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
163
  requirements:
171
- - - ! '>='
164
+ - - ">="
172
165
  - !ruby/object:Gem::Version
173
166
  version: '0'
174
167
  - !ruby/object:Gem::Dependency
175
168
  name: quandl_utility
176
169
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
170
  requirements:
179
- - - ! '>='
171
+ - - ">="
180
172
  - !ruby/object:Gem::Version
181
173
  version: '0'
182
174
  type: :development
183
175
  prerelease: false
184
176
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
177
  requirements:
187
- - - ! '>='
178
+ - - ">="
188
179
  - !ruby/object:Gem::Version
189
180
  version: '0'
190
181
  description: Data will be operated
@@ -194,10 +185,11 @@ executables: []
194
185
  extensions: []
195
186
  extra_rdoc_files: []
196
187
  files:
197
- - .gitignore
198
- - .rspec
199
- - .travis.yml
200
- - .yardopts
188
+ - ".gitignore"
189
+ - ".rspec"
190
+ - ".rubocop.yml"
191
+ - ".travis.yml"
192
+ - ".yardopts"
201
193
  - Gemfile
202
194
  - Guardfile
203
195
  - LICENSE
@@ -227,36 +219,30 @@ files:
227
219
  homepage: http://blake.hilscher.ca/
228
220
  licenses:
229
221
  - MIT
222
+ metadata: {}
230
223
  post_install_message:
231
224
  rdoc_options: []
232
225
  require_paths:
233
226
  - lib
234
227
  required_ruby_version: !ruby/object:Gem::Requirement
235
- none: false
236
228
  requirements:
237
- - - ! '>='
229
+ - - ">="
238
230
  - !ruby/object:Gem::Version
239
231
  version: '0'
240
- segments:
241
- - 0
242
- hash: 2258459118956972120
243
232
  required_rubygems_version: !ruby/object:Gem::Requirement
244
- none: false
245
233
  requirements:
246
- - - ! '>='
234
+ - - ">"
247
235
  - !ruby/object:Gem::Version
248
- version: '0'
249
- segments:
250
- - 0
251
- hash: 2258459118956972120
236
+ version: 1.3.1
252
237
  requirements: []
253
238
  rubyforge_project:
254
- rubygems_version: 1.8.23
239
+ rubygems_version: 2.4.8
255
240
  signing_key:
256
- specification_version: 3
241
+ specification_version: 4
257
242
  summary: For altering data
258
243
  test_files:
259
244
  - spec/lib/quandl/operation/collapse_spec.rb
260
245
  - spec/lib/quandl/operation/date_spec.rb
261
246
  - spec/lib/quandl/operation/transform_spec.rb
262
247
  - spec/spec_helper.rb
248
+ has_rdoc: