the_comments 2.0.1 → 2.1.0

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: 50833c02203fba28ab6aaec5b74b295f7e1727c4
4
- data.tar.gz: 0050dd29db88e8b37ac6b8459146e518cd9ba7e0
3
+ metadata.gz: 1ee632ba5de08ebc509b8bee50ff36a33aad11e2
4
+ data.tar.gz: bd13f415bec98398f1a6fb6490aacf90bf8f2ef2
5
5
  SHA512:
6
- metadata.gz: 0cb0562dffaac6b0cd41b8da0b0298f8d22751b6b405b5755d7d54e37c2d6682682878829b1706ccdf6336369337bbbcd6eb259efb0620ac56e9cd568a777371
7
- data.tar.gz: b89cfab3061c32c2ac02669a97d4ef19f22cee1caf40073e719a99e00f665e346070bd7cb4df8617654241f513d41c595a04774b247e2df8e4037f6553ffe0f0
6
+ metadata.gz: 19588969de25f0760bbe5a55bf60ee38510248e462f84c1a2cff6e6ee85d3496491f889b123d25d8b50a8da0f870ea868d8ff014dc4bacac7633c81da1352b10
7
+ data.tar.gz: afcc6443ea637efd7fda0f0ac74fb292688dad0f3c06dde0d76473eefeda6d65c64197a12126447dc63ea8b0b34ae467535820c66a0af0139845a7530f3e0ef8
data/README.md CHANGED
@@ -30,7 +30,7 @@ TheComments - probably, best commenting system for Rails
30
30
  **Gemfile**
31
31
 
32
32
  ```ruby
33
- gem 'the_comments', "~> 2.0"
33
+ gem "the_comments", "~> 2.0.1"
34
34
 
35
35
  gem 'haml' # or gem 'slim'
36
36
  gem 'awesome_nested_set' # or same gem
@@ -207,7 +207,7 @@ end
207
207
  * Anna Nechaeva (my wife) - for love and my happy life
208
208
  * @tanraya (Andrew Kozlov) - for code review
209
209
  * @solenko (Anton Petrunich) - for mountable routes
210
- * @pyromaniac (Arkadiy Zabazhanov) - for consalting
210
+ * @pyromaniac (Arkadiy Zabazhanov) - for consulting
211
211
 
212
212
  <hr>
213
213
 
@@ -19,9 +19,10 @@ Just look at [Ruby-Toolbox](https://www.ruby-toolbox.com/categories/rails_commen
19
19
  6. TheComments has admin UI based on bootstrap 3
20
20
  7. TheComments is "all-in-one" solutions.<br>
21
21
  It has: Models and Controllers logic (via concerns), Generators, Views, Helper for fast Tree rendering and Admin UI.
22
+ 8. I'll try to help you via skype: **ilya.killich**, if you have problems with TheComments
22
23
 
23
24
  ### TheComments based on:
24
25
 
25
26
  1. [AwesomeNestedSet](https://github.com/collectiveidea/awesome_nested_set) - for comments threading
26
- 2. [TheSortableTree](https://github.com/the-teacher/the_sortable_tree) - for fast render of comments tree
27
+ 2. [TheSortableTree](https://github.com/the-teacher/the_sortable_tree) - for fast rendering of comments tree
27
28
  3. [State Machine](https://github.com/pluginaweek/state_machine) - to provide easy and correct recalculation cache counters on states transitions
data/gem_version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TheComments
2
- VERSION = "2.0.1"
2
+ VERSION = "2.1.0"
3
3
  end
data/lib/the_comments.rb CHANGED
@@ -11,9 +11,9 @@ end
11
11
  # Loading of concerns
12
12
 
13
13
  # controllers
14
- require "../../app/controllers/concerns/controller"
14
+ require File.expand_path('../../app/controllers/concerns/controller.rb', __FILE__)
15
15
 
16
16
  # models
17
17
  %w[ comment_states comment user commentable ].each do |concern|
18
- require "../../app/models/concerns/#{concern}"
18
+ require File.expand_path("../../app/models/concerns/#{concern}.rb", __FILE__)
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya N. Zykin