rails_sql_views 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,7 +49,7 @@ module ActiveRecord
49
49
  v = StringIO.new
50
50
 
51
51
  v.print " create_view #{view.inspect}"
52
- v.print ", \"#{@connection.view_select_statement(view)}\""
52
+ v.print ", #{@connection.view_select_statement(view).dump}"
53
53
  v.print ", :force => true"
54
54
  v.puts " do |v|"
55
55
 
@@ -2,7 +2,7 @@ module RailsSqlViews
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 5
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: rails_sql_views
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.0
7
- date: 2006-12-29 00:00:00 -05:00
6
+ version: 0.5.1
7
+ date: 2007-01-10 00:00:00 -05:00
8
8
  summary: Adds SQL Views to Rails.
9
9
  require_paths:
10
10
  - lib