thecore_ui_rails_admin 2.2.7 → 2.2.8

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
  SHA256:
3
- metadata.gz: 1e2d7885b8d6422f66e1e98777a22cd8eb360239dc7e3cc261b2c25afdc5e8b2
4
- data.tar.gz: 1750df12a02b490c783572d7ad33852c0c2573434b44e4ec39e3f8f6bd25d383
3
+ metadata.gz: 34d98d8597c332bc09354e80339ce6505648c6883a080933ee1ecb3d0023ced9
4
+ data.tar.gz: 746d620f28e0433992bfbb0c042321f694eca2412b950bfd29b3593c9532fb33
5
5
  SHA512:
6
- metadata.gz: cb880f6fb37505ed66af4007dc762a0b2ae1879f9b3be7f6487f518f461bd677394e50212469caef194a7c701c0aeee53bff79d9ea32280f985efe8fe11c8c51
7
- data.tar.gz: b8f7088fe428c1867f11040010bd5128358346ebc639be57c04deace79330300b44752534377379654364f3f88d3d05ee932ba7132add61507c548b9421080f7
6
+ metadata.gz: 880b0036871cbc54097a94d694857c4c3e85dc2d5143d72aaa1eff51410f32eb621d31afb3e7fee3e9a77ad586dc0d0c40cfa9aa1bb96b07e7002b8944d88925
7
+ data.tar.gz: ed2992ef9652133c70b7164c4a8cf7b6c3df401e3acd59b1f3963b027eb2789c975904e074510f513d9ed8b1ffdf2ba10a8d39bd952e0641a170acb9524915b9
@@ -1,6 +1,6 @@
1
1
  module DeviseBootstrapErrorsHelper
2
2
  def devise_bootstrap_error_messages!
3
- return '' if resource.errors.empty?
3
+ return '' if resource.errors.blank?
4
4
 
5
5
  messages = resource.errors.full_messages.map { |msg| content_tag(:li, msg) }.join
6
6
  sentence = I18n.t('errors.messages.not_saved',
@@ -45,7 +45,7 @@
45
45
  #list
46
46
  = form_tag(index_path(params.except(*%w[page f query])), method: :get, class: "pjax-form form-inline") do
47
47
  %span#filters_box{data: {options: ordered_filter_options.to_json}}
48
- %hr.filters_box{style: "display:#{ordered_filters.empty? ? 'none' : 'block'}"}
48
+ %hr.filters_box{style: "display:#{ordered_filters.blank? ? 'none' : 'block'}"}
49
49
  .input-group
50
50
  %input.form-control.input-small{name: "query", type: "search", value: query, placeholder: t("admin.misc.filter")}
51
51
  %span.input-group-btn
@@ -57,7 +57,7 @@
57
57
  - if export_action
58
58
  %span{style: 'float:right'}= link_to wording_for(:link, export_action), export_path(params.except('set').except('page')), class: 'btn btn-info'
59
59
 
60
- - unless @model_config.list.scopes.empty?
60
+ - unless @model_config.list.scopes.blank?
61
61
  %ul.nav.nav-tabs.nav-justified#scope_selector
62
62
  - @model_config.list.scopes.each do |scope|
63
63
  - scope = '_all' if scope.nil?
@@ -1,3 +1,3 @@
1
1
  module ThecoreUiRailsAdmin
2
- VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
2
+ VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`.chomp}"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-12 00:00:00.000000000 Z
11
+ date: 2021-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_commons