thinreports 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +39 -0
- data/CHANGELOG.md +20 -0
- data/Dockerfile +12 -0
- data/Gemfile +5 -0
- data/README.md +37 -13
- data/Rakefile +1 -0
- data/lib/thinreports/core/shape/image_block.rb +1 -1
- data/lib/thinreports/core/shape/list.rb +1 -1
- data/lib/thinreports/core/shape/page_number.rb +1 -1
- data/lib/thinreports/core/shape/text.rb +1 -1
- data/lib/thinreports/core/shape/text_block.rb +1 -1
- data/lib/thinreports/core/shape/text_block/formatter/number.rb +6 -1
- data/lib/thinreports/core/shape/text_block/internal.rb +0 -2
- data/lib/thinreports/generator/pdf/prawn_ext/width_of.rb +6 -0
- data/lib/thinreports/layout/base.rb +1 -1
- data/lib/thinreports/layout/version.rb +1 -1
- data/lib/thinreports/report/internal.rb +2 -0
- data/lib/thinreports/version.rb +1 -1
- data/thinreports.gemspec +5 -9
- metadata +6 -204
- data/.travis.yml +0 -32
- data/test/data/font.ttf +0 -0
- data/test/data/image_normal.jpg +0 -0
- data/test/data/image_normal.png +0 -0
- data/test/data/image_normal_jpg_noext +0 -0
- data/test/data/image_normal_png_noext +0 -0
- data/test/data/image_pallete_based.png +0 -0
- data/test/data/legacy_layout/all-items.tlf +0 -1
- data/test/features/dynamic_style/expect.pdf +0 -3714
- data/test/features/dynamic_style/image.png +0 -0
- data/test/features/dynamic_style/templates/styles.tlf +0 -1835
- data/test/features/dynamic_style/templates/styles_in_list.tlf +0 -344
- data/test/features/dynamic_style/test_dynamic_style.rb +0 -152
- data/test/features/eudc/eudc.ttf +0 -0
- data/test/features/eudc/expect.pdf +0 -0
- data/test/features/eudc/template.tlf +0 -180
- data/test/features/eudc/test_eudc.rb +0 -27
- data/test/features/feature_test.rb +0 -58
- data/test/features/graphics/expect.pdf +0 -475
- data/test/features/graphics/template.tlf +0 -309
- data/test/features/graphics/test_graphics.rb +0 -12
- data/test/features/hidden_item/expect.pdf +0 -0
- data/test/features/hidden_item/template.tlf +0 -449
- data/test/features/hidden_item/test_hidden_item.rb +0 -12
- data/test/features/image_block/expect.pdf +0 -0
- data/test/features/image_block/img200x100.png +0 -0
- data/test/features/image_block/img50x50.png +0 -0
- data/test/features/image_block/template.tlf +0 -661
- data/test/features/image_block/test_image_block.rb +0 -35
- data/test/features/list_events/expect.pdf +0 -659
- data/test/features/list_events/template.tlf +0 -361
- data/test/features/list_events/test_list_events.rb +0 -36
- data/test/features/list_manually/expect.pdf +0 -599
- data/test/features/list_manually/template.tlf +0 -132
- data/test/features/list_manually/test_list_manually.rb +0 -25
- data/test/features/page_number/expect.pdf +0 -400
- data/test/features/page_number/template.tlf +0 -215
- data/test/features/page_number/test_page_number.rb +0 -24
- data/test/features/page_number_with_list/expect.pdf +0 -721
- data/test/features/page_number_with_list/template.tlf +0 -254
- data/test/features/page_number_with_list/test_page_number_with_list.rb +0 -21
- data/test/features/palleted_png/expect.pdf +0 -0
- data/test/features/palleted_png/palleted_png.png +0 -0
- data/test/features/palleted_png/template.tlf +0 -47
- data/test/features/palleted_png/test_palleted_png.rb +0 -14
- data/test/features/report_callbacks/expect.pdf +0 -169
- data/test/features/report_callbacks/template.tlf +0 -147
- data/test/features/report_callbacks/test_report_callbacks.rb +0 -18
- data/test/features/text_align/expect.pdf +0 -0
- data/test/features/text_align/template.tlf +0 -241
- data/test/features/text_align/test_text_align.rb +0 -12
- data/test/features/text_block_overflow/expect.pdf +0 -0
- data/test/features/text_block_overflow/template.tlf +0 -538
- data/test/features/text_block_overflow/test_text_block_overflow.rb +0 -25
- data/test/features/text_block_singleline/expect.pdf +0 -0
- data/test/features/text_block_singleline/template.tlf +0 -170
- data/test/features/text_block_singleline/test_text_block_singleline.rb +0 -15
- data/test/features/text_block_style/expect.pdf +0 -1391
- data/test/features/text_block_style/templates/basic_styles.tlf +0 -889
- data/test/features/text_block_style/templates/font_size.tlf +0 -383
- data/test/features/text_block_style/test_text_block_style.rb +0 -47
- data/test/features/text_character_spacing/expect.pdf +0 -0
- data/test/features/text_character_spacing/template.tlf +0 -293
- data/test/features/text_character_spacing/test_text_character_spacing.rb +0 -12
- data/test/features/text_word_wrap/expect.pdf +0 -0
- data/test/features/text_word_wrap/template.tlf +0 -297
- data/test/features/text_word_wrap/test_text_word_wrap.rb +0 -30
- data/test/schema_helper.rb +0 -122
- data/test/test_helper.rb +0 -39
- data/test/units/core/format/test_base.rb +0 -152
- data/test/units/core/shape/base/test_internal.rb +0 -87
- data/test/units/core/shape/basic/test_block_format.rb +0 -23
- data/test/units/core/shape/basic/test_block_interface.rb +0 -29
- data/test/units/core/shape/basic/test_block_internal.rb +0 -55
- data/test/units/core/shape/basic/test_format.rb +0 -37
- data/test/units/core/shape/basic/test_interface.rb +0 -108
- data/test/units/core/shape/basic/test_internal.rb +0 -55
- data/test/units/core/shape/image_block/test_interface.rb +0 -24
- data/test/units/core/shape/image_block/test_internal.rb +0 -31
- data/test/units/core/shape/list/test_format.rb +0 -111
- data/test/units/core/shape/list/test_manager.rb +0 -67
- data/test/units/core/shape/list/test_page.rb +0 -156
- data/test/units/core/shape/list/test_page_state.rb +0 -31
- data/test/units/core/shape/list/test_section_format.rb +0 -36
- data/test/units/core/shape/list/test_section_interface.rb +0 -75
- data/test/units/core/shape/list/test_section_internal.rb +0 -50
- data/test/units/core/shape/manager/test_format.rb +0 -38
- data/test/units/core/shape/manager/test_internal.rb +0 -132
- data/test/units/core/shape/manager/test_target.rb +0 -140
- data/test/units/core/shape/page_number/test_format.rb +0 -55
- data/test/units/core/shape/page_number/test_interface.rb +0 -33
- data/test/units/core/shape/page_number/test_internal.rb +0 -81
- data/test/units/core/shape/styles/test_base.rb +0 -191
- data/test/units/core/shape/styles/test_basic.rb +0 -24
- data/test/units/core/shape/styles/test_graphic.rb +0 -50
- data/test/units/core/shape/styles/test_text.rb +0 -97
- data/test/units/core/shape/text/test_format.rb +0 -44
- data/test/units/core/shape/text/test_internal.rb +0 -20
- data/test/units/core/shape/text_block/formatter/test_basic.rb +0 -24
- data/test/units/core/shape/text_block/formatter/test_datetime.rb +0 -49
- data/test/units/core/shape/text_block/formatter/test_number.rb +0 -76
- data/test/units/core/shape/text_block/formatter/test_padding.rb +0 -77
- data/test/units/core/shape/text_block/test_format.rb +0 -169
- data/test/units/core/shape/text_block/test_formatter.rb +0 -28
- data/test/units/core/shape/text_block/test_interface.rb +0 -63
- data/test/units/core/shape/text_block/test_internal.rb +0 -128
- data/test/units/core/test_shape.rb +0 -52
- data/test/units/core/test_utils.rb +0 -68
- data/test/units/generator/pdf/document/graphics/test_attributes.rb +0 -135
- data/test/units/generator/pdf/document/graphics/test_basic.rb +0 -46
- data/test/units/generator/pdf/document/graphics/test_image.rb +0 -46
- data/test/units/generator/pdf/document/graphics/test_text.rb +0 -171
- data/test/units/generator/pdf/document/test_font.rb +0 -110
- data/test/units/generator/pdf/document/test_graphics.rb +0 -42
- data/test/units/generator/pdf/document/test_page.rb +0 -122
- data/test/units/generator/pdf/document/test_parse_color.rb +0 -30
- data/test/units/generator/pdf/prawn_ext/test_calc_image_dimensions.rb +0 -41
- data/test/units/generator/pdf/prawn_ext/test_width_of.rb +0 -22
- data/test/units/generator/pdf/test_document.rb +0 -22
- data/test/units/generator/test_pdf.rb +0 -26
- data/test/units/layout/test_base.rb +0 -41
- data/test/units/layout/test_format.rb +0 -100
- data/test/units/layout/test_legacy_schema.rb +0 -576
- data/test/units/layout/test_version.rb +0 -26
- data/test/units/report/test_base.rb +0 -248
- data/test/units/report/test_internal.rb +0 -206
- data/test/units/test_config.rb +0 -36
- data/test/units/test_layout.rb +0 -12
- data/test/units/test_report.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b53f36fac9af329499239b3db9313911fba89c82dd28cf81ac2e9942bcdce13a
|
4
|
+
data.tar.gz: 38ce4e9d25a709240a1242948a33d96372e3cb6981b07e3121c88967279a3eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5db1f93781fd6be18f53424eb2853b6701449938f2dc2875f287be74720611361f5dc7b6f657ea9fd96ed83de8056efa92cd4ae7b5b8c0df3d11bb318a81f7d6
|
7
|
+
data.tar.gz: 25d1cc37589223ea85f574f7c6cf007a9e5682dff6f59051286c3fe691b5ab9704d9c5e40e8b3b9b49134406af538aa4e688a74d5416aa1082f6bc1330de173a
|
@@ -0,0 +1,39 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on: push
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
name: Test against ${{ matrix.ruby }}
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
strategy:
|
10
|
+
matrix:
|
11
|
+
ruby:
|
12
|
+
- 2.4
|
13
|
+
- 2.5
|
14
|
+
- 2.6
|
15
|
+
- 2.7
|
16
|
+
- jruby
|
17
|
+
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v1
|
20
|
+
|
21
|
+
- name: Set up diff-pdf
|
22
|
+
run: |
|
23
|
+
sudo apt-get update
|
24
|
+
sudo apt-get install make automake g++ libpoppler-glib-dev poppler-utils libwxgtk3.0-dev
|
25
|
+
git clone https://github.com/vslavik/diff-pdf.git -b v0.4.1 --depth 1 /tmp/diff-pdf-src
|
26
|
+
cd /tmp/diff-pdf-src
|
27
|
+
./bootstrap && ./configure && make && sudo make install
|
28
|
+
|
29
|
+
- name: Set up Ruby ${{ matrix.ruby }}
|
30
|
+
uses: ruby/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: ${{ matrix.ruby }}
|
33
|
+
|
34
|
+
- name: Build and test with Rake
|
35
|
+
run: |
|
36
|
+
gem install bundler
|
37
|
+
bundle install --jobs 4 --retry 3
|
38
|
+
bundle exec rake test:units
|
39
|
+
bundle exec rake test:features
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
## master
|
2
|
+
|
3
|
+
## 0.11.0
|
4
|
+
|
5
|
+
Breaking Changes:
|
6
|
+
|
7
|
+
* Dropped Ruby 2.1 support
|
8
|
+
* Dropped Ruby 2.2 support
|
9
|
+
* Dropped Ruby 2.3 support
|
10
|
+
* Formatter of a text-block works even with multiple-line (#95)
|
11
|
+
|
12
|
+
Enhancements:
|
13
|
+
|
14
|
+
* Ruby 2.7.0 support
|
15
|
+
* Support Pathname layout option on `Thinreports::Report` #99 [@meganemura]
|
16
|
+
|
17
|
+
Bug Fixes:
|
18
|
+
|
19
|
+
* Fixed: thousands separation is applied to decimal part #95
|
20
|
+
|
1
21
|
## 0.10.3
|
2
22
|
|
3
23
|
Bug Fixes:
|
data/Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
FROM ruby:2.7.1
|
2
|
+
|
3
|
+
RUN apt-get update -qq && apt-get install -y build-essential xvfb
|
4
|
+
|
5
|
+
# Install diff-pdf
|
6
|
+
WORKDIR /tmp
|
7
|
+
RUN apt-get install -y libpoppler-glib-dev poppler-utils libwxgtk3.0-dev && curl -L https://github.com/vslavik/diff-pdf/archive/master.tar.gz -o diff-pdf-master.tar.gz && tar zxf diff-pdf-master.tar.gz && cd diff-pdf-master && ./bootstrap && ./configure && make && make install
|
8
|
+
|
9
|
+
RUN mkdir /thinreports
|
10
|
+
|
11
|
+
WORKDIR /thinreports
|
12
|
+
VOLUME /thinreports
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Thinreports Generator
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/thinreports.svg)](http://badge.fury.io/rb/thinreports)
|
4
|
-
[![](
|
4
|
+
[![Test](https://github.com/thinreports/thinreports-generator/workflows/Test/badge.svg)](https://github.com/thinreports/thinreports-generator/actions)
|
5
5
|
[![Maintainability](https://api.codeclimate.com/v1/badges/054b400031608957ec4a/maintainability)](https://codeclimate.com/github/thinreports/thinreports-generator/maintainability)
|
6
6
|
|
7
7
|
[Thinreports](http://www.thinreports.org) is an open source report generating tool for Ruby.
|
@@ -14,13 +14,12 @@
|
|
14
14
|
* [Installation Guide](http://www.thinreports.org/documentation/getting-started/installation.html)
|
15
15
|
* [Quick Start Guide](http://www.thinreports.org/documentation/getting-started/quickstart.html)
|
16
16
|
* [Examples](https://github.com/thinreports/thinreports-examples)
|
17
|
-
* [Rails5 Example](https://github.com/thinreports/thinreports-rails5-example)
|
18
17
|
* [Changelog](https://github.com/thinreports/thinreports-generator/blob/master/CHANGELOG.md)
|
19
18
|
* [Discussion Group](https://groups.google.com/forum/#!forum/thinreports)
|
20
19
|
|
21
20
|
## Supported versions
|
22
21
|
|
23
|
-
* Ruby 2.
|
22
|
+
* Ruby 2.4, 2.5, 2.6, 2.7
|
24
23
|
* JRuby 9.2
|
25
24
|
|
26
25
|
## Quick Reference
|
@@ -261,19 +260,44 @@ Generator can dynamically:
|
|
261
260
|
|
262
261
|
## Contributing
|
263
262
|
|
264
|
-
|
263
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/thinreports/thinreports-generator.
|
265
264
|
|
266
|
-
|
265
|
+
## Development
|
267
266
|
|
268
|
-
###
|
267
|
+
### How to run feature tests
|
269
268
|
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
269
|
+
```
|
270
|
+
$ bundle exec rake test:features
|
271
|
+
```
|
272
|
+
|
273
|
+
In order to run `test:features`, you need to install [diff-pdf](https://github.com/vslavik/diff-pdf) in your environment, or you can run test in the docker container as below.
|
274
|
+
|
275
|
+
### How to develop in Docker container
|
276
|
+
|
277
|
+
You can use the Docker container for development. This container contains the libraries required for testing, such as diff-pdf.
|
278
|
+
|
279
|
+
```
|
280
|
+
$ docker build -t thinreports-dev .
|
281
|
+
$ docker run -v $PWD:/thinreports:cached -it thinreports-dev bash
|
282
|
+
|
283
|
+
> /thinreports#
|
284
|
+
```
|
285
|
+
|
286
|
+
You can run test:
|
287
|
+
|
288
|
+
```
|
289
|
+
> /thinreports# bundle install
|
290
|
+
> /thinreports# bundle exec rake test:features
|
291
|
+
```
|
292
|
+
|
293
|
+
## Releasing Generator
|
294
|
+
|
295
|
+
1. Update the version number in `version.rb`
|
296
|
+
2. Update `CHANGELOG.md` and `README.md` (if needed)
|
297
|
+
3. Create the Release PR like #105
|
298
|
+
4. Merge the PR
|
299
|
+
5. Is the master CI green? If not, make it green
|
300
|
+
6. Run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to rubygems.org
|
277
301
|
|
278
302
|
## License
|
279
303
|
|
data/Rakefile
CHANGED
@@ -35,7 +35,12 @@ module Thinreports
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def number_with_delimiter(value, delimiter = ',')
|
38
|
-
value.to_s.
|
38
|
+
value_int, value_float = value.to_s.split('.')
|
39
|
+
|
40
|
+
[
|
41
|
+
value_int.gsub(/(\d)(?=(\d{3})+(?!\d))/) { "#{$1}#{delimiter}" },
|
42
|
+
value_float
|
43
|
+
].compact.join('.')
|
39
44
|
end
|
40
45
|
|
41
46
|
def number_with_precision(value, precision = 3)
|
@@ -4,6 +4,12 @@ module Thinreports
|
|
4
4
|
module Generator
|
5
5
|
module PrawnExt
|
6
6
|
module WidthOf
|
7
|
+
# TODO: Remove this path when a version of prawn that includes the following PR is released:
|
8
|
+
# https://github.com/prawnpdf/prawn/pull/1117
|
9
|
+
#
|
10
|
+
# This PR makes this patch unnecessary.
|
11
|
+
#
|
12
|
+
#
|
7
13
|
# Subtract the width of one character space from the string width calculation result.
|
8
14
|
#
|
9
15
|
# The original Prawn::Document#width_of returns the following result:
|
data/lib/thinreports/version.rb
CHANGED
data/thinreports.gemspec
CHANGED
@@ -14,16 +14,12 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.homepage = 'http://www.thinreports.org'
|
15
15
|
s.license = 'MIT'
|
16
16
|
|
17
|
-
s.required_ruby_version = '>= 2.
|
17
|
+
s.required_ruby_version = '>= 2.4.0'
|
18
18
|
|
19
|
-
s.files =
|
20
|
-
|
19
|
+
s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
|
21
|
+
end
|
22
|
+
s.require_paths = ['lib']
|
21
23
|
|
22
24
|
s.add_dependency 'prawn', '~> 2.2.0'
|
23
|
-
|
24
|
-
s.add_development_dependency 'bundler', '>= 1.0.0'
|
25
|
-
s.add_development_dependency 'minitest', '>= 5.0.0'
|
26
|
-
s.add_development_dependency 'mocha', '>= 0'
|
27
|
-
s.add_development_dependency 'pdf-inspector', '>= 0'
|
28
|
-
s.add_development_dependency 'rake', '>= 0'
|
29
25
|
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.11.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: 2020-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|
@@ -24,76 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.2.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.0
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0.0
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 5.0.0
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 5.0.0
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: mocha
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: pdf-inspector
|
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: 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
27
|
description: Thinreports is an open source report generation tool for Ruby.
|
98
28
|
email: thinreports@gmail.com
|
99
29
|
executables: []
|
@@ -101,9 +31,10 @@ extensions: []
|
|
101
31
|
extra_rdoc_files: []
|
102
32
|
files:
|
103
33
|
- ".github/CONTRIBUTING.md"
|
34
|
+
- ".github/workflows/test.yml"
|
104
35
|
- ".gitignore"
|
105
|
-
- ".travis.yml"
|
106
36
|
- CHANGELOG.md
|
37
|
+
- Dockerfile
|
107
38
|
- Gemfile
|
108
39
|
- MIT-LICENSE
|
109
40
|
- README.md
|
@@ -196,134 +127,6 @@ files:
|
|
196
127
|
- lib/thinreports/report/internal.rb
|
197
128
|
- lib/thinreports/report/page.rb
|
198
129
|
- lib/thinreports/version.rb
|
199
|
-
- test/data/font.ttf
|
200
|
-
- test/data/image_normal.jpg
|
201
|
-
- test/data/image_normal.png
|
202
|
-
- test/data/image_normal_jpg_noext
|
203
|
-
- test/data/image_normal_png_noext
|
204
|
-
- test/data/image_pallete_based.png
|
205
|
-
- test/data/legacy_layout/all-items.tlf
|
206
|
-
- test/features/dynamic_style/expect.pdf
|
207
|
-
- test/features/dynamic_style/image.png
|
208
|
-
- test/features/dynamic_style/templates/styles.tlf
|
209
|
-
- test/features/dynamic_style/templates/styles_in_list.tlf
|
210
|
-
- test/features/dynamic_style/test_dynamic_style.rb
|
211
|
-
- test/features/eudc/eudc.ttf
|
212
|
-
- test/features/eudc/expect.pdf
|
213
|
-
- test/features/eudc/template.tlf
|
214
|
-
- test/features/eudc/test_eudc.rb
|
215
|
-
- test/features/feature_test.rb
|
216
|
-
- test/features/graphics/expect.pdf
|
217
|
-
- test/features/graphics/template.tlf
|
218
|
-
- test/features/graphics/test_graphics.rb
|
219
|
-
- test/features/hidden_item/expect.pdf
|
220
|
-
- test/features/hidden_item/template.tlf
|
221
|
-
- test/features/hidden_item/test_hidden_item.rb
|
222
|
-
- test/features/image_block/expect.pdf
|
223
|
-
- test/features/image_block/img200x100.png
|
224
|
-
- test/features/image_block/img50x50.png
|
225
|
-
- test/features/image_block/template.tlf
|
226
|
-
- test/features/image_block/test_image_block.rb
|
227
|
-
- test/features/list_events/expect.pdf
|
228
|
-
- test/features/list_events/template.tlf
|
229
|
-
- test/features/list_events/test_list_events.rb
|
230
|
-
- test/features/list_manually/expect.pdf
|
231
|
-
- test/features/list_manually/template.tlf
|
232
|
-
- test/features/list_manually/test_list_manually.rb
|
233
|
-
- test/features/page_number/expect.pdf
|
234
|
-
- test/features/page_number/template.tlf
|
235
|
-
- test/features/page_number/test_page_number.rb
|
236
|
-
- test/features/page_number_with_list/expect.pdf
|
237
|
-
- test/features/page_number_with_list/template.tlf
|
238
|
-
- test/features/page_number_with_list/test_page_number_with_list.rb
|
239
|
-
- test/features/palleted_png/expect.pdf
|
240
|
-
- test/features/palleted_png/palleted_png.png
|
241
|
-
- test/features/palleted_png/template.tlf
|
242
|
-
- test/features/palleted_png/test_palleted_png.rb
|
243
|
-
- test/features/report_callbacks/expect.pdf
|
244
|
-
- test/features/report_callbacks/template.tlf
|
245
|
-
- test/features/report_callbacks/test_report_callbacks.rb
|
246
|
-
- test/features/text_align/expect.pdf
|
247
|
-
- test/features/text_align/template.tlf
|
248
|
-
- test/features/text_align/test_text_align.rb
|
249
|
-
- test/features/text_block_overflow/expect.pdf
|
250
|
-
- test/features/text_block_overflow/template.tlf
|
251
|
-
- test/features/text_block_overflow/test_text_block_overflow.rb
|
252
|
-
- test/features/text_block_singleline/expect.pdf
|
253
|
-
- test/features/text_block_singleline/template.tlf
|
254
|
-
- test/features/text_block_singleline/test_text_block_singleline.rb
|
255
|
-
- test/features/text_block_style/expect.pdf
|
256
|
-
- test/features/text_block_style/templates/basic_styles.tlf
|
257
|
-
- test/features/text_block_style/templates/font_size.tlf
|
258
|
-
- test/features/text_block_style/test_text_block_style.rb
|
259
|
-
- test/features/text_character_spacing/expect.pdf
|
260
|
-
- test/features/text_character_spacing/template.tlf
|
261
|
-
- test/features/text_character_spacing/test_text_character_spacing.rb
|
262
|
-
- test/features/text_word_wrap/expect.pdf
|
263
|
-
- test/features/text_word_wrap/template.tlf
|
264
|
-
- test/features/text_word_wrap/test_text_word_wrap.rb
|
265
|
-
- test/schema_helper.rb
|
266
|
-
- test/test_helper.rb
|
267
|
-
- test/units/core/format/test_base.rb
|
268
|
-
- test/units/core/shape/base/test_internal.rb
|
269
|
-
- test/units/core/shape/basic/test_block_format.rb
|
270
|
-
- test/units/core/shape/basic/test_block_interface.rb
|
271
|
-
- test/units/core/shape/basic/test_block_internal.rb
|
272
|
-
- test/units/core/shape/basic/test_format.rb
|
273
|
-
- test/units/core/shape/basic/test_interface.rb
|
274
|
-
- test/units/core/shape/basic/test_internal.rb
|
275
|
-
- test/units/core/shape/image_block/test_interface.rb
|
276
|
-
- test/units/core/shape/image_block/test_internal.rb
|
277
|
-
- test/units/core/shape/list/test_format.rb
|
278
|
-
- test/units/core/shape/list/test_manager.rb
|
279
|
-
- test/units/core/shape/list/test_page.rb
|
280
|
-
- test/units/core/shape/list/test_page_state.rb
|
281
|
-
- test/units/core/shape/list/test_section_format.rb
|
282
|
-
- test/units/core/shape/list/test_section_interface.rb
|
283
|
-
- test/units/core/shape/list/test_section_internal.rb
|
284
|
-
- test/units/core/shape/manager/test_format.rb
|
285
|
-
- test/units/core/shape/manager/test_internal.rb
|
286
|
-
- test/units/core/shape/manager/test_target.rb
|
287
|
-
- test/units/core/shape/page_number/test_format.rb
|
288
|
-
- test/units/core/shape/page_number/test_interface.rb
|
289
|
-
- test/units/core/shape/page_number/test_internal.rb
|
290
|
-
- test/units/core/shape/styles/test_base.rb
|
291
|
-
- test/units/core/shape/styles/test_basic.rb
|
292
|
-
- test/units/core/shape/styles/test_graphic.rb
|
293
|
-
- test/units/core/shape/styles/test_text.rb
|
294
|
-
- test/units/core/shape/text/test_format.rb
|
295
|
-
- test/units/core/shape/text/test_internal.rb
|
296
|
-
- test/units/core/shape/text_block/formatter/test_basic.rb
|
297
|
-
- test/units/core/shape/text_block/formatter/test_datetime.rb
|
298
|
-
- test/units/core/shape/text_block/formatter/test_number.rb
|
299
|
-
- test/units/core/shape/text_block/formatter/test_padding.rb
|
300
|
-
- test/units/core/shape/text_block/test_format.rb
|
301
|
-
- test/units/core/shape/text_block/test_formatter.rb
|
302
|
-
- test/units/core/shape/text_block/test_interface.rb
|
303
|
-
- test/units/core/shape/text_block/test_internal.rb
|
304
|
-
- test/units/core/test_shape.rb
|
305
|
-
- test/units/core/test_utils.rb
|
306
|
-
- test/units/generator/pdf/document/graphics/test_attributes.rb
|
307
|
-
- test/units/generator/pdf/document/graphics/test_basic.rb
|
308
|
-
- test/units/generator/pdf/document/graphics/test_image.rb
|
309
|
-
- test/units/generator/pdf/document/graphics/test_text.rb
|
310
|
-
- test/units/generator/pdf/document/test_font.rb
|
311
|
-
- test/units/generator/pdf/document/test_graphics.rb
|
312
|
-
- test/units/generator/pdf/document/test_page.rb
|
313
|
-
- test/units/generator/pdf/document/test_parse_color.rb
|
314
|
-
- test/units/generator/pdf/prawn_ext/test_calc_image_dimensions.rb
|
315
|
-
- test/units/generator/pdf/prawn_ext/test_width_of.rb
|
316
|
-
- test/units/generator/pdf/test_document.rb
|
317
|
-
- test/units/generator/test_pdf.rb
|
318
|
-
- test/units/layout/test_base.rb
|
319
|
-
- test/units/layout/test_format.rb
|
320
|
-
- test/units/layout/test_legacy_schema.rb
|
321
|
-
- test/units/layout/test_version.rb
|
322
|
-
- test/units/report/test_base.rb
|
323
|
-
- test/units/report/test_internal.rb
|
324
|
-
- test/units/test_config.rb
|
325
|
-
- test/units/test_layout.rb
|
326
|
-
- test/units/test_report.rb
|
327
130
|
- thinreports.gemspec
|
328
131
|
homepage: http://www.thinreports.org
|
329
132
|
licenses:
|
@@ -337,15 +140,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
337
140
|
requirements:
|
338
141
|
- - ">="
|
339
142
|
- !ruby/object:Gem::Version
|
340
|
-
version: 2.
|
143
|
+
version: 2.4.0
|
341
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
342
145
|
requirements:
|
343
146
|
- - ">="
|
344
147
|
- !ruby/object:Gem::Version
|
345
148
|
version: '0'
|
346
149
|
requirements: []
|
347
|
-
|
348
|
-
rubygems_version: 2.7.8
|
150
|
+
rubygems_version: 3.1.2
|
349
151
|
signing_key:
|
350
152
|
specification_version: 4
|
351
153
|
summary: An open source report generation tool for Ruby.
|