docraptor 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.docker_env.list +3 -0
- data/.generator-language-identifier +1 -0
- data/.generator-revision +1 -0
- data/.github/pull_request_template.txt +17 -0
- data/.gitignore +20 -14
- data/.gitlab-ci.yml +26 -0
- data/.openapi-generator/FILES +27 -0
- data/.openapi-generator/VERSION +1 -0
- data/{.swagger-codegen-ignore → .openapi-generator-ignore} +23 -7
- data/.review/README.md +16 -0
- data/.review/generated_files/.gitignore +39 -0
- data/.review/generated_files/README.md +107 -0
- data/.rubocop.yml +148 -0
- data/.runtime-environments +10 -0
- data/.travis.yml +12 -7
- data/CHANGELOG.md +5 -0
- data/Gemfile +3 -1
- data/README.md +8 -8
- data/Rakefile +1 -2
- data/docraptor.gemspec +5 -19
- data/docraptor.yaml +5 -4
- data/examples/async.rb +24 -30
- data/examples/hosted_async.rb +21 -33
- data/examples/hosted_sync.rb +19 -32
- data/examples/sync.rb +20 -26
- data/gemfiles/Gemfile.2.5.lock +70 -0
- data/gemfiles/Gemfile.2.6.lock +70 -0
- data/gemfiles/Gemfile.2.7.lock +70 -0
- data/gemfiles/Gemfile.3.0.lock +70 -0
- data/{swagger-config.json → generator-config.json} +3 -2
- data/lib/docraptor/api/doc_api.rb +154 -79
- data/lib/docraptor/api_client.rb +91 -90
- data/lib/docraptor/api_error.rb +22 -3
- data/lib/docraptor/configuration.rb +85 -15
- data/lib/docraptor/models/async_doc.rb +53 -18
- data/lib/docraptor/models/doc.rb +80 -45
- data/lib/docraptor/models/doc_status.rb +58 -23
- data/lib/docraptor/models/prince_options.rb +101 -66
- data/lib/docraptor/version.rb +4 -4
- data/lib/docraptor.rb +3 -3
- data/script/clean +2 -2
- data/script/console +5 -0
- data/script/docker +39 -0
- data/script/fix_gemspec.rb +3 -18
- data/script/generate_language +21 -4
- data/script/inside_container/README.md +6 -0
- data/script/inside_container/test +38 -0
- data/script/post_generate_language +10 -2
- data/script/setup +25 -14
- data/script/swagger +6 -33
- data/script/test +30 -27
- data/test/async.rb +2 -2
- data/test/expire_hosted.rb +2 -2
- data/test/hosted_async.rb +7 -1
- data/test/hosted_sync.rb +2 -2
- data/test/sync.rb +2 -2
- data/test/xlsx.rb +6 -3
- metadata +29 -217
- data/.swagger-codegen/VERSION +0 -1
- data/.swagger-revision +0 -1
- data/spec/api_client_spec.rb +0 -243
- data/spec/configuration_spec.rb +0 -42
- data/spec/spec_helper.rb +0 -111
data/script/swagger
CHANGED
@@ -2,39 +2,12 @@
|
|
2
2
|
set -e
|
3
3
|
cd "$(dirname "$0")/.."
|
4
4
|
|
5
|
-
|
6
|
-
if [ "$SWAGGER_CODGEN_REVISION" = "" ]; then
|
7
|
-
echo "Set a revision of swagger-codegen to use in .swagger-revision"
|
8
|
-
exit 1
|
9
|
-
fi
|
5
|
+
set -x
|
10
6
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
if [ ! -d "swagger-codegen" ]; then
|
17
|
-
git clone https://github.com/swagger-api/swagger-codegen
|
18
|
-
fi
|
19
|
-
|
20
|
-
(
|
21
|
-
cd swagger-codegen
|
22
|
-
if [[ "${#SWAGGER_CODGEN_REVISION}" -lt 40 ]]; then
|
23
|
-
# resolve git tags / branch names
|
24
|
-
SWAGGER_CODGEN_REVISION=$(git show "$SWAGGER_CODGEN_REVISION" --format="%H")
|
25
|
-
fi
|
26
|
-
if [[ $(cat .git/HEAD) != "$SWAGGER_CODGEN_REVISION" ]]; then
|
27
|
-
git fetch
|
28
|
-
git checkout "$SWAGGER_CODGEN_REVISION"
|
29
|
-
mvn clean package
|
30
|
-
fi
|
31
|
-
)
|
32
|
-
|
33
|
-
executable="./swagger-codegen/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"
|
34
|
-
|
35
|
-
if [ ! -f "$executable" ]; then
|
36
|
-
mvn clean package
|
7
|
+
GENERATOR_REVISION=$(cat .generator-revision 2> /dev/null || true)
|
8
|
+
if [ "$GENERATOR_REVISION" = "" ]; then
|
9
|
+
echo "Set a revision of openapi-generator to use in .generator-revision"
|
10
|
+
exit 1
|
37
11
|
fi
|
38
12
|
|
39
|
-
|
40
|
-
java $JAVA_OPTS -jar $executable $*
|
13
|
+
docker run -it -w "/local" --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:"${GENERATOR_REVISION}" "$@"
|
data/script/test
CHANGED
@@ -1,46 +1,49 @@
|
|
1
|
-
#!/bin/
|
1
|
+
#!/bin/bash
|
2
2
|
set -e
|
3
|
-
|
3
|
+
[[ "$TRACE" == "true" ]] && set -x
|
4
|
+
cd "$(dirname "$0")/.."
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
|
6
|
+
echo "Clearing test output directory"
|
7
|
+
rm -rf tmp/test_output/
|
8
|
+
mkdir -p tmp/test_output
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
# runs a test file with PASS/FAIL message
|
12
|
-
run_test() {
|
13
|
-
ruby $1 && echo "PASS $1" || (echo "FAIL $1"; exit 1)
|
14
|
-
}
|
10
|
+
[ -f script/build ] && script/build
|
15
11
|
|
16
12
|
run_tests() {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
13
|
+
runtime_env="$1"
|
14
|
+
if time script/docker -i "$runtime_env" /app/script/inside_container/test; then
|
15
|
+
tput bold # bold text
|
16
|
+
tput setaf 2 # green text
|
17
|
+
echo "======================================"
|
18
|
+
echo "$runtime_env Passed"
|
19
|
+
echo "======================================"
|
20
|
+
tput sgr0 # reset to default text
|
21
|
+
return 0
|
21
22
|
else
|
22
|
-
|
23
|
+
tput bold # bold text
|
24
|
+
tput setaf 1 # red text
|
25
|
+
echo "======================================"
|
26
|
+
echo "$runtime_env FAILED"
|
27
|
+
echo "======================================"
|
28
|
+
tput sgr0 # reset to default text
|
29
|
+
return 1
|
23
30
|
fi
|
24
31
|
}
|
25
32
|
|
26
33
|
success="true"
|
27
34
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
echo "testing ruby version $ruby_version" &&
|
34
|
-
rbenv shell $ruby_version &&
|
35
|
-
( cd test && run_tests )
|
36
|
-
} || success="false"
|
35
|
+
for runtime_env in $(cat .runtime-environments | grep -v '^#'); do
|
36
|
+
echo
|
37
|
+
echo
|
38
|
+
echo "Testing runtime env $runtime_env"
|
39
|
+
run_tests "$runtime_env" || success="false"
|
37
40
|
done
|
38
41
|
|
39
42
|
if [ $success == "true" ]; then
|
40
43
|
tput bold # bold text
|
41
44
|
tput setaf 2 # green text
|
42
45
|
echo "======================================"
|
43
|
-
echo "=
|
46
|
+
echo "= Full Test Suite Passed ="
|
44
47
|
echo "======================================"
|
45
48
|
tput sgr0 # reset to default text
|
46
49
|
exit 0
|
@@ -48,7 +51,7 @@ else
|
|
48
51
|
tput bold # bold text
|
49
52
|
tput setaf 1 # red text
|
50
53
|
echo "======================================"
|
51
|
-
echo "=
|
54
|
+
echo "= Full Test Suite FAILED ="
|
52
55
|
echo "======================================"
|
53
56
|
tput sgr0 # reset to default text
|
54
57
|
exit 1
|
data/test/async.rb
CHANGED
@@ -8,7 +8,8 @@ end
|
|
8
8
|
|
9
9
|
$docraptor = DocRaptor::DocApi.new
|
10
10
|
|
11
|
-
|
11
|
+
test_output_dir = File.join(File.dirname(File.expand_path(__FILE__)), "..", "tmp", "test_output")
|
12
|
+
output_file = File.join(test_output_dir, "#{File.basename(__FILE__, ".rb")}_ruby_#{RUBY_VERSION}.pdf")
|
12
13
|
|
13
14
|
create_response = $docraptor.create_async_doc(
|
14
15
|
test: true,
|
@@ -28,7 +29,6 @@ output_payload = $docraptor.get_async_doc(status_response.download_id)
|
|
28
29
|
|
29
30
|
File.write(output_file, output_payload)
|
30
31
|
output_type = `file -b #{output_file}`
|
31
|
-
File.delete output_file
|
32
32
|
|
33
33
|
raise "Output was not a PDF" unless output_type.start_with?("PDF")
|
34
34
|
|
data/test/expire_hosted.rb
CHANGED
@@ -9,7 +9,8 @@ end
|
|
9
9
|
|
10
10
|
$docraptor = DocRaptor::DocApi.new
|
11
11
|
|
12
|
-
|
12
|
+
test_output_dir = File.join(File.dirname(File.expand_path(__FILE__)), "..", "tmp", "test_output")
|
13
|
+
output_file = File.join(test_output_dir, "#{File.basename(__FILE__, ".rb")}_ruby_#{RUBY_VERSION}.pdf")
|
13
14
|
|
14
15
|
output_payload = $docraptor.create_hosted_async_doc(
|
15
16
|
test: true,
|
@@ -30,7 +31,6 @@ actual_document = URI.parse(status_response.download_url).open
|
|
30
31
|
IO.copy_stream(actual_document, output_file)
|
31
32
|
|
32
33
|
output_type = `file -b #{output_file}`
|
33
|
-
File.delete output_file
|
34
34
|
|
35
35
|
raise "Output was not a PDF" unless output_type.start_with?("PDF")
|
36
36
|
|
data/test/hosted_async.rb
CHANGED
@@ -9,7 +9,8 @@ end
|
|
9
9
|
|
10
10
|
$docraptor = DocRaptor::DocApi.new
|
11
11
|
|
12
|
-
|
12
|
+
test_output_dir = File.join(File.dirname(File.expand_path(__FILE__)), "..", "tmp", "test_output")
|
13
|
+
output_file = File.join(test_output_dir, "#{File.basename(__FILE__, ".rb")}_ruby_#{RUBY_VERSION}.pdf")
|
13
14
|
|
14
15
|
output_payload = $docraptor.create_hosted_async_doc(
|
15
16
|
test: true,
|
@@ -26,4 +27,9 @@ status_response = nil
|
|
26
27
|
sleep 1
|
27
28
|
end
|
28
29
|
|
30
|
+
output_payload = $docraptor.get_async_doc(status_response.download_id)
|
29
31
|
|
32
|
+
File.write(output_file, output_payload)
|
33
|
+
output_type = `file -b #{output_file}`
|
34
|
+
|
35
|
+
raise "Output was not a PDF" unless output_type.start_with?("PDF")
|
data/test/hosted_sync.rb
CHANGED
@@ -9,7 +9,8 @@ end
|
|
9
9
|
|
10
10
|
$docraptor = DocRaptor::DocApi.new
|
11
11
|
|
12
|
-
|
12
|
+
test_output_dir = File.join(File.dirname(File.expand_path(__FILE__)), "..", "tmp", "test_output")
|
13
|
+
output_file = File.join(test_output_dir, "#{File.basename(__FILE__, ".rb")}_ruby_#{RUBY_VERSION}.pdf")
|
13
14
|
|
14
15
|
output_payload = $docraptor.create_hosted_doc(
|
15
16
|
test: true,
|
@@ -23,6 +24,5 @@ actual_document = URI.parse(output_payload.download_url).open
|
|
23
24
|
IO.copy_stream(actual_document, output_file)
|
24
25
|
|
25
26
|
output_type = `file -b #{output_file}`
|
26
|
-
File.delete output_file
|
27
27
|
|
28
28
|
raise "Output was not a PDF" unless output_type.start_with?("PDF")
|
data/test/sync.rb
CHANGED
@@ -8,7 +8,8 @@ end
|
|
8
8
|
|
9
9
|
$docraptor = DocRaptor::DocApi.new
|
10
10
|
|
11
|
-
|
11
|
+
test_output_dir = File.join(File.dirname(File.expand_path(__FILE__)), "..", "tmp", "test_output")
|
12
|
+
output_file = File.join(test_output_dir, "#{File.basename(__FILE__, ".rb")}_ruby_#{RUBY_VERSION}.pdf")
|
12
13
|
|
13
14
|
output_payload = $docraptor.create_doc(
|
14
15
|
test: true,
|
@@ -19,6 +20,5 @@ output_payload = $docraptor.create_doc(
|
|
19
20
|
|
20
21
|
File.write(output_file, output_payload)
|
21
22
|
output_type = `file -b #{output_file}`
|
22
|
-
File.delete output_file
|
23
23
|
|
24
24
|
raise "Output was not a PDF" unless output_type.start_with?("PDF")
|
data/test/xlsx.rb
CHANGED
@@ -8,7 +8,8 @@ end
|
|
8
8
|
|
9
9
|
$docraptor = DocRaptor::DocApi.new
|
10
10
|
|
11
|
-
|
11
|
+
test_output_dir = File.join(File.dirname(File.expand_path(__FILE__)), "..", "tmp", "test_output")
|
12
|
+
output_file = File.join(test_output_dir, "#{File.basename(__FILE__, ".rb")}_ruby_#{RUBY_VERSION}.xlsx")
|
12
13
|
|
13
14
|
output_payload = $docraptor.create_doc(
|
14
15
|
test: true,
|
@@ -19,6 +20,8 @@ output_payload = $docraptor.create_doc(
|
|
19
20
|
|
20
21
|
File.write(output_file, output_payload)
|
21
22
|
output_type = `file -b #{output_file}`
|
22
|
-
File.delete output_file
|
23
23
|
|
24
|
-
|
24
|
+
# Older version of `file` only recognize it as a zip file
|
25
|
+
if !output_type.start_with?("Microsoft OOXML") && !output_type.start_with?("Zip")
|
26
|
+
raise "Output was not an XLSX: #{output_type.inspect}"
|
27
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docraptor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Expected Behavior
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -30,46 +30,6 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.1
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: json
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.1'
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 2.1.0
|
43
|
-
type: :runtime
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '2.1'
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 2.1.0
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: addressable
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '2.3'
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 2.3.0
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '2.3'
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 2.3.0
|
73
33
|
- !ruby/object:Gem::Dependency
|
74
34
|
name: rspec
|
75
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,166 +50,6 @@ dependencies:
|
|
90
50
|
- - ">="
|
91
51
|
- !ruby/object:Gem::Version
|
92
52
|
version: 3.6.0
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: vcr
|
95
|
-
requirement: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '3.0'
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 3.0.1
|
103
|
-
type: :development
|
104
|
-
prerelease: false
|
105
|
-
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '3.0'
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: 3.0.1
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: webmock
|
115
|
-
requirement: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - "~>"
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '1.24'
|
120
|
-
- - ">="
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 1.24.3
|
123
|
-
type: :development
|
124
|
-
prerelease: false
|
125
|
-
version_requirements: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '1.24'
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 1.24.3
|
133
|
-
- !ruby/object:Gem::Dependency
|
134
|
-
name: autotest
|
135
|
-
requirement: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '4.4'
|
140
|
-
- - ">="
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: 4.4.6
|
143
|
-
type: :development
|
144
|
-
prerelease: false
|
145
|
-
version_requirements: !ruby/object:Gem::Requirement
|
146
|
-
requirements:
|
147
|
-
- - "~>"
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '4.4'
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 4.4.6
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: autotest-rails-pure
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '4.1'
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: 4.1.2
|
163
|
-
type: :development
|
164
|
-
prerelease: false
|
165
|
-
version_requirements: !ruby/object:Gem::Requirement
|
166
|
-
requirements:
|
167
|
-
- - "~>"
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: '4.1'
|
170
|
-
- - ">="
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: 4.1.2
|
173
|
-
- !ruby/object:Gem::Dependency
|
174
|
-
name: autotest-growl
|
175
|
-
requirement: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - "~>"
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: '0.2'
|
180
|
-
- - ">="
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: 0.2.16
|
183
|
-
type: :development
|
184
|
-
prerelease: false
|
185
|
-
version_requirements: !ruby/object:Gem::Requirement
|
186
|
-
requirements:
|
187
|
-
- - "~>"
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: '0.2'
|
190
|
-
- - ">="
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: 0.2.16
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
name: autotest-fsevent
|
195
|
-
requirement: !ruby/object:Gem::Requirement
|
196
|
-
requirements:
|
197
|
-
- - "~>"
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
version: '0.2'
|
200
|
-
- - ">="
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: 0.2.12
|
203
|
-
type: :development
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - "~>"
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: '0.2'
|
210
|
-
- - ">="
|
211
|
-
- !ruby/object:Gem::Version
|
212
|
-
version: 0.2.12
|
213
|
-
- !ruby/object:Gem::Dependency
|
214
|
-
name: rake
|
215
|
-
requirement: !ruby/object:Gem::Requirement
|
216
|
-
requirements:
|
217
|
-
- - "~>"
|
218
|
-
- !ruby/object:Gem::Version
|
219
|
-
version: '11.2'
|
220
|
-
- - ">="
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 11.2.2
|
223
|
-
type: :development
|
224
|
-
prerelease: false
|
225
|
-
version_requirements: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - "~>"
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '11.2'
|
230
|
-
- - ">="
|
231
|
-
- !ruby/object:Gem::Version
|
232
|
-
version: 11.2.2
|
233
|
-
- !ruby/object:Gem::Dependency
|
234
|
-
name: pry
|
235
|
-
requirement: !ruby/object:Gem::Requirement
|
236
|
-
requirements:
|
237
|
-
- - "~>"
|
238
|
-
- !ruby/object:Gem::Version
|
239
|
-
version: '0.10'
|
240
|
-
- - ">="
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
version: 0.10.4
|
243
|
-
type: :development
|
244
|
-
prerelease: false
|
245
|
-
version_requirements: !ruby/object:Gem::Requirement
|
246
|
-
requirements:
|
247
|
-
- - "~>"
|
248
|
-
- !ruby/object:Gem::Version
|
249
|
-
version: '0.10'
|
250
|
-
- - ">="
|
251
|
-
- !ruby/object:Gem::Version
|
252
|
-
version: 0.10.4
|
253
53
|
description: A native client library for the DocRaptor HTML to PDF/XLS service.
|
254
54
|
email:
|
255
55
|
- support@docraptor.com
|
@@ -257,11 +57,21 @@ executables: []
|
|
257
57
|
extensions: []
|
258
58
|
extra_rdoc_files: []
|
259
59
|
files:
|
60
|
+
- ".docker_env.list"
|
61
|
+
- ".generator-language-identifier"
|
62
|
+
- ".generator-revision"
|
63
|
+
- ".github/pull_request_template.txt"
|
260
64
|
- ".gitignore"
|
65
|
+
- ".gitlab-ci.yml"
|
66
|
+
- ".openapi-generator-ignore"
|
67
|
+
- ".openapi-generator/FILES"
|
68
|
+
- ".openapi-generator/VERSION"
|
69
|
+
- ".review/README.md"
|
70
|
+
- ".review/generated_files/.gitignore"
|
71
|
+
- ".review/generated_files/README.md"
|
261
72
|
- ".rspec"
|
262
|
-
- ".
|
263
|
-
- ".
|
264
|
-
- ".swagger-revision"
|
73
|
+
- ".rubocop.yml"
|
74
|
+
- ".runtime-environments"
|
265
75
|
- ".travis.yml"
|
266
76
|
- CHANGELOG.md
|
267
77
|
- Gemfile
|
@@ -274,6 +84,11 @@ files:
|
|
274
84
|
- examples/hosted_async.rb
|
275
85
|
- examples/hosted_sync.rb
|
276
86
|
- examples/sync.rb
|
87
|
+
- gemfiles/Gemfile.2.5.lock
|
88
|
+
- gemfiles/Gemfile.2.6.lock
|
89
|
+
- gemfiles/Gemfile.2.7.lock
|
90
|
+
- gemfiles/Gemfile.3.0.lock
|
91
|
+
- generator-config.json
|
277
92
|
- lib/docraptor.rb
|
278
93
|
- lib/docraptor/api/doc_api.rb
|
279
94
|
- lib/docraptor/api_client.rb
|
@@ -285,17 +100,17 @@ files:
|
|
285
100
|
- lib/docraptor/models/prince_options.rb
|
286
101
|
- lib/docraptor/version.rb
|
287
102
|
- script/clean
|
103
|
+
- script/console
|
104
|
+
- script/docker
|
288
105
|
- script/fix_gemspec.rb
|
289
106
|
- script/generate_language
|
107
|
+
- script/inside_container/README.md
|
108
|
+
- script/inside_container/test
|
290
109
|
- script/post_generate_language
|
291
110
|
- script/setup
|
292
111
|
- script/swagger
|
293
112
|
- script/test
|
294
113
|
- script/update_from_upstream
|
295
|
-
- spec/api_client_spec.rb
|
296
|
-
- spec/configuration_spec.rb
|
297
|
-
- spec/spec_helper.rb
|
298
|
-
- swagger-config.json
|
299
114
|
- test/async.rb
|
300
115
|
- test/expire_hosted.rb
|
301
116
|
- test/hosted_async.rb
|
@@ -308,7 +123,7 @@ homepage: https://github.com/docraptor/docraptor-ruby
|
|
308
123
|
licenses:
|
309
124
|
- MIT
|
310
125
|
metadata: {}
|
311
|
-
post_install_message:
|
126
|
+
post_install_message:
|
312
127
|
rdoc_options: []
|
313
128
|
require_paths:
|
314
129
|
- lib
|
@@ -316,21 +131,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
316
131
|
requirements:
|
317
132
|
- - ">="
|
318
133
|
- !ruby/object:Gem::Version
|
319
|
-
version: '2.
|
134
|
+
version: '2.5'
|
320
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
321
136
|
requirements:
|
322
137
|
- - ">="
|
323
138
|
- !ruby/object:Gem::Version
|
324
139
|
version: '0'
|
325
140
|
requirements: []
|
326
|
-
rubygems_version: 3.2.
|
327
|
-
signing_key:
|
141
|
+
rubygems_version: 3.2.33
|
142
|
+
signing_key:
|
328
143
|
specification_version: 4
|
329
144
|
summary: A wrapper for the DocRaptor HTML to PDF/XLS service.
|
330
145
|
test_files:
|
331
|
-
- spec/api_client_spec.rb
|
332
|
-
- spec/configuration_spec.rb
|
333
|
-
- spec/spec_helper.rb
|
334
146
|
- test/async.rb
|
335
147
|
- test/expire_hosted.rb
|
336
148
|
- test/hosted_async.rb
|
data/.swagger-codegen/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.4.19
|
data/.swagger-revision
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
v2.4.19
|