pdfactory-client 0.2 → 0.2.1

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: 0af836055ae7412c6c6a4f80ba1a937467d4a53f5c1cb08ce5550e8647310214
4
- data.tar.gz: e40ac0fada1d9d338a4d67876013b13ae174527f1a92c8ee94753d97f463440b
3
+ metadata.gz: a4553d665a919af1683b0ea99de3f739a70729c4033a8c63e573b8680118686a
4
+ data.tar.gz: 28ae9b3e40bdd9f0ee545f42ca9908974383bd54a66101d1628a49f29d914540
5
5
  SHA512:
6
- metadata.gz: 3389208b104d7c3ce772ea0bfe6412a4a20cd36bc3b27112b99a8e63454905835196a1388ecdbd1d0ff58d3eaddd1a2335d59fa0c09653b18d56c1e706c0d18d
7
- data.tar.gz: 7a1cdbbf27f8c33a546b4b69d27aa27af0772992538f64d5296a7e902bd5848f9fe0ff422ba5adb632a5bb6ffdc46c27278f41449668b9c9331a8bfb3cbcbc65
6
+ metadata.gz: ea0a3a85e772126b143b5c1c21955cbf7d4fa1db2fa9c6a1cb90d9d1ef05711aee9bf55f3c7d996a43c77b67598efe05747c57f83a0a65036dc5e491a382f133
7
+ data.tar.gz: 10cd43c6c80d5d5d090c962640274f735b984cfb5634643e936c1d4f1cf8ff3c7e0e796f00ec44f0adfbf661ace62a0fbcf48b84e0f5a47cf9f53f5ce45a3be1
@@ -1,3 +1,3 @@
1
1
  module PDFactory
2
- VERSION = '0.2'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -39,6 +39,7 @@ module PDFactory
39
39
  def call_api(endpoint, body, http_method = :post)
40
40
  response = connection.send(http_method) do |response|
41
41
  response.url(endpoint)
42
+ response.headers['Content-Type'] = 'application/x-www-form-urlencoded'
42
43
  response.body = URI.encode_www_form(body)
43
44
  end
44
45
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdfactory-client
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Cruz Horts
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2026-06-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: faraday
@@ -136,8 +135,6 @@ dependencies:
136
135
  - - ">="
137
136
  - !ruby/object:Gem::Version
138
137
  version: '0'
139
- description:
140
- email:
141
138
  executables: []
142
139
  extensions: []
143
140
  extra_rdoc_files: []
@@ -158,7 +155,6 @@ homepage: https://github.com/dncrht/pdfactory-client
158
155
  licenses:
159
156
  - MIT
160
157
  metadata: {}
161
- post_install_message:
162
158
  rdoc_options: []
163
159
  require_paths:
164
160
  - lib
@@ -173,8 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
169
  - !ruby/object:Gem::Version
174
170
  version: '0'
175
171
  requirements: []
176
- rubygems_version: 3.5.22
177
- signing_key:
172
+ rubygems_version: 4.0.17
178
173
  specification_version: 4
179
174
  summary: Ruby client for PDFactory.
180
175
  test_files: []