juno-report 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/juno-report.iml +31 -0
- data/.idea/misc.xml +5 -0
- data/.idea/modules.xml +9 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +281 -0
- data/Gemfile.lock +26 -1
- data/lib/juno-report/pdf.rb +18 -9
- data/lib/juno-report/version.rb +1 -1
- data/samples/example.rb +21 -0
- data/samples/report.pdf +972 -0
- data/samples/report.yml +30 -0
- metadata +21 -13
data/samples/report.yml
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
page:
|
2
|
+
fields:
|
3
|
+
title1: [260, {size: 24, align: center, value: "Test Report"}]
|
4
|
+
subtitle1: [260, {size: 20, posY: 20, align: center, value: "Generated by Juno Report"}]
|
5
|
+
body:
|
6
|
+
settings: {posY: 40, height: 30, groups: [group_field1, group_field2]}
|
7
|
+
fields:
|
8
|
+
test_field1: [10]
|
9
|
+
test_field2: [220]
|
10
|
+
test_field3: [420, {column: "Named Test Field 3"}]
|
11
|
+
footer:
|
12
|
+
label_total: [10, {value: "Total"}]
|
13
|
+
totalizer1: [220, {behavior: count}]
|
14
|
+
test_field3: [420, {behavior: sum}]
|
15
|
+
group_field1:
|
16
|
+
settings: {posY: 30, height: 10}
|
17
|
+
fields:
|
18
|
+
group_field1: [10, size: 25]
|
19
|
+
footer:
|
20
|
+
group_field1: [10, {label: "Total "}]
|
21
|
+
totalizer1: [220, {behavior: count}]
|
22
|
+
test_field3: [420, {behavior: sum}]
|
23
|
+
group_field2:
|
24
|
+
settings: {posY: 30, height: 25}
|
25
|
+
fields:
|
26
|
+
group_field2: [10, size: 17]
|
27
|
+
footer:
|
28
|
+
group_field2: [10, {label: "Total "}]
|
29
|
+
totalizer1: [220, {behavior: count}]
|
30
|
+
test_field3: [420, {behavior: sum}]
|
metadata
CHANGED
@@ -1,30 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: juno-report
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Edson Júnior
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-04-30 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: prawml
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
description: A simple, but efficient, report genarator yaml based
|
@@ -35,6 +32,15 @@ extensions: []
|
|
35
32
|
extra_rdoc_files: []
|
36
33
|
files:
|
37
34
|
- .gitignore
|
35
|
+
- .idea/.name
|
36
|
+
- .idea/.rakeTasks
|
37
|
+
- .idea/encodings.xml
|
38
|
+
- .idea/juno-report.iml
|
39
|
+
- .idea/misc.xml
|
40
|
+
- .idea/modules.xml
|
41
|
+
- .idea/scopes/scope_settings.xml
|
42
|
+
- .idea/vcs.xml
|
43
|
+
- .idea/workspace.xml
|
38
44
|
- Gemfile
|
39
45
|
- Gemfile.lock
|
40
46
|
- LICENSE.txt
|
@@ -46,28 +52,30 @@ files:
|
|
46
52
|
- lib/juno-report/pdf/behaviors.rb
|
47
53
|
- lib/juno-report/report_object.rb
|
48
54
|
- lib/juno-report/version.rb
|
55
|
+
- samples/example.rb
|
56
|
+
- samples/report.pdf
|
57
|
+
- samples/report.yml
|
49
58
|
homepage: http://github.com/ebfjunior/juno-report
|
50
59
|
licenses: []
|
60
|
+
metadata: {}
|
51
61
|
post_install_message:
|
52
62
|
rdoc_options: []
|
53
63
|
require_paths:
|
54
64
|
- lib
|
55
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
66
|
requirements:
|
58
|
-
- -
|
67
|
+
- - '>='
|
59
68
|
- !ruby/object:Gem::Version
|
60
69
|
version: '0'
|
61
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
71
|
requirements:
|
64
|
-
- -
|
72
|
+
- - '>='
|
65
73
|
- !ruby/object:Gem::Version
|
66
74
|
version: '0'
|
67
75
|
requirements: []
|
68
76
|
rubyforge_project:
|
69
|
-
rubygems_version:
|
77
|
+
rubygems_version: 2.0.6
|
70
78
|
signing_key:
|
71
|
-
specification_version:
|
79
|
+
specification_version: 4
|
72
80
|
summary: Juno Reports generates reports with the minimum configuration and effort
|
73
81
|
test_files: []
|