thinreports 0.7.6 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -5
- data/.travis.yml +8 -4
- data/CHANGELOG.md +220 -0
- data/Gemfile +2 -9
- 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/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/examples/eudc/eudc.rb +20 -0
- data/examples/eudc/eudc.tlf +1 -0
- data/examples/helper.rb +50 -0
- 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/examples/list_manual_generation/list_manual_generation.rb +22 -0
- data/examples/list_manual_generation/list_manual_generation.tlf +1 -0
- data/examples/list_page_number/list_page_number.rb +17 -0
- 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/examples/single_line_tblock/single_line_tblock.rb +13 -0
- 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/examples/typeB_page_size/typeB_page_size.rb +17 -0
- data/examples/word_wrap/word_wrap.rb +26 -0
- data/examples/word_wrap/word_wrap.tlf +1 -0
- 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 -25
- data/lib/thinreports/core/format/builder.rb +19 -27
- 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/base.rb +4 -5
- 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 +9 -6
- data/lib/thinreports/core/shape/basic.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/image_block.rb +1 -1
- data/lib/thinreports/core/shape/list/configuration.rb +37 -16
- 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 +135 -95
- data/lib/thinreports/core/shape/list/page.rb +57 -51
- data/lib/thinreports/core/shape/list/page_state.rb +19 -17
- 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/list.rb +1 -1
- data/lib/thinreports/core/shape/manager/format.rb +10 -11
- data/lib/thinreports/core/shape/manager/internal.rb +22 -21
- data/lib/thinreports/core/shape/manager/target.rb +63 -34
- data/lib/thinreports/core/shape/manager.rb +1 -1
- data/lib/thinreports/core/shape/page_number/format.rb +25 -0
- data/lib/thinreports/core/shape/page_number/interface.rb +27 -0
- data/lib/thinreports/core/shape/page_number/internal.rb +57 -0
- data/lib/thinreports/core/shape/page_number.rb +15 -0
- 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 +41 -31
- data/lib/thinreports/core/shape/style.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.rb +1 -1
- data/lib/thinreports/core/shape/text_block/format.rb +17 -17
- 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/formatter.rb +7 -8
- 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/shape/text_block.rb +1 -1
- data/lib/thinreports/core/shape.rb +11 -13
- data/lib/thinreports/core/utils.rb +33 -32
- data/lib/thinreports/generator/base.rb +15 -24
- data/lib/thinreports/generator/configuration.rb +10 -9
- data/lib/thinreports/generator/pdf/configuration.rb +11 -6
- data/lib/thinreports/generator/pdf/document/draw_shape.rb +41 -32
- data/lib/thinreports/generator/pdf/document/font.rb +53 -44
- data/lib/thinreports/generator/pdf/document/graphics/attributes.rb +34 -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 +43 -41
- data/lib/thinreports/generator/pdf/document/graphics.rb +8 -9
- data/lib/thinreports/generator/pdf/document/page.rb +37 -23
- 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/document.rb +28 -28
- data/lib/thinreports/generator/pdf/drawer/base.rb +16 -22
- data/lib/thinreports/generator/pdf/drawer/list.rb +39 -21
- data/lib/thinreports/generator/pdf/drawer/list_section.rb +17 -18
- data/lib/thinreports/generator/pdf/drawer/page.rb +37 -26
- data/lib/thinreports/generator/pdf/prawn_ext.rb +18 -17
- data/lib/thinreports/generator/pdf.rb +28 -31
- data/lib/thinreports/generator.rb +6 -8
- data/lib/thinreports/layout/base.rb +24 -36
- data/lib/thinreports/layout/configuration.rb +11 -9
- data/lib/thinreports/layout/format.rb +26 -31
- data/lib/thinreports/layout/version.rb +8 -9
- data/lib/thinreports/layout.rb +2 -2
- data/lib/thinreports/report/base.rb +117 -109
- data/lib/thinreports/report/events.rb +5 -5
- data/lib/thinreports/report/internal.rb +48 -38
- data/lib/thinreports/{core → report}/page.rb +42 -32
- data/lib/thinreports/report.rb +10 -14
- data/lib/thinreports/version.rb +2 -3
- data/lib/thinreports.rb +14 -2
- 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/tmp/.gitkeep +0 -0
- data/test/unit/core/format/test_base.rb +14 -14
- data/test/unit/core/format/test_builder.rb +20 -25
- 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 +29 -18
- 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 +50 -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 +15 -5
- data/test/unit/core/shape/list/test_page.rb +80 -22
- data/test/unit/core/shape/list/test_page_state.rb +13 -13
- 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 +73 -0
- data/test/unit/core/shape/page_number/test_interface.rb +33 -0
- data/test/unit/core/shape/page_number/test_internal.rb +81 -0
- 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 +29 -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 +22 -20
- 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 +13 -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 +10 -8
- data/test/unit/core/test_shape.rb +11 -7
- data/test/unit/core/test_utils.rb +68 -0
- data/test/unit/generator/pdf/document/graphics/test_attributes.rb +10 -4
- data/test/unit/generator/pdf/document/graphics/test_text.rb +60 -53
- data/test/unit/generator/pdf/document/test_draw_shape.rb +14 -6
- 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 +68 -43
- 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 +15 -21
- 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 +160 -192
- data/test/unit/report/test_events.rb +4 -4
- data/test/unit/report/test_internal.rb +102 -82
- 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 +23 -26
- metadata +118 -181
- data/.yardopts +0 -1
- data/LICENSE +0 -1
- data/README.rdoc +0 -167
- data/doc/yardoc_templates/default/layout/html/footer.erb +0 -10
- 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/ext.rb +0 -5
- data/lib/thinreports/core/format.rb +0 -14
- data/lib/thinreports/core/ordered_hash.rb +0 -39
- data/lib/thinreports/core.rb +0 -20
- data/lib/thinreports/generator/pdf/drawer.rb +0 -16
- data/tasks/doc.rake +0 -13
- 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 -7
- 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/helper.rb +0 -29
- data/test/case/hidden_shapes/hidden_shapes.rb +0 -13
- 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_header_inheriting/list_header_inheriting.rb +0 -17
- data/test/case/list_header_inheriting/list_header_inheriting.tlf +0 -1
- data/test/case/list_manual_generation/list_manual_generation.rb +0 -22
- data/test/case/list_manual_generation/list_manual_generation.tlf +0 -1
- data/test/case/single_line_tblock/single_line_tblock.rb +0 -15
- 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 -9
- data/test/case/text_align/text_align.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 -65
- /data/{test/case → examples}/dynamic_image/img200x100.png +0 -0
- /data/{test/case → examples}/dynamic_image/img50x50.png +0 -0
- /data/{test/case → examples}/dynamic_style/image.png +0 -0
- /data/{test/case → examples}/eudc/eudc.ttf +0 -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
metadata
CHANGED
@@ -1,165 +1,167 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thinreports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.8.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Matsukei Co.,Ltd.
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: prawn
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
-
- - <=
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 0.12.0
|
19
|
+
version: 1.3.0
|
25
20
|
type: :runtime
|
26
21
|
prerelease: false
|
27
22
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
23
|
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.12.0
|
33
|
-
- - <=
|
24
|
+
- - '='
|
34
25
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
26
|
+
version: 1.3.0
|
36
27
|
- !ruby/object:Gem::Dependency
|
37
28
|
name: bundler
|
38
29
|
requirement: !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
30
|
requirements:
|
41
|
-
- -
|
31
|
+
- - ">="
|
42
32
|
- !ruby/object:Gem::Version
|
43
33
|
version: 1.0.0
|
44
34
|
type: :development
|
45
35
|
prerelease: false
|
46
36
|
version_requirements: !ruby/object:Gem::Requirement
|
47
|
-
none: false
|
48
37
|
requirements:
|
49
|
-
- -
|
38
|
+
- - ">="
|
50
39
|
- !ruby/object:Gem::Version
|
51
40
|
version: 1.0.0
|
52
41
|
- !ruby/object:Gem::Dependency
|
53
|
-
name:
|
42
|
+
name: minitest
|
54
43
|
requirement: !ruby/object:Gem::Requirement
|
55
|
-
none: false
|
56
44
|
requirements:
|
57
|
-
- -
|
45
|
+
- - ">="
|
58
46
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.
|
47
|
+
version: 5.0.0
|
60
48
|
type: :development
|
61
49
|
prerelease: false
|
62
50
|
version_requirements: !ruby/object:Gem::Requirement
|
63
|
-
none: false
|
64
51
|
requirements:
|
65
|
-
- -
|
52
|
+
- - ">="
|
66
53
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0.
|
54
|
+
version: 5.0.0
|
68
55
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
56
|
+
name: mocha
|
70
57
|
requirement: !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
58
|
requirements:
|
73
|
-
- -
|
59
|
+
- - ">="
|
74
60
|
- !ruby/object:Gem::Version
|
75
61
|
version: '0'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
none: false
|
80
65
|
requirements:
|
81
|
-
- -
|
66
|
+
- - ">="
|
82
67
|
- !ruby/object:Gem::Version
|
83
68
|
version: '0'
|
84
69
|
- !ruby/object:Gem::Dependency
|
85
70
|
name: rake
|
86
71
|
requirement: !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
72
|
requirements:
|
89
|
-
- -
|
73
|
+
- - ">="
|
90
74
|
- !ruby/object:Gem::Version
|
91
75
|
version: '0'
|
92
76
|
type: :development
|
93
77
|
prerelease: false
|
94
78
|
version_requirements: !ruby/object:Gem::Requirement
|
95
|
-
none: false
|
96
79
|
requirements:
|
97
|
-
- -
|
80
|
+
- - ">="
|
98
81
|
- !ruby/object:Gem::Version
|
99
82
|
version: '0'
|
100
83
|
- !ruby/object:Gem::Dependency
|
101
|
-
name:
|
102
|
-
requirement: !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
|
-
requirements:
|
105
|
-
- - ! '>='
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version: '0'
|
108
|
-
type: :development
|
109
|
-
prerelease: false
|
110
|
-
version_requirements: !ruby/object:Gem::Requirement
|
111
|
-
none: false
|
112
|
-
requirements:
|
113
|
-
- - ! '>='
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '0'
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
|
-
name: simplecov
|
84
|
+
name: yard
|
118
85
|
requirement: !ruby/object:Gem::Requirement
|
119
|
-
none: false
|
120
86
|
requirements:
|
121
|
-
- -
|
87
|
+
- - ">="
|
122
88
|
- !ruby/object:Gem::Version
|
123
89
|
version: '0'
|
124
90
|
type: :development
|
125
91
|
prerelease: false
|
126
92
|
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
none: false
|
128
93
|
requirements:
|
129
|
-
- -
|
94
|
+
- - ">="
|
130
95
|
- !ruby/object:Gem::Version
|
131
96
|
version: '0'
|
132
|
-
description:
|
133
|
-
|
134
|
-
email: thinreports@matsukei.co.jp
|
97
|
+
description: Thinreports is an open source report generation tool for Ruby.
|
98
|
+
email: thinreports@gmail.com
|
135
99
|
executables: []
|
136
100
|
extensions: []
|
137
101
|
extra_rdoc_files:
|
138
|
-
- README.
|
102
|
+
- README.md
|
139
103
|
files:
|
140
|
-
- .gitignore
|
141
|
-
- .travis.yml
|
142
|
-
- .
|
104
|
+
- ".gitignore"
|
105
|
+
- ".travis.yml"
|
106
|
+
- CHANGELOG.md
|
143
107
|
- Gemfile
|
144
|
-
- LICENSE
|
145
108
|
- MIT-LICENSE
|
146
|
-
- README.
|
109
|
+
- README.md
|
147
110
|
- Rakefile
|
148
|
-
-
|
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
|
149
159
|
- lib/thinreports.rb
|
150
160
|
- lib/thinreports/config.rb
|
151
|
-
- lib/thinreports/core.rb
|
152
161
|
- lib/thinreports/core/errors.rb
|
153
162
|
- lib/thinreports/core/events.rb
|
154
|
-
- lib/thinreports/core/ext.rb
|
155
|
-
- lib/thinreports/core/ext/array.rb
|
156
|
-
- lib/thinreports/core/ext/hash.rb
|
157
|
-
- lib/thinreports/core/ext/object.rb
|
158
|
-
- lib/thinreports/core/format.rb
|
159
163
|
- lib/thinreports/core/format/base.rb
|
160
164
|
- lib/thinreports/core/format/builder.rb
|
161
|
-
- lib/thinreports/core/ordered_hash.rb
|
162
|
-
- lib/thinreports/core/page.rb
|
163
165
|
- lib/thinreports/core/shape.rb
|
164
166
|
- lib/thinreports/core/shape/base.rb
|
165
167
|
- lib/thinreports/core/shape/base/interface.rb
|
@@ -190,6 +192,10 @@ files:
|
|
190
192
|
- lib/thinreports/core/shape/manager/format.rb
|
191
193
|
- lib/thinreports/core/shape/manager/internal.rb
|
192
194
|
- lib/thinreports/core/shape/manager/target.rb
|
195
|
+
- lib/thinreports/core/shape/page_number.rb
|
196
|
+
- lib/thinreports/core/shape/page_number/format.rb
|
197
|
+
- lib/thinreports/core/shape/page_number/interface.rb
|
198
|
+
- lib/thinreports/core/shape/page_number/internal.rb
|
193
199
|
- lib/thinreports/core/shape/style.rb
|
194
200
|
- lib/thinreports/core/shape/style/base.rb
|
195
201
|
- lib/thinreports/core/shape/style/basic.rb
|
@@ -225,7 +231,6 @@ files:
|
|
225
231
|
- lib/thinreports/generator/pdf/document/page.rb
|
226
232
|
- lib/thinreports/generator/pdf/document/parse_color.rb
|
227
233
|
- lib/thinreports/generator/pdf/document/parse_svg.rb
|
228
|
-
- lib/thinreports/generator/pdf/drawer.rb
|
229
234
|
- lib/thinreports/generator/pdf/drawer/base.rb
|
230
235
|
- lib/thinreports/generator/pdf/drawer/list.rb
|
231
236
|
- lib/thinreports/generator/pdf/drawer/list_section.rb
|
@@ -240,53 +245,18 @@ files:
|
|
240
245
|
- lib/thinreports/report/base.rb
|
241
246
|
- lib/thinreports/report/events.rb
|
242
247
|
- lib/thinreports/report/internal.rb
|
248
|
+
- lib/thinreports/report/page.rb
|
243
249
|
- lib/thinreports/version.rb
|
244
|
-
-
|
245
|
-
-
|
246
|
-
-
|
247
|
-
-
|
248
|
-
-
|
249
|
-
-
|
250
|
-
-
|
251
|
-
- test/
|
252
|
-
- test/benchmark/bench_basic_estimate.rb
|
253
|
-
- test/case/character_spacing/character_spacing.rb
|
254
|
-
- test/case/character_spacing/character_spacing.tlf
|
255
|
-
- test/case/dynamic_image/dynamic_image.rb
|
256
|
-
- test/case/dynamic_image/dynamic_image.tlf
|
257
|
-
- test/case/dynamic_image/img200x100.png
|
258
|
-
- test/case/dynamic_image/img50x50.png
|
259
|
-
- test/case/dynamic_style/dynamic_style.rb
|
260
|
-
- test/case/dynamic_style/dynamic_style.tlf
|
261
|
-
- test/case/dynamic_style/dynamic_style_in_list.tlf
|
262
|
-
- test/case/dynamic_style/image.png
|
263
|
-
- test/case/eudc/eudc.rb
|
264
|
-
- test/case/eudc/eudc.tlf
|
265
|
-
- test/case/eudc/eudc.ttf
|
266
|
-
- test/case/helper.rb
|
267
|
-
- test/case/hidden_shapes/hidden_shapes.rb
|
268
|
-
- test/case/hidden_shapes/hidden_shapes.tlf
|
269
|
-
- test/case/list_events/list_events.rb
|
270
|
-
- test/case/list_events/list_events.tlf
|
271
|
-
- test/case/list_header_inheriting/list_header_inheriting.rb
|
272
|
-
- test/case/list_header_inheriting/list_header_inheriting.tlf
|
273
|
-
- test/case/list_manual_generation/list_manual_generation.rb
|
274
|
-
- test/case/list_manual_generation/list_manual_generation.tlf
|
275
|
-
- test/case/single_line_tblock/single_line_tblock.rb
|
276
|
-
- test/case/single_line_tblock/single_line_tblock.tlf
|
277
|
-
- test/case/tblock_overflow/tblock_overflow.rb
|
278
|
-
- test/case/tblock_overflow/tblock_overflow.tlf
|
279
|
-
- test/case/tblock_styles/tblock_styles.rb
|
280
|
-
- test/case/tblock_styles/tblock_styles.tlf
|
281
|
-
- test/case/text_align/text_align.rb
|
282
|
-
- test/case/text_align/text_align.tlf
|
283
|
-
- test/unit/core/ext/array_spec.rb
|
284
|
-
- test/unit/core/ext/hash_spec.rb
|
285
|
-
- 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
|
286
258
|
- test/unit/core/format/test_base.rb
|
287
259
|
- test/unit/core/format/test_builder.rb
|
288
|
-
- test/unit/core/ordered_hash_spec.rb
|
289
|
-
- test/unit/core/shape/base/test_interface.rb
|
290
260
|
- test/unit/core/shape/base/test_internal.rb
|
291
261
|
- test/unit/core/shape/basic/test_basic_format.rb
|
292
262
|
- test/unit/core/shape/basic/test_basic_interface.rb
|
@@ -310,6 +280,9 @@ files:
|
|
310
280
|
- test/unit/core/shape/manager/test_format.rb
|
311
281
|
- test/unit/core/shape/manager/test_internal.rb
|
312
282
|
- test/unit/core/shape/manager/test_target.rb
|
283
|
+
- test/unit/core/shape/page_number/test_format.rb
|
284
|
+
- test/unit/core/shape/page_number/test_interface.rb
|
285
|
+
- test/unit/core/shape/page_number/test_internal.rb
|
313
286
|
- test/unit/core/shape/styles/test_base.rb
|
314
287
|
- test/unit/core/shape/styles/test_basic.rb
|
315
288
|
- test/unit/core/shape/styles/test_graphic.rb
|
@@ -326,11 +299,7 @@ files:
|
|
326
299
|
- test/unit/core/shape/text_block/test_internal.rb
|
327
300
|
- test/unit/core/test_events.rb
|
328
301
|
- test/unit/core/test_shape.rb
|
329
|
-
- test/unit/core/
|
330
|
-
- test/unit/data/basic_layout1.tlf
|
331
|
-
- test/unit/data/basic_layout2.tlf
|
332
|
-
- test/unit/data/basic_list_layout.tlf
|
333
|
-
- test/unit/data/basic_list_noheader_layout.tlf
|
302
|
+
- test/unit/core/test_utils.rb
|
334
303
|
- test/unit/generator/pdf/document/graphics/test_attributes.rb
|
335
304
|
- test/unit/generator/pdf/document/graphics/test_text.rb
|
336
305
|
- test/unit/generator/pdf/document/test_draw_shape.rb
|
@@ -343,7 +312,6 @@ files:
|
|
343
312
|
- test/unit/generator/test_base.rb
|
344
313
|
- test/unit/generator/test_configuration.rb
|
345
314
|
- test/unit/generator/test_pdf.rb
|
346
|
-
- test/unit/helper.rb
|
347
315
|
- test/unit/layout/test_base.rb
|
348
316
|
- test/unit/layout/test_configuration.rb
|
349
317
|
- test/unit/layout/test_format.rb
|
@@ -355,72 +323,43 @@ files:
|
|
355
323
|
- test/unit/test_layout.rb
|
356
324
|
- test/unit/test_report.rb
|
357
325
|
- thinreports.gemspec
|
358
|
-
homepage: http://www.thinreports.org
|
359
|
-
licenses:
|
326
|
+
homepage: http://www.thinreports.org
|
327
|
+
licenses:
|
328
|
+
- MIT
|
329
|
+
metadata: {}
|
360
330
|
post_install_message:
|
361
331
|
rdoc_options:
|
362
|
-
- --main
|
363
|
-
- README.
|
332
|
+
- "--main"
|
333
|
+
- README.md
|
364
334
|
require_paths:
|
365
335
|
- lib
|
366
336
|
required_ruby_version: !ruby/object:Gem::Requirement
|
367
|
-
none: false
|
368
337
|
requirements:
|
369
|
-
- -
|
338
|
+
- - ">="
|
370
339
|
- !ruby/object:Gem::Version
|
371
|
-
version: 1.
|
340
|
+
version: 1.9.3
|
372
341
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
373
|
-
none: false
|
374
342
|
requirements:
|
375
|
-
- -
|
343
|
+
- - ">="
|
376
344
|
- !ruby/object:Gem::Version
|
377
|
-
version:
|
345
|
+
version: '0'
|
378
346
|
requirements: []
|
379
347
|
rubyforge_project:
|
380
|
-
rubygems_version:
|
348
|
+
rubygems_version: 2.4.6
|
381
349
|
signing_key:
|
382
|
-
specification_version:
|
383
|
-
summary:
|
350
|
+
specification_version: 4
|
351
|
+
summary: An open source report generation tool for Ruby.
|
384
352
|
test_files:
|
385
|
-
- test/
|
386
|
-
- test/
|
387
|
-
- test/
|
388
|
-
- test/
|
389
|
-
- test/
|
390
|
-
- test/
|
391
|
-
- test/
|
392
|
-
- test/
|
393
|
-
- test/case/dynamic_style/dynamic_style.rb
|
394
|
-
- test/case/dynamic_style/dynamic_style.tlf
|
395
|
-
- test/case/dynamic_style/dynamic_style_in_list.tlf
|
396
|
-
- test/case/dynamic_style/image.png
|
397
|
-
- test/case/eudc/eudc.rb
|
398
|
-
- test/case/eudc/eudc.tlf
|
399
|
-
- test/case/eudc/eudc.ttf
|
400
|
-
- test/case/helper.rb
|
401
|
-
- test/case/hidden_shapes/hidden_shapes.rb
|
402
|
-
- test/case/hidden_shapes/hidden_shapes.tlf
|
403
|
-
- test/case/list_events/list_events.rb
|
404
|
-
- test/case/list_events/list_events.tlf
|
405
|
-
- test/case/list_header_inheriting/list_header_inheriting.rb
|
406
|
-
- test/case/list_header_inheriting/list_header_inheriting.tlf
|
407
|
-
- test/case/list_manual_generation/list_manual_generation.rb
|
408
|
-
- test/case/list_manual_generation/list_manual_generation.tlf
|
409
|
-
- test/case/single_line_tblock/single_line_tblock.rb
|
410
|
-
- test/case/single_line_tblock/single_line_tblock.tlf
|
411
|
-
- test/case/tblock_overflow/tblock_overflow.rb
|
412
|
-
- test/case/tblock_overflow/tblock_overflow.tlf
|
413
|
-
- test/case/tblock_styles/tblock_styles.rb
|
414
|
-
- test/case/tblock_styles/tblock_styles.tlf
|
415
|
-
- test/case/text_align/text_align.rb
|
416
|
-
- test/case/text_align/text_align.tlf
|
417
|
-
- test/unit/core/ext/array_spec.rb
|
418
|
-
- test/unit/core/ext/hash_spec.rb
|
419
|
-
- 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
|
420
361
|
- test/unit/core/format/test_base.rb
|
421
362
|
- test/unit/core/format/test_builder.rb
|
422
|
-
- test/unit/core/ordered_hash_spec.rb
|
423
|
-
- test/unit/core/shape/base/test_interface.rb
|
424
363
|
- test/unit/core/shape/base/test_internal.rb
|
425
364
|
- test/unit/core/shape/basic/test_basic_format.rb
|
426
365
|
- test/unit/core/shape/basic/test_basic_interface.rb
|
@@ -444,6 +383,9 @@ test_files:
|
|
444
383
|
- test/unit/core/shape/manager/test_format.rb
|
445
384
|
- test/unit/core/shape/manager/test_internal.rb
|
446
385
|
- test/unit/core/shape/manager/test_target.rb
|
386
|
+
- test/unit/core/shape/page_number/test_format.rb
|
387
|
+
- test/unit/core/shape/page_number/test_interface.rb
|
388
|
+
- test/unit/core/shape/page_number/test_internal.rb
|
447
389
|
- test/unit/core/shape/styles/test_base.rb
|
448
390
|
- test/unit/core/shape/styles/test_basic.rb
|
449
391
|
- test/unit/core/shape/styles/test_graphic.rb
|
@@ -460,11 +402,7 @@ test_files:
|
|
460
402
|
- test/unit/core/shape/text_block/test_internal.rb
|
461
403
|
- test/unit/core/test_events.rb
|
462
404
|
- test/unit/core/test_shape.rb
|
463
|
-
- test/unit/core/
|
464
|
-
- test/unit/data/basic_layout1.tlf
|
465
|
-
- test/unit/data/basic_layout2.tlf
|
466
|
-
- test/unit/data/basic_list_layout.tlf
|
467
|
-
- test/unit/data/basic_list_noheader_layout.tlf
|
405
|
+
- test/unit/core/test_utils.rb
|
468
406
|
- test/unit/generator/pdf/document/graphics/test_attributes.rb
|
469
407
|
- test/unit/generator/pdf/document/graphics/test_text.rb
|
470
408
|
- test/unit/generator/pdf/document/test_draw_shape.rb
|
@@ -477,7 +415,6 @@ test_files:
|
|
477
415
|
- test/unit/generator/test_base.rb
|
478
416
|
- test/unit/generator/test_configuration.rb
|
479
417
|
- test/unit/generator/test_pdf.rb
|
480
|
-
- test/unit/helper.rb
|
481
418
|
- test/unit/layout/test_base.rb
|
482
419
|
- test/unit/layout/test_configuration.rb
|
483
420
|
- test/unit/layout/test_format.rb
|
data/.yardopts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--no-private
|
data/LICENSE
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ThinReports Generator can be used under MIT-LICENSE. See MIT-LICENSE file for more details.
|
data/README.rdoc
DELETED
@@ -1,167 +0,0 @@
|
|
1
|
-
= ThinReports Generator
|
2
|
-
|
3
|
-
{<img src="https://secure.travis-ci.org/thinreports/thinreports-generator.png" />}[http://travis-ci.org/thinreports/thinreports-generator] {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/thinreports/thinreports-generator]
|
4
|
-
|
5
|
-
{ThinReports}[http://www.thinreports.org/] is Open Source Reporting Solution for Ruby.
|
6
|
-
|
7
|
-
* ThinReports Editor (GUI Designer)
|
8
|
-
* ThinReports Generator (Report Generator for Ruby)
|
9
|
-
|
10
|
-
== Generator's features
|
11
|
-
|
12
|
-
Editor's features is {here}[http://www.thinreports.org/features/editor/].
|
13
|
-
|
14
|
-
=== Easy to generate PDF file
|
15
|
-
|
16
|
-
Design the layout using Editor, then embed values to text field in layout. That's it!
|
17
|
-
|
18
|
-
=== Simple runtime environments
|
19
|
-
|
20
|
-
Ruby, RubyGems, Prawn and Generator.
|
21
|
-
|
22
|
-
=== Dynamic
|
23
|
-
|
24
|
-
Generator can be dynamically operated ...
|
25
|
-
|
26
|
-
* value of TextBlock
|
27
|
-
* image of ImageBlock
|
28
|
-
* styles (border, fill, visibility, position, color, font) of shape
|
29
|
-
|
30
|
-
=== For Japan
|
31
|
-
|
32
|
-
* Japanese OK
|
33
|
-
* External characters (Gaiji)
|
34
|
-
|
35
|
-
== Supported Versions
|
36
|
-
|
37
|
-
* Ruby 1.8.7, 1.9.2, 1.9.3
|
38
|
-
* JRuby 1.6.5+ (Only 1.8mode)
|
39
|
-
|
40
|
-
== Install
|
41
|
-
|
42
|
-
Add the following line in your Gemfile:
|
43
|
-
|
44
|
-
gem 'thinreports'
|
45
|
-
|
46
|
-
Then bundle:
|
47
|
-
|
48
|
-
$ bundle
|
49
|
-
|
50
|
-
Or:
|
51
|
-
|
52
|
-
$ gem install thinreports
|
53
|
-
|
54
|
-
== Usage
|
55
|
-
|
56
|
-
*Caution:* In order to use the Generator, you must need the layout file(*.tlf) created with {ThinReportsEditor}[http://www.thinreports.org/features/editor/].
|
57
|
-
|
58
|
-
=== Basic format
|
59
|
-
|
60
|
-
require 'thinreports'
|
61
|
-
|
62
|
-
report = ThinReports::Report.new :layout => 'report.tlf'
|
63
|
-
# Page 1
|
64
|
-
report.start_new_page do
|
65
|
-
item(:title).value('ThinReports')
|
66
|
-
end
|
67
|
-
|
68
|
-
# Page 2
|
69
|
-
report.start_new_page do |page|
|
70
|
-
page.item(:title).value('Pure Ruby')
|
71
|
-
page.item(:title).style(:color, 'red')
|
72
|
-
end
|
73
|
-
|
74
|
-
report.generate_file('report.pdf')
|
75
|
-
|
76
|
-
Or,
|
77
|
-
|
78
|
-
ThinReports::Report.generate_file('report.pdf', :layout => 'report.tlf') do
|
79
|
-
start_new_page
|
80
|
-
|
81
|
-
page.item(:title).value('ThinReports')
|
82
|
-
|
83
|
-
start_new_page
|
84
|
-
|
85
|
-
page.item(:title).value('Pure Ruby').style(:color, '#ff0000')
|
86
|
-
end
|
87
|
-
|
88
|
-
=== List format
|
89
|
-
|
90
|
-
report = ThinReports::Report.new :layout => 'list.tlf'
|
91
|
-
report.start_new_page
|
92
|
-
|
93
|
-
10.times do |n|
|
94
|
-
report.page.list(:default).add_row do |row|
|
95
|
-
row.item(:no).value(n)
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
|
-
report.generate_file('list.tlf')
|
100
|
-
|
101
|
-
Or,
|
102
|
-
|
103
|
-
report.page.list(:default) do |list|
|
104
|
-
10.times do |n|
|
105
|
-
list.add_row :no => n
|
106
|
-
end
|
107
|
-
end
|
108
|
-
|
109
|
-
Since 0.7.5:
|
110
|
-
|
111
|
-
report = ThinReports::Report.new :layout => 'list.tlf'
|
112
|
-
|
113
|
-
10.times do |n|
|
114
|
-
report.list.add_row do |row|
|
115
|
-
row.item(:no).value(n)
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
More simply,
|
120
|
-
|
121
|
-
report.list do |list|
|
122
|
-
10.times do |n|
|
123
|
-
list.add_row :title => n
|
124
|
-
end
|
125
|
-
end
|
126
|
-
|
127
|
-
* +#start_new_page+ can be omitted because it is created new page automatically when +#list+ is called
|
128
|
-
* id argument of +#list+ can be omitted if is :default
|
129
|
-
|
130
|
-
{Learn more}[http://osc.matsukei.net/projects/thinreports/wiki/Getting_Started].
|
131
|
-
|
132
|
-
=== Rails3
|
133
|
-
|
134
|
-
* Rails Template handler for ThinReports DSL: {thinreports-rails}[https://github.com/takeshinoda/thinreports-rails]
|
135
|
-
|
136
|
-
== For more information
|
137
|
-
|
138
|
-
=== Release information
|
139
|
-
|
140
|
-
{News}[http://osc.matsukei.net/projects/thinreports/news] /
|
141
|
-
{Changelog}[http://osc.matsukei.net/projects/thinreports/wiki/Changelog]
|
142
|
-
|
143
|
-
=== Documentation
|
144
|
-
|
145
|
-
{Getting Started}[http://osc.matsukei.net/projects/thinreports/wiki/Getting_Started] /
|
146
|
-
{Examples}[http://osc.matsukei.net/projects/thinreports/wiki/Examples] /
|
147
|
-
{HowTos}[http://osc.matsukei.net/projects/thinreports/wiki/HowTos]
|
148
|
-
|
149
|
-
=== Support
|
150
|
-
|
151
|
-
{Open Forum}[http://osc.matsukei.net/projects/thinreports/boards]
|
152
|
-
|
153
|
-
== Author
|
154
|
-
|
155
|
-
{Matsukei}[http://www.matsukei.co.jp/] Co.,Ltd.
|
156
|
-
|
157
|
-
* twitter: {@thinreports_org}[https://twitter.com/thinreports_org]
|
158
|
-
* email: {thinreports@gmail.com}[mailto:thinreports@gmail.com]
|
159
|
-
|
160
|
-
== Contributing
|
161
|
-
|
162
|
-
* Pull request
|
163
|
-
* Feedback from {here}[http://osc.matsukei.net/projects/thinreports/issues/new]
|
164
|
-
|
165
|
-
== License
|
166
|
-
|
167
|
-
See LICENSE file.
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<script type="text/javascript">
|
2
|
-
var _gaq = _gaq || [];
|
3
|
-
_gaq.push(['_setAccount', 'UA-19321975-2']);
|
4
|
-
_gaq.push(['_trackPageview']);
|
5
|
-
(function() {
|
6
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
7
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
8
|
-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
9
|
-
})();
|
10
|
-
</script
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
module ThinReports
|
4
|
-
module Core
|
5
|
-
|
6
|
-
# @private
|
7
|
-
module ArrayExtensions
|
8
|
-
def simple_deep_copy
|
9
|
-
map {|v| v.dup rescue v }
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
# @private
|
17
|
-
class Array
|
18
|
-
include ThinReports::Core::ArrayExtensions
|
19
|
-
end
|