wice_grid_mongoid 6.0.8 → 6.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.0.8
1
+ 6.0.9
@@ -60,7 +60,7 @@ module Wice
60
60
  Wice.log "invalid parameters for the grid boolean filter - must be an one item array: #{opts.inspect}"
61
61
  return false
62
62
  end
63
- @criteria.where(@field.name.to_s => opts[0] == 't' ? true : false)
63
+ @criteria.where(opts[0] == 't' ? {@field.name => true} : {@field.name.to_sym.ne => true})
64
64
  return true
65
65
  end
66
66
  end
@@ -401,7 +401,6 @@ module Wice
401
401
  previous_cell_value_of_the_ordered_column = nil
402
402
 
403
403
  grid.each do |ar| # rows
404
-
405
404
  before_row_output = if rendering.before_row_handler
406
405
  call_block_as_erb_or_ruby(rendering, rendering.before_row_handler, ar)
407
406
  else
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wice_grid_mongoid}
8
- s.version = "6.0.8"
8
+ s.version = "6.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yuri Leikind", "Aleksandr Furmanov"]
12
- s.date = %q{2010-12-20}
12
+ s.date = %q{2011-01-27}
13
13
  s.description = %q{A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters }
14
14
  s.email = %q{aleksandr.furmanov@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wice_grid_mongoid
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 6
8
8
  - 0
9
- - 8
10
- version: 6.0.8
9
+ - 9
10
+ version: 6.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yuri Leikind
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-12-20 00:00:00 -08:00
19
+ date: 2011-01-27 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies: []
22
22