thredded 0.0.6 → 0.0.7

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: f2b1b30c7d401d8865c3c1b5aa025f5fe7c585a2
4
- data.tar.gz: 65bef6b5ef3b73d00461316ab0d4b9da7fb3f1b5
3
+ metadata.gz: 16d3cfd85997b2495d072774e55f3c491824d21b
4
+ data.tar.gz: 0adb8511cd83a9ab1f7c5c0275d30778f466e8c9
5
5
  SHA512:
6
- metadata.gz: 7657623a5d949f84449aaac44b6602d9ce198cbb760311ef0ed1d36f70843bc89343aaf52b03b7cfbfa40afb305c0a4894952f808ea0fcf8f3b1c203c9c75f01
7
- data.tar.gz: e7bdfa65aeccd12a7465fbb43a3a45459a5888adb197ede4c5440e6e6013b797f292f0ed16df226fff475f66dc3cd87f50c39ee31c8396835fa7d7c8f12c4ac4
6
+ metadata.gz: 7e10056d0888670f993b7b3ee062e8a8214d2c72f7c4da9d2b91d55c5faf664f6d7677d54a0f655739883e1cdf28e707a78dfa70a28c5fc4250333d622f1cee2
7
+ data.tar.gz: cbd651748b820ab011e19c4af9586910906d26a4a5fe0574284a7eced94383be631adea6a30e2a3527979ab239e9f2845c6645a409e79bcd0b330398fd6b5ca6
@@ -66,7 +66,7 @@ module Thredded
66
66
  if query.empty?
67
67
  []
68
68
  else
69
- sql_builder = SearchSqlBuilder.new(query, messageboard)
69
+ sql_builder = Thredded::SearchSqlBuilder.new(query, messageboard)
70
70
  sql = sql_builder.build
71
71
  sql_params = [sql].concat(sql_builder.binds)
72
72
  find_by_sql sql_params
@@ -19,7 +19,8 @@
19
19
  <section class="topics" id="topics_listing">
20
20
  <div class="currently">
21
21
  <%= render partial: 'thredded/topics/topic_condensed',
22
- collection: @topics.map(&:decorate), as: :topic %>
22
+ collection: Thredded::UserTopicDecorator.decorate_all(current_user, @topics),
23
+ as: :topic %>
23
24
  </div>
24
25
  </section>
25
26
 
@@ -1,3 +1,3 @@
1
1
  module Thredded
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thredded
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Oliveira
@@ -516,7 +516,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
516
516
  version: '0'
517
517
  requirements: []
518
518
  rubyforge_project:
519
- rubygems_version: 2.1.10
519
+ rubygems_version: 2.0.7
520
520
  signing_key:
521
521
  specification_version: 4
522
522
  summary: A forum engine