docraptor 2.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.docker_env.list +5 -0
  3. data/.docker_mounts.list +4 -0
  4. data/.generator-language-identifier +1 -0
  5. data/.generator-revision +1 -0
  6. data/.github/pull_request_template.txt +17 -0
  7. data/.gitignore +20 -14
  8. data/.gitlab-ci.yml +26 -0
  9. data/.openapi-generator/FILES +32 -0
  10. data/.openapi-generator/VERSION +1 -0
  11. data/{.swagger-codegen-ignore → .openapi-generator-ignore} +13 -7
  12. data/.review/README.md +16 -0
  13. data/.review/generated_files/.gitignore +39 -0
  14. data/.review/generated_files/README.md +108 -0
  15. data/.review/generated_files/docs/AsyncDoc.md +18 -0
  16. data/.review/generated_files/docs/Doc.md +50 -0
  17. data/.review/generated_files/docs/DocApi.md +503 -0
  18. data/.review/generated_files/docs/DocStatus.md +28 -0
  19. data/.review/generated_files/docs/PrinceOptions.md +82 -0
  20. data/.review/generated_files/spec/api/doc_api_spec.rb +112 -0
  21. data/{spec → .review/generated_files/spec}/api_client_spec.rb +6 -21
  22. data/{spec → .review/generated_files/spec}/configuration_spec.rb +6 -6
  23. data/.review/generated_files/spec/models/async_doc_spec.rb +34 -0
  24. data/.review/generated_files/spec/models/doc_spec.rb +138 -0
  25. data/.review/generated_files/spec/models/doc_status_spec.rb +64 -0
  26. data/.review/generated_files/spec/models/prince_options_spec.rb +234 -0
  27. data/{spec → .review/generated_files/spec}/spec_helper.rb +3 -3
  28. data/.rubocop.yml +148 -0
  29. data/.runtime-environments +13 -0
  30. data/.travis.yml +9 -7
  31. data/CHANGELOG.md +8 -0
  32. data/Gemfile +3 -1
  33. data/README.md +8 -8
  34. data/Rakefile +1 -2
  35. data/docraptor.gemspec +5 -19
  36. data/docraptor.yaml +283 -284
  37. data/examples/async.rb +24 -30
  38. data/examples/hosted_async.rb +21 -33
  39. data/examples/hosted_sync.rb +19 -32
  40. data/examples/sync.rb +20 -26
  41. data/gemfiles/Gemfile.2.5.lock +70 -0
  42. data/gemfiles/Gemfile.2.6.lock +70 -0
  43. data/gemfiles/Gemfile.2.7.lock +70 -0
  44. data/gemfiles/Gemfile.3.0.lock +70 -0
  45. data/gemfiles/Gemfile.3.1.lock +72 -0
  46. data/gemfiles/Gemfile.3.2.lock +72 -0
  47. data/gemfiles/Gemfile.3.3.lock +72 -0
  48. data/{swagger-config.json → generator-config.json} +3 -2
  49. data/lib/docraptor/api/doc_api.rb +180 -85
  50. data/lib/docraptor/api_client.rb +91 -90
  51. data/lib/docraptor/api_error.rb +23 -3
  52. data/lib/docraptor/configuration.rb +101 -15
  53. data/lib/docraptor/models/async_doc.rb +53 -18
  54. data/lib/docraptor/models/doc.rb +80 -50
  55. data/lib/docraptor/models/doc_status.rb +58 -23
  56. data/lib/docraptor/models/prince_options.rb +149 -75
  57. data/lib/docraptor/version.rb +4 -4
  58. data/lib/docraptor.rb +3 -3
  59. data/script/clean +2 -2
  60. data/script/console +5 -0
  61. data/script/docker +56 -0
  62. data/script/fix_gemspec.rb +3 -18
  63. data/script/generate_language +43 -4
  64. data/script/inside_container/README.md +6 -0
  65. data/script/inside_container/test +87 -0
  66. data/script/post_generate_language +8 -2
  67. data/script/release +13 -0
  68. data/script/setup +25 -14
  69. data/script/swagger +6 -33
  70. data/script/test +30 -27
  71. data/test/async.rb +2 -2
  72. data/test/expire_hosted.rb +2 -2
  73. data/test/hosted_async.rb +7 -1
  74. data/test/hosted_sync.rb +2 -2
  75. data/test/iframes_default.rb +40 -0
  76. data/test/iframes_false.rb +40 -0
  77. data/test/iframes_true.rb +40 -0
  78. data/test/prince_options.rb +45 -0
  79. data/test/sync.rb +2 -2
  80. data/test/xlsx.rb +10 -3
  81. metadata +52 -214
  82. data/.swagger-codegen/VERSION +0 -1
  83. data/.swagger-revision +0 -1
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, the full list is
9
- # https://docraptor.com/documentation/api#api_general
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 "bundler/setup"
14
- Bundler.require
13
+ require "docraptor"
15
14
 
