latexpdf 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/latexpdf/railtie.rb +8 -2
- data/lib/latexpdf/version.rb +1 -1
- data/test/dummy/Rakefile +1 -1
- data/test/dummy/app/assets/config/manifest.js +1 -0
- data/test/dummy/app/assets/stylesheets/application.css +2 -2
- data/test/dummy/app/controllers/tex_controller.rb +2 -2
- data/test/dummy/app/views/layouts/application.html.erb +2 -1
- data/test/dummy/bin/rails +3 -3
- data/test/dummy/bin/rake +2 -2
- data/test/dummy/bin/setup +18 -10
- data/test/dummy/config/application.rb +21 -22
- data/test/dummy/config/boot.rb +3 -3
- data/test/dummy/config/environment.rb +1 -1
- data/test/dummy/config/environments/development.rb +44 -9
- data/test/dummy/config/environments/production.rb +59 -51
- data/test/dummy/config/environments/test.rb +36 -10
- data/test/dummy/config/initializers/content_security_policy.rb +21 -24
- data/test/dummy/config/initializers/filter_parameter_logging.rb +6 -2
- data/test/dummy/config/initializers/inflections.rb +4 -4
- data/test/dummy/config/locales/en.yml +13 -15
- data/test/dummy/config.ru +2 -1
- data/test/dummy/log/test.log +116 -80
- data/test/dummy/tmp/local_secret.txt +1 -0
- data/test/latexpdf/configuration_test.rb +2 -2
- data/test/latexpdf/escaper_test.rb +1 -1
- metadata +56 -57
- data/test/dummy/README.md +0 -24
- data/test/dummy/config/credentials.yml.enc +0 -1
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -5
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -9
- data/test/dummy/config/spring.rb +0 -6
- data/test/dummy/public/robots.txt +0 -1
- data/test/dummy/tmp/development_secret.txt +0 -1
@@ -1,14 +1,14 @@
|
|
1
|
-
# Files in the config/locales directory are used for internationalization
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Files in the config/locales directory are used for internationalization and
|
2
|
+
# are automatically loaded by Rails. If you want to use locales other than
|
3
|
+
# English, add the necessary files in this directory.
|
4
4
|
#
|
5
5
|
# To use the locales, use `I18n.t`:
|
6
6
|
#
|
7
|
-
# I18n.t
|
7
|
+
# I18n.t "hello"
|
8
8
|
#
|
9
9
|
# In views, this is aliased to just `t`:
|
10
10
|
#
|
11
|
-
# <%= t(
|
11
|
+
# <%= t("hello") %>
|
12
12
|
#
|
13
13
|
# To use a different locale, set it with `I18n.locale`:
|
14
14
|
#
|
@@ -16,18 +16,16 @@
|
|
16
16
|
#
|
17
17
|
# This would use the information in config/locales/es.yml.
|
18
18
|
#
|
19
|
-
#
|
20
|
-
#
|
19
|
+
# To learn more about the API, please read the Rails Internationalization guide
|
20
|
+
# at https://guides.rubyonrails.org/i18n.html.
|
21
21
|
#
|
22
|
-
#
|
22
|
+
# Be aware that YAML interprets the following case-insensitive strings as
|
23
|
+
# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
|
24
|
+
# must be quoted to be interpreted as strings. For example:
|
23
25
|
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
27
|
-
# 'true': 'foo'
|
28
|
-
#
|
29
|
-
# To learn more, please read the Rails Internationalization guide
|
30
|
-
# available at https://guides.rubyonrails.org/i18n.html.
|
26
|
+
# en:
|
27
|
+
# "yes": yup
|
28
|
+
# enabled: "ON"
|
31
29
|
|
32
30
|
en:
|
33
31
|
hello: "Hello world"
|
data/test/dummy/config.ru
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -1,153 +1,189 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
Started GET "/tex/example.pdf" for 127.0.0.1 at 2019-11-26 11:54:21 +0100
|
5
|
-
Processing by TexController#example as PDF
|
6
|
-
Rendering tex/example.pdf.tex
|
7
|
-
Rendered tex/example.pdf.tex (Duration: 1.7ms | Allocations: 1017)
|
8
|
-
Completed 500 Internal Server Error in 5ms (Allocations: 2915)
|
1
|
+
-------------------------------------------------------------
|
2
|
+
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
3
|
+
-------------------------------------------------------------
|
9
4
|
---------------------------------------------------------------
|
10
5
|
RenderingTest: test_Generate_PDF_using_non_printable_characters
|
11
6
|
---------------------------------------------------------------
|
12
|
-
Started GET "/tex/example3.pdf" for 127.0.0.1 at
|
7
|
+
Started GET "/tex/example3.pdf" for 127.0.0.1 at 2024-02-11 16:52:31 +0100
|
13
8
|
Processing by TexController#example3 as PDF
|
14
9
|
Rendering tex/example3.pdf.tex
|
15
|
-
Rendered tex/example3.pdf.tex (Duration:
|
16
|
-
Completed
|
10
|
+
Rendered tex/example3.pdf.tex (Duration: 1856.1ms | Allocations: 1023)
|
11
|
+
Completed 200 OK in 1858ms (Views: 1857.5ms | Allocations: 3215)
|
17
12
|
---------------------------------------------------------
|
18
13
|
RenderingTest: test_Generate_PDF_using_escaped_characters
|
19
14
|
---------------------------------------------------------
|
20
|
-
Started GET "/tex/example2.pdf" for 127.0.0.1 at
|
15
|
+
Started GET "/tex/example2.pdf" for 127.0.0.1 at 2024-02-11 16:52:33 +0100
|
21
16
|
Processing by TexController#example2 as PDF
|
22
17
|
Rendering tex/example2.pdf.tex
|
23
|
-
Rendered tex/example2.pdf.tex (Duration:
|
24
|
-
Completed
|
25
|
-
-------------------------------------------------------------
|
26
|
-
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
27
|
-
-------------------------------------------------------------
|
18
|
+
Rendered tex/example2.pdf.tex (Duration: 1857.4ms | Allocations: 760)
|
19
|
+
Completed 200 OK in 1858ms (Views: 1857.8ms | Allocations: 970)
|
28
20
|
-----------------------------------------------------------
|
29
21
|
RenderingTest: test_Generate_PDF_on_the_fly_in_a_controller
|
30
22
|
-----------------------------------------------------------
|
31
|
-
Started GET "/tex/example.pdf" for 127.0.0.1 at
|
23
|
+
Started GET "/tex/example.pdf" for 127.0.0.1 at 2024-02-11 16:52:35 +0100
|
32
24
|
Processing by TexController#example as PDF
|
33
25
|
Rendering tex/example.pdf.tex
|
34
|
-
Rendered tex/example.pdf.tex (Duration:
|
35
|
-
Completed
|
36
|
-
---------------------------------------------------------
|
37
|
-
RenderingTest: test_Generate_PDF_using_escaped_characters
|
38
|
-
---------------------------------------------------------
|
39
|
-
Started GET "/tex/example2.pdf" for 127.0.0.1 at 2019-11-26 11:54:58 +0100
|
40
|
-
Processing by TexController#example2 as PDF
|
41
|
-
Rendering tex/example2.pdf.tex
|
42
|
-
Rendered tex/example2.pdf.tex (Duration: 0.3ms | Allocations: 153)
|
43
|
-
Completed 500 Internal Server Error in 1ms (Allocations: 453)
|
26
|
+
Rendered tex/example.pdf.tex (Duration: 1840.1ms | Allocations: 704)
|
27
|
+
Completed 200 OK in 1841ms (Views: 1840.5ms | Allocations: 959)
|
44
28
|
---------------------------------------------------------------
|
45
29
|
RenderingTest: test_Generate_PDF_using_non_printable_characters
|
46
30
|
---------------------------------------------------------------
|
47
|
-
Started GET "/tex/example3.pdf" for 127.0.0.1 at
|
31
|
+
Started GET "/tex/example3.pdf" for 127.0.0.1 at 2024-02-11 16:52:48 +0100
|
48
32
|
Processing by TexController#example3 as PDF
|
49
33
|
Rendering tex/example3.pdf.tex
|
50
|
-
Rendered tex/example3.pdf.tex (Duration:
|
51
|
-
Completed
|
34
|
+
Rendered tex/example3.pdf.tex (Duration: 754.5ms | Allocations: 850)
|
35
|
+
Completed 200 OK in 756ms (Views: 756.0ms | Allocations: 3042)
|
36
|
+
-----------------------------------------------------------
|
37
|
+
RenderingTest: test_Generate_PDF_on_the_fly_in_a_controller
|
38
|
+
-----------------------------------------------------------
|
39
|
+
Started GET "/tex/example.pdf" for 127.0.0.1 at 2024-02-11 16:52:49 +0100
|
40
|
+
Processing by TexController#example as PDF
|
41
|
+
Rendering tex/example.pdf.tex
|
42
|
+
Rendered tex/example.pdf.tex (Duration: 772.3ms | Allocations: 520)
|
43
|
+
Completed 200 OK in 773ms (Views: 772.7ms | Allocations: 780)
|
44
|
+
---------------------------------------------------------
|
45
|
+
RenderingTest: test_Generate_PDF_using_escaped_characters
|
46
|
+
---------------------------------------------------------
|
47
|
+
Started GET "/tex/example2.pdf" for 127.0.0.1 at 2024-02-11 16:52:50 +0100
|
48
|
+
Processing by TexController#example2 as PDF
|
49
|
+
Rendering tex/example2.pdf.tex
|
50
|
+
Rendered tex/example2.pdf.tex (Duration: 740.8ms | Allocations: 577)
|
51
|
+
Completed 200 OK in 741ms (Views: 741.2ms | Allocations: 780)
|
52
|
+
-------------------------------------------------------------
|
53
|
+
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
54
|
+
-------------------------------------------------------------
|
55
|
+
-------------------------------------------------------------
|
56
|
+
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
57
|
+
-------------------------------------------------------------
|
52
58
|
---------------------------------------------------------------
|
53
59
|
RenderingTest: test_Generate_PDF_using_non_printable_characters
|
54
60
|
---------------------------------------------------------------
|
55
|
-
Started GET "/tex/example3.pdf" for 127.0.0.1 at
|
61
|
+
Started GET "/tex/example3.pdf" for 127.0.0.1 at 2024-02-11 16:53:04 +0100
|
56
62
|
Processing by TexController#example3 as PDF
|
57
63
|
Rendering tex/example3.pdf.tex
|
58
|
-
Rendered tex/example3.pdf.tex (Duration:
|
59
|
-
Completed
|
64
|
+
Rendered tex/example3.pdf.tex (Duration: 1109.9ms | Allocations: 835)
|
65
|
+
Completed 200 OK in 1111ms (Views: 1111.4ms | Allocations: 3026)
|
60
66
|
---------------------------------------------------------
|
61
67
|
RenderingTest: test_Generate_PDF_using_escaped_characters
|
62
68
|
---------------------------------------------------------
|
63
|
-
Started GET "/tex/example2.pdf" for 127.0.0.1 at
|
69
|
+
Started GET "/tex/example2.pdf" for 127.0.0.1 at 2024-02-11 16:53:06 +0100
|
64
70
|
Processing by TexController#example2 as PDF
|
65
71
|
Rendering tex/example2.pdf.tex
|
66
|
-
Rendered tex/example2.pdf.tex (Duration:
|
67
|
-
Completed
|
72
|
+
Rendered tex/example2.pdf.tex (Duration: 1113.7ms | Allocations: 639)
|
73
|
+
Completed 200 OK in 1114ms (Views: 1114.1ms | Allocations: 851)
|
68
74
|
-----------------------------------------------------------
|
69
75
|
RenderingTest: test_Generate_PDF_on_the_fly_in_a_controller
|
70
76
|
-----------------------------------------------------------
|
71
|
-
Started GET "/tex/example.pdf" for 127.0.0.1 at
|
77
|
+
Started GET "/tex/example.pdf" for 127.0.0.1 at 2024-02-11 16:53:07 +0100
|
72
78
|
Processing by TexController#example as PDF
|
73
79
|
Rendering tex/example.pdf.tex
|
74
|
-
Rendered tex/example.pdf.tex (Duration:
|
75
|
-
Completed 200 OK in
|
80
|
+
Rendered tex/example.pdf.tex (Duration: 1105.5ms | Allocations: 581)
|
81
|
+
Completed 200 OK in 1106ms (Views: 1105.9ms | Allocations: 835)
|
82
|
+
---------------------------------------------------------
|
83
|
+
RenderingTest: test_Generate_PDF_using_escaped_characters
|
84
|
+
---------------------------------------------------------
|
85
|
+
Started GET "/tex/example2.pdf" for 127.0.0.1 at 2024-02-11 16:53:20 +0100
|
86
|
+
Processing by TexController#example2 as PDF
|
87
|
+
Rendering tex/example2.pdf.tex
|
88
|
+
Rendered tex/example2.pdf.tex (Duration: 1121.2ms | Allocations: 767)
|
89
|
+
Completed 200 OK in 1125ms (Views: 1124.6ms | Allocations: 5619)
|
76
90
|
-----------------------------------------------------------
|
77
91
|
RenderingTest: test_Generate_PDF_on_the_fly_in_a_controller
|
78
92
|
-----------------------------------------------------------
|
79
|
-
Started GET "/tex/example.pdf" for 127.0.0.1 at
|
93
|
+
Started GET "/tex/example.pdf" for 127.0.0.1 at 2024-02-11 16:53:21 +0100
|
80
94
|
Processing by TexController#example as PDF
|
81
95
|
Rendering tex/example.pdf.tex
|
82
|
-
Rendered tex/example.pdf.tex (Duration:
|
83
|
-
Completed 200 OK in
|
96
|
+
Rendered tex/example.pdf.tex (Duration: 1117.8ms | Allocations: 581)
|
97
|
+
Completed 200 OK in 1118ms (Views: 1118.3ms | Allocations: 839)
|
98
|
+
---------------------------------------------------------------
|
99
|
+
RenderingTest: test_Generate_PDF_using_non_printable_characters
|
100
|
+
---------------------------------------------------------------
|
101
|
+
Started GET "/tex/example3.pdf" for 127.0.0.1 at 2024-02-11 16:53:22 +0100
|
102
|
+
Processing by TexController#example3 as PDF
|
103
|
+
Rendering tex/example3.pdf.tex
|
104
|
+
Rendered tex/example3.pdf.tex (Duration: 1112.6ms | Allocations: 694)
|
105
|
+
Completed 200 OK in 1113ms (Views: 1112.8ms | Allocations: 856)
|
106
|
+
-------------------------------------------------------------
|
107
|
+
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
108
|
+
-------------------------------------------------------------
|
84
109
|
---------------------------------------------------------
|
85
110
|
RenderingTest: test_Generate_PDF_using_escaped_characters
|
86
111
|
---------------------------------------------------------
|
87
|
-
Started GET "/tex/example2.pdf" for 127.0.0.1 at
|
112
|
+
Started GET "/tex/example2.pdf" for 127.0.0.1 at 2024-02-11 16:53:44 +0100
|
88
113
|
Processing by TexController#example2 as PDF
|
89
114
|
Rendering tex/example2.pdf.tex
|
90
|
-
Rendered tex/example2.pdf.tex (Duration:
|
91
|
-
Completed 200 OK in
|
115
|
+
Rendered tex/example2.pdf.tex (Duration: 1111.0ms | Allocations: 780)
|
116
|
+
Completed 200 OK in 1115ms (Views: 1114.7ms | Allocations: 5630)
|
117
|
+
-----------------------------------------------------------
|
118
|
+
RenderingTest: test_Generate_PDF_on_the_fly_in_a_controller
|
119
|
+
-----------------------------------------------------------
|
120
|
+
Started GET "/tex/example.pdf" for 127.0.0.1 at 2024-02-11 16:53:45 +0100
|
121
|
+
Processing by TexController#example as PDF
|
122
|
+
Rendering tex/example.pdf.tex
|
123
|
+
Rendered tex/example.pdf.tex (Duration: 1111.9ms | Allocations: 581)
|
124
|
+
Completed 200 OK in 1112ms (Views: 1112.3ms | Allocations: 839)
|
92
125
|
---------------------------------------------------------------
|
93
126
|
RenderingTest: test_Generate_PDF_using_non_printable_characters
|
94
127
|
---------------------------------------------------------------
|
95
|
-
Started GET "/tex/example3.pdf" for 127.0.0.1 at
|
128
|
+
Started GET "/tex/example3.pdf" for 127.0.0.1 at 2024-02-11 16:53:46 +0100
|
96
129
|
Processing by TexController#example3 as PDF
|
97
130
|
Rendering tex/example3.pdf.tex
|
98
|
-
Rendered tex/example3.pdf.tex (Duration:
|
99
|
-
Completed 200 OK in
|
131
|
+
Rendered tex/example3.pdf.tex (Duration: 1120.8ms | Allocations: 693)
|
132
|
+
Completed 200 OK in 1121ms (Views: 1121.0ms | Allocations: 853)
|
133
|
+
-------------------------------------------------------------
|
134
|
+
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
135
|
+
-------------------------------------------------------------
|
136
|
+
-------------------------------------------------------------
|
137
|
+
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
138
|
+
-------------------------------------------------------------
|
139
|
+
---------------------------------------------------------------
|
140
|
+
RenderingTest: test_Generate_PDF_using_non_printable_characters
|
141
|
+
---------------------------------------------------------------
|
142
|
+
Started GET "/tex/example3.pdf" for 127.0.0.1 at 2024-02-11 16:56:29 +0100
|
143
|
+
Processing by TexController#example3 as PDF
|
144
|
+
Rendering tex/example3.pdf.tex
|
145
|
+
Rendered tex/example3.pdf.tex (Duration: 1108.7ms | Allocations: 823)
|
146
|
+
Completed 200 OK in 1110ms (Views: 1110.3ms | Allocations: 3014)
|
100
147
|
-----------------------------------------------------------
|
101
148
|
RenderingTest: test_Generate_PDF_on_the_fly_in_a_controller
|
102
149
|
-----------------------------------------------------------
|
103
|
-
Started GET "/tex/example.pdf" for 127.0.0.1 at
|
150
|
+
Started GET "/tex/example.pdf" for 127.0.0.1 at 2024-02-11 16:56:30 +0100
|
104
151
|
Processing by TexController#example as PDF
|
105
152
|
Rendering tex/example.pdf.tex
|
106
|
-
Rendered tex/example.pdf.tex (Duration:
|
107
|
-
Completed 200 OK in
|
153
|
+
Rendered tex/example.pdf.tex (Duration: 1117.7ms | Allocations: 582)
|
154
|
+
Completed 200 OK in 1118ms (Views: 1118.1ms | Allocations: 844)
|
108
155
|
---------------------------------------------------------
|
109
156
|
RenderingTest: test_Generate_PDF_using_escaped_characters
|
110
157
|
---------------------------------------------------------
|
111
|
-
Started GET "/tex/example2.pdf" for 127.0.0.1 at
|
158
|
+
Started GET "/tex/example2.pdf" for 127.0.0.1 at 2024-02-11 16:56:31 +0100
|
112
159
|
Processing by TexController#example2 as PDF
|
113
160
|
Rendering tex/example2.pdf.tex
|
114
|
-
Rendered tex/example2.pdf.tex (Duration:
|
115
|
-
Completed 200 OK in
|
116
|
-
|
117
|
-
RenderingTest:
|
118
|
-
|
119
|
-
Started GET "/tex/
|
120
|
-
Processing by TexController#
|
121
|
-
Rendering tex/
|
122
|
-
Rendered tex/
|
123
|
-
Completed 200 OK in
|
124
|
-
-------------------------------------------------------------
|
125
|
-
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
126
|
-
-------------------------------------------------------------
|
161
|
+
Rendered tex/example2.pdf.tex (Duration: 1105.6ms | Allocations: 637)
|
162
|
+
Completed 200 OK in 1106ms (Views: 1106.0ms | Allocations: 841)
|
163
|
+
-----------------------------------------------------------
|
164
|
+
RenderingTest: test_Generate_PDF_on_the_fly_in_a_controller
|
165
|
+
-----------------------------------------------------------
|
166
|
+
Started GET "/tex/example.pdf" for 127.0.0.1 at 2024-02-11 16:57:44 +0100
|
167
|
+
Processing by TexController#example as PDF
|
168
|
+
Rendering tex/example.pdf.tex
|
169
|
+
Rendered tex/example.pdf.tex (Duration: 1847.9ms | Allocations: 904)
|
170
|
+
Completed 200 OK in 1852ms (Views: 1851.5ms | Allocations: 5810)
|
127
171
|
---------------------------------------------------------
|
128
172
|
RenderingTest: test_Generate_PDF_using_escaped_characters
|
129
173
|
---------------------------------------------------------
|
130
|
-
Started GET "/tex/example2.pdf" for 127.0.0.1 at
|
174
|
+
Started GET "/tex/example2.pdf" for 127.0.0.1 at 2024-02-11 16:57:46 +0100
|
131
175
|
Processing by TexController#example2 as PDF
|
132
176
|
Rendering tex/example2.pdf.tex
|
133
|
-
Rendered tex/example2.pdf.tex (Duration:
|
134
|
-
Completed 200 OK in
|
177
|
+
Rendered tex/example2.pdf.tex (Duration: 1878.3ms | Allocations: 775)
|
178
|
+
Completed 200 OK in 1879ms (Views: 1878.7ms | Allocations: 983)
|
135
179
|
---------------------------------------------------------------
|
136
180
|
RenderingTest: test_Generate_PDF_using_non_printable_characters
|
137
181
|
---------------------------------------------------------------
|
138
|
-
Started GET "/tex/example3.pdf" for 127.0.0.1 at
|
182
|
+
Started GET "/tex/example3.pdf" for 127.0.0.1 at 2024-02-11 16:57:48 +0100
|
139
183
|
Processing by TexController#example3 as PDF
|
140
184
|
Rendering tex/example3.pdf.tex
|
141
|
-
Rendered tex/example3.pdf.tex (Duration:
|
142
|
-
Completed 200 OK in
|
143
|
-
-----------------------------------------------------------
|
144
|
-
RenderingTest: test_Generate_PDF_on_the_fly_in_a_controller
|
145
|
-
-----------------------------------------------------------
|
146
|
-
Started GET "/tex/example.pdf" for 127.0.0.1 at 2019-11-26 12:03:57 +0100
|
147
|
-
Processing by TexController#example as PDF
|
148
|
-
Rendering tex/example.pdf.tex
|
149
|
-
Rendered tex/example.pdf.tex (Duration: 3093.3ms | Allocations: 863)
|
150
|
-
Completed 200 OK in 3094ms (Views: 3094.2ms | Allocations: 1196)
|
185
|
+
Rendered tex/example3.pdf.tex (Duration: 1852.7ms | Allocations: 815)
|
186
|
+
Completed 200 OK in 1853ms (Views: 1852.9ms | Allocations: 975)
|
151
187
|
-------------------------------------------------------------
|
152
188
|
ConfigTest: test_Build_path_is_Rails_temporary_dir_by_default
|
153
189
|
-------------------------------------------------------------
|
@@ -0,0 +1 @@
|
|
1
|
+
28bf8e16133af1ec77a3cf4ae9a13ad4a7bac3388fab79374af5a86b2fc558aaf1a045a7313bee50eb10e6ba0774f59812d1b9100cb9d930ef178e41958b5f2c
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require "test_helper"
|
2
2
|
|
3
3
|
module Latexpdf
|
4
|
-
class ConfigurationTest <
|
4
|
+
class ConfigurationTest < Minitest::Test
|
5
5
|
def test_implement_passes_configuration
|
6
6
|
assert_equal 2, Configuration.new.passes
|
7
7
|
end
|
@@ -13,4 +13,4 @@ module Latexpdf
|
|
13
13
|
assert_equal "Latexpdf", config.logger.progname
|
14
14
|
end
|
15
15
|
end
|
16
|
-
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: latexpdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthijs Ooms
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,28 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 7.1.3
|
20
20
|
type: :development
|
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: 7.1.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sprockets-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.4.2
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.4.2
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: minitest
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
47
|
+
version: 5.22.2
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 5.22.2
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: minitest-reporters
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +72,14 @@ dependencies:
|
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
75
|
+
version: '13.1'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
82
|
+
version: '13.1'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: simplecov
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +128,14 @@ dependencies:
|
|
114
128
|
requirements:
|
115
129
|
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
131
|
+
version: '2.1'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
138
|
+
version: '2.1'
|
125
139
|
description: Latexpdf is a renderer for rails which compiles Tex files with ERB to
|
126
140
|
a PDF using xelatex by default so that it supports Unicode.
|
127
141
|
email:
|
@@ -143,7 +157,6 @@ files:
|
|
143
157
|
- lib/latexpdf/pdf_generator.rb
|
144
158
|
- lib/latexpdf/railtie.rb
|
145
159
|
- lib/latexpdf/version.rb
|
146
|
-
- test/dummy/README.md
|
147
160
|
- test/dummy/Rakefile
|
148
161
|
- test/dummy/app/assets/config/manifest.js
|
149
162
|
- test/dummy/app/assets/stylesheets/application.css
|
@@ -161,22 +174,17 @@ files:
|
|
161
174
|
- test/dummy/config.ru
|
162
175
|
- test/dummy/config/application.rb
|
163
176
|
- test/dummy/config/boot.rb
|
164
|
-
- test/dummy/config/credentials.yml.enc
|
165
177
|
- test/dummy/config/environment.rb
|
166
178
|
- test/dummy/config/environments/development.rb
|
167
179
|
- test/dummy/config/environments/production.rb
|
168
180
|
- test/dummy/config/environments/test.rb
|
169
181
|
- test/dummy/config/initializers/application_controller_renderer.rb
|
170
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
171
182
|
- test/dummy/config/initializers/content_security_policy.rb
|
172
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
173
183
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
174
184
|
- test/dummy/config/initializers/inflections.rb
|
175
185
|
- test/dummy/config/initializers/mime_types.rb
|
176
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
177
186
|
- test/dummy/config/locales/en.yml
|
178
187
|
- test/dummy/config/routes.rb
|
179
|
-
- test/dummy/config/spring.rb
|
180
188
|
- test/dummy/log/test.log
|
181
189
|
- test/dummy/public/404.html
|
182
190
|
- test/dummy/public/422.html
|
@@ -184,8 +192,7 @@ files:
|
|
184
192
|
- test/dummy/public/apple-touch-icon-precomposed.png
|
185
193
|
- test/dummy/public/apple-touch-icon.png
|
186
194
|
- test/dummy/public/favicon.ico
|
187
|
-
- test/dummy/
|
188
|
-
- test/dummy/tmp/development_secret.txt
|
195
|
+
- test/dummy/tmp/local_secret.txt
|
189
196
|
- test/integration/config_test.rb
|
190
197
|
- test/integration/rendering_test.rb
|
191
198
|
- test/latexpdf/configuration_test.rb
|
@@ -202,7 +209,7 @@ homepage: https://github.com/mjooms/latexpdf
|
|
202
209
|
licenses:
|
203
210
|
- MIT
|
204
211
|
metadata: {}
|
205
|
-
post_install_message:
|
212
|
+
post_install_message:
|
206
213
|
rdoc_options:
|
207
214
|
- "--main=README.rdoc"
|
208
215
|
require_paths:
|
@@ -218,65 +225,57 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
225
|
- !ruby/object:Gem::Version
|
219
226
|
version: '0'
|
220
227
|
requirements: []
|
221
|
-
|
222
|
-
|
223
|
-
signing_key:
|
228
|
+
rubygems_version: 3.4.6
|
229
|
+
signing_key:
|
224
230
|
specification_version: 4
|
225
231
|
summary: A Tex template to PDF generator
|
226
232
|
test_files:
|
227
|
-
- test/
|
228
|
-
- test/
|
229
|
-
- test/
|
230
|
-
- test/dummy/app/jobs/application_job.rb
|
233
|
+
- test/dummy/Rakefile
|
234
|
+
- test/dummy/app/assets/config/manifest.js
|
235
|
+
- test/dummy/app/assets/stylesheets/application.css
|
231
236
|
- test/dummy/app/controllers/application_controller.rb
|
232
237
|
- test/dummy/app/controllers/tex_controller.rb
|
238
|
+
- test/dummy/app/helpers/application_helper.rb
|
239
|
+
- test/dummy/app/jobs/application_job.rb
|
240
|
+
- test/dummy/app/views/layouts/application.html.erb
|
233
241
|
- test/dummy/app/views/tex/example.pdf.tex
|
234
242
|
- test/dummy/app/views/tex/example2.pdf.tex
|
235
243
|
- test/dummy/app/views/tex/example3.pdf.tex
|
236
|
-
- test/dummy/
|
237
|
-
- test/dummy/app/assets/config/manifest.js
|
238
|
-
- test/dummy/app/assets/stylesheets/application.css
|
239
|
-
- test/dummy/app/helpers/application_helper.rb
|
244
|
+
- test/dummy/bin/rails
|
240
245
|
- test/dummy/bin/rake
|
241
246
|
- test/dummy/bin/setup
|
242
|
-
- test/dummy/bin/rails
|
243
|
-
- test/dummy/config/routes.rb
|
244
|
-
- test/dummy/config/locales/en.yml
|
245
|
-
- test/dummy/config/environments/production.rb
|
246
|
-
- test/dummy/config/environments/development.rb
|
247
|
-
- test/dummy/config/environments/test.rb
|
248
|
-
- test/dummy/config/spring.rb
|
249
|
-
- test/dummy/config/environment.rb
|
250
247
|
- test/dummy/config/application.rb
|
251
|
-
- test/dummy/config/credentials.yml.enc
|
252
248
|
- test/dummy/config/boot.rb
|
249
|
+
- test/dummy/config/environment.rb
|
250
|
+
- test/dummy/config/environments/development.rb
|
251
|
+
- test/dummy/config/environments/production.rb
|
252
|
+
- test/dummy/config/environments/test.rb
|
253
253
|
- test/dummy/config/initializers/application_controller_renderer.rb
|
254
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
255
|
-
- test/dummy/config/initializers/mime_types.rb
|
256
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
257
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
258
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
259
254
|
- test/dummy/config/initializers/content_security_policy.rb
|
255
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
260
256
|
- test/dummy/config/initializers/inflections.rb
|
257
|
+
- test/dummy/config/initializers/mime_types.rb
|
258
|
+
- test/dummy/config/locales/en.yml
|
259
|
+
- test/dummy/config/routes.rb
|
261
260
|
- test/dummy/config.ru
|
262
|
-
- test/dummy/
|
263
|
-
- test/dummy/
|
264
|
-
- test/dummy/public/favicon.ico
|
261
|
+
- test/dummy/log/test.log
|
262
|
+
- test/dummy/public/404.html
|
265
263
|
- test/dummy/public/422.html
|
266
|
-
- test/dummy/public/apple-touch-icon.png
|
267
264
|
- test/dummy/public/500.html
|
268
|
-
- test/dummy/public/404.html
|
269
265
|
- test/dummy/public/apple-touch-icon-precomposed.png
|
270
|
-
- test/dummy/public/
|
271
|
-
- test/dummy/
|
272
|
-
- test/dummy/tmp/
|
266
|
+
- test/dummy/public/apple-touch-icon.png
|
267
|
+
- test/dummy/public/favicon.ico
|
268
|
+
- test/dummy/tmp/local_secret.txt
|
273
269
|
- test/integration/config_test.rb
|
274
270
|
- test/integration/rendering_test.rb
|
275
|
-
- test/
|
276
|
-
- test/latexpdf/latexpdf_test.rb
|
271
|
+
- test/latexpdf/configuration_test.rb
|
277
272
|
- test/latexpdf/escaper_test.rb
|
273
|
+
- test/latexpdf/latexpdf_error_test.rb
|
274
|
+
- test/latexpdf/latexpdf_test.rb
|
278
275
|
- test/latexpdf/logger_test.rb
|
279
|
-
- test/latexpdf/configuration_test.rb
|
280
276
|
- test/latexpdf/pdf_generator_test.rb
|
281
|
-
- test/
|
277
|
+
- test/test_helper.rb
|
278
|
+
- test/testdata/empty.tex
|
279
|
+
- test/testdata/invalid_tex.tex
|
280
|
+
- test/testdata/minimal.tex
|
282
281
|
- Rakefile
|
data/test/dummy/README.md
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
@@ -1 +0,0 @@
|
|
1
|
-
at+JRX1ngewxk270DMOHbbhn1Oe+bcVTOuXg4SgY1QjjG87tElfVcI2LhEmVZYG3XCNjw9CdO+jTiwnwymasvEfM7THsQYFw4Dbz9rF2bZXRF2jkiHkTXj/skLrtEOmK8vy1tEKf1p1dVXXVIG9DFmmPDmrNAOEo1hpmocl0clZEIPQLzGr125hcStH03YXXMnwTuJdEroZc6MsmtIpx2Z0F977z9HS5mCqhXeECEflhFrHVh0EJDsFyZ+JU14IytjERHb3nREOYUdB8mpTLOmW0I4VrelDMGiM410ChLSKbadVk9xgwF8TVLrjiU/Rxy3fV2ccTLRzn838n5NxUJU4IIDiqNDcz0v15+5XYkDSjo8olf40Rm7+v6LMMZWhkrux+YxZ4xqEVpBV2dzF99Vbozv+4LZpjtsqB--Dz95BDOi0o9WX3v3--+Hpi8Q/hMA6tgI4hxbi1FA==
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|