nano-pro-lib 0.0.1

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.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/nano-pro-lib.gemspec +11 -0
  3. data/wicked_pdf-2.8.2/CHANGELOG.md +254 -0
  4. data/wicked_pdf-2.8.2/Gemfile +3 -0
  5. data/wicked_pdf-2.8.2/LICENSE.txt +22 -0
  6. data/wicked_pdf-2.8.2/README.md +504 -0
  7. data/wicked_pdf-2.8.2/Rakefile +58 -0
  8. data/wicked_pdf-2.8.2/gemfiles/5.0.gemfile +8 -0
  9. data/wicked_pdf-2.8.2/gemfiles/5.1.gemfile +8 -0
  10. data/wicked_pdf-2.8.2/gemfiles/5.2.gemfile +9 -0
  11. data/wicked_pdf-2.8.2/gemfiles/6.0.gemfile +10 -0
  12. data/wicked_pdf-2.8.2/gemfiles/6.1.gemfile +11 -0
  13. data/wicked_pdf-2.8.2/gemfiles/7.0.gemfile +11 -0
  14. data/wicked_pdf-2.8.2/generators/wicked_pdf/templates/wicked_pdf.rb +30 -0
  15. data/wicked_pdf-2.8.2/generators/wicked_pdf/wicked_pdf_generator.rb +7 -0
  16. data/wicked_pdf-2.8.2/init.rb +2 -0
  17. data/wicked_pdf-2.8.2/lib/generators/wicked_pdf_generator.rb +7 -0
  18. data/wicked_pdf-2.8.2/lib/wicked_pdf/binary.rb +65 -0
  19. data/wicked_pdf-2.8.2/lib/wicked_pdf/middleware.rb +92 -0
  20. data/wicked_pdf-2.8.2/lib/wicked_pdf/option_parser.rb +230 -0
  21. data/wicked_pdf-2.8.2/lib/wicked_pdf/pdf_helper.rb +128 -0
  22. data/wicked_pdf-2.8.2/lib/wicked_pdf/progress.rb +33 -0
  23. data/wicked_pdf-2.8.2/lib/wicked_pdf/railtie.rb +17 -0
  24. data/wicked_pdf-2.8.2/lib/wicked_pdf/tempfile.rb +43 -0
  25. data/wicked_pdf-2.8.2/lib/wicked_pdf/version.rb +3 -0
  26. data/wicked_pdf-2.8.2/lib/wicked_pdf/wicked_pdf_helper/assets.rb +332 -0
  27. data/wicked_pdf-2.8.2/lib/wicked_pdf/wicked_pdf_helper.rb +36 -0
  28. data/wicked_pdf-2.8.2/lib/wicked_pdf.rb +132 -0
  29. data/wicked_pdf-2.8.2/test/fixtures/database.yml +4 -0
  30. data/wicked_pdf-2.8.2/test/fixtures/document_with_long_line.html +16 -0
  31. data/wicked_pdf-2.8.2/test/fixtures/manifest.js +3 -0
  32. data/wicked_pdf-2.8.2/test/fixtures/subdirectory/nested.js +1 -0
  33. data/wicked_pdf-2.8.2/test/fixtures/wicked.css +1 -0
  34. data/wicked_pdf-2.8.2/test/fixtures/wicked.js +1 -0
  35. data/wicked_pdf-2.8.2/test/functional/pdf_helper_test.rb +96 -0
  36. data/wicked_pdf-2.8.2/test/functional/wicked_pdf_helper_assets_test.rb +252 -0
  37. data/wicked_pdf-2.8.2/test/functional/wicked_pdf_helper_test.rb +28 -0
  38. data/wicked_pdf-2.8.2/test/test_helper.rb +40 -0
  39. data/wicked_pdf-2.8.2/test/unit/wicked_pdf_binary_test.rb +26 -0
  40. data/wicked_pdf-2.8.2/test/unit/wicked_pdf_option_parser_test.rb +133 -0
  41. data/wicked_pdf-2.8.2/test/unit/wicked_pdf_test.rb +100 -0
  42. data/wicked_pdf-2.8.2/test/unit/wkhtmltopdf_location_test.rb +48 -0
  43. data/wicked_pdf-2.8.2/wicked_pdf.gemspec +42 -0
  44. metadata +82 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d2a28b6fe97f0d47f0656a191793d5aca4f4b11d57b75b71a9e0c82fc6bfa08e
