old_sql 0.19.0 → 0.20.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.
@@ -35,16 +35,16 @@ Old SQL works with devise. Checking for a current installation of devise!
35
35
  else
36
36
  puts "Looks like you don't have devise install! We'll install it for you!"
37
37
 
38
+ invoke 'devise:install'
39
+
38
40
  if !user_model_exists?
39
41
  puts 'User Model Does Not Exist'
40
- invoke 'devise:install'
42
+ set_devise
41
43
  elsif !user_model_has_devise?
42
44
  puts 'User Model Does Not Have Devise Support'
43
45
  invoke 'old_sql:install_devise_migrations'
44
46
  #todo add devise stuff to users
45
47
  end
46
-
47
- set_devise
48
48
 
49
49
  end
50
50
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: old_sql
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.19.0
5
+ version: 0.20.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: 3425452216955812304
194
+ hash: 380313639119916052
195
195
  segments:
196
196
  - 0
197
197
  version: "0"