acts_as_commentable_with_threading 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +4 -0
- data/CHANGELOG.md +5 -0
- data/acts_as_commentable_with_threading.gemspec +2 -2
- data/gemfiles/Gemfile.rails-4.2 +9 -0
- data/lib/acts_as_commentable_with_threading.rb +1 -1
- metadata +4 -4
- data/Gemfile.lock +0 -108
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fa46fc0c8e039365333ca316c857de8ca536b72
|
4
|
+
data.tar.gz: 8ea1a5ac6932aa3e414ece90aa29d8dc67c3b673
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 869971df0bb70039564070982aeb95d3407b6803c5a58288aa775f6ca9a1999e4cc802d050b6c4f108474dd2cc96334ed975f5c1dc5e05577c4aab935384030b
|
7
|
+
data.tar.gz: 9e4e87ce3389c2f1b2295f20407fdf191c1e1770972b712b6f9c61ab0e0f2a61bd5603f1117f30cd5b0ef5d55478077fdb4753976899cb5b1b9425282767974d
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "acts_as_commentable_with_threading"
|
3
|
-
s.version = "2.0.
|
4
|
-
s.date = "
|
3
|
+
s.version = "2.0.1"
|
4
|
+
s.date = "2015-12-22"
|
5
5
|
s.summary = "Polymorphic comments Rails gem - Rails 4+ only"
|
6
6
|
s.email = "evan@tripledogdare.net"
|
7
7
|
s.homepage = "http://github.com/elight/acts_as_commentable_with_threading"
|
@@ -28,7 +28,7 @@ module Acts #:nodoc:
|
|
28
28
|
# Helper method to lookup for comments for a given object.
|
29
29
|
# This method is equivalent to obj.comments.
|
30
30
|
def find_comments_for(obj)
|
31
|
-
Comment.where(:commentable_id => obj.id, :commentable_type => obj.class.base_class).order('created_at DESC')
|
31
|
+
Comment.where(:commentable_id => obj.id, :commentable_type => obj.class.base_class.name).order('created_at DESC')
|
32
32
|
end
|
33
33
|
|
34
34
|
# Helper class method to lookup comments for
|
metadata
CHANGED
@@ -1,7 +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: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Light
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2015-12-22 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|
@@ -107,13 +107,13 @@ files:
|
|
107
107
|
- ".travis.yml"
|
108
108
|
- CHANGELOG.md
|
109
109
|
- Gemfile
|
110
|
-
- Gemfile.lock
|
111
110
|
- MIT-LICENSE
|
112
111
|
- README.md
|
113
112
|
- Rakefile
|
114
113
|
- acts_as_commentable_with_threading.gemspec
|
115
114
|
- gemfiles/Gemfile.rails-4.0
|
116
115
|
- gemfiles/Gemfile.rails-4.1
|
116
|
+
- gemfiles/Gemfile.rails-4.2
|
117
117
|
- init.rb
|
118
118
|
- install.rb
|
119
119
|
- lib/acts_as_commentable_with_threading.rb
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.5.1
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: Polymorphic comments Rails gem - Rails 4+ only
|
data/Gemfile.lock
DELETED
@@ -1,108 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
acts_as_commentable_with_threading (2.0.0)
|
5
|
-
activerecord (>= 4.0)
|
6
|
-
activesupport (>= 4.0)
|
7
|
-
awesome_nested_set (>= 3.0)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
actionmailer (4.1.6)
|
13
|
-
actionpack (= 4.1.6)
|
14
|
-
actionview (= 4.1.6)
|
15
|
-
mail (~> 2.5, >= 2.5.4)
|
16
|
-
actionpack (4.1.6)
|
17
|
-
actionview (= 4.1.6)
|
18
|
-
activesupport (= 4.1.6)
|
19
|
-
rack (~> 1.5.2)
|
20
|
-
rack-test (~> 0.6.2)
|
21
|
-
actionview (4.1.6)
|
22
|
-
activesupport (= 4.1.6)
|
23
|
-
builder (~> 3.1)
|
24
|
-
erubis (~> 2.7.0)
|
25
|
-
activemodel (4.1.6)
|
26
|
-
activesupport (= 4.1.6)
|
27
|
-
builder (~> 3.1)
|
28
|
-
activerecord (4.1.6)
|
29
|
-
activemodel (= 4.1.6)
|
30
|
-
activesupport (= 4.1.6)
|
31
|
-
arel (~> 5.0.0)
|
32
|
-
activesupport (4.1.6)
|
33
|
-
i18n (~> 0.6, >= 0.6.9)
|
34
|
-
json (~> 1.7, >= 1.7.7)
|
35
|
-
minitest (~> 5.1)
|
36
|
-
thread_safe (~> 0.1)
|
37
|
-
tzinfo (~> 1.1)
|
38
|
-
arel (5.0.1.20140414130214)
|
39
|
-
awesome_nested_set (3.0.1)
|
40
|
-
activerecord (>= 4.0.0, < 5)
|
41
|
-
builder (3.2.2)
|
42
|
-
diff-lcs (1.2.5)
|
43
|
-
erubis (2.7.0)
|
44
|
-
hike (1.2.3)
|
45
|
-
i18n (0.6.11)
|
46
|
-
json (1.8.1)
|
47
|
-
mail (2.6.1)
|
48
|
-
mime-types (>= 1.16, < 3)
|
49
|
-
mime-types (2.3)
|
50
|
-
minitest (5.4.1)
|
51
|
-
multi_json (1.10.1)
|
52
|
-
rack (1.5.2)
|
53
|
-
rack-test (0.6.2)
|
54
|
-
rack (>= 1.0)
|
55
|
-
rails (4.1.6)
|
56
|
-
actionmailer (= 4.1.6)
|
57
|
-
actionpack (= 4.1.6)
|
58
|
-
actionview (= 4.1.6)
|
59
|
-
activemodel (= 4.1.6)
|
60
|
-
activerecord (= 4.1.6)
|
61
|
-
activesupport (= 4.1.6)
|
62
|
-
bundler (>= 1.3.0, < 2.0)
|
63
|
-
railties (= 4.1.6)
|
64
|
-
sprockets-rails (~> 2.0)
|
65
|
-
railties (4.1.6)
|
66
|
-
actionpack (= 4.1.6)
|
67
|
-
activesupport (= 4.1.6)
|
68
|
-
rake (>= 0.8.7)
|
69
|
-
thor (>= 0.18.1, < 2.0)
|
70
|
-
rake (10.3.2)
|
71
|
-
rspec (3.1.0)
|
72
|
-
rspec-core (~> 3.1.0)
|
73
|
-
rspec-expectations (~> 3.1.0)
|
74
|
-
rspec-mocks (~> 3.1.0)
|
75
|
-
rspec-core (3.1.3)
|
76
|
-
rspec-support (~> 3.1.0)
|
77
|
-
rspec-expectations (3.1.1)
|
78
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
79
|
-
rspec-support (~> 3.1.0)
|
80
|
-
rspec-mocks (3.1.0)
|
81
|
-
rspec-support (~> 3.1.0)
|
82
|
-
rspec-support (3.1.0)
|
83
|
-
sprockets (2.12.2)
|
84
|
-
hike (~> 1.2)
|
85
|
-
multi_json (~> 1.0)
|
86
|
-
rack (~> 1.0)
|
87
|
-
tilt (~> 1.1, != 1.3.0)
|
88
|
-
sprockets-rails (2.1.4)
|
89
|
-
actionpack (>= 3.0)
|
90
|
-
activesupport (>= 3.0)
|
91
|
-
sprockets (~> 2.8)
|
92
|
-
sqlite3 (1.3.9)
|
93
|
-
thor (0.19.1)
|
94
|
-
thread_safe (0.3.4)
|
95
|
-
tilt (1.4.1)
|
96
|
-
tzinfo (1.2.2)
|
97
|
-
thread_safe (~> 0.1)
|
98
|
-
|
99
|
-
PLATFORMS
|
100
|
-
ruby
|
101
|
-
|
102
|
-
DEPENDENCIES
|
103
|
-
activerecord-jdbcsqlite3-adapter
|
104
|
-
acts_as_commentable_with_threading!
|
105
|
-
rails (>= 4.0)
|
106
|
-
rake
|
107
|
-
rspec (>= 3.0)
|
108
|
-
sqlite3
|