manage 1.3.52 → 1.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: 96a1bd4138c2c8202deba52b351c35af3181c37b
4
- data.tar.gz: 7fa7918a112ca57234836988c6a9e2c268ea3231
3
+ metadata.gz: 9b04f6f3496c9e8e50a13321b36fea2a6849e22c
4
+ data.tar.gz: 3baa491e79f893d40e71ef565adad6b67d039eff
5
5
  SHA512:
6
- metadata.gz: 4155fd99fdaa0eb4b2a1168f38f885b998dff3994fabdb51d8aed669ae0212b0ff8e1174a484b023bce48d5d81af6b0493fa8d26b002f7cd70013b24044349a5
7
- data.tar.gz: 1b0281ad84701012ad3d8747fe2f8c65f115575ebdab46628d4fcab0f8fd244afb5285c1dc6a66c5093ede5f34d0c956f59de4b6b5d5c6fef6b11955bfd322d3
6
+ metadata.gz: 4e3ba2dbd7f75ffeac602e6dd978d6839b795a705a5f74b4ea3a02adeb8a62eb01fde0f6187106cde1ad4f865de3464b2d93108de55a9a75e72e5603c7c868cc
7
+ data.tar.gz: 253679b310e9f209d344ba7db894086dafaec1a1bedd1fd0d097c16a43ca2d69ce5bd6f731ab159eda4a440d5c0b7d6cb4e0b172839eda81364123fd30f825d2
@@ -5,6 +5,8 @@ http://s27.postimg.org/yugm0734f/logo.png
5
5
 
6
6
  Admin backend started from http://iain.nl/backends-in-rails-3-1
7
7
 
8
+ Works with Rails 5
9
+
8
10
  Based on inherit_resources, slim, kaminari
9
11
 
10
12
  No DSLs, no learning curve, only what you know about Ruby on Rails
@@ -53,7 +53,7 @@ class Manage::ResourceController < Manage::ApplicationController
53
53
  protected
54
54
 
55
55
  def clean_search_params(search_params)
56
- return {} unless search_params.is_a?(Hash)
56
+ return {} unless search_params.is_a?(ActionController::Parameters)
57
57
  search_params = search_params.dup
58
58
  search_params.delete_if do |key, value|
59
59
  value == ''
@@ -1,3 +1,3 @@
1
1
  module Manage
2
- VERSION = "1.3.52"
2
+ VERSION = "1.4"
3
3
  end
@@ -16,7 +16,7 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
16
16
 
17
17
  RSpec.configure do |config|
18
18
  config.mock_with :rspec
19
- config.use_transactional_fixtures = true
19
+ config.use_transactional_tests = true
20
20
  config.infer_base_class_for_anonymous_controllers = false
21
21
  config.order = "random"
22
22
  config.include Devise::TestHelpers, :type => :controller
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.52
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Empower United
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-14 00:00:00.000000000 Z
12
+ date: 2016-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails