litexbrl 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/litexbrl/tdnet/cash_flow2.rb +7 -1
- data/lib/litexbrl/version.rb +1 -1
- data/litexbrl.gemspec +1 -1
- metadata +3 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acf4395d72fafddd3793b94e081cc26ce842509b108910aabdc1a0f767cd0bfd
|
|
4
|
+
data.tar.gz: ba10eb9c60ae65a484d573dc5e3696078818f758129b8d04084eea40819a43b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16d67a116cf0f0717e1b6cb1462b4fdfb4c7f92609f73a27c87879e81d9e8dd5c6b4cf99bddf1662930c30ff748e9c6c75f174f61782ee19bbf694b6151292d3
|
|
7
|
+
data.tar.gz: b96280f5fc8ab99ce9654e4cbb140f4dd1827df0336cc0314253f19d8505e0b2e462c77b49e5a07f12a8af9a86b85168231e8db63d46e8efecb4dca73b582a52
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
module LiteXBRL
|
|
2
2
|
module TDnet
|
|
3
|
+
class NoAccountingStandardError < StandardError
|
|
4
|
+
def initialize
|
|
5
|
+
super "会計基準・Contextが見つかりません。"
|
|
6
|
+
end
|
|
7
|
+
end
|
|
8
|
+
|
|
3
9
|
class CashFlow2 < FinancialInformation2
|
|
4
10
|
# 日本会計基準, IFRS(通期のみ), 米国会計基準はSummaryのみ
|
|
5
11
|
ACCOUNTING_STANDARDS = [
|
|
@@ -58,7 +64,7 @@ module LiteXBRL
|
|
|
58
64
|
return [accountings, context] if value
|
|
59
65
|
end
|
|
60
66
|
|
|
61
|
-
raise
|
|
67
|
+
raise NoAccountingStandardError.new
|
|
62
68
|
end
|
|
63
69
|
|
|
64
70
|
def find_context_instant(context)
|
data/lib/litexbrl/version.rb
CHANGED
data/litexbrl.gemspec
CHANGED
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
|
16
16
|
spec.required_ruby_version = ">= 2.3.0"
|
|
17
17
|
|
|
18
18
|
spec.files = `git ls-files`.split($/)
|
|
19
|
-
spec.executables =
|
|
19
|
+
spec.executables = "litexbrl"
|
|
20
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
21
21
|
spec.require_paths = ["lib"]
|
|
22
22
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: litexbrl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takehiko Shinkura
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-05-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -127,7 +127,6 @@ email:
|
|
|
127
127
|
- tynmarket@gmail.com
|
|
128
128
|
executables:
|
|
129
129
|
- litexbrl
|
|
130
|
-
- rspec
|
|
131
130
|
extensions: []
|
|
132
131
|
extra_rdoc_files: []
|
|
133
132
|
files:
|
|
@@ -251,8 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
251
250
|
- !ruby/object:Gem::Version
|
|
252
251
|
version: '0'
|
|
253
252
|
requirements: []
|
|
254
|
-
|
|
255
|
-
rubygems_version: 2.7.6
|
|
253
|
+
rubygems_version: 3.0.3
|
|
256
254
|
signing_key:
|
|
257
255
|
specification_version: 4
|
|
258
256
|
summary: XBRL parser for Ruby
|