4
+ data.tar.gz: 694c34308a156ab40c5a3e03a75b07f3ab6b02a42289df616e0e1e32aaf5fe9e
5
+ SHA512:
6
+ metadata.gz: 4a5617791e709b316e3a2c58894157eaa63cfda389a8bef5ccb3623e16e9fd2b9ef4a34a53e64fab8931870aa645e8ca18ece4ea8a85017b38f0ccec2082747e
7
+ data.tar.gz: 48678b8f0b2e5a11691ac927cd9d12b936305214cc2ed679700cf7928f288ad81c7b743d5c04720fde43dcb20308eb3b25916d017735da3eaca6f542b58e44f1
@@ -0,0 +1,11 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = "nano-pro-lib"
3
+ s.version = "0.0.1"
4
+ s.summary = "Research test"
5
+ s.description = "University research based on wicked_pdf"
6
+ s.authors = ["Andrey78"]
7
+ s.email = ["cakoc614@gmail.com"]
8
+ s.files = Dir.glob("**/*").reject { |f| f.end_with?('.gem') }
9
+ s.homepage = "https://rubygems.org/profiles/Andrey78"
10
+ s.license = "MIT"
11
+ end
@@ -0,0 +1,254 @@
1
+ # Change Log
2
+ All notable changes to this project should be documented in this file.
3
+ This project attempts to adhere to [Semantic Versioning](http://semver.org/).
4
+
5
+ ## [[master branch] - Unreleased changes](https://github.com/mileszs/wicked_pdf/compare/2.8.2...HEAD)
6
+ ### Breaking Changes
7
+ ### New Features
8
+ ### Fixes
9
+
10
+ ## [2.8.2]
11
+ ### Fixes
12
+ - [Fix for frozen_string_literal in Ruby 3.4](https://github.com/mileszs/wicked_pdf/pull/1118)
13
+ - [Add OpenStruct dependency explicitly for Ruby 3.5](https://github.com/mileszs/wicked_pdf/pull/1131)
14
+
15
+ ## [2.8.1]
16
+ ### Fixes
17
+ - [Explicitly require OpenStruct, which isn't loaded by default anymore in new versions of Rake](https://github.com/mileszs/wicked_pdf/pull/1110)
18
+ - [Ensure assets without extensions are handled correctly](https://github.com/mileszs/wicked_pdf/pull/1115)
19
+
20
+ ## [2.8.0]
21
+ ### New Features
22
+ - [Add New config option `raise_on_missing_assets`](https://github.com/mileszs/wicked_pdf/pull/1094)
23
+ - [Add support for truffleruby (22.1.0) on Linux](https://github.com/mileszs/wicked_pdf/pull/1028)
24
+
25
+ ### Fixes
26
+ - [Fix Propshaft encoding issue](https://github.com/mileszs/wicked_pdf/pull/1096)
27
+ - [Fix Webpacker & Shakapacker compatibility issue](https://github.com/mileszs/wicked_pdf/pull/1099)
28
+
29
+ ## [2.7.0]
30
+ ### New Features
31
+ - [Support Shakapacker 7](https://github.com/mileszs/wicked_pdf/pull/1067)
32
+ - [Add option `delete_temporary_files` to keep the temporary files generated by `pdf_from_string` method](https://github.com/mileszs/wicked_pdf/pull/1068)
33
+ - [Add support for --allow flag](https://github.com/mileszs/wicked_pdf/pull/1030)
34
+
35
+ ## Fixes
36
+ - [Add require for `stringio`, which is no longer loaded by default in Ruby 3.1+](https://github.com/mileszs/wicked_pdf/pull/1062)
37
+ - [Fix CI build.](https://github.com/mileszs/wicked_pdf/pull/1055)
38
+ - [Fix Header/footer temporary file is removed before `wkhtmltopdf` is called](https://github.com/mileszs/wicked_pdf/pull/1039)
39
+ - [Bump rubocop to 1.46](https://github.com/mileszs/wicked_pdf/pull/1051)
40
+ - [Add Ruby 3.2 to the test matrix](https://github.com/mileszs/wicked_pdf/pull/1046)
41
+
42
+ ## [2.6.3]
43
+ ### Fixes
44
+ - [Fix typo of #possible_binary_locations](https://github.com/mileszs/wicked_pdf/pull/1025)
45
+ - [Drop unused executables gemspec directive](https://github.com/mileszs/wicked_pdf/pull/1024)
46
+
47
+ ## [2.6.2]
48
+ ### Fixes
49
+ - [Fix undefined local variable or method 'block' for render_to_string](https://github.com/mileszs/wicked_pdf/pull/962)
50
+ - [Add require for `delegate`, which is no longer loaded by default in Ruby 2.7+](https://github.com/mileszs/wicked_pdf/pull/1019)
51
+ ## [2.6.0]
52
+ ### New Features
53
+ - [Support Propshaft in find_asset helper](https://github.com/mileszs/wicked_pdf/pull/1010)
54
+ ### Fixes
55
+ - [Update Changelog with changes from 2.1.0](https://github.com/mileszs/wicked_pdf/pull/1013)
56
+ - [Fix CI build for Rails 7.](https://github.com/mileszs/wicked_pdf/pull/1014)
57
+
58
+ ## [2.5.4] December 20th 2021 769f9df487f3c1e31dc91431666baa78d2aa24fb
59
+ ### New Features
60
+ - [Test with Rails 7](https://github.com/mileszs/wicked_pdf/pull/998)
61
+ ### Fixes
62
+ - [Include view helper on view load.](https://github.com/mileszs/wicked_pdf/pull/992)
63
+
64
+ ## [2.5.3] December 15th 2021 7991877de634067b4245fb47fdad65da43761887
65
+ - [Fix check for webpacker version](https://github.com/mileszs/wicked_pdf/pull/964)
66
+ - [Complete transition to Github actions](https://github.com/mileszs/wicked_pdf/pull/987)
67
+
68
+ ## [2.5.2] November 2021 - fix webpacker_source_url bdd0ca3eca759e277ce5461141b1506f56fefcd1
69
+ - [fix: `webpacker_source_url`](https://github.com/mileszs/wicked_pdf/pull/993)
70
+ - [update README](https://github.com/mileszs/wicked_pdf/pull/968)
71
+
72
+ ## [2.5.1] September 2021 - fix webpacker helper, github actions and Readme updates ae725e8055dc8f51a392c27767b4dcdcfffe155d
73
+ - [Add comment about enable_local_file_access to README](https://github.com/mileszs/wicked_pdf/commit/2dc96dde2e0fd7362395064f2480cac1edcc1f48)
74
+ - [README updates](https://github.com/mileszs/wicked_pdf/pull/974) &&
75
+ - [Github actions](https://github.com/mileszs/wicked_pdf/pull/986)
76
+ - [Screencast links](https://github.com/mileszs/wicked_pdf/pull/976)
77
+ - [fix url generating in webpacker helper](https://github.com/mileszs/wicked_pdf/pull/973)
78
+
79
+ ## [2.5.0] November 2020 Release - 2b1d47a84fce3600e7cbe2f50843af1a7b84d4a6
80
+ - [Remove code for unsupported rails and ruby versions](https://github.com/mileszs/wicked_pdf/pull/925)
81
+
82
+ ## [2.4.1] b56c46a05895def395ebc75ed8e822551c2c478f
83
+ - [Extract reading in chunk](https://github.com/mileszs/wicked_pdf/pull/951)
84
+ - [add ruby 2.7 to the test matrix](https://github.com/mileszs/wicked_pdf/pull/952)
85
+
86
+ ## [2.4.0] 8c007a77057e1a6680469d1ef53aa19a108fe209
87
+ ### New Features
88
+ - [Do not unlink HTML temp files immediately (to enable HTML tempfile inspection)](https://github.com/mileszs/wicked_pdf/pull/950)
89
+ - [Read HTML string and generated PDF file in chunks (to reduce memory overhead of generating large PDFs)](https://github.com/mileszs/wicked_pdf/pull/949)
90
+ - [Add `wicked_pdf_url_base64` helper](https://github.com/mileszs/wicked_pdf/pull/947)
91
+
92
+ ## [2.3.1] - Allow bundler 2.x ee6a5e1f807c872af37c1382f629dd4cac3040a8
93
+ - [Adjust gemspec development dependencies](https://github.com/mileszs/wicked_pdf/pull/814)
94
+
95
+ ## [2.3.0] - Remove support for Ruby 1.x and Rails 2.x 66149c67e54cd3a63dd27528f5b78255fdd5ac43
96
+ - [Remove support for Ruby 1.x and Rails 2.x](https://github.com/mileszs/wicked_pdf/pull/859)
97
+
98
+ ## [2.2.0] - October 2020 release f8abe706f5eb6dba2fcded473c81f2176e9d717e
99
+ ### Fixes
100
+ - [Make CI green again](https://github.com/mileszs/wicked_pdf/pull/939)
101
+ - [rubocop fixes](https://github.com/mileszs/wicked_pdf/pull/945)
102
+ ### New Features
103
+ - [Add support for --keep-relative-links flag](https://github.com/mileszs/wicked_pdf/pull/930)
104
+ - [Encapsulate binary path and version handling](https://github.com/mileszs/wicked_pdf/pull/816) && [#815](https://github.com/mileszs/wicked_pdf/pull/815)
105
+
106
+
107
+ ## [2.1.0] - 2020-06-14
108
+ ### Fixes
109
+ - [Document no_stop_slow_scripts in README](https://github.com/mileszs/wicked_pdf/pull/905)
110
+ - [Document how to use locals in README](https://github.com/mileszs/wicked_pdf/pull/915)
111
+
112
+ ### New Features
113
+ - [Improved support for Webpacker assets with `wicked_pdf_asset_pack_path`](https://github.com/mileszs/wicked_pdf/pull/896)
114
+ - [Support enabling/disabling local file access compatible with wkhtmltopdf 0.12.6](https://github.com/mileszs/wicked_pdf/pull/920)
115
+ - [Add option `use_xvfb` to emulate an X server](https://github.com/mileszs/wicked_pdf/pull/909)
116
+
117
+ ## [2.0.2] - 2020-03-17
118
+ ### Fixes
119
+ - [Force UTF-8 encoding in assets helper](https://github.com/mileszs/wicked_pdf/pull/894)
120
+
121
+ ## [2.0.1] - 2020-02-22
122
+ ### Fixes
123
+ - [Replace open-uri with more secure Net:HTTP.get](https://github.com/mileszs/wicked_pdf/pull/864)
124
+
125
+ ## [2.0.0] - 2020-02-22
126
+ ### Breaking changes
127
+ - [Remove support for older Ruby and Rails versions](https://github.com/mileszs/wicked_pdf/pull/854) - This project no longer supports Ruby < 2.2 and Rails < 4. It may work for you, but we are no longer worrying about breaking backwards compatibility for versions older than these. If you are on an affected version, you can continue to use the 1.x releases. Patches to fix broken behavior on old versions may not be accepted unless they are highly decoupled from the rest of the code base.
128
+
129
+ ### New Features
130
+ - [Add Rubygems metadata hash to gemspec](https://github.com/mileszs/wicked_pdf/pull/856)
131
+ - [Add support for Rails 6](https://github.com/mileszs/wicked_pdf/pull/869)
132
+
133
+ ### Fixes
134
+ - [Fix Webpacker helpers in production environment](https://github.com/mileszs/wicked_pdf/pull/837)
135
+ - [Fix unit tests](https://github.com/mileszs/wicked_pdf/pull/852)
136
+
137
+ ## [1.4.0] - 2019-05-23
138
+ ### New Features
139
+ - [Add support for `log_level` and `quiet` options](https://github.com/mileszs/wicked_pdf/pull/834)
140
+
141
+ ## [1.3.0] - 2019-05-20
142
+ ### New Features
143
+ - [Add support for Webpacker provided bundles](https://github.com/mileszs/wicked_pdf/pull/739)
144
+
145
+ ## [1.2.2] - 2019-04-13
146
+ ### Fixes
147
+ - [Fix issue loading Pty on Windows](https://github.com/mileszs/wicked_pdf/pull/820)
148
+ - [Fix conflict with remotipart causing SystemStackError](https://github.com/mileszs/wicked_pdf/pull/821)
149
+
150
+ ## [1.2.1] - 2019-03-16
151
+ ### Fixes
152
+ - [Fix `SystemStackError` in some setups](https://github.com/mileszs/wicked_pdf/pull/813)
153
+
154
+ ## [1.2.0] - 2019-03-16
155
+ ### New Features
156
+ - [Add `raise_on_all_errors: true` option to raise on any error that prints to STDOUT during PDF generation](https://github.com/mileszs/wicked_pdf/pull/751)
157
+ - [Add ability to use the `assigns` option to `render` to assign instance variables to a PDF template](https://github.com/mileszs/wicked_pdf/pull/801)
158
+ - [Add ability to track console progress](https://github.com/mileszs/wicked_pdf/pull/804) with `progress: -> (output) { puts output }`. This is useful to add reporting hooks to show your frontend what page number is being generated.
159
+
160
+ ### Fixes
161
+ - [Fix conflict with other gems that hook into `render`](https://github.com/mileszs/wicked_pdf/pull/574) and avoid using `alias_method_chain` where possible
162
+ - [Fix issue using the shell to locate `wkhtmltopdf` in a Bundler environment](https://github.com/mileszs/wicked_pdf/pull/728)
163
+ - [Fix `wkhtmltopdf` path detection when HOME environment variable is unset](https://github.com/mileszs/wicked_pdf/pull/568)
164
+ - [Fix error when the `Rails` constant is defined but not actually using Rails](https://github.com/mileszs/wicked_pdf/pull/613)
165
+ - [Fix compatibility issue with Sprockets 4](https://github.com/mileszs/wicked_pdf/pull/615)
166
+ - [Fix compatibility issue with `Mime::JS` in Rails 5.1+](https://github.com/mileszs/wicked_pdf/pull/627)
167
+ - [Fix deprecation warning by using `after_action` instead of `after_filter` when available](https://github.com/mileszs/wicked_pdf/pull/663)
168
+ - [Provide Rails `base_path` to `find_asset` calls for Sprockets file lookup](https://github.com/mileszs/wicked_pdf/pull/688)
169
+ - Logger changes:
170
+ - [Use `Rails.logger.debug` instead of `p`](https://github.com/mileszs/wicked_pdf/pull/575)
171
+ - [Change logger message to prepend `[wicked_pdf]` instead of nonstandard `****************WICKED****************`](https://github.com/mileszs/wicked_pdf/pull/589)
172
+ - Documentation changes:
173
+ - [Update link to wkhtmltopdf homepage](https://github.com/mileszs/wicked_pdf/pull/582)
174
+ - [Update link to `wkhtmltopdf_binary_gem`](https://github.com/mileszs/wicked_pdf/commit/59e6c5fca3985f2fa2f345089596250df5da2682)
175
+ - [Update documentation for usage with the Asset Pipeline](https://github.com/mileszs/wicked_pdf/commit/690d00157706699a71b7dcd71834759f4d84702f)
176
+ - [Document `default_protocol` option](https://github.com/mileszs/wicked_pdf/pull/585)
177
+ - [Document `image` and `no_image` options](https://github.com/mileszs/wicked_pdf/pull/689)
178
+ - [Document issue with DPI/scaling on various platforms](https://github.com/mileszs/wicked_pdf/pull/715)
179
+ - [Document creating and attaching a PDF in a mailer](https://github.com/mileszs/wicked_pdf/pull/746)
180
+ - [Document dependency on `wkhtmltopdf` with RubyGems](https://github.com/mileszs/wicked_pdf/pull/656)
181
+ - [Add example using WickedPDF with Rails in an API-only configuration](https://github.com/mileszs/wicked_pdf/pull/796)
182
+ - [Add example for rending a template as a header/footer](https://github.com/mileszs/wicked_pdf/pull/603)
183
+ - [Add GitHub issue template](https://github.com/mileszs/wicked_pdf/pull/805)
184
+ - [Add CodeClimate Badge](https://github.com/mileszs/wicked_pdf/pull/646)
185
+ - RuboCop cleanup
186
+ - Updates to Travis CI pipeline to support newer versions of Ruby & Rails
187
+
188
+ ## [1.1.0] - 2016-08-30
189
+ ### New Features
190
+ - Support Rails 5.x and Sprockets 3.x
191
+ - Support `window_status: 'somestring'` option, to instruct wkhtmltopdf to wait until the browser `window.status` is equal to the supplied string. This can be useful to force rendering to wait [as explained quite well here](https://spin.atomicobject.com/2015/08/29/ember-app-done-loading/)
192
+ - Support `no_stop_slow_scripts: true` to let slow running scripts delay rendering
193
+ - [Changes to asset finding to support Rails 5](https://github.com/mileszs/wicked_pdf/pull/561)
194
+
195
+ ### Fixes
196
+ - [Improved error handling](https://github.com/mileszs/wicked_pdf/pull/543)
197
+ - [Namespace helper classes under WickedPdf namespace](https://github.com/mileszs/wicked_pdf/pull/538)
198
+
199
+ ## [1.0.6] - 2016-04-04
200
+ ### Fixes
201
+ - Revert shell escaping of options. The fix was causing more issues than it solved (like "[page] of [topage]" being escaped, and thus not parsed by `wkhtmltopdf`). See #514 for details.
202
+
203
+ ## [1.0.5] - 2016-03-28
204
+ ### Fixes
205
+ - Numerous RuboCop style violation fixes, spelling errors, and test-setup issues from [indyrb.org](http://indyrb.org/) hack night. Thank you all for your contributions!
206
+ - Shellescape options. A stray quote in `header` or `footer` would cause PDF to fail to generate, and this should close down many potential attack vectors if you allow user-supplied values to be passed into `wicked_pdf` render options.
207
+
208
+ ## [1.0.4] - 2016-01-26
209
+ ### Fixes
210
+ - Check that logger responds to info before calling it. It was possible to have a `logger` method defined as a controller helper that would override `Rails.logger`.
211
+ - [Issue with Sprockets 3.0](https://github.com/mileszs/wicked_pdf/issues/476) where an asset referenced in a stylesheet not existing would raise an exception `read_asset` on nil.
212
+
213
+ ## [1.0.3] - 2015-12-02
214
+ ### Fixes
215
+ - Revert default DPI. Some installs of `wkhtmltopdf` would experience major slowdowns or crashes with it set to 72. It is suggested that a DPI of 75 may be better, but I'm holding off on making it a default without more information.
216
+
217
+ ## [1.0.2] - 2015-11-30
218
+ ### Fixes
219
+ - The default dpi is now 72. Previously the default would be whatever your `wkhtmltopdf` version specified as the default. This change [speeds up generation of documents that contain `border-radius` dramatically](https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1510)
220
+
221
+ ## [1.0.1] - 2015-11-19
222
+ ### Fixes
223
+ - Made minor RuboCop style tweaks.
224
+ - Added default [RuboCop](https://github.com/bbatsov/rubocop) config and run after test suite.
225
+ - Issue with `nil.basename` from asset helpers.
226
+
227
+ ## [1.0.0] - 2015-11-03
228
+ ### Breaking Changes
229
+ - Accepted that `WickedPDF` cannot guarantee backwards compatibility with older versions of `wkthmltopdf`, and decided to publish a new version with the MAJOR number incremented, signaling that this may have breaking changes for some people, but providing a path forward for progress. This release number also signals that this is a mature (and relatively stable) project, and should be deemed ready for production (since it has been used in production since ~2009, and downloaded over a *million* times on [RubyGems.org](https://rubygems.org/gems/wicked_pdf)).
230
+ - Stopped attempting to track with version number of `wkhtmltopdf` binary releases (`wkhtmltopdf` v9.x == `WickedPDF` v9.x)
231
+ - Adopted [Semantic Versioning](http://semver.org/) for release numbering
232
+ - Added a CHANGELOG (based on [keepachangelog.com](http://keepachangelog.com/))
233
+ - Misc code tweaks as suggested by [RuboCop](https://github.com/bbatsov/rubocop)
234
+
235
+ ### New Features
236
+ - Check version of `wkhtmltopdf` before deciding to pass arguments with or without dashes
237
+ - New arguments and options for the table of contents supported in newer versions of wkhtmltopdf: `text_size_shrink`, `level_indentation`, `disable_dotted_lines`, `disable_toc_links`, `xsl_style_sheet`
238
+ - Merge in global options to `pdf_from_html_file` and `pdf_from_string`
239
+ - Add ability to generate pdf from a web resource: `pdf_from_url(url)`
240
+ - Removed explicit dependency on [Rails](https://github.com/rails/rails), since parts of this library may be used without it.
241
+
242
+ ### Fixes
243
+ - Comment out the `:exe_path` option in the generated initializer by default (since many systems won't have `wkthmltopdf` installed in that specific location)
244
+ - Issues with `file://` paths on Windows-based systems
245
+ - Issues with parsed options/argument ordering on versions of `wkthmltopdf` > 0.9
246
+ - Issues with middleware headers when running Rails app mounted in a subdirectory
247
+ - Issues with options that have a `key: 'value'` syntax when passed to `wkthmltopdf`
248
+ - Issue with `:temp_path` option being deleted from original options hash
249
+ - Issue with header/footer `:content` being deleted after the first page
250
+ - Issues with options being modified during processing (including global config options)
251
+ - Issues with asset helpers recognizing assets specified without a protocol
252
+ - Issues with `url()` references and embedded `data:base64` assets in stylesheets rendered with `wicked_pdf_stylesheet_link_tag`
253
+ - Asset helpers no longer add a file extension if it already is specified with one
254
+
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2008 Miles Z. Sterrett
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.