codeforces 0.0.10 → 0.0.11
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 +3 -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
|
+
NmM3N2FiNGNjMTE3YWNiNTkyNDdiMDM4MjI4MmE0ZWIzNjFmYThmOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTE2ZTBiNjU3MzMwZDU3ZDYzZjU0MmE3MTI1NzI5ODNiMjM0MjA4Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWM1YWM1MDA4NzA4MWIyYTZmNmQ5OTExZjgyMjMxYmIxY2RmM2ZiOGU5ZTAx
|
10
|
+
YjM1NTZlMzdlNzhlNzVlMGEwNThkNDI0OGYzZWZiODkxMTRkYWFiNDEzNGNi
|
11
|
+
Zjk2MzVmYmQ5YzdhZWM1ZGFkZWZiMjgxYTUzY2ZlMjJhYzRlYzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODY2ZDQ5ZmM0NjJmZDBiZGQ3Y2ZhMjYxNTZjYzM1MGU1YTY0NGZjMTdhODFl
|
14
|
+
YzhlODBhMzZkNjU3YjI5ZjRkM2IzNDc4ODdlZmNiNDcxZjA5OTYwMGMxZmU1
|
15
|
+
ZDg4MWMzOGY2Y2RkMzRlM2U3NmRmOWZmZDg4MDdmOGFlMjIzMDA=
|
data/lib/codeforces/client.rb
CHANGED
@@ -58,7 +58,9 @@ class Codeforces::Client
|
|
58
58
|
|
59
59
|
path += "?#{request_uri.query}" unless request_uri.query.empty?
|
60
60
|
|
61
|
-
|
61
|
+
tmp_uri = ::Addressable::URI.new
|
62
|
+
tmp_uri.query_values = options[:data]
|
63
|
+
@last_response = agent.call(method, path, tmp_uri.query)
|
62
64
|
|
63
65
|
logger.debug "#{method.upcase} #{::URI.join endpoint, path}"
|
64
66
|
logger.debug "Status: #{last_response.data.status}"
|
data/lib/codeforces/version.rb
CHANGED