breezy_pdf 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.rubocop.yml +18 -0
- data/.travis.yml +6 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +51 -0
- data/LICENSE.txt +5 -0
- data/README.md +254 -0
- data/Rakefile +12 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/breezy_pdf.gemspec +36 -0
- data/lib/breezy_pdf/client.rb +39 -0
- data/lib/breezy_pdf/gzip.rb +27 -0
- data/lib/breezy_pdf/html/publicize.rb +62 -0
- data/lib/breezy_pdf/html/strip.rb +29 -0
- data/lib/breezy_pdf/html.rb +8 -0
- data/lib/breezy_pdf/intercept/base.rb +13 -0
- data/lib/breezy_pdf/intercept/private_url.rb +69 -0
- data/lib/breezy_pdf/intercept/public_url.rb +34 -0
- data/lib/breezy_pdf/intercept.rb +10 -0
- data/lib/breezy_pdf/interceptor.rb +48 -0
- data/lib/breezy_pdf/middleware.rb +14 -0
- data/lib/breezy_pdf/private_assets/asset.rb +47 -0
- data/lib/breezy_pdf/private_assets/html.rb +66 -0
- data/lib/breezy_pdf/private_assets.rb +9 -0
- data/lib/breezy_pdf/render_request.rb +21 -0
- data/lib/breezy_pdf/response.rb +44 -0
- data/lib/breezy_pdf/uploads/base.rb +76 -0
- data/lib/breezy_pdf/uploads/file_form_data.rb +60 -0
- data/lib/breezy_pdf/uploads.rb +13 -0
- data/lib/breezy_pdf/util.rb +49 -0
- data/lib/breezy_pdf/version.rb +5 -0
- data/lib/breezy_pdf.rb +78 -0
- data/test.html +8 -0
- metadata +191 -0
metadata
ADDED
@@ -0,0 +1,191 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: breezy_pdf
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daniel Westendorf
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-03-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: nokogiri
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: concurrent-ruby
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.16'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.16'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '5.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '5.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-stub-const
|
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
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rack-test
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.49'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.49'
|
125
|
+
description: Client and Rack Middlware which submits URL's and HTML fragments to be
|
126
|
+
rendered as a PDF
|
127
|
+
email:
|
128
|
+
- daniel@prowestech.com
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".gitignore"
|
134
|
+
- ".rubocop.yml"
|
135
|
+
- ".travis.yml"
|
136
|
+
- Gemfile
|
137
|
+
- Gemfile.lock
|
138
|
+
- LICENSE.txt
|
139
|
+
- README.md
|
140
|
+
- Rakefile
|
141
|
+
- bin/console
|
142
|
+
- bin/setup
|
143
|
+
- breezy_pdf.gemspec
|
144
|
+
- lib/breezy_pdf.rb
|
145
|
+
- lib/breezy_pdf/client.rb
|
146
|
+
- lib/breezy_pdf/gzip.rb
|
147
|
+
- lib/breezy_pdf/html.rb
|
148
|
+
- lib/breezy_pdf/html/publicize.rb
|
149
|
+
- lib/breezy_pdf/html/strip.rb
|
150
|
+
- lib/breezy_pdf/intercept.rb
|
151
|
+
- lib/breezy_pdf/intercept/base.rb
|
152
|
+
- lib/breezy_pdf/intercept/private_url.rb
|
153
|
+
- lib/breezy_pdf/intercept/public_url.rb
|
154
|
+
- lib/breezy_pdf/interceptor.rb
|
155
|
+
- lib/breezy_pdf/middleware.rb
|
156
|
+
- lib/breezy_pdf/private_assets.rb
|
157
|
+
- lib/breezy_pdf/private_assets/asset.rb
|
158
|
+
- lib/breezy_pdf/private_assets/html.rb
|
159
|
+
- lib/breezy_pdf/render_request.rb
|
160
|
+
- lib/breezy_pdf/response.rb
|
161
|
+
- lib/breezy_pdf/uploads.rb
|
162
|
+
- lib/breezy_pdf/uploads/base.rb
|
163
|
+
- lib/breezy_pdf/uploads/file_form_data.rb
|
164
|
+
- lib/breezy_pdf/util.rb
|
165
|
+
- lib/breezy_pdf/version.rb
|
166
|
+
- test.html
|
167
|
+
homepage: https://www.breezypdf.com
|
168
|
+
licenses:
|
169
|
+
- LGPL-3.0
|
170
|
+
metadata: {}
|
171
|
+
post_install_message:
|
172
|
+
rdoc_options: []
|
173
|
+
require_paths:
|
174
|
+
- lib
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
requirements: []
|
186
|
+
rubyforge_project:
|
187
|
+
rubygems_version: 2.6.13
|
188
|
+
signing_key:
|
189
|
+
specification_version: 4
|
190
|
+
summary: Ruby client for BreezyPDF.com
|
191
|
+
test_files: []
|