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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a36dd4a6de4e43c31df2e8a3df90110bc8494576
4
- data.tar.gz: 1ab93822e030325d93fb86cbb1e17986b3484f80
3
+ metadata.gz: 432eca46fb2c058e16efda0d4efba4a8edcb3529
4
+ data.tar.gz: f7f2b5c3e94459aa8d658ec77f97d2a9d658059f
5
5
  SHA512:
6
- metadata.gz: ffa516fda31315ab9ec95c9a0a6a4269c118234f8eba5b964c8bc66aae03a268b2516cb7c3bf461f4782af65d9b3cbbdeb46fc1386e5e1c0e637d1ae4e298833
7
- data.tar.gz: cae1a290fa3a69150a15dd996aed76feb3ac9bd4e9f82cb7fd3b243b92b771eebecf375c58c0c67cf621311079a478f2303f3198ee62a9d83d7f24094495a10f
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 = @object.rails_admin_comments.by_date.enabled.for_user(current_user) || []
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?
@@ -1,3 +1,3 @@
1
1
  module RailsAdminComments
2
- VERSION = "0.3.0.3".freeze
2
+ VERSION = "0.3.0.4".freeze
3
3
  end
@@ -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.0'
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.3
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-20 00:00:00.000000000 Z
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.0
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.0
108
+ version: '0.7'
109
109
  description: Comments for rails_admin
110
110
  email:
111
111
  - i43ack@gmail.com