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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWU0ZDA0N2FlYTY5YmM1ZTViODRlMDdkYzE4YTNkMWQ2ZjdlODE4ZA==
4
+ NmM3N2FiNGNjMTE3YWNiNTkyNDdiMDM4MjI4MmE0ZWIzNjFmYThmOQ==
5
5
  data.tar.gz: !binary |-
6
- ZTM5MDA4NGIwZDE5ODA3ZjllMDM2MTg4MTY5YTdhYTZkOTUwYTY3Ng==
6
+ YTE2ZTBiNjU3MzMwZDU3ZDYzZjU0MmE3MTI1NzI5ODNiMjM0MjA4Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGE4M2NlNTlmN2JiMDkzOThkMWVmNGI4OTRkYWU1NzIwZjFlMGI4MjczYWJi
10
- NGZhMTE4MmU2ZGJiY2YxODgzODM2NjJiNTk0ZjU0NGJjZWZlNmI2ZWI2NTE5
11
- ZTZiNjZhNzA4NTk1NmUwZDU2MWY3OTAzZDM3Y2I2NmVkMmQ5NWM=
9
+ YWM1YWM1MDA4NzA4MWIyYTZmNmQ5OTExZjgyMjMxYmIxY2RmM2ZiOGU5ZTAx
10
+ YjM1NTZlMzdlNzhlNzVlMGEwNThkNDI0OGYzZWZiODkxMTRkYWFiNDEzNGNi
11
+ Zjk2MzVmYmQ5YzdhZWM1ZGFkZWZiMjgxYTUzY2ZlMjJhYzRlYzQ=
12
12
  data.tar.gz: !binary |-
13
- YTY3MTJlZmJkMTM5NjNhYmMwNWFkZjliYjJlNjkyZjhmYWFjOWZiMWY3NzEx
14
- YWI4YmYxOTAzZjdjMGQ0MDFkN2JmYWM2ZTViYjMzYzEyNjMwMDEyMWEyN2E1
15
- Y2U5MTMyNWQzODNlYmY5OTkzZDg0YmVhMzgzZmVmY2UyMzk4MWE=
13
+ ODY2ZDQ5ZmM0NjJmZDBiZGQ3Y2ZhMjYxNTZjYzM1MGU1YTY0NGZjMTdhODFl
14
+ YzhlODBhMzZkNjU3YjI5ZjRkM2IzNDc4ODdlZmNiNDcxZjA5OTYwMGMxZmU1
15
+ ZDg4MWMzOGY2Y2RkMzRlM2U3NmRmOWZmZDg4MDdmOGFlMjIzMDA=
@@ -58,7 +58,9 @@ class Codeforces::Client
58
58
 
59
59
  path += "?#{request_uri.query}" unless request_uri.query.empty?
60
60
 
61
- @last_response = agent.call(method, path, options[:data])
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}"
@@ -1,4 +1,4 @@
1
1
  module Codeforces
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeforces
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroyuki Sano