CQHTTP 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de2676b9e75e72384e908cd5e024390ed4c34b7a
4
- data.tar.gz: 21b512289cf71ea8842d5eed659fc0f7e03c522a
3
+ metadata.gz: 700ffb06a600566129b850c0cbd46727911f860d
4
+ data.tar.gz: 44d259ba825fdc1c62e00cffa02cbd9e623a45af
5
5
  SHA512:
6
- metadata.gz: 6c9a2c6fae74f7cee911b84f50b85f0e78995d4c92ec578a9c2483937b223b56a06fa157dacea534a1797414e600222c6c1fbfe1a97fdd6c41801557388c921b
7
- data.tar.gz: b501e2bf245e422d41dfada6e17427501790ee8023d6c4c746667c27cf59a44e99945f2e4fe1b817cf34c7ae0185e940d982a35ca3c84810a9217f5e6ef11a93
6
+ metadata.gz: 604e3753841b698d0d979823004d74acfca23e2ae8089bed8c29cff908e56c61c6036ac953648e983a09ce025063dd29b5c532e46a69f79122cc4a485608ff88
7
+ data.tar.gz: 6c946f4ea817b8eb89ba2fb78c5998d487c5abc97f5d673f710efa512eabc11ccdf004fe86926f59430f985cb06d36969b0d8cc4857b62f8663fc572947d4702
data/lib/CQHTTP/api.rb CHANGED
@@ -7,7 +7,7 @@ module CQHTTP
7
7
  #
8
8
  # host: String: API address, like 'http://localhost:5700'
9
9
  # type: Symbol or String, 'get', 'form' or 'json;
10
- def initialize(host = 'http://localhost:5700', way = :get)
10
+ def initialize(host: 'http://localhost:5700', way: :form)
11
11
  @func_list = {}
12
12
  gen
13
13
  @func_list.freeze
@@ -1,3 +1,3 @@
1
1
  module CQHTTP
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CQHTTP
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 71e6fd52