discourse_api 0.39.2 → 0.39.3
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/lib/discourse_api/api/categories.rb +4 -2
- data/lib/discourse_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63578af46fcacce36a692c7ce114e8cdb4b2afda23a0a6cef310b87c44518b84
|
4
|
+
data.tar.gz: 11fcf8ac8482d0b06fba04c7adad7567d5ea2e111d9b8a7d6a19eddfb289b1b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 004cc6e682e7bf6851565716884448a4a107e8fd6722573f6410ef75b512e13957c1a5226c96b2de53a15ee984335eb774897e9461912d7d095173310a3bfd17
|
7
|
+
data.tar.gz: 06abab5f8ac458c2ef607e4bac26bb46fc17a689a0a32b108ffe293c92bf59851f19e6937d7a2dc3e9351923dd96e54016032bda492660f60c8d995ae499748b
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [0.39.3] - 2020-04-30
|
6
|
+
### Fixed
|
7
|
+
- Add `reviewable_by_group_name` to categories
|
8
|
+
|
5
9
|
## [0.39.2] - 2020-04-30
|
6
10
|
### Fixed
|
7
11
|
- Add `members_visibility_level` to group
|
@@ -9,7 +9,8 @@ module DiscourseApi
|
|
9
9
|
args = API.params(args)
|
10
10
|
.required(:name, :color, :text_color)
|
11
11
|
.optional(:slug, :permissions, :auto_close_hours, :auto_close_based_on_last_post, :position, :email_in,
|
12
|
-
:email_in_allow_strangers, :logo_url, :background_url, :allow_badges, :topic_template, :custom_fields, :description
|
12
|
+
:email_in_allow_strangers, :logo_url, :background_url, :allow_badges, :topic_template, :custom_fields, :description,
|
13
|
+
:reviewable_by_group_name, :show_subcategory_list, :subcategory_list_style)
|
13
14
|
.default(parent_category_id: nil)
|
14
15
|
response = post("/categories", args)
|
15
16
|
response['category']
|
@@ -20,7 +21,8 @@ module DiscourseApi
|
|
20
21
|
args = API.params(args)
|
21
22
|
.required(:id, :name, :color, :text_color)
|
22
23
|
.optional(:slug, :permissions, :auto_close_hours, :auto_close_based_on_last_post, :position, :email_in,
|
23
|
-
:email_in_allow_strangers, :logo_url, :background_url, :allow_badges, :topic_template, :custom_fields, :description
|
24
|
+
:email_in_allow_strangers, :logo_url, :background_url, :allow_badges, :topic_template, :custom_fields, :description,
|
25
|
+
:reviewable_by_group_name, :show_subcategory_list, :subcategory_list_style)
|
24
26
|
.default(parent_category_id: nil)
|
25
27
|
response = put("/categories/#{category_id}", args)
|
26
28
|
response['body']['category'] if response['body']
|