thredded 0.16.6 → 0.16.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
  SHA256:
3
- metadata.gz: 903f97feaa1caa7429abcaddaeb75baa31065081cdef9beb1b080b9231961be0
4
- data.tar.gz: 7b9bf56abfddf2da79c002bf623c6d5c8e3fdd124a45bfb9e684b7ea1f88c2e3
3
+ metadata.gz: e14701ac4e7b6771dcee3b9f69a724f45ab735c2e2df8a1310112a03dc298e73
4
+ data.tar.gz: 1697f4a81c56b3d6187b17fa567d8e0bc4d61cad423eb9bcc33ab6238e9b4e42
5
5
  SHA512:
6
- metadata.gz: e0d77ddf04ae512ac702cdb8ce062649800095e51e3ed92d4a5bc1f9d0aa042abde28abea3df2a5c9f87f73171e3715bb75c6ecb8265fa1587a7b0672c9fb46e
7
- data.tar.gz: 5013b97d8f96962a6194cfd1377b3b04787f1400d6ec1481737f9fd263c6c9aafcb5e72776ed82df020d3f2a22c6ca61d841f26fafa74337f1604254b6b3f1e7
6
+ metadata.gz: 38d0635f57eea720d944a8a95f3d4f00e7969b00b3f4868652c950cd06ccb0be1777662eddb9276ea0a84389800a1db377606acd1eddf923fca8a01cdbf4c57a
7
+ data.tar.gz: 4886fabf2f478b85b4bcb7cfacc5cbaa64d8381a8d40b12175f3cd8c275e3dcd5fb62eec4345566413dc733d8865778fa8e384e84f5b2dfef1b2c171c04398cc
data/README.md CHANGED
@@ -95,7 +95,7 @@ Then, see the rest of this Readme for more information about using and customizi
95
95
  Add the gem to your Gemfile:
96
96
 
97
97
  ```ruby
98
- gem 'thredded', '~> 0.16.6'
98
+ gem 'thredded', '~> 0.16.7'
99
99
  ```
100
100
 
101
101
  Add the Thredded [initializer] to your parent app by running the install generator.
@@ -8,7 +8,7 @@ module Thredded
8
8
  def pending
9
9
  @posts = Thredded::PostsPageView.new(
10
10
  thredded_current_user,
11
- preload_posts_for_moderation(moderatable_posts.pending_moderation).order_newest_first
11
+ preload_posts_for_moderation(moderatable_posts.pending_moderation).order_oldest_first
12
12
  .send(Kaminari.config.page_method_name, current_page)
13
13
  .preload_first_topic_post
14
14
  )
@@ -24,7 +24,7 @@ module Thredded
24
24
  def activity
25
25
  @posts = Thredded::PostsPageView.new(
26
26
  thredded_current_user,
27
- preload_posts_for_moderation(moderatable_posts).order_oldest_first
27
+ preload_posts_for_moderation(moderatable_posts).order_newest_first
28
28
  .send(Kaminari.config.page_method_name, current_page)
29
29
  .preload_first_topic_post
30
30
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Thredded
4
- VERSION = '0.16.6'
4
+ VERSION = '0.16.7'
5
5
  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.16.6
4
+ version: 0.16.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Oliveira