yquotes 0.1.2 → 0.1.4

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: 6cc7efca069ed87512dbe7ca5716275ff7a1fcb5
4
- data.tar.gz: cbe1b483834637061e67fde4d4c08c206dc28018
3
+ metadata.gz: 7878ccd08e7306c95955a80b8d53f2f341b5e0dd
4
+ data.tar.gz: 1b3eb58db34d9b795cff93067634e607b763f0bb
5
5
  SHA512:
6
- metadata.gz: 0941edcdd1d3b1b14ce0baac2c2229d21b058b7884be366dd7b837b2bafcceda0e3bbdde0cbcecc7d68312da0345dc6f674abd1d8420c21abbe57f7144c40513
7
- data.tar.gz: fadf4125eb87a59f966009a806f4c8949e9f857b5d4a4a44e3a7372fbdb14e523856dc9c565369ffd34a77d7732dbb29c59a568e192f9ae65b6e71ff30fa5d5f
6
+ metadata.gz: d2177755c12cdefd1d483db8a38e57b5c43148faeb38c895a2db745dab3e3dbbaf8cbe413882b3662bc7969ac178a1040863e602113f6a0c59753abffa489aef
7
+ data.tar.gz: f4f2beb0bb2c75b76028a26365dc499b8f2f27abd7bf3c7ba1acb9824a438d6da377c1cfbdb35304b87b205c67a243123c4cf82fed2040d8b0d12a4dd27fb923
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # YQuotes
2
2
 
3
- Get historical quotes from Yahoo.
3
+ Get historical quotes from Yahoo Finance.
4
4
 
5
5
 
6
6
  ## Installation
@@ -1,3 +1,3 @@
1
1
  module YQuotes
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/yquotes/yahoo.rb CHANGED
@@ -33,7 +33,7 @@ module YQuotes
33
33
  start_date = get_date(start_date)
34
34
  end_date = get_date(end_date)
35
35
 
36
- if start_date and start_date.is_a? Date
36
+ if start_date
37
37
  params[:a] = start_date.month - 1
38
38
  params[:b] = start_date.day
39
39
  params[:c] = start_date.year
data/yquotes.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["P Choudhary"]
10
10
  spec.email = ["pankaj17n@outlook.com"]
11
11
 
12
- spec.summary = "Get historical quotes from Yahoo"
12
+ spec.summary = "Get historical quotes from Yahoo Finance"
13
13
  spec.homepage = "https://github.com/cpankaj/yquotes"
14
14
  spec.license = "MIT"
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yquotes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - P Choudhary
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-05 00:00:00.000000000 Z
11
+ date: 2017-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -109,5 +109,5 @@ rubyforge_project:
109
109
  rubygems_version: 2.4.5.1
110
110
  signing_key:
111
111
  specification_version: 4
112
- summary: Get historical quotes from Yahoo
112
+ summary: Get historical quotes from Yahoo Finance
113
113
  test_files: []