discourse_api 0.6.0 → 0.6.1

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: 5f1bad4fde60c9d97cce5ee385bba64205d60f69
4
- data.tar.gz: c6aa9bac658b00247f9f3519674ef02bc133c2e5
3
+ metadata.gz: 03839d5965051fc89e305bbfab286efdc3b0692e
4
+ data.tar.gz: e6794d1f02adddab8a2429c2e3c1eb95ab98f37a
5
5
  SHA512:
6
- metadata.gz: 6dfb7d8a2e5e4cb7e744a66f4c041b9cac3789101c8231a6891ceab319c7b61db506ec4883803af9da8c61dfdd62189f4e78e8e204b112cfccc86fffcd23b8f5
7
- data.tar.gz: 1d595c6b8f138b8f517294cc8f28f22b127373968dc6d8d16348ff5f15dcbfd756c66b25c8c52fbabc5f451782d88c99ba95fd30bd412a09136e40608cd93d3b
6
+ metadata.gz: 14e05fdda3649ccb71c7cc350f4e056237f5803af5450adb6fc4b1cf5d108967509a6713bb277c3e2b681957f2af7e4b21dc25df7506b3774a2220427ddeb61c
7
+ data.tar.gz: 9b5a76da916d2b54a1d6d489ca044396db57c2f12a68492a4cc8d39455af7450f27b1b55d645ce909115f8b071a002beabe8996d2308f43d43b6ec04f2bac554
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.6.1] - 2015-11-28
6
+ ### Fixed
7
+ - typo in topic_posts method
8
+
5
9
  ## [0.6.0] - 2015-11-27
6
10
  ### Added
7
11
  - get posts in topic by an array of id's
@@ -45,7 +45,7 @@ module DiscourseApi
45
45
 
46
46
  def topic_posts(topic_id, post_ids=[])
47
47
  url = "/t/#{topic_id}/posts.json"
48
- if posts_ids.count > 0
48
+ if post_ids.count > 0
49
49
  url << '?'
50
50
  post_ids.each do |id|
51
51
  url << "post_ids[]=#{id}&"
@@ -1,3 +1,3 @@
1
1
  module DiscourseApi
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-11-27 00:00:00.000000000 Z
13
+ date: 2015-11-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday