the_comments 2.1.0 → 2.2.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.
- data/README.md +6 -3
- data/app/helpers/render_comments_tree_helper.rb +1 -1
- data/app/views/the_comments/haml/_comment_edit.html.haml +1 -1
- data/app/views/the_comments/haml/_form.html.haml +1 -1
- data/app/views/the_comments/haml/_manage_controls.html.haml +4 -4
- data/app/views/the_comments/haml/_sidebar.html.haml +11 -11
- data/app/views/the_comments/slim/_comment_edit.html.slim +1 -1
- data/app/views/the_comments/slim/_form.html.slim +1 -1
- data/app/views/the_comments/slim/_manage_controls.html.slim +4 -4
- data/app/views/the_comments/slim/_sidebar.html.slim +11 -11
- data/config/routes.rb +29 -21
- data/docs/advanced_installation.md +4 -1
- data/docs/documentation.md +1 -1
- data/docs/{mountable_routes.md → routes.md} +15 -18
- data/gem_version.rb +1 -1
- data/lib/the_comments.rb +5 -5
- data/spec/dummy_app/.gitignore +1 -0
- data/spec/dummy_app/.rvmrc.example +1 -0
- data/spec/dummy_app/Gemfile +1 -1
- data/spec/dummy_app/app/views/layouts/application.html.haml +1 -1
- data/spec/dummy_app/config/routes.rb +4 -1
- data/the_comments.gemspec +1 -1
- metadata +17 -19
- checksums.yaml +0 -7
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.1.0"
|
34
34
|
|
35
35
|
gem 'haml' # or gem 'slim'
|
36
36
|
gem 'awesome_nested_set' # or same gem
|
@@ -144,7 +144,7 @@ class Post < ActiveRecord::Base
|
|
144
144
|
end
|
145
145
|
```
|
146
146
|
|
147
|
-
### 5.
|
147
|
+
### 5. Add routes
|
148
148
|
|
149
149
|
**config/routes.rb**
|
150
150
|
|
@@ -155,7 +155,10 @@ MyApp::Application.routes.draw do
|
|
155
155
|
|
156
156
|
# ...
|
157
157
|
|
158
|
-
|
158
|
+
# TheComments routes
|
159
|
+
concern :user_comments, TheComments::UserRoutes.new
|
160
|
+
concern :admin_comments, TheComments::AdminRoutes.new
|
161
|
+
resources :comments, concerns: [:user_comments, :admin_comments]
|
159
162
|
end
|
160
163
|
```
|
161
164
|
|
@@ -89,7 +89,7 @@ module RenderCommentsTreeHelper
|
|
89
89
|
|
90
90
|
def moderator_controls
|
91
91
|
if moderator?
|
92
|
-
h.link_to(t('the_comments.edit'), h.
|
92
|
+
h.link_to(t('the_comments.edit'), h.edit_comment_url(@comment), class: :edit)
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
%h3
|
2
2
|
= link_to t('the_comments.new'), '#', id: :new_root_comment
|
3
3
|
|
4
|
-
= form_for
|
4
|
+
= form_for Comment.new, remote: true, authenticity_token: true do |f|
|
5
5
|
.error_notifier{ style: "display:none" }
|
6
6
|
%label= t('the_comments.form.title')
|
7
7
|
%p= f.text_field :title
|
@@ -7,21 +7,21 @@
|
|
7
7
|
|
8
8
|
- to_hide = comment.published? ? hidden : nil
|
9
9
|
- opts = { remote: true, style: to_hide, method: :post }
|
10
|
-
= link_to [
|
10
|
+
= link_to [:to_published, comment], opts.merge(class: "btn btn-primary to_published") do
|
11
11
|
= t('the_comments.to_published')
|
12
12
|
|
13
13
|
- to_hide = comment.draft? ? hidden : nil
|
14
14
|
- opts = { remote: true, style: to_hide, method: :post }
|
15
|
-
= link_to [
|
15
|
+
= link_to [:to_draft, comment], opts.merge(class: "btn btn-warning to_draft") do
|
16
16
|
= t('the_comments.to_draft')
|
17
17
|
|
18
18
|
- to_hide = comment.deleted? ? hidden : nil
|
19
19
|
- opts = { remote: true, style: to_hide, method: :delete, data: { confirm: t('the_comments.delete_confirm') } }
|
20
|
-
= link_to [
|
20
|
+
= link_to [:to_deleted, comment], opts.merge(class: "btn btn-danger to_deleted") do
|
21
21
|
= t('the_comments.to_deleted')
|
22
22
|
|
23
23
|
- opts = { remote: true, method: :post}
|
24
|
-
= link_to [
|
24
|
+
= link_to [:to_spam, comment], opts.merge(class: "btn btn-danger to_spam") do
|
25
25
|
= t('the_comments.to_spam')
|
26
26
|
.col-md-3.text-right
|
27
27
|
= link_to t('the_comments.additional_info'), "#", class: "additional_info btn btn-info"
|
@@ -8,21 +8,21 @@
|
|
8
8
|
|
9
9
|
%h5= t 'the_comments.incoming'
|
10
10
|
%ul
|
11
|
-
%li= link_to t("the_comments.draft_comments", num: cuser.draft_comcoms_count), [
|
12
|
-
%li= link_to t("the_comments.published_comments", num: cuser.published_comcoms_count), [
|
13
|
-
%li= link_to t("the_comments.deleted_comments", num: cuser.deleted_comcoms_count), [
|
14
|
-
%li= link_to t("the_comments.spam_comments", num: cuser.spam_comcoms_count), [
|
11
|
+
%li= link_to t("the_comments.draft_comments", num: cuser.draft_comcoms_count), [:draft, :comments]
|
12
|
+
%li= link_to t("the_comments.published_comments", num: cuser.published_comcoms_count), [:published, :comments]
|
13
|
+
%li= link_to t("the_comments.deleted_comments", num: cuser.deleted_comcoms_count), [:deleted, :comments]
|
14
|
+
%li= link_to t("the_comments.spam_comments", num: cuser.spam_comcoms_count), [:spam, :comments]
|
15
15
|
|
16
16
|
%h5= t 'the_comments.written_by_me'
|
17
17
|
%ul
|
18
|
-
%li= link_to t("the_comments.draft_comments", num: cuser.my_draft_comments.count), [
|
19
|
-
%li= link_to t("the_comments.published_comments", num: cuser.my_published_comments.count), [
|
20
|
-
%li= link_to t("the_comments.my_comments", num: cuser.my_comments_count), [
|
18
|
+
%li= link_to t("the_comments.draft_comments", num: cuser.my_draft_comments.count), [:my_draft, :comments]
|
19
|
+
%li= link_to t("the_comments.published_comments", num: cuser.my_published_comments.count), [:my_published, :comments]
|
20
|
+
%li= link_to t("the_comments.my_comments", num: cuser.my_comments_count), [:my_comments, :comments]
|
21
21
|
|
22
22
|
- if cuser.comments_admin?
|
23
23
|
%h5= t 'the_comments.in_system'
|
24
24
|
%ul
|
25
|
-
%li= link_to t("the_comments.draft_comments", num: Comment.with_state(:draft).count), [
|
26
|
-
%li= link_to t("the_comments.published_comments", num: Comment.with_state(:published).count), [
|
27
|
-
%li= link_to t("the_comments.deleted_comments", num: Comment.with_state(:deleted).count), [
|
28
|
-
%li= link_to t("the_comments.spam_comments", num: Comment.where(spam: true).count), [
|
25
|
+
%li= link_to t("the_comments.draft_comments", num: Comment.with_state(:draft).count), [:total_draft, :comments]
|
26
|
+
%li= link_to t("the_comments.published_comments", num: Comment.with_state(:published).count), [:total_published, :comments]
|
27
|
+
%li= link_to t("the_comments.deleted_comments", num: Comment.with_state(:deleted).count), [:total_deleted, :comments]
|
28
|
+
%li= link_to t("the_comments.spam_comments", num: Comment.where(spam: true).count), [:total_spam, :comments]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
h3
|
2
2
|
= link_to t('the_comments.new'), '#', id: :new_root_comment
|
3
3
|
|
4
|
-
= form_for
|
4
|
+
= form_for Comment.new, remote: true, authenticity_token: true do |f|
|
5
5
|
.error_notifier style: "display:none"
|
6
6
|
label= t('the_comments.form.title')
|
7
7
|
p= f.text_field :title
|
@@ -7,21 +7,21 @@
|
|
7
7
|
|
8
8
|
- to_hide = comment.published? ? hidden : nil
|
9
9
|
- opts = { remote: true, style: to_hide, method: :post }
|
10
|
-
= link_to [
|
10
|
+
= link_to [:to_published, comment], opts.merge(class: "btn btn-primary to_published") do
|
11
11
|
= t('the_comments.to_published')
|
12
12
|
|
13
13
|
- to_hide = comment.draft? ? hidden : nil
|
14
14
|
- opts = { remote: true, style: to_hide, method: :post }
|
15
|
-
= link_to [
|
15
|
+
= link_to [:to_draft, comment], opts.merge(class: "btn btn-warning to_draft") do
|
16
16
|
= t('the_comments.to_draft')
|
17
17
|
|
18
18
|
- to_hide = comment.deleted? ? hidden : nil
|
19
19
|
- opts = { remote: true, style: to_hide, method: :delete, data: { confirm: t('the_comments.delete_confirm') } }
|
20
|
-
= link_to [
|
20
|
+
= link_to [:to_deleted, comment], opts.merge(class: "btn btn-danger to_deleted") do
|
21
21
|
= t('the_comments.to_deleted')
|
22
22
|
|
23
23
|
- opts = { remote: true, method: :post}
|
24
|
-
= link_to [
|
24
|
+
= link_to [:to_spam, comment], opts.merge(class: "btn btn-danger to_spam") do
|
25
25
|
= t('the_comments.to_spam')
|
26
26
|
.col-md-3.text-right
|
27
27
|
= link_to t('the_comments.additional_info'), "#", class: "additional_info btn btn-info"
|
@@ -8,21 +8,21 @@
|
|
8
8
|
|
9
9
|
h5= t 'the_comments.incoming'
|
10
10
|
ul
|
11
|
-
li= link_to t("the_comments.draft_comments", num: cuser.draft_comcoms_count), [
|
12
|
-
li= link_to t("the_comments.published_comments", num: cuser.published_comcoms_count), [
|
13
|
-
li= link_to t("the_comments.deleted_comments", num: cuser.deleted_comcoms_count), [
|
14
|
-
li= link_to t("the_comments.spam_comments", num: cuser.spam_comcoms_count), [
|
11
|
+
li= link_to t("the_comments.draft_comments", num: cuser.draft_comcoms_count), [:draft, :comments]
|
12
|
+
li= link_to t("the_comments.published_comments", num: cuser.published_comcoms_count), [:published, :comments]
|
13
|
+
li= link_to t("the_comments.deleted_comments", num: cuser.deleted_comcoms_count), [:deleted, :comments]
|
14
|
+
li= link_to t("the_comments.spam_comments", num: cuser.spam_comcoms_count), [:spam, :comments]
|
15
15
|
|
16
16
|
h5= t 'the_comments.written_by_me'
|
17
17
|
ul
|
18
|
-
li= link_to t("the_comments.draft_comments", num: cuser.my_draft_comments.count), [
|
19
|
-
li= link_to t("the_comments.published_comments", num: cuser.my_published_comments.count), [
|
20
|
-
li= link_to t("the_comments.my_comments", num: cuser.my_comments_count), [
|
18
|
+
li= link_to t("the_comments.draft_comments", num: cuser.my_draft_comments.count), [:my_draft, :comments]
|
19
|
+
li= link_to t("the_comments.published_comments", num: cuser.my_published_comments.count), [:my_published, :comments]
|
20
|
+
li= link_to t("the_comments.my_comments", num: cuser.my_comments_count), [:my_comments, :comments]
|
21
21
|
|
22
22
|
- if cuser.comments_admin?
|
23
23
|
h5= t 'the_comments.in_system'
|
24
24
|
ul
|
25
|
-
li= link_to t("the_comments.draft_comments", num: Comment.with_state(:draft).count), [
|
26
|
-
li= link_to t("the_comments.published_comments", num: Comment.with_state(:published).count), [
|
27
|
-
li= link_to t("the_comments.deleted_comments", num: Comment.with_state(:deleted).count), [
|
28
|
-
li= link_to t("the_comments.spam_comments", num: Comment.where(spam: true).count), [
|
25
|
+
li= link_to t("the_comments.draft_comments", num: Comment.with_state(:draft).count), [:total_draft, :comments]
|
26
|
+
li= link_to t("the_comments.published_comments", num: Comment.with_state(:published).count), [:total_published, :comments]
|
27
|
+
li= link_to t("the_comments.deleted_comments", num: Comment.with_state(:deleted).count), [:total_deleted, :comments]
|
28
|
+
li= link_to t("the_comments.spam_comments", num: Comment.where(spam: true).count), [:total_spam, :comments]
|
data/config/routes.rb
CHANGED
@@ -1,28 +1,36 @@
|
|
1
|
-
TheComments
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
post :to_published
|
7
|
-
delete :to_deleted
|
8
|
-
end
|
1
|
+
module TheComments
|
2
|
+
class UserRoutes
|
3
|
+
def call mapper, options = {}
|
4
|
+
mapper.collection do
|
5
|
+
mapper.get :manage
|
9
6
|
|
10
|
-
|
11
|
-
|
7
|
+
mapper.get :my_draft
|
8
|
+
mapper.get :my_published
|
9
|
+
mapper.get :my_comments
|
12
10
|
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
mapper.get :draft
|
12
|
+
mapper.get :published
|
13
|
+
mapper.get :deleted
|
14
|
+
mapper.get :spam
|
15
|
+
end
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
mapper.member do
|
18
|
+
mapper.post :to_spam
|
19
|
+
mapper.post :to_draft
|
20
|
+
mapper.post :to_published
|
21
|
+
mapper.delete :to_deleted
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
21
25
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
+
class AdminRoutes
|
27
|
+
def call mapper, options = {}
|
28
|
+
mapper.collection do
|
29
|
+
mapper.get :total_draft
|
30
|
+
mapper.get :total_published
|
31
|
+
mapper.get :total_deleted
|
32
|
+
mapper.get :total_spam
|
33
|
+
end
|
26
34
|
end
|
27
35
|
end
|
28
36
|
end
|
@@ -140,7 +140,10 @@ MyApp::Application.routes.draw do
|
|
140
140
|
|
141
141
|
# ...
|
142
142
|
|
143
|
-
|
143
|
+
# TheComments routes
|
144
|
+
concern :user_comments, TheComments::UserRoutes.new
|
145
|
+
concern :admin_comments, TheComments::AdminRoutes.new
|
146
|
+
resources :comments, concerns: [:user_comments, :admin_comments]
|
144
147
|
end
|
145
148
|
```
|
146
149
|
|
data/docs/documentation.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#### INSTALLATION
|
2
2
|
* :white_check_mark: [ADVANCED INSTALLATION](advanced_installation.md)
|
3
3
|
* :white_check_mark: [ADMIN UI INSTALLATION](admin_ui_installation.md)
|
4
|
-
* :white_check_mark: [
|
4
|
+
* :white_check_mark: [Routing](routes.md)
|
5
5
|
* :white_check_mark: [Generators](generators.md)
|
6
6
|
|
7
7
|
#### API
|
@@ -1,12 +1,6 @@
|
|
1
1
|
← [documentation](documentation.md)
|
2
2
|
|
3
|
-
##
|
4
|
-
|
5
|
-
Now gem has mountable routes. It's was not my idea, but guys said - it's very helpful. So, ok!
|
6
|
-
|
7
|
-
You should mount routes to your app.
|
8
|
-
|
9
|
-
:warning: Default views based on **as: :comments** argument. If, you want to change it - you should customize default views.
|
3
|
+
## TheComments Routes
|
10
4
|
|
11
5
|
**config/routes.rb**
|
12
6
|
|
@@ -17,7 +11,10 @@ MyApp::Application.routes.draw do
|
|
17
11
|
|
18
12
|
# ...
|
19
13
|
|
20
|
-
|
14
|
+
# TheComments routes
|
15
|
+
concern :user_comments, TheComments::UserRoutes.new
|
16
|
+
concern :admin_comments, TheComments::AdminRoutes.new
|
17
|
+
resources :comments, concerns: [:user_comments, :admin_comments]
|
21
18
|
end
|
22
19
|
```
|
23
20
|
|
@@ -60,21 +57,21 @@ And now you can use url helpers with 2 ways:
|
|
60
57
|
### Way 1. Url Helpers
|
61
58
|
|
62
59
|
```ruby
|
63
|
-
= link_to 'link',
|
64
|
-
= link_to 'link',
|
65
|
-
= link_to 'link',
|
60
|
+
= link_to 'link', comments_path
|
61
|
+
= link_to 'link', manage_comments_path
|
62
|
+
= link_to 'link', new_comment_path
|
66
63
|
|
67
|
-
= link_to 'link',
|
68
|
-
= link_to 'link',
|
64
|
+
= link_to 'link', comment_path(@comment)
|
65
|
+
= link_to 'link', to_spam_comment_path(@comment)
|
69
66
|
```
|
70
67
|
|
71
68
|
### Way 2. Array notation
|
72
69
|
|
73
70
|
```ruby
|
74
|
-
= link_to 'link', [
|
75
|
-
= link_to 'link', [
|
76
|
-
= link_to 'link', [
|
71
|
+
= link_to 'link', [:index, :comments]
|
72
|
+
= link_to 'link', [:manage, :comments]
|
73
|
+
= link_to 'link', [:draft, :comments]
|
77
74
|
|
78
|
-
= link_to 'link', [
|
79
|
-
= link_to 'link', [
|
75
|
+
= link_to 'link', [@comment]
|
76
|
+
= link_to 'link', [:to_spam, @comment]
|
80
77
|
```
|
data/gem_version.rb
CHANGED
data/lib/the_comments.rb
CHANGED
@@ -4,16 +4,16 @@ require 'the_sortable_tree'
|
|
4
4
|
require 'the_comments/config'
|
5
5
|
require 'the_comments/version'
|
6
6
|
|
7
|
+
_root_ = File.expand_path('../../', __FILE__)
|
8
|
+
|
7
9
|
module TheComments
|
8
10
|
class Engine < Rails::Engine; end
|
9
11
|
end
|
10
12
|
|
11
13
|
# Loading of concerns
|
14
|
+
require "#{_root_}/config/routes.rb"
|
15
|
+
require "#{_root_}/app/controllers/concerns/controller.rb"
|
12
16
|
|
13
|
-
# controllers
|
14
|
-
require File.expand_path('../../app/controllers/concerns/controller.rb', __FILE__)
|
15
|
-
|
16
|
-
# models
|
17
17
|
%w[ comment_states comment user commentable ].each do |concern|
|
18
|
-
require
|
18
|
+
require "#{_root_}/app/models/concerns/#{concern}.rb"
|
19
19
|
end
|
data/spec/dummy_app/.gitignore
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use ruby-2.0.0-p247@the_comments --create
|
data/spec/dummy_app/Gemfile
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
- if current_user
|
15
15
|
User: #{current_user.username}
|
16
16
|
\|
|
17
|
-
= link_to "Comments Manage (+#{current_user.draft_comcoms_count})",
|
17
|
+
= link_to "Comments Manage (+#{current_user.draft_comcoms_count})", manage_comments_path
|
18
18
|
- else
|
19
19
|
Guest
|
20
20
|
= yield
|
@@ -11,5 +11,8 @@ App::Application.routes.draw do
|
|
11
11
|
|
12
12
|
resources :posts
|
13
13
|
|
14
|
-
|
14
|
+
# TheComments routes
|
15
|
+
concern :user_comments, TheComments::UserRoutes.new
|
16
|
+
concern :admin_comments, TheComments::AdminRoutes.new
|
17
|
+
resources :comments, concerns: [:user_comments, :admin_comments]
|
15
18
|
end
|
data/the_comments.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.email = ["zykin-ilya@ya.ru"]
|
11
11
|
gem.description = %q{ Comments with threading for Rails 4 }
|
12
12
|
gem.summary = %q{ the_comments by the-teacher }
|
13
|
-
gem.homepage = "https://github.com/
|
13
|
+
gem.homepage = "https://github.com/the-teacher/the_comments"
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,43 +1,38 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the_comments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Ilya N. Zykin
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
12
|
+
date: 2013-11-10 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: state_machine
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &82514850 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
|
-
version_requirements:
|
23
|
-
requirements:
|
24
|
-
- - ! '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
24
|
+
version_requirements: *82514850
|
27
25
|
- !ruby/object:Gem::Dependency
|
28
26
|
name: the_sortable_tree
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &82514530 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
30
29
|
requirements:
|
31
30
|
- - ! '>='
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: '0'
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
requirements:
|
38
|
-
- - ! '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
35
|
+
version_requirements: *82514530
|
41
36
|
description: ! ' Comments with threading for Rails 4 '
|
42
37
|
email:
|
43
38
|
- zykin-ilya@ya.ru
|
@@ -103,8 +98,8 @@ files:
|
|
103
98
|
- docs/denormalization_and_recent_comments.md
|
104
99
|
- docs/documentation.md
|
105
100
|
- docs/generators.md
|
106
|
-
- docs/mountable_routes.md
|
107
101
|
- docs/pagination.md
|
102
|
+
- docs/routes.md
|
108
103
|
- docs/screencast.jpg
|
109
104
|
- docs/the_comments.jpg
|
110
105
|
- docs/the_comments_view_1.gif
|
@@ -127,6 +122,7 @@ files:
|
|
127
122
|
- spec/dummy_app/.rspec
|
128
123
|
- spec/dummy_app/.ruby-gemset
|
129
124
|
- spec/dummy_app/.ruby-version
|
125
|
+
- spec/dummy_app/.rvmrc.example
|
130
126
|
- spec/dummy_app/Gemfile
|
131
127
|
- spec/dummy_app/README.md
|
132
128
|
- spec/dummy_app/Rakefile
|
@@ -205,34 +201,36 @@ files:
|
|
205
201
|
- spec/dummy_app/vendor/assets/stylesheets/.keep
|
206
202
|
- the_comments.gemspec
|
207
203
|
- views_converter.rb
|
208
|
-
homepage: https://github.com/
|
204
|
+
homepage: https://github.com/the-teacher/the_comments
|
209
205
|
licenses: []
|
210
|
-
metadata: {}
|
211
206
|
post_install_message:
|
212
207
|
rdoc_options: []
|
213
208
|
require_paths:
|
214
209
|
- lib
|
215
210
|
required_ruby_version: !ruby/object:Gem::Requirement
|
211
|
+
none: false
|
216
212
|
requirements:
|
217
213
|
- - ! '>='
|
218
214
|
- !ruby/object:Gem::Version
|
219
215
|
version: '0'
|
220
216
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
221
218
|
requirements:
|
222
219
|
- - ! '>='
|
223
220
|
- !ruby/object:Gem::Version
|
224
221
|
version: '0'
|
225
222
|
requirements: []
|
226
223
|
rubyforge_project:
|
227
|
-
rubygems_version:
|
224
|
+
rubygems_version: 1.8.15
|
228
225
|
signing_key:
|
229
|
-
specification_version:
|
226
|
+
specification_version: 3
|
230
227
|
summary: the_comments by the-teacher
|
231
228
|
test_files:
|
232
229
|
- spec/dummy_app/.gitignore
|
233
230
|
- spec/dummy_app/.rspec
|
234
231
|
- spec/dummy_app/.ruby-gemset
|
235
232
|
- spec/dummy_app/.ruby-version
|
233
|
+
- spec/dummy_app/.rvmrc.example
|
236
234
|
- spec/dummy_app/Gemfile
|
237
235
|
- spec/dummy_app/README.md
|
238
236
|
- spec/dummy_app/Rakefile
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 1ee632ba5de08ebc509b8bee50ff36a33aad11e2
|
4
|
-
data.tar.gz: bd13f415bec98398f1a6fb6490aacf90bf8f2ef2
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 19588969de25f0760bbe5a55bf60ee38510248e462f84c1a2cff6e6ee85d3496491f889b123d25d8b50a8da0f870ea868d8ff014dc4bacac7633c81da1352b10
|
7
|
-
data.tar.gz: afcc6443ea637efd7fda0f0ac74fb292688dad0f3c06dde0d76473eefeda6d65c64197a12126447dc63ea8b0b34ae467535820c66a0af0139845a7530f3e0ef8
|