gopad 1.10.1 → 1.11.0

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: 8e02cfa6b2404425259fee8ec64e3aec34737be6d4255737c6cf6ed2dcff9712
4
- data.tar.gz: 3f81d9cff50fbeaf0dad88eb7a9af09e001912d50a4d264cb3778fb09ac5d690
3
+ metadata.gz: b785c13428a8e4ff90ad2f247b3f7468734b3ab2dde3e722683224778804bb30
4
+ data.tar.gz: 07a361d0d0a4cb0aadceafb226963284014d0b5105a8d7beac9e7bed173bdc29
5
5
  SHA512:
6
- metadata.gz: dddf78afcf051cf674a359986991e9157de876ffe6db43808ebb2d24222e8eb7aa08c433d038715b30308c760bdabc8a8f621c31a3e86438bcb4f7c620ea62b6
7
- data.tar.gz: 0123e03464abad2bb04e2734e5f3fecbf530e8aedb60ebe77827d517c4a9a7c5bf03c6875c99e20abf5a618b326539761441d305eb4db72f3714c26c0a222d0a
6
+ metadata.gz: beb0ed30218e740ec6cd71ca4a7681cd9a34c6d696109ce3aca71ea3f5b6555a74feac65ba793be3b1a89058412ec06c24bb6853edd8c4d8b98397527cc0e35c
7
+ data.tar.gz: '018bba5d9b442a73104080c791a326178334c82595e26cb852b181360faf76220277470aa0dfea80068e8ca595934d630bd204a68497821f06aee3499ca3ef84'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.11.0](https://github.com/gopad/gopad-ruby/compare/v1.10.1...v1.11.0) (2025-01-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * automated openapi client update ([280ac53](https://github.com/gopad/gopad-ruby/commit/280ac536f4f0774bf6231e3c7ed1f749d0afd32c))
9
+ * **deps:** update dependency rubocop to '~> 1.70.0' ([#88](https://github.com/gopad/gopad-ruby/issues/88)) ([32e71e5](https://github.com/gopad/gopad-ruby/commit/32e71e57f66bd887134d963a9c1450464f2d190b))
10
+
3
11
  ## [1.10.1](https://github.com/gopad/gopad-ruby/compare/v1.10.0...v1.10.1) (2025-01-06)
4
12
 
5
13
 
data/README.md CHANGED
@@ -6,7 +6,7 @@ This repository provides a client SDK for Ruby. This SDK is automatically
6
6
  generated by the [OpenAPI Generator][generator] project:
7
7
 
8
8
  - API version: 1.0.0-alpha1
9
- - Package version: 1.10.1
9
+ - Package version: 1.11.0
10
10
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
11
11
 
12
12
  For more information, please visit [https://gopad.eu](https://gopad.eu)
@@ -21,7 +21,7 @@ the built gem:
21
21
 
22
22
  ```console
23
23
  gem build gopad.gemspec
24
- gem install ./gopad-1.10.1.gem
24
+ gem install ./gopad-1.11.0.gem
25
25
  ```
26
26
 
27
27
  ### Install from Rubygems
@@ -30,7 +30,7 @@ If you want to use a a properly released version hosted Rubygems you just need
30
30
  to add the following line to your Gemfile:
31
31
 
32
32
  ```ruby
33
- gem 'gopad', '~> 1.10.1'
33
+ gem 'gopad', '~> 1.11.0'
34
34
  ```
35
35
 
36
36
  ### Install from Git
@@ -51,7 +51,7 @@ module Gopad
51
51
  begin
52
52
  response = connection(opts).public_send(http_method.to_sym.downcase) do |req|
53
53
  request = build_request(http_method, path, req, opts)
54
- stream = download_file(request) if opts[:return_type] == 'File' || opts[:return_type] == 'Binary'
54
+ stream = download_file(request) if %w[File Binary].include?(opts[:return_type])
55
55
  end
56
56
 
57
57
  if config.debugging
@@ -76,7 +76,7 @@ module Gopad
76
76
  raise ApiError.new('Connection failed')
77
77
  end
78
78
 
79
- data = if opts[:return_type] == 'File' || opts[:return_type] == 'Binary'
79
+ data = if %w[File Binary].include?(opts[:return_type])
80
80
  deserialize_file(response, stream)
81
81
  elsif opts[:return_type]
82
82
  deserialize(response, opts[:return_type])
data/lib/gopad/version.rb CHANGED
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Gopad
12
- VERSION = '1.10.1'.freeze
12
+ VERSION = '1.11.0'.freeze
13
13
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gopad
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Boerger
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-06 00:00:00.000000000 Z
10
+ date: 2025-01-13 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: faraday