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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmM3N2FiNGNjMTE3YWNiNTkyNDdiMDM4MjI4MmE0ZWIzNjFmYThmOQ==
4
+ MDRhNGRhZDQ2MzQ5NGNlYTlhNzBlOTc1ZDY0NjAxY2E5OTIzOWJkNg==
5
5
  data.tar.gz: !binary |-
6
- YTE2ZTBiNjU3MzMwZDU3ZDYzZjU0MmE3MTI1NzI5ODNiMjM0MjA4Yw==
6
+ MjYyNjNlZmMzYzZjN2EzMzExZTU5Y2U4NzAxNzJjYWY2MmRmMTA1ZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWM1YWM1MDA4NzA4MWIyYTZmNmQ5OTExZjgyMjMxYmIxY2RmM2ZiOGU5ZTAx
10
- YjM1NTZlMzdlNzhlNzVlMGEwNThkNDI0OGYzZWZiODkxMTRkYWFiNDEzNGNi
11
- Zjk2MzVmYmQ5YzdhZWM1ZGFkZWZiMjgxYTUzY2ZlMjJhYzRlYzQ=
9
+ YmI4Y2ViZTNkOWE0MWU3YzdlM2E1M2YxMWRhYjNkMmFiNWE1MzVhY2ExMWIz
10
+ NmJkMTkzZmI5ZjgzZmUxMDliNjEyYzg2YjQ0NDRhMDIwMjUzNDE5YjFkMjdl
11
+ OTM1ZDMyYzc1ZmE2ZmJiM2FjYmQwZjY2YjY3YzNjYTY0NzdkZjU=
12
12
  data.tar.gz: !binary |-
13
- ODY2ZDQ5ZmM0NjJmZDBiZGQ3Y2ZhMjYxNTZjYzM1MGU1YTY0NGZjMTdhODFl
14
- YzhlODBhMzZkNjU3YjI5ZjRkM2IzNDc4ODdlZmNiNDcxZjA5OTYwMGMxZmU1
15
- ZDg4MWMzOGY2Y2RkMzRlM2U3NmRmOWZmZDg4MDdmOGFlMjIzMDA=
13
+ MzA4NDhmYTczNWRhOTc0NDEyZTZmMmU5OWYzM2MwNzRkZDliOTlkMzRlYjFj
14
+ OGU1ZWY4MjIxZDJlNjllYmEwOTVjZTFjYjJlNTY0MWUzNjJjMWJiNTMyMWIy
15
+ MmU3MGE1ZTkwNDc4NmM5ZTM2ZjcwYmYwOTAxN2U1ZTk2YzFjNDY=
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  module Codeforces
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
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.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroyuki Sano