docraptor 1.4.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.docker_env.list +3 -0
  3. data/.generator-language-identifier +1 -0
  4. data/.generator-revision +1 -0
  5. data/.github/pull_request_template.txt +17 -0
  6. data/.gitignore +20 -14
  7. data/.gitlab-ci.yml +26 -0
  8. data/.openapi-generator/FILES +27 -0
  9. data/.openapi-generator/VERSION +1 -0
  10. data/{.swagger-codegen-ignore → .openapi-generator-ignore} +23 -7
  11. data/.review/README.md +16 -0
  12. data/.review/generated_files/.gitignore +39 -0
  13. data/.review/generated_files/README.md +107 -0
  14. data/.rubocop.yml +148 -0
  15. data/.runtime-environments +10 -0
  16. data/.travis.yml +14 -0
  17. data/CHANGELOG.md +9 -0
  18. data/Gemfile +3 -1
  19. data/README.md +14 -21
  20. data/Rakefile +1 -2
  21. data/docraptor.gemspec +5 -18
  22. data/docraptor.yaml +5 -4
  23. data/examples/async.rb +24 -30
  24. data/examples/hosted_async.rb +21 -33
  25. data/examples/hosted_sync.rb +19 -32
  26. data/examples/sync.rb +20 -26
  27. data/gemfiles/Gemfile.2.5.lock +70 -0
  28. data/gemfiles/Gemfile.2.6.lock +70 -0
  29. data/gemfiles/Gemfile.2.7.lock +70 -0
  30. data/gemfiles/Gemfile.3.0.lock +70 -0
  31. data/{swagger-config.json → generator-config.json} +3 -2
  32. data/lib/docraptor/api/doc_api.rb +154 -79
  33. data/lib/docraptor/api_client.rb +90 -89
  34. data/lib/docraptor/api_error.rb +22 -3
  35. data/lib/docraptor/configuration.rb +85 -15
  36. data/lib/docraptor/models/async_doc.rb +53 -18
  37. data/lib/docraptor/models/doc.rb +80 -45
  38. data/lib/docraptor/models/doc_status.rb +58 -23
  39. data/lib/docraptor/models/prince_options.rb +101 -66
  40. data/lib/docraptor/version.rb +4 -4
  41. data/lib/docraptor.rb +3 -3
  42. data/script/clean +2 -2
  43. data/script/console +5 -0
  44. data/script/docker +39 -0
  45. data/script/fix_gemspec.rb +11 -18
  46. data/script/generate_language +21 -4
  47. data/script/inside_container/README.md +6 -0
  48. data/script/inside_container/test +38 -0
  49. data/script/post_generate_language +10 -2
  50. data/script/setup +36 -0
  51. data/script/swagger +6 -33
  52. data/script/test +50 -16
  53. data/test/async.rb +2 -2
  54. data/test/expire_hosted.rb +5 -10
  55. data/test/hosted_async.rb +8 -7
  56. data/test/hosted_sync.rb +4 -9
  57. data/test/sync.rb +2 -2
  58. data/test/xlsx.rb +6 -3
  59. metadata +33 -199
  60. data/.swagger-codegen/VERSION +0 -1
  61. data/.swagger-revision +0 -1
  62. data/spec/api_client_spec.rb +0 -243
  63. data/spec/configuration_spec.rb +0 -42
  64. 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
- SWAGGER_CODGEN_REVISION=$(cat .swagger-revision 2> /dev/null || true)
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
- if ! [ -x "$(command -v mvn)" ]; then
12
- echo 'Error: mvn not installed, using homebrew to install' >&2
13
- brew install maven
14
- fi
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
- export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties -DapiTests=false -DapiDocs=false -DmodelTests=false -DmodelDocs=false"
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,24 +1,58 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
2
  set -e
3
- cd "`dirname \"$0\"`/.."
3
+ [[ "$TRACE" == "true" ]] && set -x
4
+ cd "$(dirname "$0")/.."
4
5
 
5
- # check dependencies
6
- ruby -v > /dev/null || (echo "ruby must be installed"; exit 1)
7
- bundler -v > /dev/null || (echo "bundler must be installed"; exit 1)
6
+ echo "Clearing test output directory"
7
+ rm -rf tmp/test_output/
8
+ mkdir -p tmp/test_output
8
9
 
9
- bundle install
10
+ [ -f script/build ] && script/build
10
11
 
