gapic-common 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d5a60dd75b6fe30ba3654e69aa129b07c7a2159dff65134c9fd67ed8a598d70
4
- data.tar.gz: c8cd0851a4f8f04dab553bf55bda12851cfdec0eaa9e1f6859c0e1a93f2555c7
3
+ metadata.gz: 407061663f535d2c1d6e4d156b63dc27d7e550a4e965574861d27bfb88abe51b
4
+ data.tar.gz: c009e26d53339c5be07d223a61db173fb2897dafe5fcd63ac1e9a72e9f89fa93
5
5
  SHA512:
6
- metadata.gz: e12310e5446b7dffa8a6c5cc3df4b0181414ae2e3118199d45b4cf2e54d1b61a7d72561634402ae319f66a0bcfa3786be67aaf4c8fb3e4a6e839ebdf27a58e64
7
- data.tar.gz: 46752b4a1dee19463222b187de90071cf1a569ac83a8eabc13373f2d35460eb6a6f0ee681fbeab7165cebed0bf730d08cfe48da326d61c5fb5ef702fd6b020d1
6
+ metadata.gz: 305e7cdee55f87e69c966019e62b973247de377503ff6b45a42be1dcd9ac55e1a68c54da35e718c58938d5a490b5ce5bcaf8485b9ad980ae46dbdc5f83c65987
7
+ data.tar.gz: bc81ef2c7515b2630dd7e06b1ddc37e160ecc08b733a0670e8d42a3a48e41fadbcddf5d8facf3411cdc129935dd10a845edae7c38de38d7e28b0545bdd7a4b06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Release History
2
2
 
3
+ ### 0.4.1 / 2021-04-15
4
+ * Provide a default value for the 'body' in the REST POST method in Gapic::Rest.
5
+
3
6
  ### 0.4.0 / 2021-02-23
4
7
 
5
8
  * Support for the REST calls via the Gapic::Rest::ClientStub and other classes in Gapic::Rest
@@ -14,6 +14,6 @@
14
14
 
15
15
  module Gapic
16
16
  module Common
17
- VERSION = "0.4.0".freeze
17
+ VERSION = "0.4.1".freeze
18
18
  end
19
19
  end
@@ -85,7 +85,7 @@ module Gapic
85
85
  # @param options [::Gapic::CallOptions] gapic options to be applied to the REST call.
86
86
  # Currently only timeout and headers are supported.
87
87
  # @return [Faraday::Response]
88
- def make_post_request uri:, body:, params: {}, options: {}
88
+ def make_post_request uri:, body: nil, params: {}, options: {}
89
89
  make_http_request :post, uri: uri, body: body, params: params, options: options
90
90
  end
91
91
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gapic-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google API Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-26 00:00:00.000000000 Z
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
298
  - !ruby/object:Gem::Version
299
299
  version: '0'
300
300
  requirements: []
301
- rubygems_version: 3.1.4
301
+ rubygems_version: 3.0.3
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: Common code for GAPIC-generated API clients