old_sql 0.39.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -109,7 +109,7 @@ module OldSql
|
|
109
109
|
routes_path = "#{app_path}/config/routes.rb"
|
110
110
|
if open(routes_path).grep(/devise_for :#{model_name}/).count<=0
|
111
111
|
puts "Adding devise_for :#{model_name} to #{routes_path}"
|
112
|
-
insert_into_file routes_path, "
|
112
|
+
insert_into_file routes_path, "devise_for :#{model_name}\n", :after => "ReportDemo::Application.routes.draw do\n"
|
113
113
|
end
|
114
114
|
end
|
115
115
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: old_sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.40.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Eddie Gonzales
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-09 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sanitize
|
@@ -192,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
192
192
|
requirements:
|
193
193
|
- - ">="
|
194
194
|
- !ruby/object:Gem::Version
|
195
|
-
hash:
|
195
|
+
hash: 3155558438636254499
|
196
196
|
segments:
|
197
197
|
- 0
|
198
198
|
version: "0"
|