11
- cd test
12
-
13
- # runs a test file with PASS/FAIL message
14
- run_test() {
15
- ruby $1 && echo "PASS $1" || (echo "FAIL $1"; exit 1)
12
+ run_tests() {
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
22
+ else
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
30
+ fi
16
31
  }
17
32
 
18
- if [ "$1" == "" ]; then
19
- for test in $(ls *.rb); do
20
- run_test $test
21
- done
33
+ success="true"
34
+
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"
40
+ done
41
+
42
+ if [ $success == "true" ]; then
43
+ tput bold # bold text
44
+ tput setaf 2 # green text
45
+ echo "======================================"
46
+ echo "= Full Test Suite Passed ="
47
+ echo "======================================"
48
+ tput sgr0 # reset to default text
49
+ exit 0
22
50
  else
23
- run_test $1.rb
51
+ tput bold # bold text
52
+ tput setaf 1 # red text
53
+ echo "======================================"
54
+ echo "= Full Test Suite FAILED ="
55
+ echo "======================================"
56
+ tput sgr0 # reset to default text
57
+ exit 1
24
58
  fi
data/test/async.rb CHANGED
@@ -8,7 +8,8 @@ end
8
8
 
9
9
  $docraptor = DocRaptor::DocApi.new
10
10
 
11
- output_file = "ruby-async.pdf"
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
 
@@ -2,19 +2,15 @@ require "bundler/setup"
2
2
  Bundler.require
3
3
  require 'open-uri'
4
4
 
5
- api_key = File.read("#{__dir__}/../.docraptor_key").strip
6
- unless api_key
7
- raise "Please put a valid (paid plan) api key in the .docraptor_key file when testing this feature."
8
- end
9
-
10
5
  DocRaptor.configure do |dr|
11
- dr.username = api_key
6
+ dr.username = "YOUR_API_KEY_HERE"
12
7
  # dr.debugging = true
13
8
  end
14
9
 
15
10
  $docraptor = DocRaptor::DocApi.new
16
11
 
17
- output_file = "expire-hosted-ruby-sync.pdf"
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")
18
14
 
19
15
  output_payload = $docraptor.create_hosted_async_doc(
20
16
  test: true,
@@ -31,18 +27,17 @@ status_response = nil
31
27
  sleep 1
32
28
  end
33
29
 
34
- actual_document = open status_response.download_url
30
+ actual_document = URI.parse(status_response.download_url).open
35
31
  IO.copy_stream(actual_document, output_file)
36
32
 
37
33
  output_type = `file -b #{output_file}`
38
- File.delete output_file
39
34
 
40
35
  raise "Output was not a PDF" unless output_type.start_with?("PDF")
41
36
 
42
37
  $docraptor.expire(status_response.download_id)
43
38
 
44
39
  begin
45
- actual_document = open status_response.download_url
40
+ actual_document = URI.parse(status_response.download_url).open
46
41
  rescue OpenURI::HTTPError => http_error
47
42
  exit 0
48
43
  end
data/test/hosted_async.rb CHANGED
@@ -2,19 +2,15 @@ require "bundler/setup"
2
2
  Bundler.require
3
3
  require "open-uri"
4
4
 
5
- api_key = File.read("#{__dir__}/../.docraptor_key").strip
6
- unless api_key
7
- raise "Please put a valid (paid plan) api key in the .docraptor_key file when testing this feature."
8
- end
9
-
10
5
  DocRaptor.configure do |dr|
11
- dr.username = api_key
6
+ dr.username = "YOUR_API_KEY_HERE"
12
7
  # dr.debugging = true
13
8
  end
14
9
 
15
10
  $docraptor = DocRaptor::DocApi.new
16
11
 
17
- output_file = "hosted-ruby-sync.pdf"
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")
18
14
 
19
15
  output_payload = $docraptor.create_hosted_async_doc(
20
16
  test: true,
@@ -31,4 +27,9 @@ status_response = nil
31
27
  sleep 1
32
28
  end
33
29
 
30
+ output_payload = $docraptor.get_async_doc(status_response.download_id)
31
+
32
+ File.write(output_file, output_payload)
33
+ output_type = `file -b #{output_file}`
34
34
 
35
+ raise "Output was not a PDF" unless output_type.start_with?("PDF")
data/test/hosted_sync.rb CHANGED
@@ -2,19 +2,15 @@ require "bundler/setup"
2
2
  Bundler.require
3
3
  require "open-uri"
4
4
 
5
- api_key = File.read("#{__dir__}/../.docraptor_key").strip
6
- unless api_key
7
- raise "Please put a valid (paid plan) api key in the .docraptor_key file when testing this feature."
8
- end
9
-
10
5
  DocRaptor.configure do |dr|
11
- dr.username = api_key
6
+ dr.username = "YOUR_API_KEY_HERE"
12
7
  # dr.debugging = true
13
8
  end
14
9
 
15
10
  $docraptor = DocRaptor::DocApi.new
16
11
 
17
- output_file = "hosted-ruby-sync.pdf"
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")
18
14
 
19
15
  output_payload = $docraptor.create_hosted_doc(
20
16
  test: true,
@@ -24,10 +20,9 @@ output_payload = $docraptor.create_hosted_doc(
24
20
  hosted_expires_at: (Time.now + 86400).strftime('%FT%T%:z'), # 1 day from now
25
21
  )
26
22
 
27
- actual_document = open output_payload.download_url
23
+ actual_document = URI.parse(output_payload.download_url).open
28
24
  IO.copy_stream(actual_document, output_file)
29
25
 
30
26
  output_type = `file -b #{output_file}`
31
- File.delete output_file
32
27
 
33
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
- output_file = "ruby-sync.pdf"
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
- output_file = "ruby-xlsx.xlsx"
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
- raise "Output was not an XLSX (zip)" unless output_type.start_with?("Zip")
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: 1.4.0
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: 2020-07-31 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -30,206 +30,26 @@ 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.0
40
- - - "~>"
41
- - !ruby/object:Gem::Version
42
- version: '2.1'
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.0
50
- - - "~>"
51
- - !ruby/object:Gem::Version
52
- version: '2.1'
53
33
  - !ruby/object:Gem::Dependency
54
34
  name: rspec
55
35
  requirement: !ruby/object:Gem::Requirement
56
36
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 3.6.0
60
37
  - - "~>"
61
38
  - !ruby/object:Gem::Version
62
39
  version: '3.6'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
40
  - - ">="
68
41
  - !ruby/object:Gem::Version
69
42
  version: 3.6.0
70
- - - "~>"
71
- - !ruby/object:Gem::Version
72
- version: '3.6'
73
- - !ruby/object:Gem::Dependency
74
- name: vcr
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: '3.0'
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 3.0.1
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '3.0'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 3.0.1
93
- - !ruby/object:Gem::Dependency
94
- name: webmock
95
- requirement: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: '1.24'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 1.24.3
103
43
  type: :development
104
44
  prerelease: false
105
45
  version_requirements: !ruby/object:Gem::Requirement
106
46
  requirements:
107
47
  - - "~>"
108
48
  - !ruby/object:Gem::Version
109
- version: '1.24'
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: 1.24.3
113
- - !ruby/object:Gem::Dependency
114
- name: autotest
115
- requirement: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: '4.4'
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: 4.4.6
123
- type: :development
124
- prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '4.4'
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: 4.4.6
133
- - !ruby/object:Gem::Dependency
134
- name: autotest-rails-pure
135
- requirement: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: '4.1'
140
- - - ">="
141
- - !ruby/object:Gem::Version
142
- version: 4.1.2
143
- type: :development
144
- prerelease: false
145
- version_requirements: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - "~>"
148
- - !ruby/object:Gem::Version
149
- version: '4.1'
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: 4.1.2
153
- - !ruby/object:Gem::Dependency
154
- name: autotest-growl
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.2'
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: 0.2.16
163
- type: :development
164
- prerelease: false
165
- version_requirements: !ruby/object:Gem::Requirement
166
- requirements:
167
- - - "~>"
168
- - !ruby/object:Gem::Version
169
- version: '0.2'
170
- - - ">="
171
- - !ruby/object:Gem::Version
172
- version: 0.2.16
173
- - !ruby/object:Gem::Dependency
174
- name: autotest-fsevent
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.12
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.12
193
- - !ruby/object:Gem::Dependency
194
- name: rake
195
- requirement: !ruby/object:Gem::Requirement
196
- requirements:
197
- - - "~>"
198
- - !ruby/object:Gem::Version
199
- version: '11.2'
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- version: 11.2.2
203
- type: :development
204
- prerelease: false
205
- version_requirements: !ruby/object:Gem::Requirement
206
- requirements:
207
- - - "~>"
208
- - !ruby/object:Gem::Version
209
- version: '11.2'
210
- - - ">="
211
- - !ruby/object:Gem::Version
212
- version: 11.2.2
213
- - !ruby/object:Gem::Dependency
214
- name: pry
215
- requirement: !ruby/object:Gem::Requirement
216
- requirements:
217
- - - "~>"
218
- - !ruby/object:Gem::Version
219
- version: '0.10'
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- version: 0.10.4
223
- type: :development
224
- prerelease: false
225
- version_requirements: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - "~>"
228
- - !ruby/object:Gem::Version
229
- version: '0.10'
49
+ version: '3.6'
230
50
  - - ">="
231
51
  - !ruby/object:Gem::Version
232
- version: 0.10.4
52
+ version: 3.6.0
233
53
  description: A native client library for the DocRaptor HTML to PDF/XLS service.
234
54
  email:
235
55
  - support@docraptor.com
@@ -237,11 +57,22 @@ executables: []
237
57
  extensions: []
238
58
  extra_rdoc_files: []
239
59
  files:
60
+ - ".docker_env.list"
61
+ - ".generator-language-identifier"
62
+ - ".generator-revision"
63
+ - ".github/pull_request_template.txt"
240
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"
241
72
  - ".rspec"
242
- - ".swagger-codegen-ignore"
243
- - ".swagger-codegen/VERSION"
244
- - ".swagger-revision"
73
+ - ".rubocop.yml"
74
+ - ".runtime-environments"
75
+ - ".travis.yml"
245
76
  - CHANGELOG.md
246
77
  - Gemfile
247
78
  - LICENSE
@@ -253,6 +84,11 @@ files:
253
84
  - examples/hosted_async.rb
254
85
  - examples/hosted_sync.rb
255
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
256
92
  - lib/docraptor.rb
257
93
  - lib/docraptor/api/doc_api.rb
258
94
  - lib/docraptor/api_client.rb
@@ -264,16 +100,17 @@ files:
264
100
  - lib/docraptor/models/prince_options.rb
265
101
  - lib/docraptor/version.rb
266
102
  - script/clean
103
+ - script/console
104
+ - script/docker
267
105
  - script/fix_gemspec.rb
268
106
  - script/generate_language
107
+ - script/inside_container/README.md
108
+ - script/inside_container/test
269
109
  - script/post_generate_language
110
+ - script/setup
270
111
  - script/swagger
271
112
  - script/test
272
113
  - script/update_from_upstream
273
- - spec/api_client_spec.rb
274
- - spec/configuration_spec.rb
275
- - spec/spec_helper.rb
276
- - swagger-config.json
277
114
  - test/async.rb
278
115
  - test/expire_hosted.rb
279
116
  - test/hosted_async.rb
@@ -286,7 +123,7 @@ homepage: https://github.com/docraptor/docraptor-ruby
286
123
  licenses:
287
124
  - MIT
288
125
  metadata: {}
289
- post_install_message:
126
+ post_install_message:
290
127
  rdoc_options: []
291
128
  require_paths:
292
129
  - lib
@@ -294,21 +131,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
294
131
  requirements:
295
132
  - - ">="
296
133
  - !ruby/object:Gem::Version
297
- version: '1.9'
134
+ version: '2.5'
298
135
  required_rubygems_version: !ruby/object:Gem::Requirement
299
136
  requirements:
300
137
  - - ">="
301
138
  - !ruby/object:Gem::Version
302
139
  version: '0'
303
140
  requirements: []
304
- rubygems_version: 3.0.3
305
- signing_key:
141
+ rubygems_version: 3.2.33
142
+ signing_key:
306
143
  specification_version: 4
307
144
  summary: A wrapper for the DocRaptor HTML to PDF/XLS service.
308
145
  test_files:
309
- - spec/api_client_spec.rb
310
- - spec/configuration_spec.rb
311
- - spec/spec_helper.rb
312
146
  - test/async.rb
313
147
  - test/expire_hosted.rb
314
148
  - test/hosted_async.rb
@@ -1 +0,0 @@
1
- 2.4.14
data/.swagger-revision DELETED
@@ -1 +0,0 @@
1
- v2.4.14