quandl_client 2.11.0 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e6397af59de816dcbf7136472250b2c648868ef
4
- data.tar.gz: 82c866c02e60df48f429af686ed9afd6a98c8581
3
+ metadata.gz: bbd142f2168c56abfd65d09f7a6b3c0d3000d949
4
+ data.tar.gz: 247b1975234bf1fa653365f4f584d7a3913ef787
5
5
  SHA512:
6
- metadata.gz: 8b4439f2b297bfd7ce10e00d3c532f8db7ca9bc5a86d2911d928e748f44feee6f804df9a63c770a80e8be251773e50107bf6d2047c40ca74974654897240b778
7
- data.tar.gz: bb964c37c4f2e941b1efe8bfc990e3cadfe1e10529e929e7e6643512618f18810e6439a5b69247e1fdb294bf8a289255130e468818d137e32a40ab68b1b28cf5
6
+ metadata.gz: 5e2cbf227a742be61d9df1163e0f3ac4e751af8032e727e2f4e123bf4b3bd068619732c5ea829022beb8153c0afbee03198083248f342dc75f7ea45d86ec2539
7
+ data.tar.gz: 8d9cd5d32c55cf39912821c1e4b6f714f6f4f13d9169761bc1c22e3943d330e69f1c25832f24fccd936a86d048d719e94572b8e6ee719460d4ccab1cf6665fb7
data/Rakefile CHANGED
@@ -13,13 +13,4 @@ task :default => :spec
13
13
  desc "Run all specs"
14
14
  RSpec::Core::RakeTask.new(:spec) do |task|
15
15
  task.pattern = "spec/**/*_spec.rb"
16
- end
17
-
18
- require 'quandl/utility/rake_tasks'
19
- Quandl::Utility::Tasks.configure do |c|
20
- c.name = 'quandl'
21
- c.tag_prefix = 'v'
22
- c.version_path = 'VERSION'
23
- c.changelog_path = 'UPGRADE.md'
24
- c.changelog_matching = ['^QUGC','^WIKI']
25
- end
16
+ end
data/UPGRADE.md CHANGED
@@ -1,26 +1,30 @@
1
+ ## 2.12.0
2
+
3
+ * Add redirect_path attribute to Sheets
4
+
1
5
  ## 2.11.0
2
6
 
3
7
  * Default URL includes www subdomain and HTTPS
4
8
 
5
- ## 2.10.2
9
+ ## 2.10.2
6
10
 
7
- ## 2.10.1
11
+ ## 2.10.1
8
12
 
9
- ## 2.10.0
13
+ ## 2.10.0
10
14
 
11
15
  * add Quandl::Client::Job
12
16
 
13
- ## 2.9.0
17
+ ## 2.9.0
14
18
 
15
19
  * QUGC-189 bump data
16
20
 
17
- ## 2.8.0
21
+ ## 2.8.0
18
22
 
19
- ## 2.7.12
23
+ ## 2.7.12
20
24
 
21
25
  ## 2.7.10
22
- * QUGC-168 can pass request_platform
23
26
 
27
+ * QUGC-168 can pass request_platform
24
28
 
25
29
  ## 2.7.9
26
30
 
@@ -28,26 +32,15 @@
28
32
  * QUGC-164 find by id or source_code/code, or build
29
33
  * QUGC-164 attributes slice needs to ensure that keys are symbols
30
34
 
35
+ ## 2.7.8
31
36
 
32
-
33
- ## 2.7.8
34
-
35
-
36
-
37
+ ## 2.7.7
37
38
 
38
39
 
39
- ## 2.7.7
40
-
41
-
42
-
43
-
44
-
45
- ## 2.7.6
40
+ ## 2.7.6
46
41
 
47
42
  * QUGC-140 if a source_code is given but does not exist, it should warn the user
48
43
 
49
-
50
-
51
44
  ## 2.7.5
52
45
  add 'at' option for scraper scheduling
53
46
 
@@ -55,20 +48,20 @@ add 'at' option for scraper scheduling
55
48
  full url bug fixed when "api" has no / at the end
56
49
 
57
50
 
58
- ## 2.6.2
51
+ ## 2.6.2
59
52
 
