docraptor 2.0.0 → 3.0.0
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.
- 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/examples/async.rb
CHANGED
@@ -5,47 +5,42 @@
|
|
5
5
|
# 10 minutes. This is useful when creating many documents in parallel, or very
|
6
6
|
# large documents with lots of assets.
|
7
7
|
#
|
8
|
-
# DocRaptor supports many options for output customization
|
9
|
-
# https://docraptor.com/documentation/
|
8
|
+
# DocRaptor supports many CSS and API options for output customization. Visit
|
9
|
+
# https://docraptor.com/documentation/ for full details.
|
10
10
|
#
|
11
11
|
# You can run this example with: ruby async.rb
|
12
12
|
|
13
|
-
require "
|
14
|
-
Bundler.require
|
13
|
+
require "docraptor"
|
15
14
|
|
16
|
-
DocRaptor.configure do |
|
17
|
-
|
18
|
-
# dr.debugging = true
|
15
|
+
DocRaptor.configure do |config|
|
16
|
+
config.username = "YOUR_API_KEY_HERE" # this key works in test mode!
|
19
17
|
end
|
20
18
|
|
21
|
-
|
19
|
+
docraptor = DocRaptor::DocApi.new
|
22
20
|
|
23
21
|
begin
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
document_content: "<html><body>Hello World
|
29
|
-
# document_url:
|
30
|
-
|
31
|
-
document_type: "pdf", # pdf or xls or xlsx
|
32
|
-
# javascript: true, # enable JavaScript processing
|
22
|
+
# different method than the synchronous documents
|
23
|
+
response = docraptor.create_async_doc(
|
24
|
+
test: true, # test documents are free but watermarked
|
25
|
+
document_type: "pdf",
|
26
|
+
document_content: "<html><body>Hello World!</body></html>",
|
27
|
+
# document_url: "https://docraptor.com/examples/invoice.html",
|
28
|
+
# javascript: true,
|
33
29
|
# prince_options: {
|
34
|
-
# media: "
|
35
|
-
# baseurl: "
|
36
|
-
# }
|
30
|
+
# media: "print", # @media 'screen' or 'print' CSS
|
31
|
+
# baseurl: "https://yoursite.com", # the base URL for any relative URLs
|
32
|
+
# }
|
37
33
|
)
|
38
34
|
|
39
35
|
loop do
|
40
|
-
status_response =
|
41
|
-
puts "
|
36
|
+
status_response = docraptor.get_async_doc_status(response.status_id)
|
37
|
+
puts "status: #{status_response.status}"
|
42
38
|
case status_response.status
|
43
39
|
when "completed"
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
puts "Wrote PDF to /tmp/docraptor-ruby.pdf"
|
40
|
+
document = docraptor.get_async_doc(status_response.download_id)
|
41
|
+
# get_async_doc() returns a binary string
|
42
|
+
File.write("github-async.pdf", document, mode: "wb")
|
43
|
+
puts "Successfully created github-async.pdf!"
|
49
44
|
break
|
50
45
|
when "failed"
|
51
46
|
puts "FAILED"
|
@@ -55,10 +50,9 @@ begin
|
|
55
50
|
sleep 1
|
56
51
|
end
|
57
52
|
end
|
58
|
-
|
59
53
|
rescue DocRaptor::ApiError => error
|
60
54
|
puts "#{error.class}: #{error.message}"
|
61
|
-
puts error.code
|
62
|
-
puts error.response_body
|
55
|
+
puts error.code
|
56
|
+
puts error.response_body
|
63
57
|
puts error.backtrace[0..3].join("\n")
|
64
58
|
end
|
data/examples/hosted_async.rb
CHANGED
@@ -13,50 +13,39 @@
|
|
13
13
|
# 10 minutes. This is useful when creating many documents in parallel, or very large documents with
|
14
14
|
# lots of assets.
|
15
15
|
#
|
16
|
-
# DocRaptor supports many options for output customization
|
17
|
-
# https://docraptor.com/documentation/
|
16
|
+
# DocRaptor supports many CSS and API options for output customization. Visit
|
17
|
+
# https://docraptor.com/documentation/ for full details.
|
18
18
|
#
|
19
19
|
# You can run this example with: ruby hosted_async.rb
|
20
20
|
|
21
|
-
require "
|
22
|
-
Bundler.require
|
23
|
-
require "open-uri"
|
21
|
+
require "docraptor"
|
24
22
|
|
25
|
-
DocRaptor.configure do |
|
26
|
-
|
27
|
-
# dr.debugging = true
|
23
|
+
DocRaptor.configure do |config|
|
24
|
+
config.username = "YOUR_API_KEY_HERE" # this key works in test mode!
|
28
25
|
end
|
29
26
|
|
30
|
-
|
27
|
+
docraptor = DocRaptor::DocApi.new
|
31
28
|
|
32
29
|
begin
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
document_content: "<html><body>Hello World
|
38
|
-
# document_url:
|
39
|
-
|
40
|
-
document_type: "pdf", # pdf or xls or xlsx
|
41
|
-
# javascript: true, # enable JavaScript processing
|
30
|
+
# different method than synchronous or non-hosted documents
|
31
|
+
response = docraptor.create_hosted_async_doc(
|
32
|
+
test: true, # test documents are free but watermarked
|
33
|
+
document_type: "pdf",
|
34
|
+
document_content: "<html><body>Hello World!</body></html>",
|
35
|
+
# document_url: "https://docraptor.com/examples/invoice.html",
|
36
|
+
# javascript: true,
|
42
37
|
# prince_options: {
|
43
|
-
# media: "
|
44
|
-
# baseurl: "
|
45
|
-
# }
|
38
|
+
# media: "print", # @media 'screen' or 'print' CSS
|
39
|
+
# baseurl: "https://yoursite.com", # the base URL for any relative URLs
|
40
|
+
# }
|
46
41
|
)
|
47
42
|
|
48
43
|
loop do
|
49
|
-
status_response =
|
50
|
-
puts "
|
44
|
+
status_response = docraptor.get_async_doc_status(response.status_id)
|
45
|
+
puts "status: #{status_response.status}"
|
51
46
|
case status_response.status
|
52
47
|
when "completed"
|
53
|
-
puts "The
|
54
|
-
File.open("/tmp/docraptor-ruby.pdf", "wb") do |file|
|
55
|
-
open(status_response.download_url) do |uri|
|
56
|
-
file.write(uri.read)
|
57
|
-
end
|
58
|
-
end
|
59
|
-
puts "Wrote PDF to /tmp/docraptor-ruby.pdf"
|
48
|
+
puts "The asynchronously-generated PDF is hosted at #{status_response.download_url}"
|
60
49
|
break
|
61
50
|
when "failed"
|
62
51
|
puts "FAILED"
|
@@ -66,10 +55,9 @@ begin
|
|
66
55
|
sleep 1
|
67
56
|
end
|
68
57
|
end
|
69
|
-
|
70
58
|
rescue DocRaptor::ApiError => error
|
71
59
|
puts "#{error.class}: #{error.message}"
|
72
|
-
puts error.code
|
73
|
-
puts error.response_body
|
60
|
+
puts error.code
|
61
|
+
puts error.response_body
|
74
62
|
puts error.backtrace[0..3].join("\n")
|
75
63
|
end
|
data/examples/hosted_sync.rb
CHANGED
@@ -13,50 +13,37 @@
|
|
13
13
|
# Since this document will be hosted by DocRaptor the response from this request will return a JSON
|
14
14
|
# formatted object containing public URL where the document can be downloaded from.
|
15
15
|
#
|
16
|
-
# DocRaptor supports many options for output customization
|
17
|
-
# https://docraptor.com/documentation/
|
16
|
+
# DocRaptor supports many CSS and API options for output customization. Visit
|
17
|
+
# https://docraptor.com/documentation/ for full details.
|
18
18
|
#
|
19
19
|
# You can run this example with: ruby hosted_sync.rb
|
20
20
|
|
21
|
-
require "
|
22
|
-
Bundler.require
|
23
|
-
require "open-uri"
|
21
|
+
require "docraptor"
|
24
22
|
|
25
|
-
DocRaptor.configure do |
|
26
|
-
|
27
|
-
# dr.debugging = true
|
23
|
+
DocRaptor.configure do |config|
|
24
|
+
config.username = "YOUR_API_KEY_HERE" # this key works in test mode!
|
28
25
|
end
|
29
26
|
|
30
|
-
|
27
|
+
docraptor = DocRaptor::DocApi.new
|
31
28
|
|
32
29
|
begin
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
document_content: "<html><body>Hello World
|
38
|
-
# document_url:
|
39
|
-
|
40
|
-
document_type: "pdf", # pdf or xls or xlsx
|
41
|
-
# javascript: true, # enable JavaScript processing
|
30
|
+
# different method than the non-hosted documents
|
31
|
+
response = docraptor.create_hosted_doc(
|
32
|
+
test: true, # test documents are free but watermarked
|
33
|
+
document_type: "pdf",
|
34
|
+
document_content: "<html><body>Hello World!</body></html>",
|
35
|
+
# document_url: "https://docraptor.com/examples/invoice.html",
|
36
|
+
# javascript: true,
|
42
37
|
# prince_options: {
|
43
|
-
# media: "
|
44
|
-
# baseurl: "
|
45
|
-
# }
|
38
|
+
# media: "print", # @media 'screen' or 'print' CSS
|
39
|
+
# baseurl: "https://yoursite.com", # the base URL for any relative URLs
|
40
|
+
# }
|
46
41
|
)
|
47
|
-
puts "The hosted PDF is now available for public download at #{create_response.download_url}"
|
48
|
-
|
49
|
-
File.open("/tmp/docraptor-ruby.pdf", "wb") do |file|
|
50
|
-
open(create_response.download_url) do |uri|
|
51
|
-
file.write(uri.read)
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
puts "Wrote PDF to /tmp/docraptor-ruby.pdf"
|
56
42
|
|
43
|
+
puts "The PDF is hosted at #{response.download_url}"
|
57
44
|
rescue DocRaptor::ApiError => error
|
58
45
|
puts "#{error.class}: #{error.message}"
|
59
|
-
puts error.code
|
60
|
-
puts error.response_body
|
46
|
+
puts error.code
|
47
|
+
puts error.response_body
|
61
48
|
puts error.backtrace[0..3].join("\n")
|
62
49
|
end
|
data/examples/sync.rb
CHANGED
@@ -6,44 +6,38 @@
|
|
6
6
|
# interface but making many documents in parallel or very large documents with
|
7
7
|
# lots of assets will require the async api.
|
8
8
|
#
|
9
|
-
# DocRaptor supports many options for output customization
|
10
|
-
# https://docraptor.com/documentation/
|
9
|
+
# DocRaptor supports many CSS and API options for output customization. Visit
|
10
|
+
# https://docraptor.com/documentation/ for full details.
|
11
11
|
#
|
12
12
|
# You can run this example with: ruby sync.rb
|
13
13
|
|
14
|
-
require "
|
15
|
-
Bundler.require
|
14
|
+
require "docraptor"
|
16
15
|
|
17
|
-
DocRaptor.configure do |
|
18
|
-
|
19
|
-
# dr.debugging = true
|
16
|
+
DocRaptor.configure do |config|
|
17
|
+
config.username = "YOUR_API_KEY_HERE" # this key works in test mode!
|
20
18
|
end
|
21
19
|
|
22
|
-
|
20
|
+
docraptor = DocRaptor::DocApi.new
|
23
21
|
|
24
22
|
begin
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
#
|
31
|
-
name: "docraptor-ruby.pdf", # help you find a document later
|
32
|
-
document_type: "pdf", # pdf or xls or xlsx
|
33
|
-
# javascript: true, # enable JavaScript processing
|
23
|
+
response = docraptor.create_doc(
|
24
|
+
test: true, # test documents are free but watermarked
|
25
|
+
document_type: "pdf",
|
26
|
+
document_content: "<html><body>Hello World!</body></html>",
|
27
|
+
# document_url: "https://docraptor.com/examples/invoice.html",
|
28
|
+
# javascript: true,
|
34
29
|
# prince_options: {
|
35
|
-
# media: "
|
36
|
-
# baseurl: "
|
37
|
-
# }
|
30
|
+
# media: "print", # @media 'screen' or 'print' CSS
|
31
|
+
# baseurl: "https://yoursite.com", # the base URL for any relative URLs
|
32
|
+
# }
|
38
33
|
)
|
39
|
-
File.open("/tmp/docraptor-ruby.pdf", "wb") do |file|
|
40
|
-
file.write(create_response)
|
41
|
-
end
|
42
|
-
puts "Wrote PDF to /tmp/docraptor-ruby.pdf"
|
43
34
|
|
35
|
+
# create_doc() returns a binary string
|
36
|
+
File.write("github-sync.pdf", response, mode: "wb")
|
37
|
+
puts "Successfully created github-sync.pdf!"
|
44
38
|
rescue DocRaptor::ApiError => error
|
45
39
|
puts "#{error.class}: #{error.message}"
|
46
|
-
puts error.code
|
47
|
-
puts error.response_body
|
40
|
+
puts error.code
|
41
|
+
puts error.response_body
|
48
42
|
puts error.backtrace[0..3].join("\n")
|
49
43
|
end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
docraptor (2.0.0)
|
5
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ast (2.4.2)
|
11
|
+
byebug (11.1.3)
|
12
|
+
coderay (1.1.3)
|
13
|
+
diff-lcs (1.5.0)
|
14
|
+
ethon (0.16.0)
|
15
|
+
ffi (>= 1.15.0)
|
16
|
+
ffi (1.15.5)
|
17
|
+
jaro_winkler (1.5.4)
|
18
|
+
method_source (1.0.0)
|
19
|
+
parallel (1.22.1)
|
20
|
+
parser (3.1.2.1)
|
21
|
+
ast (~> 2.4.1)
|
22
|
+
pry (0.13.1)
|
23
|
+
coderay (~> 1.1)
|
24
|
+
method_source (~> 1.0)
|
25
|
+
pry-byebug (3.9.0)
|
26
|
+
byebug (~> 11.0)
|
27
|
+
pry (~> 0.13.0)
|
28
|
+
psych (4.0.6)
|
29
|
+
stringio
|
30
|
+
rainbow (3.1.1)
|
31
|
+
rake (13.0.6)
|
32
|
+
rspec (3.12.0)
|
33
|
+
rspec-core (~> 3.12.0)
|
34
|
+
rspec-expectations (~> 3.12.0)
|
35
|
+
rspec-mocks (~> 3.12.0)
|
36
|
+
rspec-core (3.12.0)
|
37
|
+
rspec-support (~> 3.12.0)
|
38
|
+
rspec-expectations (3.12.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.12.0)
|
41
|
+
rspec-mocks (3.12.0)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.12.0)
|
44
|
+
rspec-support (3.12.0)
|
45
|
+
rubocop (0.66.0)
|
46
|
+
jaro_winkler (~> 1.5.1)
|
47
|
+
parallel (~> 1.10)
|
48
|
+
parser (>= 2.5, != 2.5.1.1)
|
49
|
+
psych (>= 3.1.0)
|
50
|
+
rainbow (>= 2.2.2, < 4.0)
|
51
|
+
ruby-progressbar (~> 1.7)
|
52
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
53
|
+
ruby-progressbar (1.11.0)
|
54
|
+
stringio (3.0.2)
|
55
|
+
typhoeus (1.4.0)
|
56
|
+
ethon (>= 0.9.0)
|
57
|
+
unicode-display_width (1.5.0)
|
58
|
+
|
59
|
+
PLATFORMS
|
60
|
+
ruby
|
61
|
+
|
62
|
+
DEPENDENCIES
|
63
|
+
docraptor!
|
64
|
+
pry-byebug
|
65
|
+
rake (~> 13.0.1)
|
66
|
+
rspec (~> 3.6, >= 3.6.0)
|
67
|
+
rubocop (~> 0.66.0)
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
1.17.3
|
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
docraptor (2.0.0)
|
5
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ast (2.4.2)
|
11
|
+
byebug (11.1.3)
|
12
|
+
coderay (1.1.3)
|
13
|
+
diff-lcs (1.5.0)
|
14
|
+
ethon (0.15.0)
|
15
|
+
ffi (>= 1.15.0)
|
16
|
+
ffi (1.15.5)
|
17
|
+
jaro_winkler (1.5.4)
|
18
|
+
method_source (1.0.0)
|
19
|
+
parallel (1.22.1)
|
20
|
+
parser (3.1.2.1)
|
21
|
+
ast (~> 2.4.1)
|
22
|
+
pry (0.13.1)
|
23
|
+
coderay (~> 1.1)
|
24
|
+
method_source (~> 1.0)
|
25
|
+
pry-byebug (3.9.0)
|
26
|
+
byebug (~> 11.0)
|
27
|
+
pry (~> 0.13.0)
|
28
|
+
psych (4.0.6)
|
29
|
+
stringio
|
30
|
+
rainbow (3.1.1)
|
31
|
+
rake (13.0.6)
|
32
|
+
rspec (3.11.0)
|
33
|
+
rspec-core (~> 3.11.0)
|
34
|
+
rspec-expectations (~> 3.11.0)
|
35
|
+
rspec-mocks (~> 3.11.0)
|
36
|
+
rspec-core (3.11.0)
|
37
|
+
rspec-support (~> 3.11.0)
|
38
|
+
rspec-expectations (3.11.1)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.11.0)
|
41
|
+
rspec-mocks (3.11.1)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.11.0)
|
44
|
+
rspec-support (3.11.1)
|
45
|
+
rubocop (0.66.0)
|
46
|
+
jaro_winkler (~> 1.5.1)
|
47
|
+
parallel (~> 1.10)
|
48
|
+
parser (>= 2.5, != 2.5.1.1)
|
49
|
+
psych (>= 3.1.0)
|
50
|
+
rainbow (>= 2.2.2, < 4.0)
|
51
|
+
ruby-progressbar (~> 1.7)
|
52
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
53
|
+
ruby-progressbar (1.11.0)
|
54
|
+
stringio (3.0.2)
|
55
|
+
typhoeus (1.4.0)
|
56
|
+
ethon (>= 0.9.0)
|
57
|
+
unicode-display_width (1.5.0)
|
58
|
+
|
59
|
+
PLATFORMS
|
60
|
+
ruby
|
61
|
+
|
62
|
+
DEPENDENCIES
|
63
|
+
docraptor!
|
64
|
+
pry-byebug
|
65
|
+
rake (~> 13.0.1)
|
66
|
+
rspec (~> 3.6, >= 3.6.0)
|
67
|
+
rubocop (~> 0.66.0)
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
1.17.2
|
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
docraptor (2.0.0)
|
5
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ast (2.4.2)
|
11
|
+
byebug (11.1.3)
|
12
|
+
coderay (1.1.3)
|
13
|
+
diff-lcs (1.5.0)
|
14
|
+
ethon (0.15.0)
|
15
|
+
ffi (>= 1.15.0)
|
16
|
+
ffi (1.15.5)
|
17
|
+
jaro_winkler (1.5.4)
|
18
|
+
method_source (1.0.0)
|
19
|
+
parallel (1.22.1)
|
20
|
+
parser (3.1.2.1)
|
21
|
+
ast (~> 2.4.1)
|
22
|
+
pry (0.14.1)
|
23
|
+
coderay (~> 1.1)
|
24
|
+
method_source (~> 1.0)
|
25
|
+
pry-byebug (3.10.1)
|
26
|
+
byebug (~> 11.0)
|
27
|
+
pry (>= 0.13, < 0.15)
|
28
|
+
psych (4.0.6)
|
29
|
+
stringio
|
30
|
+
rainbow (3.1.1)
|
31
|
+
rake (13.0.6)
|
32
|
+
rspec (3.11.0)
|
33
|
+
rspec-core (~> 3.11.0)
|
34
|
+
rspec-expectations (~> 3.11.0)
|
35
|
+
rspec-mocks (~> 3.11.0)
|
36
|
+
rspec-core (3.11.0)
|
37
|
+
rspec-support (~> 3.11.0)
|
38
|
+
rspec-expectations (3.11.1)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.11.0)
|
41
|
+
rspec-mocks (3.11.1)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.11.0)
|
44
|
+
rspec-support (3.11.1)
|
45
|
+
rubocop (0.66.0)
|
46
|
+
jaro_winkler (~> 1.5.1)
|
47
|
+
parallel (~> 1.10)
|
48
|
+
parser (>= 2.5, != 2.5.1.1)
|
49
|
+
psych (>= 3.1.0)
|
50
|
+
rainbow (>= 2.2.2, < 4.0)
|
51
|
+
ruby-progressbar (~> 1.7)
|
52
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
53
|
+
ruby-progressbar (1.11.0)
|
54
|
+
stringio (3.0.2)
|
55
|
+
typhoeus (1.4.0)
|
56
|
+
ethon (>= 0.9.0)
|
57
|
+
unicode-display_width (1.5.0)
|
58
|
+
|
59
|
+
PLATFORMS
|
60
|
+
ruby
|
61
|
+
|
62
|
+
DEPENDENCIES
|
63
|
+
docraptor!
|
64
|
+
pry-byebug
|
65
|
+
rake (~> 13.0.1)
|
66
|
+
rspec (~> 3.6, >= 3.6.0)
|
67
|
+
rubocop (~> 0.66.0)
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
2.1.4
|
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
docraptor (2.0.0)
|
5
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ast (2.4.2)
|
11
|
+
byebug (11.1.3)
|
12
|
+
coderay (1.1.3)
|
13
|
+
diff-lcs (1.5.0)
|
14
|
+
ethon (0.15.0)
|
15
|
+
ffi (>= 1.15.0)
|
16
|
+
ffi (1.15.5)
|
17
|
+
jaro_winkler (1.5.4)
|
18
|
+
method_source (1.0.0)
|
19
|
+
parallel (1.22.1)
|
20
|
+
parser (3.1.2.1)
|
21
|
+
ast (~> 2.4.1)
|
22
|
+
pry (0.14.1)
|
23
|
+
coderay (~> 1.1)
|
24
|
+
method_source (~> 1.0)
|
25
|
+
pry-byebug (3.10.1)
|
26
|
+
byebug (~> 11.0)
|
27
|
+
pry (>= 0.13, < 0.15)
|
28
|
+
psych (4.0.6)
|
29
|
+
stringio
|
30
|
+
rainbow (3.1.1)
|
31
|
+
rake (13.0.6)
|
32
|
+
rspec (3.11.0)
|
33
|
+
rspec-core (~> 3.11.0)
|
34
|
+
rspec-expectations (~> 3.11.0)
|
35
|
+
rspec-mocks (~> 3.11.0)
|
36
|
+
rspec-core (3.11.0)
|
37
|
+
rspec-support (~> 3.11.0)
|
38
|
+
rspec-expectations (3.11.1)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.11.0)
|
41
|
+
rspec-mocks (3.11.1)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.11.0)
|
44
|
+
rspec-support (3.11.1)
|
45
|
+
rubocop (0.66.0)
|
46
|
+
jaro_winkler (~> 1.5.1)
|
47
|
+
parallel (~> 1.10)
|
48
|
+
parser (>= 2.5, != 2.5.1.1)
|
49
|
+
psych (>= 3.1.0)
|
50
|
+
rainbow (>= 2.2.2, < 4.0)
|
51
|
+
ruby-progressbar (~> 1.7)
|
52
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
53
|
+
ruby-progressbar (1.11.0)
|
54
|
+
stringio (3.0.2)
|
55
|
+
typhoeus (1.4.0)
|
56
|
+
ethon (>= 0.9.0)
|
57
|
+
unicode-display_width (1.5.0)
|
58
|
+
|
59
|
+
PLATFORMS
|
60
|
+
aarch64-linux
|
61
|
+
|
62
|
+
DEPENDENCIES
|
63
|
+
docraptor!
|
64
|
+
pry-byebug
|
65
|
+
rake (~> 13.0.1)
|
66
|
+
rspec (~> 3.6, >= 3.6.0)
|
67
|
+
rubocop (~> 0.66.0)
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
2.2.33
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"gemName": "docraptor",
|
3
3
|
"moduleName": "DocRaptor",
|
4
|
-
"gemVersion": "
|
4
|
+
"gemVersion": "3.0.0",
|
5
5
|
"gemAuthor": "Expected Behavior",
|
6
6
|
"gemAuthorEmail": "support@docraptor.com",
|
7
7
|
"gemHomepage": "https://github.com/docraptor/docraptor-ruby",
|
@@ -9,5 +9,6 @@
|
|
9
9
|
"gemDescription": "A native client library for the DocRaptor HTML to PDF/XLS service.",
|
10
10
|
"gemLicense": "MIT",
|
11
11
|
"hideGenerationTimestamp": true,
|
12
|
-
"httpUserAgent": "ruby-swagger-#{VERSION}"
|
12
|
+
"httpUserAgent": "ruby-swagger-#{VERSION}",
|
13
|
+
"gemRequiredRubyVersion": ">= 2.5"
|
13
14
|
}
|