rating-chgk-v2 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/rating_chgk_v2/connection.rb +5 -1
- data/lib/rating_chgk_v2/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7cea429b4143eac837e8925c99b756c5085e5e4d14939dacd137e5d2d2a2801
|
4
|
+
data.tar.gz: 00a0d90bcdd94b3b725fb77996d2482073a6cb2aea262a23d4dedddc736ce256
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: {
|
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
|
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.
|
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-
|
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.
|
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
|