60
53
  * QUGC-55 Add Report for filing reports
61
54
 
62
55
 
63
56
 
64
- ## 2.6.1
57
+ ## 2.6.1
65
58
 
66
59
  * QUGC-113 fix Dataset#data errors dont propagate to parent object
67
60
  * QUGC-113 Write failing specs for Dataset#data errors dont propagate to parent object
68
61
 
69
62
 
70
63
 
71
- ## 2.6.0
64
+ ## 2.6.0
72
65
 
73
66
  * QUGC-104 Fixes when upload fails output is not json
74
67
  * QUGC-103 Fixes quandl upload test -F json does not include metadata
@@ -33,7 +33,7 @@ module Quandl
33
33
  # PROPERTIES #
34
34
  ##############
35
35
 
36
- attributes :title, :content, :url_title, :full_url_title, :description, :skip_browse
36
+ attributes :title, :content, :url_title, :full_url_title, :description, :skip_browse, :redirect_path
37
37
 
38
38
  def html
39
39
  @html ||= self.attributes[:html] || Quandl::Client::Sheet.find(full_url_title).attributes[:html]
@@ -1,6 +1,6 @@
1
1
  module Quandl
2
2
  module Client
3
- VERSION = '2.11.0'
3
+ VERSION = '2.12.0'
4
4
  API_VERSION = 'v2'
5
5
 
6
6
  class << self
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = Quandl::Client::VERSION
8
8
  s.authors = ["Blake Hilscher"]
9
9
  s.email = ["blake@hilscher.ca"]
10
- s.homepage = "http://blake.hilscher.ca/"
10
+ s.homepage = "https://www.quandl.com"
11
11
  s.license = "MIT"
12
12
  s.summary = "Client rest orm."
13
13
  s.description = "An orm for the cassinatra rest interface."
@@ -3,6 +3,7 @@ FactoryGirl.define do
3
3
  factory :sheet do
4
4
  sequence(:title) { |n| "Test sheet #{n} #{(Time.now.to_f * 1000).to_i}" }
5
5
  description{ "Test sheet description."}
6
+ redirect_path nil
6
7
  end
7
8
 
8
9
  end
@@ -2,7 +2,6 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe Sheet do
5
-
6
5
  before(:all){ Quandl::Client.token = Spec::Config::Quandl.token}
7
6
 
8
7
  let(:sheet){ build(:sheet) }
@@ -12,27 +11,29 @@ describe Sheet do
12
11
  its(:valid?){ should be_true }
13
12
 
14
13
  context "when saved" do
15
-
16
14
  before(:each){ subject.save }
17
15
 
18
16
  its(:saved?){ should be_true }
19
17
 
20
18
  describe "#description" do
21
-
22
19
  its(:description){ should eq "Test sheet description." }
23
-
20
+
24
21
  it "should find the description" do
25
22
  Sheet.find( subject.id ).description.should eq "Test sheet description."
26
23
  end
27
-
28
- it "should update the description" do
29
- subject.description = "New description."
30
- subject.save
31
- Sheet.find( subject.id ).description.should eq "New description."
32
- end
33
-
34
24
  end
35
-
36
25
  end
37
-
38
- end
26
+
27
+ it "should update the description" do
28
+ subject.description = "New description."
29
+ subject.save
30
+ Sheet.find( subject.id ).description.should eq "New description."
31
+ end
32
+
33
+ it "should update the redirect_path" do
34
+ subject.redirect_path = "test_redirect_path"
35
+ subject.save
36
+ Sheet.find( subject.id ).redirect_path.should eq "test_redirect_path"
37
+ end
38
+ end
39
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.0
4
+ version: 2.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hilscher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-08 00:00:00.000000000 Z
11
+ date: 2014-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: quandl_data
@@ -255,7 +255,7 @@ files:
255
255
  - spec/lib/quandl/client/sheet_spec.rb
256
256
  - spec/lib/quandl/client/source_spec.rb
257
257
  - spec/spec_helper.rb
258
- homepage: http://blake.hilscher.ca/
258
+ homepage: https://www.quandl.com
259
259
  licenses:
260
260
  - MIT
261
261
  metadata: {}