yahoo_finanza 0.3.1 → 0.3.2

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: 2881fe082006a66e1403108265a9a9994a79cc9d
4
- data.tar.gz: 707e3e824ae079336f148cd91ed057506a06da93
3
+ metadata.gz: 76d722ed1eb7c00680153fcbddf312a115a1d62f
4
+ data.tar.gz: e62c6d0cdfb36c7ea8fbf602ed61124ca16fbeb4
5
5
  SHA512:
6
- metadata.gz: b5831afbf16dee8fb2af2d8377dc3d254da86a4de2f2a67dd8183e4e17a454eb2213f90a87c0a11c98c9683f8e935bdcc71f04777c4c511d21e18214ac03807d
7
- data.tar.gz: 61d7669b8bf32a4acba40a0ba0a96681856e15f363736bb26295265aef54b6475ef8914d75f1ad8a1755b62cf478d64b04d51ace5f95d127d9abeaaf401ab933
6
+ metadata.gz: fea0930a1d2e68265dd8e666261e95af5aeed6ee3dd01a1eb5c3fbb12e015758696de4217bed3a9cc4ccff902e919f09162191bc12952836c33f966cb9947527
7
+ data.tar.gz: 51ad5f30d582b14e5a1cd2d06e51a2b66a3d01e3430c54e65b8940038ec4af999fd5444ebfe3f761740017f4590b8981fd6103b7829e43324402345da9110332
@@ -5,31 +5,31 @@ module YahooFinanza
5
5
  extend self
6
6
 
7
7
  def nyse
8
- YAML.load(File.read("config/nyse.yml"))["nyse_symbols"]
8
+ YAML.load(File.read(File.join(Dir.pwd, "config/nyse.yml")))["nyse_symbols"]
9
9
  end
10
10
 
11
11
  def amex
12
- YAML.load(File.read("config/amex.yml"))["amex_symbols"]
12
+ YAML.load(File.read(File.join(Dir.pwd, "config/amex.yml")))["amex_symbols"]
13
13
  end
14
14
 
15
15
  def nasdaq
16
- YAML.load(File.read("config/nasdaq.yml"))["nasdaq_symbols"]
16
+ YAML.load(File.read(File.join(Dir.pwd, "config/nasdaq.yml")))["nasdaq_symbols"]
17
17
  end
18
18
 
19
19
  def sp_500
20
- YAML.load(File.read("config/sp_500.yml"))["sp_500_symbols"]
20
+ YAML.load(File.read(File.join(Dir.pwd, "config/sp_500.yml")))["sp_500_symbols"]
21
21
  end
22
22
 
23
23
  def active_nyse_url
24
- YAML.load(File.read("config/config.yml"))["active_nyse_url"]
24
+ YAML.load(File.read(File.join(Dir.pwd, "config/config.yml")))["active_nyse_url"]
25
25
  end
26
26
 
27
27
  def active_nnm_url
28
- YAML.load(File.read("config/config.yml"))["active_nnm_url"]
28
+ YAML.load(File.read(File.join(Dir.pwd, "config/config.yml")))["active_nnm_url"]
29
29
  end
30
30
 
31
31
  def search_url
32
- YAML.load(File.read("config/config.yml"))["search_url"]
32
+ YAML.load(File.read(File.join(Dir.pwd, "config/config.yml")))["search_url"]
33
33
  end
34
34
  end
35
35
  end
@@ -1,4 +1,4 @@
1
1
  # Yahoo Finanza Version
2
2
  module YahooFinanza
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yahoo_finanza
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric D. Santos