data_table 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/data_table/base.rb +4 -4
- data/lib/data_table/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/data_table/base.rb
CHANGED
@@ -27,10 +27,10 @@ module DataTable
|
|
27
27
|
objects.map do |object|
|
28
28
|
block[object].map do |string|
|
29
29
|
controller.instance_eval %{
|
30
|
-
log_level = Rails.logger.level
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
log_level, Rails.logger.level = Rails.logger.level, Logger::ERROR
|
31
|
+
render_to_string(:inline => %Q|#{string}|, :locals => {:#{self.name.underscore} => object}).tap do
|
32
|
+
Rails.logger.level = log_level
|
33
|
+
end
|
34
34
|
}
|
35
35
|
end
|
36
36
|
end
|
data/lib/data_table/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
116
|
version: '0'
|
117
117
|
segments:
|
118
118
|
- 0
|
119
|
-
hash:
|
119
|
+
hash: 2992976277628805336
|
120
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
121
|
none: false
|
122
122
|
requirements:
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
segments:
|
127
127
|
- 0
|
128
|
-
hash:
|
128
|
+
hash: 2992976277628805336
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project: data_table
|
131
131
|
rubygems_version: 1.8.25
|