rating-chgk-v2 1.1.0 → 1.2.0

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: e7dad45c8ac28f2ea451f5fe52b6fc9df788e706a4d8f3abedaa58e16b14ca6c
4
- data.tar.gz: 5834bf7e0ac6dbdcba393203324c0f4142776a919fb57709c57388ddcd0f2724
3
+ metadata.gz: b7cea429b4143eac837e8925c99b756c5085e5e4d14939dacd137e5d2d2a2801
4
+ data.tar.gz: 00a0d90bcdd94b3b725fb77996d2482073a6cb2aea262a23d4dedddc736ce256
5
5
  SHA512:
6
- metadata.gz: 87b5add4aea56622ec5544514ee056b7bfaa3d021cbb1f0ad270ec8a77775b78b78991e8f3e70fc9548488cb95fbe55b8fa276b22d0ec84a8baf053d6b1735b1
7
- data.tar.gz: af776aad282c2b747ce02e8ee6064c53837c3e14578e365af8584f9d09b2eb493e274b66a5b06304f24bf5e2a0eee305a11429f7a5bf76e417b55ae977b0f760
6
+ metadata.gz: 42b41f53941786a3d72002a10395e8400d39fee6c8d5e7bcd69d76e0053886fef18fedad82d64b566619e75bb0aa9aa29075afdadb3dd314fe5d83f05337d44b
7
+ data.tar.gz: c2076f389f03ac389d6f025fc12f60121c039e05525d076ab3122a8b34834b018fe014c8c5b23a07a6124fa1e0cf61607b48a0967518c55724d4f8afeab6ab7a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.0 (17-Oct-22)
4
+
5
+ * Properly handle flat params:
6
+
7
+ ```ruby
8
+ client.tournaments 'type[]': [1, 2, 3] # requesting tournaments with IDs 1, 2, or 3
9
+ ```
10
+
3
11
  ## 1.1.0 (29-Jul-22)
4
12
 
5
13
  * Added requests for venues (thanks, @L-Eugene)
@@ -27,7 +27,11 @@ module RatingChgkV2
27
27
 
28
28
  # Allows to customize request params per-client
29
29
  def request_params_for(client)
30
- {request: {timeout: client.timeout, open_timeout: client.open_timeout}}
30
+ {request: {
31
+ timeout: client.timeout,
32
+ open_timeout: client.open_timeout,
33
+ params_encoder: Faraday::FlatParamsEncoder
34
+ }}
31
35
  end
32
36
  end
33
37
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RatingChgkV2
4
- VERSION = '1.1.0'
4
+ VERSION = '1.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rating-chgk-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Krukowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-29 00:00:00.000000000 Z
11
+ date: 2022-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -363,7 +363,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
363
363
  - !ruby/object:Gem::Version
364
364
  version: '0'
365
365
  requirements: []
366
- rubygems_version: 3.3.19
366
+ rubygems_version: 3.3.24
367
367
  signing_key:
368
368
  specification_version: 4
369
369
  summary: Ruby interface for the new CHGK rating API