qiita 1.0.0 → 1.0.1

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: d7aad5b6c927032cc2fd56a07a2fb1a6d288451e
4
- data.tar.gz: cea7adcd772f8c7ee2dce7fd288a3406d775434b
3
+ metadata.gz: 8df01463807308dc1ba9fed0f8e8fe345cb8fc80
4
+ data.tar.gz: 212b744bd54dbd36d3b1338a2573126dc340bd92
5
5
  SHA512:
6
- metadata.gz: 9aa059a756fb31e4b11fd02d93f568ee760a912be25c9662ee280dcce42aba26f1fb1501683d9860b82209b892fb8a043c556f99f91d5a4f915c38d3ff66bf83
7
- data.tar.gz: eade564c0a5a16a20420438dc0a4d5e4641c873a434b7f07537b510a10c0e897320a1086aa5c541e6810847799df9c2467c47e01c41d1ed929ea96643ec969c1
6
+ metadata.gz: c493b46b8caec0877cc1cd1d73750ea82a12b24d3e36b9153d369d09fec517226dec8b369ec8632a2a4170da3fc635faddaa8435639fca75417e76b7d9842563
7
+ data.tar.gz: 40f89b92ebd3ba14d6897fa6d4b41b46037c2b2e09c998cfa6b1c3c9b7fdd858ea13fa68545d464ca72194a11ee3f5b91fdde257f7d1bcd08fd6b30e944accd8
data/CHANGELOG.md CHANGED
@@ -1,2 +1,5 @@
1
+ ## 1.0.1
2
+ * Fix response body existence check logic
3
+
1
4
  ## 1.0.0
2
- * Support Qiita API v2.
5
+ * Support Qiita API v2
data/images/cli.png CHANGED
Binary file
@@ -73,7 +73,7 @@ module Qiita
73
73
  end
74
74
 
75
75
  def has_body?
76
- @response.headers['Content-Length'].to_i > 0
76
+ @response.status != 204
77
77
  end
78
78
  end
79
79
  end
data/lib/qiita/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Qiita
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qiita
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura