apit 0.0.34 → 0.0.35
Sign up to get free protection for your applications and to get access to all the features.
data/lib/apit/version.rb
CHANGED
@@ -14,6 +14,7 @@ module Apit
|
|
14
14
|
#Devise
|
15
15
|
if yes?("Would you like to use Devise for authentication?")
|
16
16
|
gem("devise", :git => 'git://github.com/plataformatec/devise', :branch => 'master')
|
17
|
+
gem("omniauth")
|
17
18
|
run('bundle install')
|
18
19
|
generate("devise:install")
|
19
20
|
template "user_token.rb", "app/models/user_token.rb"
|
@@ -36,7 +37,7 @@ module Apit
|
|
36
37
|
template "role.rb", "app/models/role.rb"
|
37
38
|
|
38
39
|
|
39
|
-
migration_template 'create_roles_migration.rb', "db/migrate/
|
40
|
+
migration_template 'create_roles_migration.rb', "db/migrate/create_roles_migration.rb"
|
40
41
|
end
|
41
42
|
|
42
43
|
end
|