old_sql 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,7 +67,7 @@ Old SQL works with devise. Checking for a current installation of devise!
67
67
  app_path.delete_at(-1)
68
68
  app_path = app_path.join("/")
69
69
 
70
- if File.exists?(app_path+'/app/models/user.rb') && open(app_path+'/app/models/user.rb').grep(/devise/).count>0
70
+ if open(app_path+'/db/schema.rb').grep(/database_authenticatable/).count>0
71
71
  return true
72
72
  else
73
73
  return false
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: old_sql
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.20.0
5
+ version: 0.21.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Eddie Gonzales
@@ -191,7 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
- hash: 380313639119916052
194
+ hash: 2909813807452522975
195
195
  segments:
196
196
  - 0
197
197
  version: "0"