rails_admin_sort_embedded 0.1.4 → 0.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8aedf275f92db1f59830f5bee7afa25c3dde310
|
4
|
+
data.tar.gz: 9db409a5eda9e9f0b34f5dd2cd3179742c56d254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00b324b98cfcacb5672dc2f3cdb5b54e661183bbfd51fe730052b67197bfcf42e53722009fe24c5728fa927b2ab6fe7b0cfff4ee0127c461b177dd60710f86c0
|
7
|
+
data.tar.gz: bfa6d8e6932107cec602938bf9511a18280d0eefd08de85f30cb8f856d510b5d601b48c46e45304d728d393d8bfe31bee4985bcc139b77c0f883c3dbb06f3ef1
|
@@ -38,7 +38,7 @@ module RailsAdminSortEmbedded
|
|
38
38
|
# end
|
39
39
|
# end
|
40
40
|
|
41
|
-
_title = sort_embedded_label_methods.map { |m| node.send(m) if node.respond_to?(m) }.
|
41
|
+
_title = sort_embedded_label_methods.map { |m| node.send(m) if node.respond_to?(m) }.reject(&:blank?).first
|
42
42
|
_title = node.id if _title.blank?
|
43
43
|
content += content_tag :span, _title
|
44
44
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_sort_embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kiseliev
|
@@ -9,8 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mongoid
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '5.0'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '7.0'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '5.0'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '7.0'
|
14
34
|
- !ruby/object:Gem::Dependency
|
15
35
|
name: rails_admin
|
16
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
93
|
version: '0'
|
74
94
|
requirements: []
|
75
95
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.4.
|
96
|
+
rubygems_version: 2.4.8
|
77
97
|
signing_key:
|
78
98
|
specification_version: 4
|
79
99
|
summary: Interface for editing a sorted embedded collections for rails_admin
|