gopad 1.10.0 → 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: c111f79183f774524014315abdfdc3bcaa6b63cff285e0f97d9dc37c6038963a
4
- data.tar.gz: 82245c2c8f167cbe33c55e3696ca1feb0f6f97509881e3d9fbd9827f3ec8a2a0
3
+ metadata.gz: b785c13428a8e4ff90ad2f247b3f7468734b3ab2dde3e722683224778804bb30
4
+ data.tar.gz: 07a361d0d0a4cb0aadceafb226963284014d0b5105a8d7beac9e7bed173bdc29
5
5
  SHA512:
6
- metadata.gz: e1e4208654c73503b53dc35a9c3518b1ea32458e58e8691f10e8a034bac382a5622f5db29511726f584276c5824577e6f3b12fe7eaa81a6a0c4d6387a6e4d5c0
7
- data.tar.gz: 2dcc892da550419f2a8b2363352ae0d2381187fa4082acdbbf19b03cfa6d5d3a1b5b5bc27dec94590902ee18616feaa355a108ca6de9282895eae29af7668ba8
6
+ metadata.gz: beb0ed30218e740ec6cd71ca4a7681cd9a34c6d696109ce3aca71ea3f5b6555a74feac65ba793be3b1a89058412ec06c24bb6853edd8c4d8b98397527cc0e35c
7
+ data.tar.gz: '018bba5d9b442a73104080c791a326178334c82595e26cb852b181360faf76220277470aa0dfea80068e8ca595934d630bd204a68497821f06aee3499ca3ef84'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
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
+
11
+ ## [1.10.1](https://github.com/gopad/gopad-ruby/compare/v1.10.0...v1.10.1) (2025-01-06)
12
+
13
+
14
+ ### Bugfixes
15
+
16
+ * **deps:** update dependency ruby to v3.4.1 ([#87](https://github.com/gopad/gopad-ruby/issues/87)) ([a6a9a09](https://github.com/gopad/gopad-ruby/commit/a6a9a09f2596881984b4782325103775c5f7c49f))
17
+
3
18
  ## [1.10.0](https://github.com/gopad/gopad-ruby/compare/v1.9.0...v1.10.0) (2024-12-30)
4
19
 
5
20
 
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.0
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.0.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.0'
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.0'.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.0
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: 2024-12-30 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