discourse_cli 0.4.0 → 0.5.0

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
  SHA1:
3
- metadata.gz: fd08a18ef237040b7897b7b04b27b2394e31a072
4
- data.tar.gz: e7e576fa93fa2b4c92455dec605b8a3dd22a5465
3
+ metadata.gz: ac2cdc75959cf6072ff1aed9310b6f55e7977559
4
+ data.tar.gz: d46ead61657b23f89a8c4db1671ce17fd8df386a
5
5
  SHA512:
6
- metadata.gz: 4a91614235bb4b38d5d0803e75be2af6e3a30b110442b0de8d1425f45943d543fc1c130f50879294a3118fe5a9d40abb818587c7e4f42205118f785419fe3602
7
- data.tar.gz: 0dfc858e89c01d511e864eed7642aa402145a644df7b577a8eea5c169d0c2aca97eb776a49cd2b9965500d25c1b2019905196c0e65a091b8fc68fa91726af429
6
+ metadata.gz: faef24a4fa705237b92ef8b4f29733bebc62deb07e4628e1703c0d6a542f252decd3f13fb21f83c9eb8ae0e211576985a3269960fe92f96da458bebf50a00862
7
+ data.tar.gz: b02cede73e6c74a4b1bcf95e80faaed0b943f1346191cccabe2e79c3cf60887df55be6199f4a1a21f9091e7e0925866359787f67c3379ff7722670fa905484b1
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.5.0] - 2016-05-07
6
+ ### Added
7
+ - added `users` command
8
+
5
9
  ## [0.4.0] - 2016-05-02
6
10
  ### Added
7
11
  - added `sub_categories` command
data/README.md CHANGED
@@ -32,6 +32,7 @@ Type `discourse` to see a list of available commands:
32
32
  discourse categories # returns a list of categories
33
33
  discourse help [COMMAND] # Describe available commands or one specific command
34
34
  discourse posts TOPIC_ID # returns a list of posts in the specified topic
35
+ discourse sub_categories PARENT_CATEGORY_ID # returns a list of sub-categories in the specified category
35
36
  discourse topics CATEGORY_SLUG # returns a list of all the topics in the specified category
36
37
 
37
38
  To see a list of categories:
@@ -89,5 +89,12 @@ module DiscourseCli
89
89
  end
90
90
 
91
91
  end
92
+
93
+ desc "users", "returns a list of users"
94
+ def users
95
+ client = DiscourseCli::Client.client
96
+ u = client.group_members('trust_level_0')
97
+ puts u
98
+ end
92
99
  end
93
100
  end
@@ -1,3 +1,3 @@
1
1
  module DiscourseCli
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Erickson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-03 00:00:00.000000000 Z
11
+ date: 2016-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -108,7 +108,6 @@ files:
108
108
  - bin/console
109
109
  - bin/discourse
110
110
  - bin/setup
111
- - discourse_cli-0.3.0.gem
112
111
  - discourse_cli.gemspec
113
112
  - lib/discourse_cli.rb
114
113
  - lib/discourse_cli/cli.rb
Binary file