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 +1 -1
- data/lib/helpers/wice_grid_view_helpers.rb +1 -6
- data/wice_grid.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
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
|
-
|
|
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
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:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 3
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 3.0.
|
|
9
|
+
- 4
|
|
10
|
+
version: 3.0.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Yuri Leikind
|