thinreports 0.7.7 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -6
- data/.travis.yml +4 -10
- data/CHANGELOG.md +220 -0
- data/Gemfile +3 -3
- data/MIT-LICENSE +1 -1
- data/README.md +286 -0
- data/Rakefile +38 -8
- data/examples/character_spacing/character_spacing.rb +8 -0
- data/examples/character_spacing/character_spacing.tlf +1 -0
- data/examples/dynamic_image/dynamic_image.rb +31 -0
- data/examples/dynamic_image/dynamic_image.tlf +1 -0
- data/{test/case → examples}/dynamic_image/img200x100.png +0 -0
- data/{test/case → examples}/dynamic_image/img50x50.png +0 -0
- data/examples/dynamic_style/dynamic_style.rb +150 -0
- data/examples/dynamic_style/dynamic_style.tlf +1 -0
- data/examples/dynamic_style/dynamic_style_in_list.tlf +1 -0
- data/{test/case → examples}/dynamic_style/image.png +0 -0
- data/examples/eudc/eudc.rb +20 -0
- data/examples/eudc/eudc.tlf +1 -0
- data/{test/case → examples}/eudc/eudc.ttf +0 -0
- data/{test/case → examples}/helper.rb +14 -12
- data/examples/hidden_shapes/hidden_shapes.rb +9 -0
- data/examples/hidden_shapes/hidden_shapes.tlf +1 -0
- data/examples/list_events/list_events.rb +59 -0
- data/examples/list_events/list_events_0_7_7.tlf +1 -0
- data/examples/list_events/list_events_0_8.tlf +1 -0
- data/{test/case → examples}/list_manual_generation/list_manual_generation.rb +4 -4
- data/examples/list_manual_generation/list_manual_generation.tlf +1 -0
- data/{test/case → examples}/list_page_number/list_page_number.rb +3 -3
- data/examples/list_page_number/list_page_number.tlf +1 -0
- data/examples/page_number/page_number.rb +33 -0
- data/examples/page_number/page_number.tlf +1 -0
- data/examples/password_setting/password_setting.rb +10 -0
- data/examples/password_setting/password_setting.tlf +1 -0
- data/examples/report_callbacks/report_callbacks.rb +31 -0
- data/examples/report_callbacks/report_callbacks.tlf +1 -0
- data/{test/case → examples}/single_line_tblock/single_line_tblock.rb +2 -2
- data/examples/single_line_tblock/single_line_tblock.tlf +1 -0
- data/examples/tblock_overflow/tblock_overflow.rb +20 -0
- data/examples/tblock_overflow/tblock_overflow.tlf +1 -0
- data/examples/tblock_styles/font_size.tlf +1 -0
- data/examples/tblock_styles/tblock_styles.rb +43 -0
- data/examples/tblock_styles/tblock_styles.tlf +1 -0
- data/examples/text_align/text_align.rb +8 -0
- data/examples/text_align/text_align.tlf +1 -0
- data/examples/typeB_page_size/B4_ISO.tlf +1 -0
- data/examples/typeB_page_size/B4_JIS.tlf +1 -0
- data/{test/case → examples}/typeB_page_size/typeB_page_size.rb +3 -3
- data/examples/word_wrap/word_wrap.rb +26 -0
- data/examples/word_wrap/word_wrap.tlf +1 -0
- data/{resources/fonts → fonts}/IPA_Font_License_Agreement_v1.0.txt +0 -0
- data/{resources/fonts → fonts}/ipag.ttf +0 -0
- data/{resources/fonts → fonts}/ipagp.ttf +0 -0
- data/{resources/fonts → fonts}/ipam.ttf +0 -0
- data/{resources/fonts → fonts}/ipamp.ttf +0 -0
- data/lib/thinreports.rb +14 -2
- data/lib/thinreports/config.rb +30 -10
- data/lib/thinreports/core/errors.rb +23 -20
- data/lib/thinreports/core/events.rb +18 -19
- data/lib/thinreports/core/format/base.rb +20 -20
- data/lib/thinreports/core/format/builder.rb +14 -22
- data/lib/thinreports/core/shape.rb +9 -13
- data/lib/thinreports/core/shape/base.rb +4 -5
- data/lib/thinreports/core/shape/base/interface.rb +15 -15
- data/lib/thinreports/core/shape/base/internal.rb +15 -20
- data/lib/thinreports/core/shape/basic.rb +1 -1
- data/lib/thinreports/core/shape/basic/block_format.rb +3 -4
- data/lib/thinreports/core/shape/basic/block_interface.rb +9 -4
- data/lib/thinreports/core/shape/basic/block_internal.rb +9 -10
- data/lib/thinreports/core/shape/basic/format.rb +11 -10
- data/lib/thinreports/core/shape/basic/interface.rb +3 -3
- data/lib/thinreports/core/shape/basic/internal.rb +4 -5
- data/lib/thinreports/core/shape/image_block.rb +1 -1
- data/lib/thinreports/core/shape/image_block/format.rb +5 -6
- data/lib/thinreports/core/shape/image_block/interface.rb +9 -7
- data/lib/thinreports/core/shape/image_block/internal.rb +5 -6
- data/lib/thinreports/core/shape/list.rb +1 -1
- data/lib/thinreports/core/shape/list/configuration.rb +30 -15
- data/lib/thinreports/core/shape/list/events.rb +11 -11
- data/lib/thinreports/core/shape/list/format.rb +27 -28
- data/lib/thinreports/core/shape/list/manager.rb +128 -95
- data/lib/thinreports/core/shape/list/page.rb +54 -50
- data/lib/thinreports/core/shape/list/page_state.rb +15 -16
- data/lib/thinreports/core/shape/list/section_format.rb +14 -15
- data/lib/thinreports/core/shape/list/section_interface.rb +15 -16
- data/lib/thinreports/core/shape/list/section_internal.rb +7 -8
- data/lib/thinreports/core/shape/list/store.rb +10 -11
- data/lib/thinreports/core/shape/manager.rb +1 -1
- data/lib/thinreports/core/shape/manager/format.rb +10 -11
- data/lib/thinreports/core/shape/manager/internal.rb +21 -20
- data/lib/thinreports/core/shape/manager/target.rb +63 -34
- data/lib/thinreports/core/shape/page_number.rb +1 -1
- data/lib/thinreports/core/shape/page_number/format.rb +3 -3
- data/lib/thinreports/core/shape/page_number/interface.rb +2 -2
- data/lib/thinreports/core/shape/page_number/internal.rb +3 -3
- data/lib/thinreports/core/shape/style.rb +1 -1
- data/lib/thinreports/core/shape/style/base.rb +29 -29
- data/lib/thinreports/core/shape/style/basic.rb +1 -1
- data/lib/thinreports/core/shape/style/graphic.rb +10 -25
- data/lib/thinreports/core/shape/style/text.rb +36 -30
- data/lib/thinreports/core/shape/text.rb +1 -1
- data/lib/thinreports/core/shape/text/format.rb +8 -9
- data/lib/thinreports/core/shape/text/interface.rb +2 -2
- data/lib/thinreports/core/shape/text/internal.rb +6 -7
- data/lib/thinreports/core/shape/text_block.rb +1 -1
- data/lib/thinreports/core/shape/text_block/format.rb +17 -18
- data/lib/thinreports/core/shape/text_block/formatter.rb +7 -8
- data/lib/thinreports/core/shape/text_block/formatter/basic.rb +13 -12
- data/lib/thinreports/core/shape/text_block/formatter/datetime.rb +8 -9
- data/lib/thinreports/core/shape/text_block/formatter/number.rb +11 -12
- data/lib/thinreports/core/shape/text_block/formatter/padding.rb +9 -32
- data/lib/thinreports/core/shape/text_block/interface.rb +2 -2
- data/lib/thinreports/core/shape/text_block/internal.rb +19 -20
- data/lib/thinreports/core/utils.rb +33 -32
- data/lib/thinreports/generator.rb +6 -8
- data/lib/thinreports/generator/base.rb +15 -24
- data/lib/thinreports/generator/configuration.rb +10 -9
- data/lib/thinreports/generator/pdf.rb +27 -30
- data/lib/thinreports/generator/pdf/configuration.rb +11 -6
- data/lib/thinreports/generator/pdf/document.rb +28 -28
- data/lib/thinreports/generator/pdf/document/draw_shape.rb +30 -31
- data/lib/thinreports/generator/pdf/document/font.rb +53 -44
- data/lib/thinreports/generator/pdf/document/graphics.rb +8 -9
- data/lib/thinreports/generator/pdf/document/graphics/attributes.rb +25 -25
- data/lib/thinreports/generator/pdf/document/graphics/basic.rb +25 -25
- data/lib/thinreports/generator/pdf/document/graphics/image.rb +15 -15
- data/lib/thinreports/generator/pdf/document/graphics/text.rb +40 -41
- data/lib/thinreports/generator/pdf/document/page.rb +20 -21
- data/lib/thinreports/generator/pdf/document/parse_color.rb +9 -10
- data/lib/thinreports/generator/pdf/document/parse_svg.rb +14 -15
- data/lib/thinreports/generator/pdf/drawer/base.rb +13 -14
- data/lib/thinreports/generator/pdf/drawer/list.rb +13 -14
- data/lib/thinreports/generator/pdf/drawer/list_section.rb +13 -14
- data/lib/thinreports/generator/pdf/drawer/page.rb +16 -17
- data/lib/thinreports/generator/pdf/prawn_ext.rb +17 -33
- data/lib/thinreports/layout.rb +2 -2
- data/lib/thinreports/layout/base.rb +22 -36
- data/lib/thinreports/layout/configuration.rb +11 -9
- data/lib/thinreports/layout/format.rb +26 -27
- data/lib/thinreports/layout/version.rb +8 -9
- data/lib/thinreports/report.rb +10 -14
- data/lib/thinreports/report/base.rb +104 -126
- data/lib/thinreports/report/events.rb +5 -5
- data/lib/thinreports/report/internal.rb +41 -33
- data/lib/thinreports/{core → report}/page.rb +38 -30
- data/lib/thinreports/version.rb +2 -3
- data/test/data/font.ttf +0 -0
- data/test/data/layout_block.tlf +1 -0
- data/test/data/layout_list.tlf +1 -0
- data/test/data/layout_list_noheader.tlf +1 -0
- data/test/data/layout_text1.tlf +1 -0
- data/test/data/layout_text2.tlf +1 -0
- data/test/test_helper.rb +74 -0
- data/test/{unit/tmp → tmp}/.gitkeep +0 -0
- data/test/unit/core/format/test_base.rb +14 -14
- data/test/unit/core/format/test_builder.rb +19 -23
- data/test/unit/core/shape/base/test_internal.rb +34 -37
- data/test/unit/core/shape/basic/test_basic_format.rb +4 -4
- data/test/unit/core/shape/basic/test_basic_interface.rb +15 -13
- data/test/unit/core/shape/basic/test_basic_internal.rb +19 -16
- data/test/unit/core/shape/basic/test_format.rb +4 -4
- data/test/unit/core/shape/basic/test_interface.rb +36 -46
- data/test/unit/core/shape/basic/test_internal.rb +23 -20
- data/test/unit/core/shape/image_block/test_format.rb +5 -5
- data/test/unit/core/shape/image_block/test_interface.rb +17 -16
- data/test/unit/core/shape/image_block/test_internal.rb +19 -16
- data/test/unit/core/shape/list/test_configuration.rb +45 -33
- data/test/unit/core/shape/list/test_events.rb +7 -7
- data/test/unit/core/shape/list/test_format.rb +16 -18
- data/test/unit/core/shape/list/test_manager.rb +5 -5
- data/test/unit/core/shape/list/test_page.rb +80 -22
- data/test/unit/core/shape/list/test_page_state.rb +12 -12
- data/test/unit/core/shape/list/test_section_format.rb +16 -17
- data/test/unit/core/shape/list/test_section_interface.rb +30 -22
- data/test/unit/core/shape/list/test_section_internal.rb +21 -19
- data/test/unit/core/shape/list/test_store.rb +7 -7
- data/test/unit/core/shape/manager/test_format.rb +11 -15
- data/test/unit/core/shape/manager/test_internal.rb +9 -9
- data/test/unit/core/shape/manager/test_target.rb +85 -57
- data/test/unit/core/shape/page_number/test_format.rb +4 -4
- data/test/unit/core/shape/page_number/test_interface.rb +11 -8
- data/test/unit/core/shape/page_number/test_internal.rb +5 -5
- data/test/unit/core/shape/styles/test_base.rb +9 -9
- data/test/unit/core/shape/styles/test_basic.rb +5 -5
- data/test/unit/core/shape/styles/test_graphic.rb +19 -33
- data/test/unit/core/shape/styles/test_text.rb +18 -7
- data/test/unit/core/shape/text/test_format.rb +6 -6
- data/test/unit/core/shape/text/test_internal.rb +11 -12
- data/test/unit/core/shape/text_block/formatter/test_basic.rb +16 -16
- data/test/unit/core/shape/text_block/formatter/test_datetime.rb +4 -4
- data/test/unit/core/shape/text_block/formatter/test_number.rb +34 -34
- data/test/unit/core/shape/text_block/formatter/test_padding.rb +44 -44
- data/test/unit/core/shape/text_block/test_format.rb +8 -8
- data/test/unit/core/shape/text_block/test_formatter.rb +17 -17
- data/test/unit/core/shape/text_block/test_interface.rb +37 -20
- data/test/unit/core/shape/text_block/test_internal.rb +38 -38
- data/test/unit/core/test_events.rb +5 -5
- data/test/unit/core/test_shape.rb +6 -6
- data/test/unit/core/test_utils.rb +68 -0
- data/test/unit/generator/pdf/document/graphics/test_attributes.rb +4 -4
- data/test/unit/generator/pdf/document/graphics/test_text.rb +60 -53
- data/test/unit/generator/pdf/document/test_draw_shape.rb +9 -7
- data/test/unit/generator/pdf/document/test_font.rb +79 -58
- data/test/unit/generator/pdf/document/test_graphics.rb +18 -19
- data/test/unit/generator/pdf/document/test_page.rb +44 -45
- data/test/unit/generator/pdf/document/test_parse_color.rb +5 -5
- data/test/unit/generator/pdf/test_configuration.rb +16 -9
- data/test/unit/generator/pdf/test_document.rb +8 -16
- data/test/unit/generator/test_base.rb +31 -42
- data/test/unit/generator/test_configuration.rb +6 -6
- data/test/unit/generator/test_pdf.rb +17 -14
- data/test/unit/layout/test_base.rb +34 -79
- data/test/unit/layout/test_configuration.rb +12 -37
- data/test/unit/layout/test_format.rb +36 -39
- data/test/unit/layout/test_version.rb +4 -4
- data/test/unit/report/test_base.rb +134 -213
- data/test/unit/report/test_events.rb +4 -4
- data/test/unit/report/test_internal.rb +84 -86
- data/test/unit/test_config.rb +31 -12
- data/test/unit/test_layout.rb +7 -7
- data/test/unit/test_report.rb +12 -24
- data/thinreports.gemspec +18 -22
- metadata +101 -200
- data/LICENSE +0 -1
- data/README.rdoc +0 -166
- data/doc/yardoc_templates/default/layout/html/footer.erb +0 -10
- data/lib/thinreports/core.rb +0 -20
- data/lib/thinreports/core/ext.rb +0 -5
- data/lib/thinreports/core/ext/array.rb +0 -19
- data/lib/thinreports/core/ext/hash.rb +0 -19
- data/lib/thinreports/core/ext/object.rb +0 -25
- data/lib/thinreports/core/format.rb +0 -14
- data/lib/thinreports/core/ordered_hash.rb +0 -39
- data/lib/thinreports/generator/pdf/drawer.rb +0 -16
- data/tasks/doc.rake +0 -12
- data/tasks/test.rake +0 -56
- data/test/benchmark/basic_estimate.tlf +0 -1
- data/test/benchmark/bench_basic_estimate.rb +0 -95
- data/test/case/character_spacing/character_spacing.rb +0 -8
- data/test/case/character_spacing/character_spacing.tlf +0 -1
- data/test/case/dynamic_image/dynamic_image.rb +0 -41
- data/test/case/dynamic_image/dynamic_image.tlf +0 -1
- data/test/case/dynamic_style/dynamic_style.rb +0 -154
- data/test/case/dynamic_style/dynamic_style.tlf +0 -1
- data/test/case/dynamic_style/dynamic_style_in_list.tlf +0 -1
- data/test/case/eudc/eudc.rb +0 -20
- data/test/case/eudc/eudc.tlf +0 -1
- data/test/case/hidden_shapes/hidden_shapes.rb +0 -9
- data/test/case/hidden_shapes/hidden_shapes.tlf +0 -1
- data/test/case/list_events/list_events.rb +0 -32
- data/test/case/list_events/list_events.tlf +0 -1
- data/test/case/list_manual_generation/list_manual_generation.tlf +0 -1
- data/test/case/list_page_number/list_page_number.tlf +0 -1
- data/test/case/page_number/page_number.rb +0 -33
- data/test/case/page_number/page_number.tlf +0 -1
- data/test/case/password_setting/password_setting.rb +0 -10
- data/test/case/password_setting/password_setting.tlf +0 -1
- data/test/case/single_line_tblock/single_line_tblock.tlf +0 -1
- data/test/case/tblock_overflow/tblock_overflow.rb +0 -20
- data/test/case/tblock_overflow/tblock_overflow.tlf +0 -1
- data/test/case/tblock_styles/tblock_styles.rb +0 -27
- data/test/case/tblock_styles/tblock_styles.tlf +0 -1
- data/test/case/text_align/text_align.rb +0 -8
- data/test/case/text_align/text_align.tlf +0 -1
- data/test/case/typeB_page_size/B4_ISO.tlf +0 -1
- data/test/case/typeB_page_size/B4_JIS.tlf +0 -1
- data/test/case/word_wrap/word_wrap.rb +0 -26
- data/test/case/word_wrap/word_wrap.tlf +0 -1
- data/test/unit/core/ext/array_spec.rb +0 -29
- data/test/unit/core/ext/hash_spec.rb +0 -29
- data/test/unit/core/ext/object_spec.rb +0 -30
- data/test/unit/core/ordered_hash_spec.rb +0 -51
- data/test/unit/core/shape/base/test_interface.rb +0 -52
- data/test/unit/core/utils_spec.rb +0 -56
- data/test/unit/data/basic_layout1.tlf +0 -1
- data/test/unit/data/basic_layout2.tlf +0 -1
- data/test/unit/data/basic_list_layout.tlf +0 -1
- data/test/unit/data/basic_list_noheader_layout.tlf +0 -1
- data/test/unit/helper.rb +0 -87
data/thinreports.gemspec
CHANGED
@@ -5,33 +5,29 @@ require 'thinreports/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = 'thinreports'
|
8
|
-
s.version =
|
8
|
+
s.version = Thinreports::VERSION
|
9
9
|
s.author = 'Matsukei Co.,Ltd.'
|
10
|
-
s.email = 'thinreports@
|
11
|
-
s.summary = '
|
12
|
-
s.description = '
|
13
|
-
|
14
|
-
s.homepage = 'http://www.thinreports.org/'
|
10
|
+
s.email = 'thinreports@gmail.com'
|
11
|
+
s.summary = 'An open source report generation tool for Ruby.'
|
12
|
+
s.description = 'Thinreports is an open source report generation tool for Ruby.'
|
13
|
+
s.homepage = 'http://www.thinreports.org'
|
15
14
|
s.licenses = ['MIT']
|
16
|
-
|
15
|
+
|
17
16
|
s.platform = Gem::Platform::RUBY
|
18
|
-
s.required_ruby_version = '>= 1.
|
17
|
+
s.required_ruby_version = '>= 1.9.3'
|
19
18
|
|
20
|
-
s.rdoc_options = ['--main', 'README.
|
21
|
-
s.extra_rdoc_files = ['README.
|
19
|
+
s.rdoc_options = ['--main', 'README.md']
|
20
|
+
s.extra_rdoc_files = ['README.md']
|
22
21
|
|
23
22
|
s.files = `git ls-files`.split($\)
|
24
|
-
s.test_files = s.files.grep
|
23
|
+
s.test_files = s.files.grep %r{^test/}
|
25
24
|
s.require_paths = ['lib']
|
26
|
-
|
27
|
-
s.add_dependency
|
28
|
-
|
29
|
-
s.add_development_dependency
|
30
|
-
s.add_development_dependency
|
31
|
-
s.add_development_dependency
|
32
|
-
s.add_development_dependency
|
33
|
-
s.add_development_dependency
|
34
|
-
s.add_development_dependency('turn', ['>= 0'])
|
35
|
-
s.add_development_dependency('simplecov', ['>= 0'])
|
36
|
-
s.add_development_dependency('pdf-inspector', ['>= 0'])
|
25
|
+
|
26
|
+
s.add_dependency 'prawn', '1.3.0'
|
27
|
+
|
28
|
+
s.add_development_dependency 'bundler', ['>= 1.0.0']
|
29
|
+
s.add_development_dependency 'minitest', ['>= 5.0.0']
|
30
|
+
s.add_development_dependency 'mocha', ['>= 0']
|
31
|
+
s.add_development_dependency 'rake', ['>= 0']
|
32
|
+
s.add_development_dependency 'yard'
|
37
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thinreports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matsukei Co.,Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|
@@ -16,156 +16,152 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.3.0
|
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:
|
26
|
+
version: 1.3.0
|
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.0.0
|
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.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 5.0.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
|
-
version:
|
54
|
+
version: 5.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: mocha
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.3.0
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - <
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.3.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: yard
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 0.8.7
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.8.7
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rake
|
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'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: turn
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '>='
|
59
|
+
- - ">="
|
102
60
|
- !ruby/object:Gem::Version
|
103
61
|
version: '0'
|
104
62
|
type: :development
|
105
63
|
prerelease: false
|
106
64
|
version_requirements: !ruby/object:Gem::Requirement
|
107
65
|
requirements:
|
108
|
-
- -
|
66
|
+
- - ">="
|
109
67
|
- !ruby/object:Gem::Version
|
110
68
|
version: '0'
|
111
69
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
70
|
+
name: rake
|
113
71
|
requirement: !ruby/object:Gem::Requirement
|
114
72
|
requirements:
|
115
|
-
- -
|
73
|
+
- - ">="
|
116
74
|
- !ruby/object:Gem::Version
|
117
75
|
version: '0'
|
118
76
|
type: :development
|
119
77
|
prerelease: false
|
120
78
|
version_requirements: !ruby/object:Gem::Requirement
|
121
79
|
requirements:
|
122
|
-
- -
|
80
|
+
- - ">="
|
123
81
|
- !ruby/object:Gem::Version
|
124
82
|
version: '0'
|
125
83
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
84
|
+
name: yard
|
127
85
|
requirement: !ruby/object:Gem::Requirement
|
128
86
|
requirements:
|
129
|
-
- -
|
87
|
+
- - ">="
|
130
88
|
- !ruby/object:Gem::Version
|
131
89
|
version: '0'
|
132
90
|
type: :development
|
133
91
|
prerelease: false
|
134
92
|
version_requirements: !ruby/object:Gem::Requirement
|
135
93
|
requirements:
|
136
|
-
- -
|
94
|
+
- - ">="
|
137
95
|
- !ruby/object:Gem::Version
|
138
96
|
version: '0'
|
139
|
-
description:
|
140
|
-
|
141
|
-
email: thinreports@matsukei.co.jp
|
97
|
+
description: Thinreports is an open source report generation tool for Ruby.
|
98
|
+
email: thinreports@gmail.com
|
142
99
|
executables: []
|
143
100
|
extensions: []
|
144
101
|
extra_rdoc_files:
|
145
|
-
- README.
|
102
|
+
- README.md
|
146
103
|
files:
|
147
|
-
- .gitignore
|
148
|
-
- .travis.yml
|
104
|
+
- ".gitignore"
|
105
|
+
- ".travis.yml"
|
106
|
+
- CHANGELOG.md
|
149
107
|
- Gemfile
|
150
|
-
- LICENSE
|
151
108
|
- MIT-LICENSE
|
152
|
-
- README.
|
109
|
+
- README.md
|
153
110
|
- Rakefile
|
154
|
-
-
|
111
|
+
- examples/character_spacing/character_spacing.rb
|
112
|
+
- examples/character_spacing/character_spacing.tlf
|
113
|
+
- examples/dynamic_image/dynamic_image.rb
|
114
|
+
- examples/dynamic_image/dynamic_image.tlf
|
115
|
+
- examples/dynamic_image/img200x100.png
|
116
|
+
- examples/dynamic_image/img50x50.png
|
117
|
+
- examples/dynamic_style/dynamic_style.rb
|
118
|
+
- examples/dynamic_style/dynamic_style.tlf
|
119
|
+
- examples/dynamic_style/dynamic_style_in_list.tlf
|
120
|
+
- examples/dynamic_style/image.png
|
121
|
+
- examples/eudc/eudc.rb
|
122
|
+
- examples/eudc/eudc.tlf
|
123
|
+
- examples/eudc/eudc.ttf
|
124
|
+
- examples/helper.rb
|
125
|
+
- examples/hidden_shapes/hidden_shapes.rb
|
126
|
+
- examples/hidden_shapes/hidden_shapes.tlf
|
127
|
+
- examples/list_events/list_events.rb
|
128
|
+
- examples/list_events/list_events_0_7_7.tlf
|
129
|
+
- examples/list_events/list_events_0_8.tlf
|
130
|
+
- examples/list_manual_generation/list_manual_generation.rb
|
131
|
+
- examples/list_manual_generation/list_manual_generation.tlf
|
132
|
+
- examples/list_page_number/list_page_number.rb
|
133
|
+
- examples/list_page_number/list_page_number.tlf
|
134
|
+
- examples/page_number/page_number.rb
|
135
|
+
- examples/page_number/page_number.tlf
|
136
|
+
- examples/password_setting/password_setting.rb
|
137
|
+
- examples/password_setting/password_setting.tlf
|
138
|
+
- examples/report_callbacks/report_callbacks.rb
|
139
|
+
- examples/report_callbacks/report_callbacks.tlf
|
140
|
+
- examples/single_line_tblock/single_line_tblock.rb
|
141
|
+
- examples/single_line_tblock/single_line_tblock.tlf
|
142
|
+
- examples/tblock_overflow/tblock_overflow.rb
|
143
|
+
- examples/tblock_overflow/tblock_overflow.tlf
|
144
|
+
- examples/tblock_styles/font_size.tlf
|
145
|
+
- examples/tblock_styles/tblock_styles.rb
|
146
|
+
- examples/tblock_styles/tblock_styles.tlf
|
147
|
+
- examples/text_align/text_align.rb
|
148
|
+
- examples/text_align/text_align.tlf
|
149
|
+
- examples/typeB_page_size/B4_ISO.tlf
|
150
|
+
- examples/typeB_page_size/B4_JIS.tlf
|
151
|
+
- examples/typeB_page_size/typeB_page_size.rb
|
152
|
+
- examples/word_wrap/word_wrap.rb
|
153
|
+
- examples/word_wrap/word_wrap.tlf
|
154
|
+
- fonts/IPA_Font_License_Agreement_v1.0.txt
|
155
|
+
- fonts/ipag.ttf
|
156
|
+
- fonts/ipagp.ttf
|
157
|
+
- fonts/ipam.ttf
|
158
|
+
- fonts/ipamp.ttf
|
155
159
|
- lib/thinreports.rb
|
156
160
|
- lib/thinreports/config.rb
|
157
|
-
- lib/thinreports/core.rb
|
158
161
|
- lib/thinreports/core/errors.rb
|
159
162
|
- lib/thinreports/core/events.rb
|
160
|
-
- lib/thinreports/core/ext.rb
|
161
|
-
- lib/thinreports/core/ext/array.rb
|
162
|
-
- lib/thinreports/core/ext/hash.rb
|
163
|
-
- lib/thinreports/core/ext/object.rb
|
164
|
-
- lib/thinreports/core/format.rb
|
165
163
|
- lib/thinreports/core/format/base.rb
|
166
164
|
- lib/thinreports/core/format/builder.rb
|
167
|
-
- lib/thinreports/core/ordered_hash.rb
|
168
|
-
- lib/thinreports/core/page.rb
|
169
165
|
- lib/thinreports/core/shape.rb
|
170
166
|
- lib/thinreports/core/shape/base.rb
|
171
167
|
- lib/thinreports/core/shape/base/interface.rb
|
@@ -235,7 +231,6 @@ files:
|
|
235
231
|
- lib/thinreports/generator/pdf/document/page.rb
|
236
232
|
- lib/thinreports/generator/pdf/document/parse_color.rb
|
237
233
|
- lib/thinreports/generator/pdf/document/parse_svg.rb
|
238
|
-
- lib/thinreports/generator/pdf/drawer.rb
|
239
234
|
- lib/thinreports/generator/pdf/drawer/base.rb
|
240
235
|
- lib/thinreports/generator/pdf/drawer/list.rb
|
241
236
|
- lib/thinreports/generator/pdf/drawer/list_section.rb
|
@@ -250,62 +245,18 @@ files:
|
|
250
245
|
- lib/thinreports/report/base.rb
|
251
246
|
- lib/thinreports/report/events.rb
|
252
247
|
- lib/thinreports/report/internal.rb
|
248
|
+
- lib/thinreports/report/page.rb
|
253
249
|
- lib/thinreports/version.rb
|
254
|
-
-
|
255
|
-
-
|
256
|
-
-
|
257
|
-
-
|
258
|
-
-
|
259
|
-
-
|
260
|
-
-
|
261
|
-
- test/
|
262
|
-
- test/benchmark/bench_basic_estimate.rb
|
263
|
-
- test/case/character_spacing/character_spacing.rb
|
264
|
-
- test/case/character_spacing/character_spacing.tlf
|
265
|
-
- test/case/dynamic_image/dynamic_image.rb
|
266
|
-
- test/case/dynamic_image/dynamic_image.tlf
|
267
|
-
- test/case/dynamic_image/img200x100.png
|
268
|
-
- test/case/dynamic_image/img50x50.png
|
269
|
-
- test/case/dynamic_style/dynamic_style.rb
|
270
|
-
- test/case/dynamic_style/dynamic_style.tlf
|
271
|
-
- test/case/dynamic_style/dynamic_style_in_list.tlf
|
272
|
-
- test/case/dynamic_style/image.png
|
273
|
-
- test/case/eudc/eudc.rb
|
274
|
-
- test/case/eudc/eudc.tlf
|
275
|
-
- test/case/eudc/eudc.ttf
|
276
|
-
- test/case/helper.rb
|
277
|
-
- test/case/hidden_shapes/hidden_shapes.rb
|
278
|
-
- test/case/hidden_shapes/hidden_shapes.tlf
|
279
|
-
- test/case/list_events/list_events.rb
|
280
|
-
- test/case/list_events/list_events.tlf
|
281
|
-
- test/case/list_manual_generation/list_manual_generation.rb
|
282
|
-
- test/case/list_manual_generation/list_manual_generation.tlf
|
283
|
-
- test/case/list_page_number/list_page_number.rb
|
284
|
-
- test/case/list_page_number/list_page_number.tlf
|
285
|
-
- test/case/page_number/page_number.rb
|
286
|
-
- test/case/page_number/page_number.tlf
|
287
|
-
- test/case/password_setting/password_setting.rb
|
288
|
-
- test/case/password_setting/password_setting.tlf
|
289
|
-
- test/case/single_line_tblock/single_line_tblock.rb
|
290
|
-
- test/case/single_line_tblock/single_line_tblock.tlf
|
291
|
-
- test/case/tblock_overflow/tblock_overflow.rb
|
292
|
-
- test/case/tblock_overflow/tblock_overflow.tlf
|
293
|
-
- test/case/tblock_styles/tblock_styles.rb
|
294
|
-
- test/case/tblock_styles/tblock_styles.tlf
|
295
|
-
- test/case/text_align/text_align.rb
|
296
|
-
- test/case/text_align/text_align.tlf
|
297
|
-
- test/case/typeB_page_size/B4_ISO.tlf
|
298
|
-
- test/case/typeB_page_size/B4_JIS.tlf
|
299
|
-
- test/case/typeB_page_size/typeB_page_size.rb
|
300
|
-
- test/case/word_wrap/word_wrap.rb
|
301
|
-
- test/case/word_wrap/word_wrap.tlf
|
302
|
-
- test/unit/core/ext/array_spec.rb
|
303
|
-
- test/unit/core/ext/hash_spec.rb
|
304
|
-
- test/unit/core/ext/object_spec.rb
|
250
|
+
- test/data/font.ttf
|
251
|
+
- test/data/layout_block.tlf
|
252
|
+
- test/data/layout_list.tlf
|
253
|
+
- test/data/layout_list_noheader.tlf
|
254
|
+
- test/data/layout_text1.tlf
|
255
|
+
- test/data/layout_text2.tlf
|
256
|
+
- test/test_helper.rb
|
257
|
+
- test/tmp/.gitkeep
|
305
258
|
- test/unit/core/format/test_base.rb
|
306
259
|
- test/unit/core/format/test_builder.rb
|
307
|
-
- test/unit/core/ordered_hash_spec.rb
|
308
|
-
- test/unit/core/shape/base/test_interface.rb
|
309
260
|
- test/unit/core/shape/base/test_internal.rb
|
310
261
|
- test/unit/core/shape/basic/test_basic_format.rb
|
311
262
|
- test/unit/core/shape/basic/test_basic_interface.rb
|
@@ -348,11 +299,7 @@ files:
|
|
348
299
|
- test/unit/core/shape/text_block/test_internal.rb
|
349
300
|
- test/unit/core/test_events.rb
|
350
301
|
- test/unit/core/test_shape.rb
|
351
|
-
- test/unit/core/
|
352
|
-
- test/unit/data/basic_layout1.tlf
|
353
|
-
- test/unit/data/basic_layout2.tlf
|
354
|
-
- test/unit/data/basic_list_layout.tlf
|
355
|
-
- test/unit/data/basic_list_noheader_layout.tlf
|
302
|
+
- test/unit/core/test_utils.rb
|
356
303
|
- test/unit/generator/pdf/document/graphics/test_attributes.rb
|
357
304
|
- test/unit/generator/pdf/document/graphics/test_text.rb
|
358
305
|
- test/unit/generator/pdf/document/test_draw_shape.rb
|
@@ -365,7 +312,6 @@ files:
|
|
365
312
|
- test/unit/generator/test_base.rb
|
366
313
|
- test/unit/generator/test_configuration.rb
|
367
314
|
- test/unit/generator/test_pdf.rb
|
368
|
-
- test/unit/helper.rb
|
369
315
|
- test/unit/layout/test_base.rb
|
370
316
|
- test/unit/layout/test_configuration.rb
|
371
317
|
- test/unit/layout/test_format.rb
|
@@ -376,83 +322,44 @@ files:
|
|
376
322
|
- test/unit/test_config.rb
|
377
323
|
- test/unit/test_layout.rb
|
378
324
|
- test/unit/test_report.rb
|
379
|
-
- test/unit/tmp/.gitkeep
|
380
325
|
- thinreports.gemspec
|
381
|
-
homepage: http://www.thinreports.org
|
326
|
+
homepage: http://www.thinreports.org
|
382
327
|
licenses:
|
383
328
|
- MIT
|
384
329
|
metadata: {}
|
385
330
|
post_install_message:
|
386
331
|
rdoc_options:
|
387
|
-
- --main
|
388
|
-
- README.
|
332
|
+
- "--main"
|
333
|
+
- README.md
|
389
334
|
require_paths:
|
390
335
|
- lib
|
391
336
|
required_ruby_version: !ruby/object:Gem::Requirement
|
392
337
|
requirements:
|
393
|
-
- -
|
338
|
+
- - ">="
|
394
339
|
- !ruby/object:Gem::Version
|
395
|
-
version: 1.
|
340
|
+
version: 1.9.3
|
396
341
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
397
342
|
requirements:
|
398
|
-
- -
|
343
|
+
- - ">="
|
399
344
|
- !ruby/object:Gem::Version
|
400
345
|
version: '0'
|
401
346
|
requirements: []
|
402
347
|
rubyforge_project:
|
403
|
-
rubygems_version: 2.
|
348
|
+
rubygems_version: 2.4.6
|
404
349
|
signing_key:
|
405
350
|
specification_version: 4
|
406
|
-
summary:
|
351
|
+
summary: An open source report generation tool for Ruby.
|
407
352
|
test_files:
|
408
|
-
- test/
|
409
|
-
- test/
|
410
|
-
- test/
|
411
|
-
- test/
|
412
|
-
- test/
|
413
|
-
- test/
|
414
|
-
- test/
|
415
|
-
- test/
|
416
|
-
- test/case/dynamic_style/dynamic_style.rb
|
417
|
-
- test/case/dynamic_style/dynamic_style.tlf
|
418
|
-
- test/case/dynamic_style/dynamic_style_in_list.tlf
|
419
|
-
- test/case/dynamic_style/image.png
|
420
|
-
- test/case/eudc/eudc.rb
|
421
|
-
- test/case/eudc/eudc.tlf
|
422
|
-
- test/case/eudc/eudc.ttf
|
423
|
-
- test/case/helper.rb
|
424
|
-
- test/case/hidden_shapes/hidden_shapes.rb
|
425
|
-
- test/case/hidden_shapes/hidden_shapes.tlf
|
426
|
-
- test/case/list_events/list_events.rb
|
427
|
-
- test/case/list_events/list_events.tlf
|
428
|
-
- test/case/list_manual_generation/list_manual_generation.rb
|
429
|
-
- test/case/list_manual_generation/list_manual_generation.tlf
|
430
|
-
- test/case/list_page_number/list_page_number.rb
|
431
|
-
- test/case/list_page_number/list_page_number.tlf
|
432
|
-
- test/case/page_number/page_number.rb
|
433
|
-
- test/case/page_number/page_number.tlf
|
434
|
-
- test/case/password_setting/password_setting.rb
|
435
|
-
- test/case/password_setting/password_setting.tlf
|
436
|
-
- test/case/single_line_tblock/single_line_tblock.rb
|
437
|
-
- test/case/single_line_tblock/single_line_tblock.tlf
|
438
|
-
- test/case/tblock_overflow/tblock_overflow.rb
|
439
|
-
- test/case/tblock_overflow/tblock_overflow.tlf
|
440
|
-
- test/case/tblock_styles/tblock_styles.rb
|
441
|
-
- test/case/tblock_styles/tblock_styles.tlf
|
442
|
-
- test/case/text_align/text_align.rb
|
443
|
-
- test/case/text_align/text_align.tlf
|
444
|
-
- test/case/typeB_page_size/B4_ISO.tlf
|
445
|
-
- test/case/typeB_page_size/B4_JIS.tlf
|
446
|
-
- test/case/typeB_page_size/typeB_page_size.rb
|
447
|
-
- test/case/word_wrap/word_wrap.rb
|
448
|
-
- test/case/word_wrap/word_wrap.tlf
|
449
|
-
- test/unit/core/ext/array_spec.rb
|
450
|
-
- test/unit/core/ext/hash_spec.rb
|
451
|
-
- test/unit/core/ext/object_spec.rb
|
353
|
+
- test/data/font.ttf
|
354
|
+
- test/data/layout_block.tlf
|
355
|
+
- test/data/layout_list.tlf
|
356
|
+
- test/data/layout_list_noheader.tlf
|
357
|
+
- test/data/layout_text1.tlf
|
358
|
+
- test/data/layout_text2.tlf
|
359
|
+
- test/test_helper.rb
|
360
|
+
- test/tmp/.gitkeep
|
452
361
|
- test/unit/core/format/test_base.rb
|
453
362
|
- test/unit/core/format/test_builder.rb
|
454
|
-
- test/unit/core/ordered_hash_spec.rb
|
455
|
-
- test/unit/core/shape/base/test_interface.rb
|
456
363
|
- test/unit/core/shape/base/test_internal.rb
|
457
364
|
- test/unit/core/shape/basic/test_basic_format.rb
|
458
365
|
- test/unit/core/shape/basic/test_basic_interface.rb
|
@@ -495,11 +402,7 @@ test_files:
|
|
495
402
|
- test/unit/core/shape/text_block/test_internal.rb
|
496
403
|
- test/unit/core/test_events.rb
|
497
404
|
- test/unit/core/test_shape.rb
|
498
|
-
- test/unit/core/
|
499
|
-
- test/unit/data/basic_layout1.tlf
|
500
|
-
- test/unit/data/basic_layout2.tlf
|
501
|
-
- test/unit/data/basic_list_layout.tlf
|
502
|
-
- test/unit/data/basic_list_noheader_layout.tlf
|
405
|
+
- test/unit/core/test_utils.rb
|
503
406
|
- test/unit/generator/pdf/document/graphics/test_attributes.rb
|
504
407
|
- test/unit/generator/pdf/document/graphics/test_text.rb
|
505
408
|
- test/unit/generator/pdf/document/test_draw_shape.rb
|
@@ -512,7 +415,6 @@ test_files:
|
|
512
415
|
- test/unit/generator/test_base.rb
|
513
416
|
- test/unit/generator/test_configuration.rb
|
514
417
|
- test/unit/generator/test_pdf.rb
|
515
|
-
- test/unit/helper.rb
|
516
418
|
- test/unit/layout/test_base.rb
|
517
419
|
- test/unit/layout/test_configuration.rb
|
518
420
|
- test/unit/layout/test_format.rb
|
@@ -523,5 +425,4 @@ test_files:
|
|
523
425
|
- test/unit/test_config.rb
|
524
426
|
- test/unit/test_layout.rb
|
525
427
|
- test/unit/test_report.rb
|
526
|
-
- test/unit/tmp/.gitkeep
|
527
428
|
has_rdoc:
|