express_admin 1.7.17 → 1.7.18

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: 0eaaae82f2148cb6943ecdfde604389811da1f06
4
- data.tar.gz: ea5b54d2df3a06102dad13a9ccf07f6fb9f0ca77
3
+ metadata.gz: 20013a0e3ae8dbad68ac077119a14e297b521ae6
4
+ data.tar.gz: 9552e988abb6cc779b6449016afc74d59fa7eae4
5
5
  SHA512:
6
- metadata.gz: 1a77959c7d0aea0afb100afcd2ae74cfdc364fa581d71eb45b560a950071e5783b6c45aa79498b699534fecbe56c850589ba6b106c6082c7a5cfc0acf2c1b69c
7
- data.tar.gz: d440136c7a263d993632f5902ad00398f27aa740fdf6901065c0037e45873566e4540abee6a201f4c69f855d53f2fb986addd7d38ab9085f095d5bd88152e437
6
+ metadata.gz: 94c28b51de4d4ae61adf179a7a237ed6a68d476c28f91483a17b69fbc6d1fdcc06dcffce3f9e21cf3e3dc57b3a99c5e06d8f3a423a78bd3015e3f1243e28e049
7
+ data.tar.gz: 28cac8bbc0cae086b22d5b0242287da8b8fc7763f183058a4beeae8b17a04fce3b00258ee9e3a5949ebd3ba7bf4a81d71720431ffd5cd03d895d4b53bdc85706
@@ -183,7 +183,7 @@ module ExpressAdmin
183
183
  def cell_value(item, accessor)
184
184
  value = if accessor.respond_to?(:call)
185
185
  begin
186
- accessor.call(item).try(:html_safe)
186
+ accessor.call(item).to_s.html_safe
187
187
  rescue
188
188
  'Error: '+$!.to_s
189
189
  end
@@ -8,6 +8,7 @@ html(lang: 'en') {
8
8
 
9
9
  stylesheet_link_tag "express_admin"
10
10
  javascript_include_tag "express_admin"
11
+ javascript_include_tag "https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"
11
12
  csrf_meta_tags
12
13
  }
13
14
 
@@ -18,8 +18,8 @@ nav(class: 'top-bar') {
18
18
  ul(class: 'menu-items') {
19
19
  li {
20
20
  a {
21
- current_user_gravatar
22
- span {'Profile' }
21
+ i { current_user_gravatar }
22
+ text_node ' Profile'.html_safe
23
23
  }
24
24
  sign_in_or_sign_out
25
25
  }
@@ -1,3 +1,3 @@
1
1
  module ExpressAdmin
2
- VERSION = "1.7.17"
2
+ VERSION = "1.7.18"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: express_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.17
4
+ version: 1.7.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Talcott Smith