stockboy 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/stockboy/job.rb +1 -1
- data/lib/stockboy/version.rb +1 -1
- data/spec/stockboy/job_spec.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fcae8abd12ed8674c56d476860be0ed4469ee13
|
4
|
+
data.tar.gz: b0f49fa1a87c62dfd39184161cea8afcc7185b6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf10196314b5e62dc785316a95741d3034772ca197defec68e032e570fece15a0de0f87bbc2888a9e35c2696f07d21f0a5dde7398e4ba5d24007029ea1040190
|
7
|
+
data.tar.gz: fba95677551b2a57e5915c79b0cc13432168954772369e36ec54fd30e377aa5b6f728393586d9b190d0624f4e2b1da27af01729064b039bda6ae432caf05aed0
|
data/CHANGELOG.md
CHANGED
data/lib/stockboy/job.rb
CHANGED
data/lib/stockboy/version.rb
CHANGED
data/spec/stockboy/job_spec.rb
CHANGED
@@ -211,6 +211,18 @@ module Stockboy
|
|
211
211
|
job.process
|
212
212
|
expect(job.all_records.size).to eq 3
|
213
213
|
end
|
214
|
+
|
215
|
+
context "and no data" do
|
216
|
+
let(:repeater) {
|
217
|
+
ProviderRepeater.new(provider) do |inputs|
|
218
|
+
end
|
219
|
+
}
|
220
|
+
|
221
|
+
it "gets no records" do
|
222
|
+
job.process
|
223
|
+
expect(job.all_records.size).to eq 0
|
224
|
+
end
|
225
|
+
end
|
214
226
|
end
|
215
227
|
|
216
228
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stockboy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Vit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|