gopad 1.10.1 → 1.12.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: 153ec5fc1324c9944a5bd34ed47a138324d0bce01d6d21c8f9bb77b66644b6f7
4
+ data.tar.gz: ce56cf72552974bdc47d7f25cb2063bfc54a10fa8c1dbdcf7d58b4fc823a11a2
5
5
  SHA512:
6
- metadata.gz: dddf78afcf051cf674a359986991e9157de876ffe6db43808ebb2d24222e8eb7aa08c433d038715b30308c760bdabc8a8f621c31a3e86438bcb4f7c620ea62b6
7
- data.tar.gz: 0123e03464abad2bb04e2734e5f3fecbf530e8aedb60ebe77827d517c4a9a7c5bf03c6875c99e20abf5a618b326539761441d305eb4db72f3714c26c0a222d0a
6
+ metadata.gz: a5618936e49a800ec2b62e0c671f07aeaf4f3440f2f0c32cd57efaee3d03546a6c3a06bdd503ccf8e1b3935eb32cd17f7022659ad6926b9aa94dab3a21649a01
7
+ data.tar.gz: af58955c53cdcab19ef970e58a799c8db54f2bcc1ddaf5a39a3ad284995fe65223f053de14a7a790538dc5fe98339401f8ee636f240b80da4c20f617343d74aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.12.0](https://github.com/gopad/gopad-ruby/compare/v1.11.0...v1.12.0) (2025-01-27)
4
+
5
+
6
+ ### Features
7
+
8
+ * **deps:** update dependency rubocop to '~> 1.71.0' ([#90](https://github.com/gopad/gopad-ruby/issues/90)) ([ce38b12](https://github.com/gopad/gopad-ruby/commit/ce38b12a33d69e10068e4ddcc0196b66bef52078))
9
+
10
+ ## [1.11.0](https://github.com/gopad/gopad-ruby/compare/v1.10.1...v1.11.0) (2025-01-13)
11
+
12
+
13
+ ### Features
14
+
15
+ * automated openapi client update ([280ac53](https://github.com/gopad/gopad-ruby/commit/280ac536f4f0774bf6231e3c7ed1f749d0afd32c))
16
+ * **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))
17
+
3
18
  ## [1.10.1](https://github.com/gopad/gopad-ruby/compare/v1.10.0...v1.10.1) (2025-01-06)
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.1
9
+ - Package version: 1.12.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.12.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.12.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.12.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.12.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-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: faraday