old_sql 0.36.0 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,3 @@
1
- -- Change the where clause so that it can be for your database
2
-
3
1
  SELECT u.id, u.name
4
2
  FROM users u
5
3
  WHERE u.created_at > date('<%=start_date.gsub('/','-')%>')
@@ -105,7 +105,7 @@ module OldSql
105
105
  routes_path = "#{app_path}/config/routes.rb"
106
106
  if open(routes_path).grep(/devise_for :#{model_name}/).count<=0
107
107
  puts "Adding devise_for :#{model_name} to #{routes_path}"
108
- insert_into_file routes_path, "devise_for :#{model_name}", :after => "ReportDemo::Application.routes.draw do\n"
108
+ insert_into_file routes_path, "devise_for :#{model_name}\n", :after => "ReportDemo::Application.routes.draw do\n"
109
109
  end
110
110
  end
111
111
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: old_sql
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.36.0
5
+ version: 0.37.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Eddie Gonzales
@@ -192,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - ">="
194
194
  - !ruby/object:Gem::Version
195
- hash: 1497521467093465875
195
+ hash: -2567618699866213025
196
196
  segments:
197
197
  - 0
198
198
  version: "0"