rails_admin_comments 0.3.0.3 → 0.3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_admin_comments/action.rb +1 -1
- data/lib/rails_admin_comments/version.rb +1 -1
- data/rails_admin_comments.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 432eca46fb2c058e16efda0d4efba4a8edcb3529
|
4
|
+
data.tar.gz: f7f2b5c3e94459aa8d658ec77f97d2a9d658059f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16009cc26410f6ffec046f6534d511d1781b4998fbae8517cee1d8c42b53a828cc0d3ecf3a89185cae5be0f643dbe9fa95dc5728e75843d008b0d92ca35887db
|
7
|
+
data.tar.gz: dc8ff4ce5a118d08325729832d4cf472c4e45edf86115bc1b41e308ec51e6928c91caf96b5eef3cedb9e4c1e093c89d0815b676732a48c5ee095dd56253a0f85
|
@@ -154,7 +154,7 @@ module RailsAdmin
|
|
154
154
|
@message = "<strong class='error'>#{I18n.t('admin.actions.comments.error')}</strong>: #{e}".freeze
|
155
155
|
end
|
156
156
|
|
157
|
-
@comments = @
|
157
|
+
@comments = @model.rails_admin_model_comments.by_date.enabled.for_user(current_user) || []
|
158
158
|
render action: @action.template_name
|
159
159
|
|
160
160
|
elsif request.delete?
|
@@ -34,5 +34,5 @@ Gem::Specification.new do |spec|
|
|
34
34
|
|
35
35
|
spec.add_dependency "rails_admin", ['>= 1.0.0.rc', "< 2.0"]
|
36
36
|
spec.add_dependency "mongoid", [">= 6.0.0.rc0", "< 7.0"]
|
37
|
-
spec.add_dependency "glebtv_mongoid_userstamp", '~> 0.7
|
37
|
+
spec.add_dependency "glebtv_mongoid_userstamp", '~> 0.7'
|
38
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_comments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.
|
4
|
+
version: 0.3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kiseliev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -98,14 +98,14 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.7
|
101
|
+
version: '0.7'
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 0.7
|
108
|
+
version: '0.7'
|
109
109
|
description: Comments for rails_admin
|
110
110
|
email:
|
111
111
|
- i43ack@gmail.com
|