gotenberg-client 0.1.1.3 → 0.1.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fbc15829e4c6309290aeaae51efed326b5615fc9a405bccd79148826e228565
4
- data.tar.gz: 8790f7ed23f955b092a19e225816e600ae583fe5b4ee2015e2abfbd3602599ba
3
+ metadata.gz: 8b82d1f0309591211f196b9025b0146db6845a92eb5227fc6fd881dcc06a0e55
4
+ data.tar.gz: e1ae5587dc88fc61956321290414894ec607b8a9070ea2d72ac26891f92417fa
5
5
  SHA512:
6
- metadata.gz: 70af1f33853a717554fef28964f048deabf055d2d84f0ccacee782b7ffda1e69d6b22350e20f7f44f67db7a36df15d1c0497b8b953e8df73325ce9238860a897
7
- data.tar.gz: b9e155dc85d125426cd29f5c41e26fce3b82b05a690f67646181bc0290e00d499144684c435669aed22a0945d4628f1b43b6ce7724ba4ac11d2c265db716fa74
6
+ metadata.gz: f745422f8766ab7ccf76af97c4ae93322edd4d50b48640b5769416b8e9043d6d7ba4f4ac6db9ed8151d35cf5d5a96c5f98fc45b06ce8efe7e6d68560fb0f52a1
7
+ data.tar.gz: 8c27dce53a19772e4a943644e970d0258e313b155ea5128a54cca2c8bc135922f77e5ca7b51cecef2c96d7043a0f2a2022660ef81bca9ca72ebbe21a26c3fa3d
data/Gemfile CHANGED
@@ -6,7 +6,5 @@ source "https://rubygems.org"
6
6
  gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
9
- gem 'faraday'
10
- gem 'faraday-multipart'
11
9
 
12
10
  gem "rspec", "~> 3.0"
data/Gemfile.lock CHANGED
@@ -1,7 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gotenberg (0.1.0)
4
+ gotenberg-client (0.1.1.4)
5
+ faraday (~> 2.5.2)
6
+ faraday-multipart (~> 1.0.4)
5
7
 
6
8
  GEM
7
9
  remote: https://rubygems.org/
@@ -34,9 +36,7 @@ PLATFORMS
34
36
  x86_64-linux
35
37
 
36
38
  DEPENDENCIES
37
- faraday
38
- faraday-multipart
39
- gotenberg!
39
+ gotenberg-client!
40
40
  rake (~> 13.0)
41
41
  rspec (~> 3.0)
42
42
 
data/README.md CHANGED
@@ -8,10 +8,12 @@ this gem is young and needs a lot of updates and improvements. (work in progress
8
8
  ## install
9
9
  First download and run gotenberg
10
10
 
11
- $ docker run --rm -p 3000:3000 gotenberg/gotenberg:7
11
+ $ docker run --rm -p 3000:3000 gotenberg/gotenberg:7
12
+
12
13
 
13
14
  install gotenberg-client gem
14
- $ gem install gotenberg-client
15
+
16
+ $ gem install gotenberg-client
15
17
 
16
18
  or add gotenberg-client to your gemfile
17
19
 
@@ -19,7 +21,7 @@ or add gotenberg-client to your gemfile
19
21
  you will probably use this gem in order to generate pdf in a ruby on rails background task / ruby file. Therefore, this gem do not (yet) integrate any Ruby on Rails tools.
20
22
 
21
23
  ```ruby
22
- require "gotenberg-client"
24
+ require "gotenberg"
23
25
 
24
26
  api_endpoint = "http://localhost:3000" # change it with your specific port and address.
25
27
  gb = Gotenberg::Client.new(api_endpoint)
@@ -38,7 +40,7 @@ output_pdf.unlink
38
40
  ```
39
41
 
40
42
  if you want to use rails views, the easiest way is to user "render_to_string" from `ActionController::Base`.
41
- Let's image that you have a /app/views/test.html.erb in your project that use @customer variable.
43
+ Let's imagine that you have a /app/views/test.html.erb in your project that use @customer variable.
42
44
 
43
45
  ```ruby
44
46
  gb = Gotenberg::Client.new(api_endpoint)
Binary file
Binary file
Binary file
data/gotenberg.gemspec CHANGED
@@ -30,7 +30,8 @@ Gem::Specification.new do |spec|
30
30
  spec.require_paths = ["lib"]
31
31
 
32
32
  # Uncomment to register a new dependency of your gem
33
- # spec.add_dependency "example-gem", "~> 1.0"
33
+ spec.add_dependency "faraday","~> 2.5.2"
34
+ spec.add_dependency "faraday-multipart","~> 1.0.4"
34
35
 
35
36
  # For more information and examples about making a new gem, checkout our
36
37
  # guide at: https://bundler.io/guides/creating_gem.html
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gotenberg
4
- VERSION = "0.1.1.3"
4
+ VERSION = "0.1.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotenberg-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.3
4
+ version: 0.1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - jean-christophe bauduin
@@ -9,7 +9,35 @@ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-08-26 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.5.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.5.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday-multipart
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.4
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.4
13
41
  description: make the creation of pdf easy in ruby
14
42
  email:
15
43
  - maildejc@hotmail.be
@@ -29,7 +57,10 @@ files:
29
57
  - bin/setup
30
58
  - gotenberg-0.1.0.gem
31
59
  - gotenberg-0.1.1.1.gem
60
+ - gotenberg-0.1.1.2.gem
61
+ - gotenberg-0.1.1.3.gem
32
62
  - gotenberg-0.1.1.gem
63
+ - gotenberg-client-0.1.1.3.gem
33
64
  - gotenberg.gemspec
34
65
  - lib/gotenberg.rb
35
66
  - lib/gotenberg/version.rb