histock-simplefilter 0.5.0 → 0.6.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39b936e936e24634a8fa18457f99d283ef85e6e4ef73af8f3e58630328a2bdfe
|
4
|
+
data.tar.gz: 382675be25c844453a8cbb6f787b1fe0fcb199303c68da97da33dc155d65bc17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03a4e28be238de40eb5eee13ca94e4ec672ce9bc9b4f053110b96e643d1cd8094ab3bd61677d276cbb0b39f39861293e4beab80d2400476ab14a49cb27fbd84b
|
7
|
+
data.tar.gz: 9583ae98ce913dd2d15e45d5a60a1d0130b2ba00463b4ccb19730f55e0bd2b07574e4c786c8225e7c90e1b7cd2da28cf12b6c65a35a5be2d60f8b16b85a6dd13
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,7 @@ require File.expand_path(File.dirname(__FILE__)) + '/fetch/basic_financial_state
|
|
4
4
|
require File.expand_path(File.dirname(__FILE__)) + '/fetch/dividend_policy'
|
5
5
|
require File.expand_path(File.dirname(__FILE__)) + '/fetch/profitability'
|
6
6
|
require File.expand_path(File.dirname(__FILE__)) + '/fetch/corporate_value'
|
7
|
+
require File.expand_path(File.dirname(__FILE__)) + '/fetch/company_profile'
|
7
8
|
|
8
9
|
module Histock
|
9
10
|
module Fetch
|
@@ -11,6 +12,7 @@ module Histock
|
|
11
12
|
include DividendPolicy
|
12
13
|
include Profitability
|
13
14
|
include CorporateValue
|
15
|
+
include CompanyProfile
|
14
16
|
|
15
17
|
private
|
16
18
|
|
@@ -30,6 +32,8 @@ module Histock
|
|
30
32
|
nodes = doc.xpath("//div[@class='row-stock w740']/table[@class='tb-stock tb-outline tbBasic']")
|
31
33
|
when :price_book_ratio
|
32
34
|
nodes = doc.xpath("//div[@class='row-stock']/table[@class='tb-stock tb-outline tbBasic']")
|
35
|
+
when :company_profile
|
36
|
+
nodes = doc.xpath("//div[@class='grid-item w788 mt10']/div[@class='grid-body']/table/tr/td/table[@class='tb-stock tbBasic']")
|
33
37
|
end
|
34
38
|
|
35
39
|
raise InformationNotFound if nodes.empty?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: histock-simplefilter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuya Sato
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -103,6 +103,7 @@ files:
|
|
103
103
|
- lib/histock/simplefilter/error.rb
|
104
104
|
- lib/histock/simplefilter/fetch.rb
|
105
105
|
- lib/histock/simplefilter/fetch/basic_financial_statements.rb
|
106
|
+
- lib/histock/simplefilter/fetch/company_profile.rb
|
106
107
|
- lib/histock/simplefilter/fetch/corporate_value.rb
|
107
108
|
- lib/histock/simplefilter/fetch/dividend_policy.rb
|
108
109
|
- lib/histock/simplefilter/fetch/profitability.rb
|