codeforces 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/codeforces/client.rb +1 -1
- data/lib/codeforces/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDRhNGRhZDQ2MzQ5NGNlYTlhNzBlOTc1ZDY0NjAxY2E5OTIzOWJkNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjYyNjNlZmMzYzZjN2EzMzExZTU5Y2U4NzAxNzJjYWY2MmRmMTA1ZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmI4Y2ViZTNkOWE0MWU3YzdlM2E1M2YxMWRhYjNkMmFiNWE1MzVhY2ExMWIz
|
10
|
+
NmJkMTkzZmI5ZjgzZmUxMDliNjEyYzg2YjQ0NDRhMDIwMjUzNDE5YjFkMjdl
|
11
|
+
OTM1ZDMyYzc1ZmE2ZmJiM2FjYmQwZjY2YjY3YzNjYTY0NzdkZjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzA4NDhmYTczNWRhOTc0NDEyZTZmMmU5OWYzM2MwNzRkZDliOTlkMzRlYjFj
|
14
|
+
OGU1ZWY4MjIxZDJlNjllYmEwOTVjZTFjYjJlNTY0MWUzNjJjMWJiNTMyMWIy
|
15
|
+
MmU3MGE1ZTkwNDc4NmM5ZTM2ZjcwYmYwOTAxN2U1ZTk2YzFjNDY=
|
data/lib/codeforces/client.rb
CHANGED
@@ -54,7 +54,7 @@ class Codeforces::Client
|
|
54
54
|
query.merge!(options[:query]) unless options[:query].nil?
|
55
55
|
request_uri.query_values = query
|
56
56
|
|
57
|
-
enable_auth!(path, request_uri, query) unless api_key.nil?
|
57
|
+
enable_auth!(path, request_uri, query) unless method === :post || api_key.nil?
|
58
58
|
|
59
59
|
path += "?#{request_uri.query}" unless request_uri.query.empty?
|
60
60
|
|
data/lib/codeforces/version.rb
CHANGED