qiita 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/qiita/resource_based_methods.rb +42 -0
- data/lib/qiita/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d6f903a8cf66c0b673315c00fc081d98136ad46
|
4
|
+
data.tar.gz: bea16f9b728b52b207f1003d61bb30f4e9e3db4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dbf9f4377337d5e48facf0ec3b61f6c8178c5a01548d5a8c63e1e40d991db1ebad75ef3cbe533d5add04f2ed9d7de30f01e36a5baac694bb26e77b56937b75b
|
7
|
+
data.tar.gz: f68c8c59c44d70b28b4625594d96040b0e0ab455e67f3398e062db084baf473f50617b15c03c4597c98c19295dde5760262046e23b23ac4a02432e936bf4be00
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -231,6 +231,48 @@ module Qiita
|
|
231
231
|
patch("/api/v2/projects/#{project_id}", params, headers)
|
232
232
|
end
|
233
233
|
|
234
|
+
# ### Qiita::Client#create_comment_reaction(comment_id, params = nil, headers = nil)
|
235
|
+
# Add an emoji reaction to a comment.
|
236
|
+
#
|
237
|
+
def create_comment_reaction(comment_id, params = nil, headers = nil)
|
238
|
+
post("/api/v2/comments/#{comment_id}/reactions", params, headers)
|
239
|
+
end
|
240
|
+
|
241
|
+
# ### Qiita::Client#create_item_reaction(item_id, params = nil, headers = nil)
|
242
|
+
# Add an emoji reaction to an item.
|
243
|
+
#
|
244
|
+
def create_item_reaction(item_id, params = nil, headers = nil)
|
245
|
+
post("/api/v2/items/#{item_id}/reactions", params, headers)
|
246
|
+
end
|
247
|
+
|
248
|
+
# ### Qiita::Client#delete_comment_reaction(comment_id, reaction_name, params = nil, headers = nil)
|
249
|
+
# Delete an emoji reaction from a comment.
|
250
|
+
#
|
251
|
+
def delete_comment_reaction(comment_id, reaction_name, params = nil, headers = nil)
|
252
|
+
delete("/api/v2/comments/#{comment_id}/reactions/#{reaction_name}", params, headers)
|
253
|
+
end
|
254
|
+
|
255
|
+
# ### Qiita::Client#delete_item_reaction(item_id, reaction_name, params = nil, headers = nil)
|
256
|
+
# Delete an emoji reaction from an item.
|
257
|
+
#
|
258
|
+
def delete_item_reaction(item_id, reaction_name, params = nil, headers = nil)
|
259
|
+
delete("/api/v2/items/#{item_id}/reactions/#{reaction_name}", params, headers)
|
260
|
+
end
|
261
|
+
|
262
|
+
# ### Qiita::Client#list_comment_reactions(comment_id, params = nil, headers = nil)
|
263
|
+
# List emoji reactions of an comment.
|
264
|
+
#
|
265
|
+
def list_comment_reactions(comment_id, params = nil, headers = nil)
|
266
|
+
get("/api/v2/comments/#{comment_id}/reactions", params, headers)
|
267
|
+
end
|
268
|
+
|
269
|
+
# ### Qiita::Client#list_item_reactions(item_id, params = nil, headers = nil)
|
270
|
+
# List emoji reactions of an item.
|
271
|
+
#
|
272
|
+
def list_item_reactions(item_id, params = nil, headers = nil)
|
273
|
+
get("/api/v2/items/#{item_id}/reactions", params, headers)
|
274
|
+
end
|
275
|
+
|
234
276
|
# ### Qiita::Client#list_tags(params = nil, headers = nil)
|
235
277
|
# List tags in newest order.
|
236
278
|
#
|
data/lib/qiita/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qiita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10
|
11
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|