quandl_client 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e4087619b6dc0950544de1be1e3c0227b7334ef
|
4
|
+
data.tar.gz: 662377be5fd75e8a76e3235a1c82f60ae19ecb40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0dc6da8658c97b125463bf799d27659f46beff2115dcccee14424157a1706422a8fa95bebc7ba5aed71963556e2959bc8308e08423057d9184ad441b832c91
|
7
|
+
data.tar.gz: d4e9ca8558aed2a13e86210f4b69927836cda6326ee3b9655e0ecafe1a7f9e3e279a75dcdd219cd0941c329a76e496a249c56e1c98311502ecbbce7121e3265f
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe Dataset do
|
5
|
+
let(:dataset){ create(:dataset) }
|
6
|
+
subject{ dataset }
|
7
|
+
|
8
|
+
describe ".touch_existing(:id)" do
|
9
|
+
it "should touch the dataset" do
|
10
|
+
dataset.updated_at
|
11
|
+
sleep(0.75)
|
12
|
+
Dataset.touch_existing(subject.id).should eq true
|
13
|
+
Dataset.find(subject.id).updated_at.should_not eq dataset.updated_at
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quandl_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Hilscher
|
@@ -234,6 +234,7 @@ files:
|
|
234
234
|
- spec/lib/quandl/client/dataset/source_spec.rb
|
235
235
|
- spec/lib/quandl/client/dataset/trim_spec.rb
|
236
236
|
- spec/lib/quandl/client/dataset/validation_spec.rb
|
237
|
+
- spec/lib/quandl/client/dataset_spec.rb
|
237
238
|
- spec/lib/quandl/client/sheet_spec.rb
|
238
239
|
- spec/lib/quandl/client/source_spec.rb
|
239
240
|
- spec/spec_helper.rb
|
@@ -273,6 +274,7 @@ test_files:
|
|
273
274
|
- spec/lib/quandl/client/dataset/source_spec.rb
|
274
275
|
- spec/lib/quandl/client/dataset/trim_spec.rb
|
275
276
|
- spec/lib/quandl/client/dataset/validation_spec.rb
|
277
|
+
- spec/lib/quandl/client/dataset_spec.rb
|
276
278
|
- spec/lib/quandl/client/sheet_spec.rb
|
277
279
|
- spec/lib/quandl/client/source_spec.rb
|
278
280
|
- spec/spec_helper.rb
|