litexbrl 0.0.3 → 0.1.0
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/TODO.txt +3 -3
- data/bin/litexbrl +1 -0
- data/bin/year.htm +0 -0
- data/circle.yml +6 -0
- data/lib/litexbrl/tdnet/account_item.rb +3 -2
- data/lib/litexbrl/tdnet/company_attribute.rb +3 -2
- data/lib/litexbrl/tdnet/results_forecast.rb +48 -4
- data/lib/litexbrl/tdnet/results_forecast2.rb +2 -0
- data/lib/litexbrl/tdnet/results_forecast_attribute.rb +2 -1
- data/lib/litexbrl/tdnet/summary.rb +2 -0
- data/lib/litexbrl/tdnet/summary2.rb +17 -8
- data/lib/litexbrl/tdnet/summary_attribute.rb +3 -1
- data/lib/litexbrl/utils.rb +20 -2
- data/lib/litexbrl/version.rb +1 -1
- data/lib/litexbrl.rb +0 -17
- data/litexbrl.gemspec +4 -2
- data/spec/data/tdnet/results_forecast/find_consolidation.xbrl +7 -0
- data/spec/data/tdnet/results_forecast/jp-noncons-cons.xbrl +9 -0
- data/spec/data/tdnet/results_forecast/jp-noncons-q2.xbrl +8 -0
- data/spec/data/tdnet/summary2/current-net_sales-error.htm +2 -0
- data/spec/data/tdnet/summary2/no-net_sales.htm +2 -0
- data/spec/data/tdnet/summary2/profit_attributable_to_owners_of_parent.htm +2 -0
- data/spec/data/tdnet/summary2/revenue_ifrs.htm +2 -0
- data/spec/litexbrl_spec.rb +2 -4
- data/spec/tdnet/company_attribute_spec.rb +24 -0
- data/spec/tdnet/results_forecast2_spec.rb +8 -1
- data/spec/tdnet/results_forecast_attribute_spec.rb +2 -0
- data/spec/tdnet/results_forecast_spec.rb +119 -7
- data/spec/tdnet/summary2_spec.rb +40 -15
- data/spec/tdnet/summary_attribute_spec.rb +4 -0
- data/spec/tdnet/summary_spec.rb +23 -0
- data/spec/utils_spec.rb +52 -16
- metadata +65 -20
@@ -11,6 +11,7 @@ module LiteXBRL
|
|
11
11
|
self.year = 2013
|
12
12
|
self.month = 3
|
13
13
|
self.quarter = 1
|
14
|
+
self.consolidation = 1
|
14
15
|
self.net_sales = 100
|
15
16
|
self.operating_income = 10
|
16
17
|
self.ordinary_income = 11
|
@@ -26,6 +27,7 @@ module LiteXBRL
|
|
26
27
|
expect(attr[:code]).to eq(1111)
|
27
28
|
expect(attr[:year]).to eq(2013)
|
28
29
|
expect(attr[:quarter]).to eq(1)
|
30
|
+
expect(attr[:consolidation]).to eq 1
|
29
31
|
expect(attr[:net_sales]).to eq(100)
|
30
32
|
expect(attr[:operating_income]).to eq(10)
|
31
33
|
expect(attr[:ordinary_income]).to eq(11)
|
@@ -47,6 +49,7 @@ module LiteXBRL
|
|
47
49
|
self.year = 2013
|
48
50
|
self.month = 3
|
49
51
|
self.quarter = quarter
|
52
|
+
self.consolidation = 1
|
50
53
|
self.forecast_net_sales = 100
|
51
54
|
self.forecast_operating_income = 10
|
52
55
|
self.forecast_ordinary_income = 11
|
@@ -62,6 +65,7 @@ module LiteXBRL
|
|
62
65
|
expect(attr[:code]).to eq(1111)
|
63
66
|
expect(attr[:year]).to eq(2013)
|
64
67
|
expect(attr[:quarter]).to eq(4)
|
68
|
+
expect(attr[:consolidation]).to eq 1
|
65
69
|
expect(attr[:forecast_net_sales]).to eq(100)
|
66
70
|
expect(attr[:forecast_operating_income]).to eq(10)
|
67
71
|
expect(attr[:forecast_ordinary_income]).to eq(11)
|
data/spec/tdnet/summary_spec.rb
CHANGED
@@ -73,6 +73,7 @@ module LiteXBRL
|
|
73
73
|
expect(summary[:year]).to eq(2013)
|
74
74
|
expect(summary[:month]).to eq(3)
|
75
75
|
expect(summary[:quarter]).to eq(1)
|
76
|
+
expect(summary[:consolidation]).to eq(1)
|
76
77
|
|
77
78
|
expect(summary[:net_sales]).to eq(6818)
|
78
79
|
expect(summary[:operating_income]).to eq(997)
|
@@ -119,6 +120,7 @@ module LiteXBRL
|
|
119
120
|
expect(summary[:year]).to eq(2013)
|
120
121
|
expect(summary[:month]).to eq(3)
|
121
122
|
expect(summary[:quarter]).to eq(2)
|
123
|
+
expect(summary[:consolidation]).to eq(1)
|
122
124
|
|
123
125
|
expect(summary[:net_sales]).to eq(13740)
|
124
126
|
expect(summary[:operating_income]).to eq(1863)
|
@@ -143,6 +145,7 @@ module LiteXBRL
|
|
143
145
|
expect(summary[:year]).to eq(2013)
|
144
146
|
expect(summary[:month]).to eq(3)
|
145
147
|
expect(summary[:quarter]).to eq(3)
|
148
|
+
expect(summary[:consolidation]).to eq(1)
|
146
149
|
|
147
150
|
expect(summary[:net_sales]).to eq(20793)
|
148
151
|
expect(summary[:operating_income]).to eq(2772)
|
@@ -167,6 +170,7 @@ module LiteXBRL
|
|
167
170
|
expect(summary[:year]).to eq(2013)
|
168
171
|
expect(summary[:month]).to eq(3)
|
169
172
|
expect(summary[:quarter]).to eq(4)
|
173
|
+
expect(summary[:consolidation]).to eq(1)
|
170
174
|
|
171
175
|
expect(summary[:net_sales]).to eq(27355)
|
172
176
|
expect(summary[:operating_income]).to eq(3223)
|
@@ -212,6 +216,7 @@ module LiteXBRL
|
|
212
216
|
expect(summary[:year]).to eq(2014)
|
213
217
|
expect(summary[:month]).to eq(3)
|
214
218
|
expect(summary[:quarter]).to eq(1)
|
219
|
+
expect(summary[:consolidation]).to eq(1)
|
215
220
|
|
216
221
|
expect(summary[:net_sales]).to eq(28278)
|
217
222
|
expect(summary[:operating_income]).to eq(5079)
|
@@ -230,6 +235,7 @@ module LiteXBRL
|
|
230
235
|
expect(summary[:year]).to eq(2014)
|
231
236
|
expect(summary[:month]).to eq(3)
|
232
237
|
expect(summary[:quarter]).to eq(1)
|
238
|
+
expect(summary[:consolidation]).to eq(1)
|
233
239
|
|
234
240
|
expect(summary[:net_sales]).to eq(183082)
|
235
241
|
expect(summary[:operating_income]).to eq(62307)
|
@@ -248,6 +254,7 @@ module LiteXBRL
|
|
248
254
|
expect(summary[:year]).to eq(2014)
|
249
255
|
expect(summary[:month]).to eq(3)
|
250
256
|
expect(summary[:quarter]).to eq(1)
|
257
|
+
expect(summary[:consolidation]).to eq(1)
|
251
258
|
|
252
259
|
expect(summary[:net_sales]).to eq(4394)
|
253
260
|
expect(summary[:operating_income]).to eq(113)
|
@@ -266,6 +273,7 @@ module LiteXBRL
|
|
266
273
|
expect(summary[:year]).to eq(2014)
|
267
274
|
expect(summary[:month]).to eq(2)
|
268
275
|
expect(summary[:quarter]).to eq(1)
|
276
|
+
expect(summary[:consolidation]).to eq(1)
|
269
277
|
|
270
278
|
expect(summary[:net_sales]).to eq(24866)
|
271
279
|
expect(summary[:operating_income]).to eq(117)
|
@@ -284,6 +292,7 @@ module LiteXBRL
|
|
284
292
|
expect(summary[:year]).to eq(2014)
|
285
293
|
expect(summary[:month]).to eq(2)
|
286
294
|
expect(summary[:quarter]).to eq(1)
|
295
|
+
expect(summary[:consolidation]).to eq(1)
|
287
296
|
|
288
297
|
expect(summary[:net_sales]).to eq(33307)
|
289
298
|
expect(summary[:operating_income]).to eq(240)
|
@@ -302,6 +311,7 @@ module LiteXBRL
|
|
302
311
|
expect(summary[:year]).to eq(2013)
|
303
312
|
expect(summary[:month]).to eq(2)
|
304
313
|
expect(summary[:quarter]).to eq(4)
|
314
|
+
expect(summary[:consolidation]).to eq(1)
|
305
315
|
|
306
316
|
expect(summary[:net_sales]).to eq(334087)
|
307
317
|
expect(summary[:operating_income]).to eq(43107)
|
@@ -320,6 +330,7 @@ module LiteXBRL
|
|
320
330
|
expect(summary[:year]).to eq(2013)
|
321
331
|
expect(summary[:month]).to eq(3)
|
322
332
|
expect(summary[:quarter]).to eq(4)
|
333
|
+
expect(summary[:consolidation]).to eq(1)
|
323
334
|
|
324
335
|
expect(summary[:net_sales]).to eq(260753)
|
325
336
|
expect(summary[:operating_income]).to eq(-1167)
|
@@ -341,6 +352,7 @@ module LiteXBRL
|
|
341
352
|
expect(summary[:year]).to eq(2014)
|
342
353
|
expect(summary[:month]).to eq(3)
|
343
354
|
expect(summary[:quarter]).to eq(1)
|
355
|
+
expect(summary[:consolidation]).to eq(1)
|
344
356
|
|
345
357
|
expect(summary[:net_sales]).to eq(6255319)
|
346
358
|
expect(summary[:operating_income]).to eq(663383)
|
@@ -386,6 +398,7 @@ module LiteXBRL
|
|
386
398
|
expect(summary[:year]).to eq(2014)
|
387
399
|
expect(summary[:month]).to eq(3)
|
388
400
|
expect(summary[:quarter]).to eq(1)
|
401
|
+
expect(summary[:consolidation]).to eq(1)
|
389
402
|
|
390
403
|
expect(summary[:net_sales]).to eq(2609117)
|
391
404
|
expect(summary[:operating_income]).to eq(348926)
|
@@ -404,6 +417,7 @@ module LiteXBRL
|
|
404
417
|
expect(summary[:year]).to eq(2014)
|
405
418
|
expect(summary[:month]).to eq(3)
|
406
419
|
expect(summary[:quarter]).to eq(1)
|
420
|
+
expect(summary[:consolidation]).to eq(1)
|
407
421
|
|
408
422
|
expect(summary[:net_sales]).to eq(1712712)
|
409
423
|
expect(summary[:operating_income]).to eq(36357)
|
@@ -422,6 +436,7 @@ module LiteXBRL
|
|
422
436
|
expect(summary[:year]).to eq(2013)
|
423
437
|
expect(summary[:month]).to eq(3)
|
424
438
|
expect(summary[:quarter]).to eq(4)
|
439
|
+
expect(summary[:consolidation]).to eq(1)
|
425
440
|
|
426
441
|
expect(summary[:net_sales]).to eq(2079943)
|
427
442
|
expect(summary[:operating_income]).to eq(237730)
|
@@ -440,6 +455,7 @@ module LiteXBRL
|
|
440
455
|
expect(summary[:year]).to eq(2014)
|
441
456
|
expect(summary[:month]).to eq(3)
|
442
457
|
expect(summary[:quarter]).to eq(1)
|
458
|
+
expect(summary[:consolidation]).to eq(1)
|
443
459
|
|
444
460
|
expect(summary[:net_sales]).to eq(1824515)
|
445
461
|
expect(summary[:operating_income]).to eq(64201)
|
@@ -458,6 +474,7 @@ module LiteXBRL
|
|
458
474
|
expect(summary[:year]).to eq(2014)
|
459
475
|
expect(summary[:month]).to eq(3)
|
460
476
|
expect(summary[:quarter]).to eq(1)
|
477
|
+
expect(summary[:consolidation]).to eq(1)
|
461
478
|
|
462
479
|
expect(summary[:net_sales]).to eq(2834095)
|
463
480
|
expect(summary[:operating_income]).to eq(184963)
|
@@ -476,6 +493,7 @@ module LiteXBRL
|
|
476
493
|
expect(summary[:year]).to eq(2013)
|
477
494
|
expect(summary[:month]).to eq(3)
|
478
495
|
expect(summary[:quarter]).to eq(4)
|
496
|
+
expect(summary[:consolidation]).to eq(1)
|
479
497
|
|
480
498
|
expect(summary[:net_sales]).to eq(2079943)
|
481
499
|
expect(summary[:operating_income]).to eq(237730)
|
@@ -494,6 +512,7 @@ module LiteXBRL
|
|
494
512
|
expect(summary[:year]).to eq(2013)
|
495
513
|
expect(summary[:month]).to eq(3)
|
496
514
|
expect(summary[:quarter]).to eq(4)
|
515
|
+
expect(summary[:consolidation]).to eq(1)
|
497
516
|
|
498
517
|
expect(summary[:net_sales]).to eq(5800281)
|
499
518
|
expect(summary[:operating_income]).to eq(194316)
|
@@ -512,6 +531,7 @@ module LiteXBRL
|
|
512
531
|
expect(summary[:year]).to eq(2013)
|
513
532
|
expect(summary[:month]).to eq(3)
|
514
533
|
expect(summary[:quarter]).to eq(4)
|
534
|
+
expect(summary[:consolidation]).to eq(1)
|
515
535
|
|
516
536
|
expect(summary[:net_sales]).to eq(681021)
|
517
537
|
expect(summary[:operating_income]).to eq(58636)
|
@@ -533,6 +553,7 @@ module LiteXBRL
|
|
533
553
|
expect(summary[:year]).to eq(2014)
|
534
554
|
expect(summary[:month]).to eq(3)
|
535
555
|
expect(summary[:quarter]).to eq(1)
|
556
|
+
expect(summary[:consolidation]).to eq(1)
|
536
557
|
|
537
558
|
expect(summary[:net_sales]).to eq(150690)
|
538
559
|
expect(summary[:operating_income]).to eq(-398)
|
@@ -578,6 +599,7 @@ module LiteXBRL
|
|
578
599
|
expect(summary[:year]).to eq(2014)
|
579
600
|
expect(summary[:month]).to eq(3)
|
580
601
|
expect(summary[:quarter]).to eq(1)
|
602
|
+
expect(summary[:consolidation]).to eq(1)
|
581
603
|
|
582
604
|
expect(summary[:net_sales]).to eq(16866)
|
583
605
|
expect(summary[:operating_income]).to eq(8407)
|
@@ -597,6 +619,7 @@ module LiteXBRL
|
|
597
619
|
expect(summary[:year]).to eq(2014)
|
598
620
|
expect(summary[:month]).to eq(3)
|
599
621
|
expect(summary[:quarter]).to eq(1)
|
622
|
+
expect(summary[:consolidation]).to eq(1)
|
600
623
|
|
601
624
|
expect(summary[:net_sales]).to eq(100425)
|
602
625
|
expect(summary[:operating_income]).to eq(20123)
|
data/spec/utils_spec.rb
CHANGED
@@ -2,60 +2,82 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
module LiteXBRL
|
4
4
|
describe Utils do
|
5
|
-
|
5
|
+
include Utils
|
6
6
|
|
7
|
-
describe '
|
7
|
+
describe '#to_securities_code' do
|
8
|
+
let(:code) { to_securities_code elm_code }
|
9
|
+
|
10
|
+
context '5桁の数字' do
|
11
|
+
let(:elm_code) { double("elm_code", content: "11110") }
|
12
|
+
|
13
|
+
it { expect(code).to eq "1111" }
|
14
|
+
end
|
15
|
+
|
16
|
+
context '全角' do
|
17
|
+
let(:elm_code) { double("elm_code", content: "1111") }
|
18
|
+
|
19
|
+
it { expect(code).to eq "1111" }
|
20
|
+
end
|
21
|
+
|
22
|
+
context '特殊文字' do
|
23
|
+
let(:elm_code) { double("elm_code", content: " 1111") }
|
24
|
+
|
25
|
+
it { expect(code).to eq "1111" }
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
describe '#to_mill' do
|
8
30
|
context 'val == "1000000"' do
|
9
31
|
let(:val) { "1000000" }
|
10
|
-
it { expect(
|
32
|
+
it { expect(to_mill val).to eq(1) }
|
11
33
|
end
|
12
34
|
end
|
13
35
|
|
14
|
-
describe '
|
36
|
+
describe '#to_i' do
|
15
37
|
context 'val == "54,074"' do
|
16
38
|
let(:val) { "54,074" }
|
17
|
-
it { expect(
|
39
|
+
it { expect(to_i val).to eq(54074) }
|
18
40
|
end
|
19
41
|
end
|
20
42
|
|
21
|
-
describe '
|
43
|
+
describe '#to_f' do
|
22
44
|
context 'val == "0.02"' do
|
23
45
|
let(:val) { "0.02" }
|
24
|
-
it { expect(
|
46
|
+
it { expect(to_f val).to eq(0.02) }
|
25
47
|
end
|
26
48
|
|
27
49
|
context 'val == "1,000.1"' do
|
28
50
|
let(:val) { "1,000.1" }
|
29
|
-
it { expect(
|
51
|
+
it { expect(to_f val).to eq 1000.1 }
|
30
52
|
end
|
31
53
|
end
|
32
54
|
|
33
|
-
describe '
|
55
|
+
describe '#perc_to_f' do
|
34
56
|
context 'val == "2.2"' do
|
35
57
|
let(:val) { "2.2" }
|
36
|
-
it { expect(
|
58
|
+
it { expect(percent_to_f val).to eq(0.022) }
|
37
59
|
end
|
38
60
|
|
39
61
|
context 'val == "1,982.4"' do
|
40
62
|
let(:val) { "1,982.4" }
|
41
|
-
it { expect(
|
63
|
+
it { expect(percent_to_f val).to eq 19.824 }
|
42
64
|
end
|
43
65
|
end
|
44
66
|
|
45
67
|
describe '#present?' do
|
46
68
|
context 'val == nil' do
|
47
69
|
let(:val) { nil }
|
48
|
-
it { expect(
|
70
|
+
it { expect(present? val).to eq false }
|
49
71
|
end
|
50
72
|
|
51
73
|
context 'val == 空文字' do
|
52
74
|
let(:val) { "" }
|
53
|
-
it { expect(
|
75
|
+
it { expect(present? val).to eq false }
|
54
76
|
end
|
55
77
|
|
56
78
|
context 'val == 2.2' do
|
57
79
|
let(:val) { "2.2" }
|
58
|
-
it { expect(
|
80
|
+
it { expect(present? val).to eq true }
|
59
81
|
end
|
60
82
|
end
|
61
83
|
|
@@ -64,11 +86,25 @@ module LiteXBRL
|
|
64
86
|
let(:code) { "96850" }
|
65
87
|
|
66
88
|
it "半角数字に直す" do
|
67
|
-
code.
|
68
|
-
expect(
|
89
|
+
allow(code).to receive(:content) { code }
|
90
|
+
expect(to_securities_code code).to eq "9685"
|
69
91
|
end
|
70
92
|
end
|
71
93
|
end
|
72
94
|
|
95
|
+
describe '#to_consolidation' do
|
96
|
+
context '連結' do
|
97
|
+
let(:consolidation) { Utils::CONSOLIDATED }
|
98
|
+
|
99
|
+
it { expect(to_consolidation consolidation).to eq 1 }
|
100
|
+
end
|
101
|
+
|
102
|
+
context '非連結' do
|
103
|
+
let(:consolidation) { Utils::NON_CONSOLIDATED }
|
104
|
+
|
105
|
+
it { expect(to_consolidation consolidation).to eq 0 }
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
73
109
|
end
|
74
110
|
end
|
metadata
CHANGED
@@ -1,71 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: litexbrl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
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: 2015-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.6.
|
19
|
+
version: 1.6.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.6.
|
26
|
+
version: 1.6.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.0.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.0.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry-byebug
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
69
97
|
description: XBRL parser for Ruby
|
70
98
|
email:
|
71
99
|
- tynmarket@gmail.com
|
@@ -84,9 +112,9 @@ executables:
|
|
84
112
|
extensions: []
|
85
113
|
extra_rdoc_files: []
|
86
114
|
files:
|
87
|
-
- .gitignore
|
88
|
-
- .rspec
|
89
|
-
- .travis.yml
|
115
|
+
- ".gitignore"
|
116
|
+
- ".rspec"
|
117
|
+
- ".travis.yml"
|
90
118
|
- Gemfile
|
91
119
|
- LICENSE.txt
|
92
120
|
- README.md
|
@@ -103,6 +131,7 @@ files:
|
|
103
131
|
- bin/rev-non-cons.htm
|
104
132
|
- bin/rev.htm
|
105
133
|
- bin/year.htm
|
134
|
+
- circle.yml
|
106
135
|
- lib/litexbrl.rb
|
107
136
|
- lib/litexbrl/tdnet.rb
|
108
137
|
- lib/litexbrl/tdnet/account_item.rb
|
@@ -119,9 +148,12 @@ files:
|
|
119
148
|
- lib/litexbrl/version.rb
|
120
149
|
- litexbrl.gemspec
|
121
150
|
- spec/data/tdnet/results_forecast.xbrl
|
151
|
+
- spec/data/tdnet/results_forecast/find_consolidation.xbrl
|
122
152
|
- spec/data/tdnet/results_forecast/ifrs-cons-2014.xbrl
|
123
153
|
- spec/data/tdnet/results_forecast/jp-cons-2012.xbrl
|
124
154
|
- spec/data/tdnet/results_forecast/jp-noncons-2014.xbrl
|
155
|
+
- spec/data/tdnet/results_forecast/jp-noncons-cons.xbrl
|
156
|
+
- spec/data/tdnet/results_forecast/jp-noncons-q2.xbrl
|
125
157
|
- spec/data/tdnet/results_forecast/us-cons-2014.xbrl
|
126
158
|
- spec/data/tdnet/results_forecast2.htm
|
127
159
|
- spec/data/tdnet/results_forecast2/1q.htm
|
@@ -157,15 +189,20 @@ files:
|
|
157
189
|
- spec/data/tdnet/summary/us-oprv-cons-2014-q1.xbrl
|
158
190
|
- spec/data/tdnet/summary/us-tr-ibit-cons-2013-q4.xbrl
|
159
191
|
- spec/data/tdnet/summary2.htm
|
192
|
+
- spec/data/tdnet/summary2/current-net_sales-error.htm
|
160
193
|
- spec/data/tdnet/summary2/ifrs-cons-2013-q4.htm
|
161
194
|
- spec/data/tdnet/summary2/jp-cons-2013-q4.htm
|
162
195
|
- spec/data/tdnet/summary2/jp-cons-2014-q1.htm
|
163
196
|
- spec/data/tdnet/summary2/jp-noncons-2014-q4.htm
|
197
|
+
- spec/data/tdnet/summary2/no-net_sales.htm
|
198
|
+
- spec/data/tdnet/summary2/profit_attributable_to_owners_of_parent.htm
|
199
|
+
- spec/data/tdnet/summary2/revenue_ifrs.htm
|
164
200
|
- spec/data/tdnet/summary2/us-cons-2014-q4.htm
|
165
201
|
- spec/litexbrl_spec.rb
|
166
202
|
- spec/spec_helper.rb
|
167
203
|
- spec/support/nokogiri_helper.rb
|
168
204
|
- spec/tdnet/account_item_spec.rb
|
205
|
+
- spec/tdnet/company_attribute_spec.rb
|
169
206
|
- spec/tdnet/results_forecast2_spec.rb
|
170
207
|
- spec/tdnet/results_forecast_attribute_spec.rb
|
171
208
|
- spec/tdnet/results_forecast_spec.rb
|
@@ -184,25 +221,28 @@ require_paths:
|
|
184
221
|
- lib
|
185
222
|
required_ruby_version: !ruby/object:Gem::Requirement
|
186
223
|
requirements:
|
187
|
-
- -
|
224
|
+
- - ">="
|
188
225
|
- !ruby/object:Gem::Version
|
189
226
|
version: '0'
|
190
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
228
|
requirements:
|
192
|
-
- -
|
229
|
+
- - ">="
|
193
230
|
- !ruby/object:Gem::Version
|
194
231
|
version: '0'
|
195
232
|
requirements: []
|
196
233
|
rubyforge_project:
|
197
|
-
rubygems_version: 2.
|
234
|
+
rubygems_version: 2.4.5
|
198
235
|
signing_key:
|
199
236
|
specification_version: 4
|
200
237
|
summary: XBRL parser for Ruby
|
201
238
|
test_files:
|
202
239
|
- spec/data/tdnet/results_forecast.xbrl
|
240
|
+
- spec/data/tdnet/results_forecast/find_consolidation.xbrl
|
203
241
|
- spec/data/tdnet/results_forecast/ifrs-cons-2014.xbrl
|
204
242
|
- spec/data/tdnet/results_forecast/jp-cons-2012.xbrl
|
205
243
|
- spec/data/tdnet/results_forecast/jp-noncons-2014.xbrl
|
244
|
+
- spec/data/tdnet/results_forecast/jp-noncons-cons.xbrl
|
245
|
+
- spec/data/tdnet/results_forecast/jp-noncons-q2.xbrl
|
206
246
|
- spec/data/tdnet/results_forecast/us-cons-2014.xbrl
|
207
247
|
- spec/data/tdnet/results_forecast2.htm
|
208
248
|
- spec/data/tdnet/results_forecast2/1q.htm
|
@@ -238,15 +278,20 @@ test_files:
|
|
238
278
|
- spec/data/tdnet/summary/us-oprv-cons-2014-q1.xbrl
|
239
279
|
- spec/data/tdnet/summary/us-tr-ibit-cons-2013-q4.xbrl
|
240
280
|
- spec/data/tdnet/summary2.htm
|
281
|
+
- spec/data/tdnet/summary2/current-net_sales-error.htm
|
241
282
|
- spec/data/tdnet/summary2/ifrs-cons-2013-q4.htm
|
242
283
|
- spec/data/tdnet/summary2/jp-cons-2013-q4.htm
|
243
284
|
- spec/data/tdnet/summary2/jp-cons-2014-q1.htm
|
244
285
|
- spec/data/tdnet/summary2/jp-noncons-2014-q4.htm
|
286
|
+
- spec/data/tdnet/summary2/no-net_sales.htm
|
287
|
+
- spec/data/tdnet/summary2/profit_attributable_to_owners_of_parent.htm
|
288
|
+
- spec/data/tdnet/summary2/revenue_ifrs.htm
|
245
289
|
- spec/data/tdnet/summary2/us-cons-2014-q4.htm
|
246
290
|
- spec/litexbrl_spec.rb
|
247
291
|
- spec/spec_helper.rb
|
248
292
|
- spec/support/nokogiri_helper.rb
|
249
293
|
- spec/tdnet/account_item_spec.rb
|
294
|
+
- spec/tdnet/company_attribute_spec.rb
|
250
295
|
- spec/tdnet/results_forecast2_spec.rb
|
251
296
|
- spec/tdnet/results_forecast_attribute_spec.rb
|
252
297
|
- spec/tdnet/results_forecast_spec.rb
|