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 +4 -4
- data/lib/yahoo_finanza/constants.rb +7 -7
- data/lib/yahoo_finanza/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76d722ed1eb7c00680153fcbddf312a115a1d62f
|
4
|
+
data.tar.gz: e62c6d0cdfb36c7ea8fbf602ed61124ca16fbeb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|