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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7751bb77d63663884ff92f87d34b6dc96803cfe6c0600a25fdcbfcba965398b5
4
- data.tar.gz: 1957c02159087873d698ad51c355f82f21e03871cca48c5278b35790027490dc
3
+ metadata.gz: 63578af46fcacce36a692c7ce114e8cdb4b2afda23a0a6cef310b87c44518b84
4
+ data.tar.gz: 11fcf8ac8482d0b06fba04c7adad7567d5ea2e111d9b8a7d6a19eddfb289b1b4
5
5
  SHA512:
6
- metadata.gz: 8ac17e058a704dbc07ed571118fd8a4bd5be2722d19867305a081711ea787597ce7ccc581903b702f1349dc9c31e49e279c4b759e20658bb6c6ec1290b0067b1
7
- data.tar.gz: '0971e59124c23adb2e3dca41e0985142586523cabec565cb4696e92e7efb6b7fb5dc8302db42af09b79050394a7067e85cda42efe51c884aff184ae7bd75d34b'
6
+ metadata.gz: 004cc6e682e7bf6851565716884448a4a107e8fd6722573f6410ef75b512e13957c1a5226c96b2de53a15ee984335eb774897e9461912d7d095173310a3bfd17
7
+ data.tar.gz: 06abab5f8ac458c2ef607e4bac26bb46fc17a689a0a32b108ffe293c92bf59851f19e6937d7a2dc3e9351923dd96e54016032bda492660f60c8d995ae499748b
@@ -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']
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module DiscourseApi
3
- VERSION = "0.39.2"
3
+ VERSION = "0.39.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.2
4
+ version: 0.39.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron