wice_grid 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.3
1
+ 3.0.4
@@ -179,12 +179,7 @@ module Wice
179
179
  if rendering.erb_mode
180
180
  # true in this case is a sign that grid_html has run in a normal mode, i.e. without detached filters
181
181
  if grid.output_buffer.nil? || grid.output_buffer == true
182
- content = content.to_s
183
- if Rails.respond_to?(:version) && Rails.version.to_f >= 2.2
184
- return concat(content)
185
- else
186
- return concat(content, block.binding)
187
- end
182
+ return content.to_s
188
183
  else
189
184
  # this way we're sending an empty string and setting flag stubborn_output_mode of GridOutputBuffer to false
190
185
  return grid.output_buffer.to_s
data/wice_grid.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wice_grid}
8
- s.version = "3.0.3"
8
+ s.version = "3.0.4"
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"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wice_grid
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 3
10
- version: 3.0.3
9
+ - 4
10
+ version: 3.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yuri Leikind