docraptor 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/CHANGELOG.md +3 -0
- data/docraptor.yaml +4 -1
- data/lib/docraptor/models/doc.rb +12 -1
- data/lib/docraptor/version.rb +1 -1
- data/swagger-config.json +1 -1
- metadata +51 -51
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YTA3YzEyMjlkN2Q2M2FlYzI2YjhkMWNiZWM3MTIxNTk1NmQ3YTI4OA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NGUwYTQ0ZGE4YTY1MjhkYzkzYjM5MTdhNGM5ZDg0ZGQ1ODQ1YTNiNg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YWQyN2Y0NjQ0N2IzMjJmMGRiYjY2MDk2NGZiOTA4MDU1NjRmZDZkYTViNzMx
|
10
|
+
ZTAwNmVkMzdhODgyYTlhZjQ0ZWVmN2YwNGNiOWU3NTlhODEwZGJiM2M3YmM0
|
11
|
+
MjFhNGVkYzQwYTE1Y2M4NjdjOWY3MjEyZjM3MDMxMmIwMjdhMmM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZTAxM2FhYjc4MTEwOThkZDE4ZTYxZjc0MmViMTBmNWMxYmU0ZTJkZDg5MGY4
|
14
|
+
NzhhZGE2M2YxOTgyNjA0NWJiY2QyMGM0MzhmMTBiZjRhNjEwMmJiNGE0OGEz
|
15
|
+
NjFkOWM5MDU3YzMzNWUxYTk1OGYzOThkOGFmYzZhMTcxMzNhMzI=
|
data/CHANGELOG.md
CHANGED
data/docraptor.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
swagger: '2.0'
|
2
2
|
|
3
3
|
info:
|
4
|
-
version: "1.
|
4
|
+
version: "1.2.0"
|
5
5
|
title: DocRaptor v1
|
6
6
|
|
7
7
|
host: docraptor.com
|
@@ -144,6 +144,9 @@ definitions:
|
|
144
144
|
- document_type
|
145
145
|
- document_content
|
146
146
|
properties:
|
147
|
+
pipeline:
|
148
|
+
type: string
|
149
|
+
description: Specify a specific verison of the DocRaptor Pipeline to use.
|
147
150
|
name:
|
148
151
|
type: string
|
149
152
|
description: A name for identifying your document.
|
data/lib/docraptor/models/doc.rb
CHANGED
@@ -2,6 +2,9 @@ require 'date'
|
|
2
2
|
|
3
3
|
module DocRaptor
|
4
4
|
class Doc
|
5
|
+
# Specify a specific verison of the DocRaptor Pipeline to use.
|
6
|
+
attr_accessor :pipeline
|
7
|
+
|
5
8
|
# A name for identifying your document.
|
6
9
|
attr_accessor :name
|
7
10
|
|
@@ -44,6 +47,8 @@ module DocRaptor
|
|
44
47
|
def self.attribute_map
|
45
48
|
{
|
46
49
|
|
50
|
+
:'pipeline' => :'pipeline',
|
51
|
+
|
47
52
|
:'name' => :'name',
|
48
53
|
|
49
54
|
:'document_type' => :'document_type',
|
@@ -76,6 +81,7 @@ module DocRaptor
|
|
76
81
|
# Attribute type mapping.
|
77
82
|
def self.swagger_types
|
78
83
|
{
|
84
|
+
:'pipeline' => :'String',
|
79
85
|
:'name' => :'String',
|
80
86
|
:'document_type' => :'String',
|
81
87
|
:'document_content' => :'String',
|
@@ -100,6 +106,10 @@ module DocRaptor
|
|
100
106
|
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
101
107
|
|
102
108
|
|
109
|
+
if attributes[:'pipeline']
|
110
|
+
self.pipeline = attributes[:'pipeline']
|
111
|
+
end
|
112
|
+
|
103
113
|
if attributes[:'name']
|
104
114
|
self.name = attributes[:'name']
|
105
115
|
end
|
@@ -186,6 +196,7 @@ module DocRaptor
|
|
186
196
|
def ==(o)
|
187
197
|
return true if self.equal?(o)
|
188
198
|
self.class == o.class &&
|
199
|
+
pipeline == o.pipeline &&
|
189
200
|
name == o.name &&
|
190
201
|
document_type == o.document_type &&
|
191
202
|
document_content == o.document_content &&
|
@@ -208,7 +219,7 @@ module DocRaptor
|
|
208
219
|
|
209
220
|
# Calculate hash code according to all attributes.
|
210
221
|
def hash
|
211
|
-
[name, document_type, document_content, document_url, test, strict, ignore_resource_errors, tag, help, javascript, referrer, callback_url, prince_options].hash
|
222
|
+
[pipeline, name, document_type, document_content, document_url, test, strict, ignore_resource_errors, tag, help, javascript, referrer, callback_url, prince_options].hash
|
212
223
|
end
|
213
224
|
|
214
225
|
# build the object from hash
|
data/lib/docraptor/version.rb
CHANGED
data/swagger-config.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docraptor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elijah Miller
|
@@ -9,226 +9,226 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: typhoeus
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0.2'
|
21
|
-
- -
|
21
|
+
- - ! '>='
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 0.2.1
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '0.2'
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.2.1
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: json
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.4'
|
41
|
-
- -
|
41
|
+
- - ! '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.4.6
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
|
-
- -
|
48
|
+
- - ~>
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '1.4'
|
51
|
-
- -
|
51
|
+
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 1.4.6
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: pry
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - ~>
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0.10'
|
61
|
-
- -
|
61
|
+
- - ! '>='
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 0.10.3
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ~>
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0.10'
|
71
|
-
- -
|
71
|
+
- - ! '>='
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: 0.10.3
|
74
74
|
- !ruby/object:Gem::Dependency
|
75
75
|
name: rake
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - ~>
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '10.4'
|
81
|
-
- -
|
81
|
+
- - ! '>='
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: 10.4.2
|
84
84
|
type: :development
|
85
85
|
prerelease: false
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - ~>
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '10.4'
|
91
|
-
- -
|
91
|
+
- - ! '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: 10.4.2
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: rspec
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- -
|
98
|
+
- - ~>
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '3.2'
|
101
|
-
- -
|
101
|
+
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 3.2.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '3.2'
|
111
|
-
- -
|
111
|
+
- - ! '>='
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: 3.2.0
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: vcr
|
116
116
|
requirement: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
|
-
- -
|
118
|
+
- - ~>
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '2.9'
|
121
|
-
- -
|
121
|
+
- - ! '>='
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: 2.9.3
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- -
|
128
|
+
- - ~>
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '2.9'
|
131
|
-
- -
|
131
|
+
- - ! '>='
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: 2.9.3
|
134
134
|
- !ruby/object:Gem::Dependency
|
135
135
|
name: webmock
|
136
136
|
requirement: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
|
-
- -
|
138
|
+
- - ~>
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '1.6'
|
141
|
-
- -
|
141
|
+
- - ! '>='
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: 1.6.2
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
|
-
- -
|
148
|
+
- - ~>
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
version: '1.6'
|
151
|
-
- -
|
151
|
+
- - ! '>='
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: 1.6.2
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
155
|
name: autotest
|
156
156
|
requirement: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- -
|
158
|
+
- - ~>
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: '4.4'
|
161
|
-
- -
|
161
|
+
- - ! '>='
|
162
162
|
- !ruby/object:Gem::Version
|
163
163
|
version: 4.4.6
|
164
164
|
type: :development
|
165
165
|
prerelease: false
|
166
166
|
version_requirements: !ruby/object:Gem::Requirement
|
167
167
|
requirements:
|
168
|
-
- -
|
168
|
+
- - ~>
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: '4.4'
|
171
|
-
- -
|
171
|
+
- - ! '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: 4.4.6
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
175
|
name: autotest-rails-pure
|
176
176
|
requirement: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - ~>
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '4.1'
|
181
|
-
- -
|
181
|
+
- - ! '>='
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: 4.1.2
|
184
184
|
type: :development
|
185
185
|
prerelease: false
|
186
186
|
version_requirements: !ruby/object:Gem::Requirement
|
187
187
|
requirements:
|
188
|
-
- -
|
188
|
+
- - ~>
|
189
189
|
- !ruby/object:Gem::Version
|
190
190
|
version: '4.1'
|
191
|
-
- -
|
191
|
+
- - ! '>='
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: 4.1.2
|
194
194
|
- !ruby/object:Gem::Dependency
|
195
195
|
name: autotest-growl
|
196
196
|
requirement: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
|
-
- -
|
198
|
+
- - ~>
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0.2'
|
201
|
-
- -
|
201
|
+
- - ! '>='
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: 0.2.16
|
204
204
|
type: :development
|
205
205
|
prerelease: false
|
206
206
|
version_requirements: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
|
-
- -
|
208
|
+
- - ~>
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0.2'
|
211
|
-
- -
|
211
|
+
- - ! '>='
|
212
212
|
- !ruby/object:Gem::Version
|
213
213
|
version: 0.2.16
|
214
214
|
- !ruby/object:Gem::Dependency
|
215
215
|
name: autotest-fsevent
|
216
216
|
requirement: !ruby/object:Gem::Requirement
|
217
217
|
requirements:
|
218
|
-
- -
|
218
|
+
- - ~>
|
219
219
|
- !ruby/object:Gem::Version
|
220
220
|
version: '0.2'
|
221
|
-
- -
|
221
|
+
- - ! '>='
|
222
222
|
- !ruby/object:Gem::Version
|
223
223
|
version: 0.2.11
|
224
224
|
type: :development
|
225
225
|
prerelease: false
|
226
226
|
version_requirements: !ruby/object:Gem::Requirement
|
227
227
|
requirements:
|
228
|
-
- -
|
228
|
+
- - ~>
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: '0.2'
|
231
|
-
- -
|
231
|
+
- - ! '>='
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: 0.2.11
|
234
234
|
description: A native client library for the DocRaptor HTML to PDF/XLS service.
|
@@ -239,8 +239,8 @@ executables: []
|
|
239
239
|
extensions: []
|
240
240
|
extra_rdoc_files: []
|
241
241
|
files:
|
242
|
-
-
|
243
|
-
-
|
242
|
+
- .gitignore
|
243
|
+
- .swagger-revision
|
244
244
|
- CHANGELOG.md
|
245
245
|
- Gemfile
|
246
246
|
- LICENSE
|
@@ -282,17 +282,17 @@ require_paths:
|
|
282
282
|
- lib
|
283
283
|
required_ruby_version: !ruby/object:Gem::Requirement
|
284
284
|
requirements:
|
285
|
-
- -
|
285
|
+
- - ! '>='
|
286
286
|
- !ruby/object:Gem::Version
|
287
287
|
version: '0'
|
288
288
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
|
-
- -
|
290
|
+
- - ! '>='
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: '0'
|
293
293
|
requirements: []
|
294
294
|
rubyforge_project:
|
295
|
-
rubygems_version: 2.
|
295
|
+
rubygems_version: 2.6.1
|
296
296
|
signing_key:
|
297
297
|
specification_version: 4
|
298
298
|
summary: A wrapper for the DocRaptor HTML to PDF/XLS service.
|