acts_as_commentable_with_threading 1.1.3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +16 -0
- data/Gemfile +14 -7
- data/Gemfile.lock +76 -73
- data/README.md +2 -0
- data/Rakefile +6 -20
- data/acts_as_commentable_with_threading.gemspec +5 -7
- data/gemfiles/Gemfile.rails-3.0 +24 -0
- data/gemfiles/Gemfile.rails-3.1 +24 -0
- data/gemfiles/Gemfile.rails-3.2 +24 -0
- data/gemfiles/Gemfile.rails-4.0 +24 -0
- data/gemfiles/Gemfile.rails-4.1 +24 -0
- data/lib/generators/acts_as_commentable_with_threading_migration/templates/migration.rb +4 -4
- data/spec/commentable_spec.rb +1 -1
- metadata +26 -68
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f74f01978ac69cad2be02991c7992184c952a5cc
|
4
|
+
data.tar.gz: 740d25a17a2edb5c65ed6ae78aaccd96ab2002a7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7a3037ed9678d47db2f192be9dd3557359ce56e75eea1c960aeb46796414037ba682321a53fc2ab4d805e38fbc0cc6c32fe14e4a3c1236577b6b1d5a4b610123
|
7
|
+
data.tar.gz: 0a34fb1170130549d2fce9a1cb99d2f1836b2f278a4869d3f330e63b2cc678e9f4b04f46792c30beb6dc726c567827d0123f76f15208c6bd843555544bd69350
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
gemfile:
|
2
|
+
- gemfiles/Gemfile.rails-3.0
|
3
|
+
- gemfiles/Gemfile.rails-3.1
|
4
|
+
- gemfiles/Gemfile.rails-3.2
|
5
|
+
- gemfiles/Gemfile.rails-4.0
|
6
|
+
- gemfiles/Gemfile.rails-4.1
|
7
|
+
rvm:
|
8
|
+
- 1.9.3
|
9
|
+
- 2.0.0
|
10
|
+
- 2.1.0
|
11
|
+
- jruby-19mode
|
12
|
+
- rbx
|
13
|
+
matrix:
|
14
|
+
allow_failures:
|
15
|
+
- gemfile: gemfiles/Gemfile.rails-4.1
|
16
|
+
rvm: jruby-19mode
|
data/Gemfile
CHANGED
@@ -1,13 +1,20 @@
|
|
1
1
|
# Generated from /Users/light/work/my/acts_as_commentable_with_threading/acts_as_commentable_with_threading.gemspec
|
2
|
-
source
|
3
|
-
|
4
|
-
gem "
|
5
|
-
gem "
|
2
|
+
source 'http://rubygems.org'
|
3
|
+
|
4
|
+
gem "activerecord", "~> 4.0"
|
5
|
+
gem "activesupport", "~> 4.0"
|
6
|
+
gem "awesome_nested_set", "~> 3.0.0.rc.2"
|
7
|
+
|
8
|
+
platforms :rbx do
|
9
|
+
gem 'rubysl', '~> 2.0'
|
10
|
+
gem 'rubinius-developer_tools'
|
11
|
+
end
|
6
12
|
|
7
13
|
group :development do
|
8
14
|
gem "rake", ">= 0"
|
9
15
|
gem "bundler"
|
10
|
-
gem "rspec"
|
11
|
-
gem
|
12
|
-
gem
|
16
|
+
gem "rspec"
|
17
|
+
gem 'activerecord-jdbcsqlite3-adapter', :platforms => :jruby
|
18
|
+
gem 'sqlite3', :platforms => :ruby
|
19
|
+
gem "rails", "~> 4.0"
|
13
20
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,96 +1,99 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (
|
5
|
-
actionpack (=
|
6
|
-
mail (~> 2.4
|
7
|
-
actionpack (
|
8
|
-
|
9
|
-
|
10
|
-
builder (~> 3.0.0)
|
4
|
+
actionmailer (4.0.1)
|
5
|
+
actionpack (= 4.0.1)
|
6
|
+
mail (~> 2.5.4)
|
7
|
+
actionpack (4.0.1)
|
8
|
+
activesupport (= 4.0.1)
|
9
|
+
builder (~> 3.1.0)
|
11
10
|
erubis (~> 2.7.0)
|
12
|
-
|
13
|
-
rack (~>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
11
|
+
rack (~> 1.5.2)
|
12
|
+
rack-test (~> 0.6.2)
|
13
|
+
activemodel (4.0.1)
|
14
|
+
activesupport (= 4.0.1)
|
15
|
+
builder (~> 3.1.0)
|
16
|
+
activerecord (4.0.1)
|
17
|
+
activemodel (= 4.0.1)
|
18
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
19
|
+
activesupport (= 4.0.1)
|
20
|
+
arel (~> 4.0.0)
|
21
|
+
activerecord-deprecated_finders (1.0.3)
|
22
|
+
activesupport (4.0.1)
|
23
|
+
i18n (~> 0.6, >= 0.6.4)
|
24
|
+
minitest (~> 4.2)
|
25
|
+
multi_json (~> 1.3)
|
26
|
+
thread_safe (~> 0.1)
|
27
|
+
tzinfo (~> 0.3.37)
|
28
|
+
arel (4.0.1)
|
29
|
+
atomic (1.1.14)
|
30
|
+
awesome_nested_set (3.0.0.rc.2)
|
31
|
+
activerecord (~> 4.0.0)
|
32
|
+
builder (3.1.4)
|
33
|
+
diff-lcs (1.2.5)
|
35
34
|
erubis (2.7.0)
|
36
|
-
hike (1.2.
|
37
|
-
i18n (0.6.
|
38
|
-
|
39
|
-
json (1.6.5)
|
40
|
-
mail (2.4.4)
|
41
|
-
i18n (>= 0.4.0)
|
35
|
+
hike (1.2.3)
|
36
|
+
i18n (0.6.5)
|
37
|
+
mail (2.5.4)
|
42
38
|
mime-types (~> 1.16)
|
43
39
|
treetop (~> 1.4.8)
|
44
|
-
mime-types (1.
|
45
|
-
|
40
|
+
mime-types (1.25)
|
41
|
+
minitest (4.7.5)
|
42
|
+
multi_json (1.8.2)
|
46
43
|
polyglot (0.3.3)
|
47
|
-
rack (1.
|
48
|
-
rack-
|
49
|
-
rack (>= 0.4)
|
50
|
-
rack-ssl (1.3.2)
|
51
|
-
rack
|
52
|
-
rack-test (0.6.1)
|
44
|
+
rack (1.5.2)
|
45
|
+
rack-test (0.6.2)
|
53
46
|
rack (>= 1.0)
|
54
|
-
rails (
|
55
|
-
actionmailer (=
|
56
|
-
actionpack (=
|
57
|
-
activerecord (=
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
railties (
|
63
|
-
actionpack (=
|
64
|
-
activesupport (=
|
65
|
-
rack-ssl (~> 1.3.2)
|
47
|
+
rails (4.0.1)
|
48
|
+
actionmailer (= 4.0.1)
|
49
|
+
actionpack (= 4.0.1)
|
50
|
+
activerecord (= 4.0.1)
|
51
|
+
activesupport (= 4.0.1)
|
52
|
+
bundler (>= 1.3.0, < 2.0)
|
53
|
+
railties (= 4.0.1)
|
54
|
+
sprockets-rails (~> 2.0.0)
|
55
|
+
railties (4.0.1)
|
56
|
+
actionpack (= 4.0.1)
|
57
|
+
activesupport (= 4.0.1)
|
66
58
|
rake (>= 0.8.7)
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
59
|
+
thor (>= 0.18.1, < 2.0)
|
60
|
+
rake (10.1.0)
|
61
|
+
rspec (2.14.1)
|
62
|
+
rspec-core (~> 2.14.0)
|
63
|
+
rspec-expectations (~> 2.14.0)
|
64
|
+
rspec-mocks (~> 2.14.0)
|
65
|
+
rspec-core (2.14.7)
|
66
|
+
rspec-expectations (2.14.4)
|
67
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
68
|
+
rspec-mocks (2.14.4)
|
69
|
+
sprockets (2.10.0)
|
74
70
|
hike (~> 1.2)
|
71
|
+
multi_json (~> 1.0)
|
75
72
|
rack (~> 1.0)
|
76
73
|
tilt (~> 1.1, != 1.3.0)
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
74
|
+
sprockets-rails (2.0.1)
|
75
|
+
actionpack (>= 3.0)
|
76
|
+
activesupport (>= 3.0)
|
77
|
+
sprockets (~> 2.8)
|
78
|
+
sqlite3 (1.3.8)
|
79
|
+
thor (0.18.1)
|
80
|
+
thread_safe (0.1.3)
|
81
|
+
atomic
|
82
|
+
tilt (1.4.1)
|
83
|
+
treetop (1.4.15)
|
81
84
|
polyglot
|
82
85
|
polyglot (>= 0.3.1)
|
83
|
-
tzinfo (0.3.
|
86
|
+
tzinfo (0.3.38)
|
84
87
|
|
85
88
|
PLATFORMS
|
86
89
|
ruby
|
87
90
|
|
88
91
|
DEPENDENCIES
|
89
|
-
activerecord (~>
|
90
|
-
activesupport (~>
|
91
|
-
awesome_nested_set (~>
|
92
|
+
activerecord (~> 4.0)
|
93
|
+
activesupport (~> 4.0)
|
94
|
+
awesome_nested_set (~> 3.0.0.rc.2)
|
92
95
|
bundler
|
93
|
-
rails (~>
|
96
|
+
rails (~> 4.0)
|
94
97
|
rake
|
95
|
-
rspec
|
98
|
+
rspec
|
96
99
|
sqlite3
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,28 +1,14 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
require 'rubygems/package_task'
|
4
|
-
require 'spec'
|
5
|
-
require 'spec/rake/spectask'
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
6
3
|
|
7
|
-
|
8
|
-
NAME = "acts_as_commentable_with_threading"
|
9
|
-
GEM_VERSION = "1.0.0"
|
10
|
-
AUTHOR = "Evan Light"
|
11
|
-
EMAIL = "evan@tripledogdare.net"
|
12
|
-
SUMMARY = "Plugin/gem that provides threaded comment functionality"
|
4
|
+
require 'rspec/core/rake_task'
|
13
5
|
|
14
|
-
|
15
|
-
|
16
|
-
Gem::PackageTask.new(spec) do |pkg|
|
17
|
-
pkg.gem_spec = spec
|
18
|
-
end
|
19
|
-
|
20
|
-
Spec::Rake::SpecTask.new do |t|
|
21
|
-
t.spec_files = FileList['spec/**_spec.rb']
|
22
|
-
end
|
6
|
+
desc "Run specs"
|
7
|
+
RSpec::Core::RakeTask.new(:spec)
|
23
8
|
|
24
9
|
task :install => [:package] do
|
25
10
|
sh %{sudo gem install pkg/#{NAME}-#{GEM_VERSION}}
|
26
11
|
end
|
27
12
|
|
13
|
+
desc 'Default: run specs.'
|
28
14
|
task :default => :spec
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "acts_as_commentable_with_threading"
|
3
|
-
s.version = "1.
|
4
|
-
s.date = "
|
3
|
+
s.version = "1.2.0"
|
4
|
+
s.date = "2014-01-10"
|
5
5
|
s.summary = "Polymorphic comments Rails gem - Rails 3+ only"
|
6
6
|
s.email = "evan@tripledogdare.net"
|
7
7
|
s.homepage = "http://github.com/elight/acts_as_commentable_with_threading"
|
@@ -11,12 +11,10 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.test_files = ["spec/commentable_spec.rb", "spec/comment_spec.rb", "spec/spec_helper.rb", "spec/db/database.yml", "spec/db/schema.rb"]
|
12
12
|
|
13
13
|
s.add_development_dependency 'rake'
|
14
|
-
s.add_development_dependency '
|
15
|
-
s.add_development_dependency '
|
16
|
-
s.add_development_dependency 'sqlite3'
|
17
|
-
s.add_development_dependency 'rails', '~> 3.0'
|
14
|
+
s.add_development_dependency 'rspec', '~> 2.4'
|
15
|
+
s.add_development_dependency 'rails', '>= 3.0'
|
18
16
|
|
19
17
|
s.add_dependency 'activerecord', '>= 3.0'
|
20
|
-
s.add_dependency 'activesupport', '
|
18
|
+
s.add_dependency 'activesupport', '>= 3.0'
|
21
19
|
s.add_dependency 'awesome_nested_set', '>= 2.0'
|
22
20
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
source 'http://rubygems.org'
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem 'activerecord', '~> 3.0.0'
|
6
|
+
gem 'activesupport', '~> 3.0.0'
|
7
|
+
gem "awesome_nested_set", "~> 2.0.0"
|
8
|
+
|
9
|
+
platforms :rbx do
|
10
|
+
gem 'rubysl', '~> 2.0'
|
11
|
+
gem 'rubinius-developer_tools'
|
12
|
+
end
|
13
|
+
|
14
|
+
group :development do
|
15
|
+
gem 'rake'
|
16
|
+
gem 'activerecord-jdbcsqlite3-adapter', :platforms => :jruby
|
17
|
+
gem 'sqlite3', :platforms => :ruby
|
18
|
+
gem 'rails', '~> 3.0.0'
|
19
|
+
end
|
20
|
+
|
21
|
+
group :development, :test do
|
22
|
+
gem 'rspec', '~> 2.4'
|
23
|
+
gem 'rspec-rails', '~> 2.4'
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
source 'http://rubygems.org'
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem 'activerecord', '~> 3.1.0'
|
6
|
+
gem 'activesupport', '~> 3.1.0'
|
7
|
+
gem "awesome_nested_set", "~> 2.0.0"
|
8
|
+
|
9
|
+
platforms :rbx do
|
10
|
+
gem 'rubysl', '~> 2.0'
|
11
|
+
gem 'rubinius-developer_tools'
|
12
|
+
end
|
13
|
+
|
14
|
+
group :development do
|
15
|
+
gem 'rake'
|
16
|
+
gem 'activerecord-jdbcsqlite3-adapter', :platforms => :jruby
|
17
|
+
gem 'sqlite3', :platforms => :ruby
|
18
|
+
gem 'rails', '~> 3.1.0'
|
19
|
+
end
|
20
|
+
|
21
|
+
group :development, :test do
|
22
|
+
gem 'rspec', '~> 2.4'
|
23
|
+
gem 'rspec-rails', '~> 2.4'
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
source 'http://rubygems.org'
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem 'activerecord', '~> 3.2.0'
|
6
|
+
gem 'activesupport', '~> 3.2.0'
|
7
|
+
gem "awesome_nested_set", "~> 2.1.0"
|
8
|
+
|
9
|
+
platforms :rbx do
|
10
|
+
gem 'rubysl', '~> 2.0'
|
11
|
+
gem 'rubinius-developer_tools'
|
12
|
+
end
|
13
|
+
|
14
|
+
group :development do
|
15
|
+
gem 'rake'
|
16
|
+
gem 'activerecord-jdbcsqlite3-adapter', :platforms => :jruby
|
17
|
+
gem 'sqlite3', :platforms => :ruby
|
18
|
+
gem 'rails', '~> 3.2.0'
|
19
|
+
end
|
20
|
+
|
21
|
+
group :development, :test do
|
22
|
+
gem 'rspec', '~> 2.4'
|
23
|
+
gem 'rspec-rails', '~> 2.4'
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
source 'http://rubygems.org'
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem 'activerecord', '~> 4.0.0'
|
6
|
+
gem 'activesupport', '~> 4.0.0'
|
7
|
+
gem 'awesome_nested_set','~> 3.0.0.rc.2'
|
8
|
+
|
9
|
+
platforms :rbx do
|
10
|
+
gem 'rubysl', '~> 2.0'
|
11
|
+
gem 'rubinius-developer_tools'
|
12
|
+
end
|
13
|
+
|
14
|
+
group :development do
|
15
|
+
gem 'rake'
|
16
|
+
gem 'activerecord-jdbcsqlite3-adapter', :platforms => :jruby
|
17
|
+
gem 'sqlite3', :platforms => :ruby
|
18
|
+
gem 'rails', '~> 4.0.0'
|
19
|
+
end
|
20
|
+
|
21
|
+
group :development, :test do
|
22
|
+
gem 'rspec', '~> 2.4'
|
23
|
+
gem 'rspec-rails', '~> 2.4'
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
source 'http://rubygems.org'
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem 'activerecord', '~> 4.1.0.beta1'
|
6
|
+
gem 'activesupport', '~> 4.1.0.beta1'
|
7
|
+
gem 'awesome_nested_set','~> 3.0.0.rc.2'
|
8
|
+
|
9
|
+
platforms :rbx do
|
10
|
+
gem 'rubysl', '~> 2.0'
|
11
|
+
gem 'rubinius-developer_tools'
|
12
|
+
end
|
13
|
+
|
14
|
+
group :development do
|
15
|
+
gem 'rake'
|
16
|
+
gem 'activerecord-jdbcsqlite3-adapter', :platforms => :jruby
|
17
|
+
gem 'sqlite3', :platforms => :ruby
|
18
|
+
gem 'rails', '~> 4.1.0.beta1'
|
19
|
+
end
|
20
|
+
|
21
|
+
group :development, :test do
|
22
|
+
gem 'rspec', '~> 2.4'
|
23
|
+
gem 'rspec-rails', '~> 2.4'
|
24
|
+
end
|
@@ -2,10 +2,10 @@ class ActsAsCommentableWithThreadingMigration < ActiveRecord::Migration
|
|
2
2
|
def self.up
|
3
3
|
create_table :comments, :force => true do |t|
|
4
4
|
t.integer :commentable_id, :default => 0
|
5
|
-
t.string :commentable_type
|
6
|
-
t.string :title
|
7
|
-
t.text :body
|
8
|
-
t.string :subject
|
5
|
+
t.string :commentable_type
|
6
|
+
t.string :title
|
7
|
+
t.text :body
|
8
|
+
t.string :subject
|
9
9
|
t.integer :user_id, :default => 0, :null => false
|
10
10
|
t.integer :parent_id, :lft, :rgt
|
11
11
|
t.timestamps
|
data/spec/commentable_spec.rb
CHANGED
@@ -2,7 +2,7 @@ require File.expand_path('./spec_helper', File.dirname(__FILE__))
|
|
2
2
|
|
3
3
|
describe "A class that is commentable" do
|
4
4
|
it "can have many root comments" do
|
5
|
-
Commentable.new.comment_threads.should
|
5
|
+
Commentable.new.comment_threads.respond_to?(:each).should be_true
|
6
6
|
end
|
7
7
|
|
8
8
|
describe "when is destroyed" do
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_commentable_with_threading
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Evan Light
|
@@ -12,134 +11,90 @@ authors:
|
|
12
11
|
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
|
-
date:
|
14
|
+
date: 2014-01-10 00:00:00.000000000 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: rake
|
19
18
|
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
19
|
requirements:
|
22
|
-
- -
|
20
|
+
- - '>='
|
23
21
|
- !ruby/object:Gem::Version
|
24
22
|
version: '0'
|
25
23
|
type: :development
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
|
-
- -
|
27
|
+
- - '>='
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '0'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: bundler
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
|
-
requirements:
|
38
|
-
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.0'
|
41
|
-
type: :development
|
42
|
-
prerelease: false
|
43
|
-
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
|
-
requirements:
|
46
|
-
- - ~>
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '1.0'
|
49
30
|
- !ruby/object:Gem::Dependency
|
50
31
|
name: rspec
|
51
32
|
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
33
|
requirements:
|
54
34
|
- - ~>
|
55
35
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
36
|
+
version: '2.4'
|
57
37
|
type: :development
|
58
38
|
prerelease: false
|
59
39
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
40
|
requirements:
|
62
41
|
- - ~>
|
63
42
|
- !ruby/object:Gem::Version
|
64
|
-
version: '
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: sqlite3
|
67
|
-
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ! '>='
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0'
|
73
|
-
type: :development
|
74
|
-
prerelease: false
|
75
|
-
version_requirements: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
|
-
requirements:
|
78
|
-
- - ! '>='
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '0'
|
43
|
+
version: '2.4'
|
81
44
|
- !ruby/object:Gem::Dependency
|
82
45
|
name: rails
|
83
46
|
requirement: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
47
|
requirements:
|
86
|
-
- -
|
48
|
+
- - '>='
|
87
49
|
- !ruby/object:Gem::Version
|
88
50
|
version: '3.0'
|
89
51
|
type: :development
|
90
52
|
prerelease: false
|
91
53
|
version_requirements: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
54
|
requirements:
|
94
|
-
- -
|
55
|
+
- - '>='
|
95
56
|
- !ruby/object:Gem::Version
|
96
57
|
version: '3.0'
|
97
58
|
- !ruby/object:Gem::Dependency
|
98
59
|
name: activerecord
|
99
60
|
requirement: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
61
|
requirements:
|
102
|
-
- -
|
62
|
+
- - '>='
|
103
63
|
- !ruby/object:Gem::Version
|
104
64
|
version: '3.0'
|
105
65
|
type: :runtime
|
106
66
|
prerelease: false
|
107
67
|
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
68
|
requirements:
|
110
|
-
- -
|
69
|
+
- - '>='
|
111
70
|
- !ruby/object:Gem::Version
|
112
71
|
version: '3.0'
|
113
72
|
- !ruby/object:Gem::Dependency
|
114
73
|
name: activesupport
|
115
74
|
requirement: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
75
|
requirements:
|
118
|
-
- -
|
76
|
+
- - '>='
|
119
77
|
- !ruby/object:Gem::Version
|
120
78
|
version: '3.0'
|
121
79
|
type: :runtime
|
122
80
|
prerelease: false
|
123
81
|
version_requirements: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
82
|
requirements:
|
126
|
-
- -
|
83
|
+
- - '>='
|
127
84
|
- !ruby/object:Gem::Version
|
128
85
|
version: '3.0'
|
129
86
|
- !ruby/object:Gem::Dependency
|
130
87
|
name: awesome_nested_set
|
131
88
|
requirement: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
89
|
requirements:
|
134
|
-
- -
|
90
|
+
- - '>='
|
135
91
|
- !ruby/object:Gem::Version
|
136
92
|
version: '2.0'
|
137
93
|
type: :runtime
|
138
94
|
prerelease: false
|
139
95
|
version_requirements: !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
141
96
|
requirements:
|
142
|
-
- -
|
97
|
+
- - '>='
|
143
98
|
- !ruby/object:Gem::Version
|
144
99
|
version: '2.0'
|
145
100
|
description: Polymorphic threaded comments Rails gem for Rails 3+
|
@@ -149,6 +104,7 @@ extensions: []
|
|
149
104
|
extra_rdoc_files: []
|
150
105
|
files:
|
151
106
|
- .gitignore
|
107
|
+
- .travis.yml
|
152
108
|
- CHANGELOG
|
153
109
|
- Gemfile
|
154
110
|
- Gemfile.lock
|
@@ -156,6 +112,11 @@ files:
|
|
156
112
|
- README.md
|
157
113
|
- Rakefile
|
158
114
|
- acts_as_commentable_with_threading.gemspec
|
115
|
+
- gemfiles/Gemfile.rails-3.0
|
116
|
+
- gemfiles/Gemfile.rails-3.1
|
117
|
+
- gemfiles/Gemfile.rails-3.2
|
118
|
+
- gemfiles/Gemfile.rails-4.0
|
119
|
+
- gemfiles/Gemfile.rails-4.1
|
159
120
|
- init.rb
|
160
121
|
- install.rb
|
161
122
|
- lib/acts_as_commentable_with_threading.rb
|
@@ -175,30 +136,26 @@ files:
|
|
175
136
|
- spec/spec_helper.rb
|
176
137
|
homepage: http://github.com/elight/acts_as_commentable_with_threading
|
177
138
|
licenses: []
|
139
|
+
metadata: {}
|
178
140
|
post_install_message:
|
179
141
|
rdoc_options: []
|
180
142
|
require_paths:
|
181
143
|
- lib
|
182
144
|
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
-
none: false
|
184
145
|
requirements:
|
185
|
-
- -
|
146
|
+
- - '>='
|
186
147
|
- !ruby/object:Gem::Version
|
187
148
|
version: '0'
|
188
|
-
segments:
|
189
|
-
- 0
|
190
|
-
hash: -1968228787496291367
|
191
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
|
-
none: false
|
193
150
|
requirements:
|
194
|
-
- -
|
151
|
+
- - '>='
|
195
152
|
- !ruby/object:Gem::Version
|
196
153
|
version: '0'
|
197
154
|
requirements: []
|
198
155
|
rubyforge_project:
|
199
|
-
rubygems_version:
|
156
|
+
rubygems_version: 2.0.3
|
200
157
|
signing_key:
|
201
|
-
specification_version:
|
158
|
+
specification_version: 4
|
202
159
|
summary: Polymorphic comments Rails gem - Rails 3+ only
|
203
160
|
test_files:
|
204
161
|
- spec/commentable_spec.rb
|
@@ -206,3 +163,4 @@ test_files:
|
|
206
163
|
- spec/spec_helper.rb
|
207
164
|
- spec/db/database.yml
|
208
165
|
- spec/db/schema.rb
|
166
|
+
has_rdoc:
|