16
- DocRaptor.configure do |dr|
17
- dr.username = "YOUR_API_KEY_HERE" # this key works for test documents
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
- $docraptor = DocRaptor::DocApi.new
19
+ docraptor = DocRaptor::DocApi.new
22
20
 
23
21
  begin
24
-
25
- # https://docraptor.com/documentation/api#api_general
26
- create_response = $docraptor.create_async_doc(
27
- test: true, # test documents are free but watermarked
28
- document_content: "<html><body>Hello World</body></html>", # supply content directly
29
- # document_url: "http://docraptor.com/examples/invoice.html", # or use a url
30
- name: "docraptor-ruby.pdf", # help you find a document later
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: "screen", # use screen styles instead of print styles
35
- # baseurl: "http://hello.com", # pretend URL when using document_content
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 = $docraptor.get_async_doc_status(create_response.status_id)
41
- puts "doc status: #{status_response.status}"
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
- doc_response = $docraptor.get_async_doc(status_response.download_id)
45
- File.open("/tmp/docraptor-ruby.pdf", "wb") do |file|
46
- file.write(doc_response)
47
- end
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 # HTTP response code
62
- puts error.response_body # HTTP response body
55
+ puts error.code
56
+ puts error.response_body
63
57
  puts error.backtrace[0..3].join("\n")
64
58
  end
@@ -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, the full list is
17
- # https://docraptor.com/documentation/api#api_general
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 "bundler/setup"
22
- Bundler.require
23
- require "open-uri"
21
+ require "docraptor"
24
22
 
25
- DocRaptor.configure do |dr|
26
- dr.username = "YOUR_API_KEY_HERE"
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
- $docraptor = DocRaptor::DocApi.new
27
+ docraptor = DocRaptor::DocApi.new
31
28
 
32
29
  begin
33
-
34
- # https://docraptor.com/documentation/api#api_general
35
- create_response = $docraptor.create_hosted_async_doc(
36
- test: true, # test documents are free but watermarked
37
- document_content: "<html><body>Hello World</body></html>", # supply content directly
38
- # document_url: "http://docraptor.com/examples/invoice.html", # or use a url
39
- name: "hosted-ruby-async.pdf", # helps you find a document later
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: "screen", # use screen styles instead of print styles
44
- # baseurl: "http://hello.com", # pretend URL when using document_content
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 = $docraptor.get_async_doc_status(create_response.status_id)
50
- puts "doc status: #{status_response.status}"
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 hosted PDF is now available for public download at #{status_response.download_url}"
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 # HTTP response code
73
- puts error.response_body # HTTP response body
60
+ puts error.code
61
+ puts error.response_body
74
62
  puts error.backtrace[0..3].join("\n")
75
63
  end
@@ -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, the full list is
17
- # https://docraptor.com/documentation/api#api_general
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 "bundler/setup"
22
- Bundler.require
23
- require "open-uri"
21
+ require "docraptor"
24
22
 
25
- DocRaptor.configure do |dr|
26
- dr.username = "YOUR_API_KEY_HERE"
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
- $docraptor = DocRaptor::DocApi.new
27
+ docraptor = DocRaptor::DocApi.new
31
28
 
32
29
  begin
33
-
34
- # https://docraptor.com/documentation/api#api_general
35
- create_response = $docraptor.create_hosted_doc(
36
- test: true, # test documents are free but watermarked
37
- document_content: "<html><body>Hello World</body></html>", # supply content directly
38
- # document_url: "http://docraptor.com/examples/invoice.html", # or use a url
39
- name: "docraptor-ruby.pdf", # help you find a document later
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: "screen", # use screen styles instead of print styles
44
- # baseurl: "http://hello.com", # pretend URL when using document_content
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 # HTTP response code
60
- puts error.response_body # HTTP 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, the full list is
10
- # https://docraptor.com/documentation/api#api_general
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 "bundler/setup"
15
- Bundler.require
14
+ require "docraptor"
16
15
 
17
- DocRaptor.configure do |dr|
18
- dr.username = "YOUR_API_KEY_HERE" # this key works for test documents
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
- $docraptor = DocRaptor::DocApi.new
20
+ docraptor = DocRaptor::DocApi.new
23
21
 
24
22
  begin
25
-
26
- # https://docraptor.com/documentation/api#api_general
27
- create_response = $docraptor.create_doc(
28
- test: true, # test documents are free but watermarked
29
- document_content: "<html><body>Hello World</body></html>", # supply content directly
30
- # document_url: "http://docraptor.com/examples/invoice.html", # or use a url
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: "screen", # use screen styles instead of print styles
36
- # baseurl: "http://hello.com", # pretend URL when using document_content
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 # HTTP response code
47
- puts error.response_body # HTTP 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
@@ -0,0 +1,72 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ docraptor (3.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.6)
18
+ method_source (1.0.0)
19
+ parallel (1.23.0)
20
+ parser (3.2.2.3)
21
+ ast (~> 2.4.1)
22
+ racc
23
+ pry (0.14.2)
24
+ coderay (~> 1.1)
25
+ method_source (~> 1.0)
26
+ pry-byebug (3.10.1)
27
+ byebug (~> 11.0)
28
+ pry (>= 0.13, < 0.15)
29
+ psych (5.1.0)
30
+ stringio
31
+ racc (1.7.1)
32
+ rainbow (3.1.1)
33
+ rake (13.0.6)
34
+ rspec (3.12.0)
35
+ rspec-core (~> 3.12.0)
36
+ rspec-expectations (~> 3.12.0)
37
+ rspec-mocks (~> 3.12.0)
38
+ rspec-core (3.12.2)
39
+ rspec-support (~> 3.12.0)
40
+ rspec-expectations (3.12.3)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.12.0)
43
+ rspec-mocks (3.12.6)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.12.0)
46
+ rspec-support (3.12.1)
47
+ rubocop (0.66.0)
48
+ jaro_winkler (~> 1.5.1)
49
+ parallel (~> 1.10)
50
+ parser (>= 2.5, != 2.5.1.1)
51
+ psych (>= 3.1.0)
52
+ rainbow (>= 2.2.2, < 4.0)
53
+ ruby-progressbar (~> 1.7)
54
+ unicode-display_width (>= 1.4.0, < 1.6)
55
+ ruby-progressbar (1.13.0)
56
+ stringio (3.0.7)
57
+ typhoeus (1.4.0)
58
+ ethon (>= 0.9.0)
59
+ unicode-display_width (1.5.0)
60
+
61
+ PLATFORMS
62
+ aarch64-linux
63
+
64
+ DEPENDENCIES
65
+ docraptor!
66
+ pry-byebug
67
+ rake (~> 13.0.1)
68
+ rspec (~> 3.6, >= 3.6.0)
69
+ rubocop (~> 0.66.0)
70
+
71
+ BUNDLED WITH
72
+ 2.3.26