discourse_api 0.23.1 → 0.24.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9485215938d611f4385eeff6d7beaeb1a28c50eb
4
- data.tar.gz: 7aacb63d8ca833acbbacc0b1a1f68db67a32cc94
3
+ metadata.gz: 7035ac6290f7d29c21b40e4b757be7accf00f8c3
4
+ data.tar.gz: e9904cd1909edf0897e408bf39be92e95718cfcd
5
5
  SHA512:
6
- metadata.gz: b5f8b124460687e19f024c207c48c587a1b1fdbf591678ecb7e0f8070e73afc984909ac048b40b7b6746655e74888e37765da81590699c3c46ec1fb76c4c9fb4
7
- data.tar.gz: 9be117e3d8c81a374f0207d8408f9f2aa040cef020ae7215104a32cc13f189e4e8f5ac8983c6997fbe8dc76429e51e6785c5080418749ac4aabb130cf6076d65
6
+ metadata.gz: 20e661ccc7fb697d732bebc1aad5819086dbc693885c8de0461bc37bfaa2428cc3f2e89258997fe48d0d5548d89fa612bba6c2b78a7daa5f94801fb2f1d23cf5
7
+ data.tar.gz: ddda92734e27df622b4633bbe88d99b72744dd52c5c52c904a38fda95c5ae157710bcf4754fd00527476b3e5d26bc535b6cff688d8358ea8e0eaeee23ef821b2
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.24.0] - 2018-05-30
6
+ ### Added
7
+ - Added support for custom `user_fields` when creating a user
8
+
5
9
  ## [0.23.1] - 2018-05-24
6
10
  ### Fixed
7
11
  - Can now change `api_username` without creating a new client
@@ -48,7 +48,7 @@ module DiscourseApi
48
48
  def create_user(args)
49
49
  args = API.params(args)
50
50
  .required(:name, :email, :password, :username)
51
- .optional(:active, :staged)
51
+ .optional(:active, :staged, :user_fields)
52
52
  .to_h
53
53
  post("/users", args)
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module DiscourseApi
2
- VERSION = "0.23.1"
2
+ VERSION = "0.24.0"
3
3
  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.23.1
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-05-24 00:00:00.000000000 Z
14
+ date: 2018-05-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: faraday