rails_admin_nested_set 0.4.1 → 0.4.2

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: af6cf4a12ec6ec41f29de8fb2a63d602bc418d13
4
- data.tar.gz: 26780b68cd83a7c28ecda8103d06a798172a459b
3
+ metadata.gz: db3efd718235b208d26b8334b554bd458ee5cb30
4
+ data.tar.gz: 09f95596f031ed4ed852111ab594796df52fb49b
5
5
  SHA512:
6
- metadata.gz: 83e6d5990c654d0c4ff2f541413b64e54977aa499f565445e57058287f0492b8a12e7051b188aac673ec153eb580e61f667e8b55763652f84b7925bf1c1e84f7
7
- data.tar.gz: bf71c6444cef849158a783384b4eb97ff87b096adad8a56e582a299735032ff68437682d24aa6c8853333431e531ef4d68a0b38c8fd8dcf6c5137754bbeb328b
6
+ metadata.gz: 716db4e1b421c1768788d1003136fd2e3689bfbc1baae30007dd7f3e513d39cd2a67585aae8a8417d242b776aef6c35750dfead1dcb75d424c1436d9c8674ce9
7
+ data.tar.gz: 4d8550ef46825aee41bcb0c1015c42d0d4b386934bbb22d65c546c3c6070e40f929731067a4e9ca96359fa5077b09a632ab569544934ea116d98c8132f920688
@@ -2,7 +2,7 @@
2
2
 
3
3
  show_flash = (data)->
4
4
  $flash = $('<div>')
5
- .addClass('nestable-flash alert')
5
+ .addClass('nestable-flash alert alert-info')
6
6
  .append($('<button>').addClass('close').data('dismiss', 'alert').html('&times;'))
7
7
  .append($('<span>').addClass('body').html(data))
8
8
  $('#rails_admin_nestable').append($flash)
@@ -3,7 +3,7 @@
3
3
 
4
4
  .row-fluid
5
5
  .span12#rails_admin_nestable
6
- - unless @model_config.nested_set[:scopes].blank?
6
+ - unless @model_config.nested_set.blank? || @model_config.nested_set[:scopes].blank?
7
7
  %ul.nav.nav-tabs#scope_selector
8
8
  - @model_config.nested_set[:scopes].each_with_index do |scope, index|
9
9
  - scope = '_all' if scope.nil?
@@ -1,3 +1,3 @@
1
1
  module RailsAdminNestedSet
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_nested_set
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Tv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-18 00:00:00.000000000 Z
11
+ date: 2015-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails_admin