qiita 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/qiita/resource_based_methods.rb +23 -2
- 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: b73ed1f4e2345af8cc1b5d305efce642ae7451a1
|
4
|
+
data.tar.gz: 4534157d78d340a0bee5bd598ce5d5618dbb7249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4e5c0360d7a975aa84659a8d1f2e187a4c83acfee2779ad21847b634846518022ecde8a2c20f6013e7981c13149c8a46f7e3d59d9bad4039ad5ea6075974c51
|
7
|
+
data.tar.gz: 3c4d6e4ae5c5f77b1470b0e55fd8bcd17bdf692fbde77825d4f9cbb2cc7e667a7ef47d67cd782cc26380ae879757c85fa90fb67ad7e33f006f872ba0ad1e0f36
|
data/CHANGELOG.md
CHANGED
@@ -245,6 +245,13 @@ module Qiita
|
|
245
245
|
post("/api/v2/items/#{item_id}/reactions", params, headers)
|
246
246
|
end
|
247
247
|
|
248
|
+
# ### Qiita::Client#create_project_reaction(project_id, params = nil, headers = nil)
|
249
|
+
# Add an emoji reaction to an project.
|
250
|
+
#
|
251
|
+
def create_project_reaction(project_id, params = nil, headers = nil)
|
252
|
+
post("/api/v2/projects/#{project_id}/reactions", params, headers)
|
253
|
+
end
|
254
|
+
|
248
255
|
# ### Qiita::Client#delete_comment_reaction(comment_id, reaction_name, params = nil, headers = nil)
|
249
256
|
# Delete an emoji reaction from a comment.
|
250
257
|
#
|
@@ -259,20 +266,34 @@ module Qiita
|
|
259
266
|
delete("/api/v2/items/#{item_id}/reactions/#{reaction_name}", params, headers)
|
260
267
|
end
|
261
268
|
|
269
|
+
# ### Qiita::Client#delete_project_reaction(project_id, reaction_name, params = nil, headers = nil)
|
270
|
+
# Delete an emoji reaction from an project.
|
271
|
+
#
|
272
|
+
def delete_project_reaction(project_id, reaction_name, params = nil, headers = nil)
|
273
|
+
delete("/api/v2/projects/#{project_id}/reactions/#{reaction_name}", params, headers)
|
274
|
+
end
|
275
|
+
|
262
276
|
# ### Qiita::Client#list_comment_reactions(comment_id, params = nil, headers = nil)
|
263
|
-
# List emoji reactions of an comment.
|
277
|
+
# List emoji reactions of an comment in recently-created order.
|
264
278
|
#
|
265
279
|
def list_comment_reactions(comment_id, params = nil, headers = nil)
|
266
280
|
get("/api/v2/comments/#{comment_id}/reactions", params, headers)
|
267
281
|
end
|
268
282
|
|
269
283
|
# ### Qiita::Client#list_item_reactions(item_id, params = nil, headers = nil)
|
270
|
-
# List emoji reactions of an item.
|
284
|
+
# List emoji reactions of an item in recently-created order.
|
271
285
|
#
|
272
286
|
def list_item_reactions(item_id, params = nil, headers = nil)
|
273
287
|
get("/api/v2/items/#{item_id}/reactions", params, headers)
|
274
288
|
end
|
275
289
|
|
290
|
+
# ### Qiita::Client#list_project_reactions(project_id, params = nil, headers = nil)
|
291
|
+
# List emoji reactions of an project in recently-created order.
|
292
|
+
#
|
293
|
+
def list_project_reactions(project_id, params = nil, headers = nil)
|
294
|
+
get("/api/v2/projects/#{project_id}/reactions", params, headers)
|
295
|
+
end
|
296
|
+
|
276
297
|
# ### Qiita::Client#list_tags(params = nil, headers = nil)
|
277
298
|
# List tags in newest order.
|
278
299
|
#
|
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.5
|
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-11-
|
11
|
+
date: 2016-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|