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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- data_table (0.4.5)
4
+ data_table (0.4.6)
5
5
  rails (~> 3.0)
6
6
 
7
7
  GEM
@@ -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
- Rails.logger.level = :error
32
- render_to_string :inline => %Q|#{string}|, :locals => {:#{self.name.underscore} => object}
33
- Rails.logger.level = log_level
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
@@ -1,3 +1,3 @@
1
1
  module DataTable
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
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.5
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: 4404080503049444247
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: 4404080503049444247
128
+ hash: 2992976277628805336
129
129
  requirements: []
130
130
  rubyforge_project: data_table
131
131
  rubygems_version: 1.8.25