simple_discussion 0.9.3 → 0.9.4

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: 51e4842c5231c0e38727a827f611702098fec999
4
- data.tar.gz: adbe142113f0fbfb27f9fdc008a9ee43f712d4e5
3
+ metadata.gz: 834ccd97ab1cd0bbbe2aeade6fd0ca57dbbb9239
4
+ data.tar.gz: cdba66f70c1574b9cfca22c31d97f8004994ffd8
5
5
  SHA512:
6
- metadata.gz: 384f95fab63ec0c666f1c3eabaa83e29cac9ff87f6dab4cd62d660e741ade40ef38f42ca47ff18c0b62ee56c281fb910230d41362ebbef8dffbddf74e65560c1
7
- data.tar.gz: 1dbddb156f0e9df228df2787850dcfec7a8b58f32abfdd32251e6f66f9cea2a4c35ad5ce3a82a97dcbbb94a5cd0da0cc11cf32b4db1c83e2037c2763e1132bcc
6
+ metadata.gz: 2efe0ca3c21542774ee8398cfaec7c5e3c03674c0976c42146769bc1762237f8d2d70dbd9700f25f6d11663665b8423e15903e2e4ef8a6d87b9fb75495514f4d
7
+ data.tar.gz: 0bd0377abdf023db1527498d353d819d30de644f19ff909cc6b3e74d774aa53119418f0677fd77cf64c13b83e817060b398511a13143dbeda7c9d74258405924
data/README.md CHANGED
@@ -4,6 +4,8 @@ SimpleDiscussion is a Rails forum gem extracting the [forum from GoRails](https:
4
4
 
5
5
  Out of the box, SimpleDiscussion comes with styling for Boostrap v4 but you're free to customize the UI as much as you like by installing the views and tweaking the HTML.
6
6
 
7
+ [![GoRails Forum](https://d3vv6lp55qjaqc.cloudfront.net/items/3j2p3o1j0d1O0R1w2j1Y/Screen%20Shot%202017-08-08%20at%203.12.01%20PM.png?X-CloudApp-Visitor-Id=51470&v=d439dcae)](https://d3vv6lp55qjaqc.cloudfront.net/items/3j2p3o1j0d1O0R1w2j1Y/Screen%20Shot%202017-08-08%20at%203.12.01%20PM.png?X-CloudApp-Visitor-Id=51470&v=d439dcae)
8
+
7
9
  ## Installation
8
10
 
9
11
  Before you get started, SimpleDiscussion requires a `User` model in your application (for now).
@@ -119,4 +121,4 @@ The gem is available as open source under the terms of the [MIT License](http://
119
121
 
120
122
  ## Code of Conduct
121
123
 
122
- Everyone interacting in the SimpleDiscussion project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/simple_discussion/blob/master/CODE_OF_CONDUCT.md).
124
+ Everyone interacting in the SimpleDiscussion project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/excid3/simple_discussion/blob/master/CODE_OF_CONDUCT.md).
@@ -53,7 +53,7 @@ class SimpleDiscussion::ForumPostsController < SimpleDiscussion::ApplicationCont
53
53
  end
54
54
 
55
55
  def set_forum_post
56
- if current_user.moderator?
56
+ if is_moderator?
57
57
  @forum_post = @forum_thread.forum_posts.find(params[:id])
58
58
  else
59
59
  @forum_post = current_user.forum_posts.find(params[:id])
@@ -38,7 +38,7 @@
38
38
  <% if is_moderator_or_owner?(@forum_thread) %>
39
39
  <small>
40
40
  <%= link_to "Undo", simple_discussion.unsolved_forum_thread_forum_post_path(@forum_thread, forum_post), method: :put %>
41
- </small
41
+ </small>
42
42
  <% end %>
43
43
  </div>
44
44
  </div>
@@ -1,3 +1,3 @@
1
1
  module SimpleDiscussion
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_discussion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-08 00:00:00.000000000 Z
11
+ date: 2017-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: font-awesome-sass