old_sql 0.40.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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, "devise_for :#{model_name}\n", :after => "
|
112
|
+
insert_into_file routes_path, "devise_for :#{model_name}\n", :after => "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.41.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:
|
195
|
+
hash: -3444480524733086504
|
196
196
|
segments:
|
197
197
|
- 0
|
198
198
|
version: "0"
|