wice_grid 3.2.0.pre2 → 3.2.0.pre3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -59,6 +59,8 @@ Rails version 3.2.x or newer, jQuery, jQuery Datepicker.
59
59
  For Rails 3.0.x and 3.1.x versions use version 3.0.4.
60
60
  For Rails 2 use version 0.6 (https://github.com/leikind/wice_grid/tree/master).
61
61
 
62
+ WARNING: Since 3.2.pre2 WiceGrid is not compatible with <tt>will_paginate</tt> because internally it uses <tt>kaminari</tt> for pagination, and <tt>kaminari</tt> is not compatible with <tt>will_paginate</tt>!
63
+
62
64
  == How-To
63
65
 
64
66
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.0.pre2
1
+ 3.2.0.pre3
@@ -1,16 +1,16 @@
1
1
  # encoding: UTF-8
2
2
  module Wice
3
- COLUMN_PROCESSOR_INDEX = {
4
- :action => 'action_view_column', # Special processor for action column, columns with checkboxes
5
- :text => 'view_column_string',
6
- :string => 'view_column_string',
7
- :timestamp => 'view_column_datetime',
8
- :datetime => 'view_column_datetime',
9
- :date => 'view_column_date',
10
- :integer => 'view_column_integer',
11
- :float => 'view_column_float',
12
- :decimal => 'view_column_float',
13
- :custom => 'view_column_custom_dropdown', # Special processor for custom filter columns
14
- :boolean => 'view_column_boolean'
15
- }
3
+ COLUMN_PROCESSOR_INDEX = ActiveSupport::OrderedHash[
4
+ :action , 'action_view_column', # Special processor for action column, columns with checkboxes
5
+ :text , 'view_column_string',
6
+ :string , 'view_column_string',
7
+ :timestamp, 'view_column_datetime',
8
+ :datetime , 'view_column_datetime',
9
+ :date , 'view_column_date',
10
+ :integer , 'view_column_integer',
11
+ :float , 'view_column_float',
12
+ :decimal , 'view_column_float',
13
+ :custom , 'view_column_custom_dropdown', # Special processor for custom filter columns
14
+ :boolean , 'view_column_boolean'
15
+ ]
16
16
  end
data/wice_grid.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "wice_grid"
8
- s.version = "3.2.0.pre2"
8
+ s.version = "3.2.0.pre3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yuri Leikind"]
12
- s.date = "2012-08-04"
12
+ s.date = "2012-08-14"
13
13
  s.description = "A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters "
14
14
  s.email = "yuri.leikind@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wice_grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.pre2
4
+ version: 3.2.0.pre3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-04 00:00:00.000000000 Z
12
+ date: 2012-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: kaminari