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
@@ -1,3 +1,3 @@
1
1
  module Apit
2
- VERSION = "0.0.34"
2
+ VERSION = "0.0.35"
3
3
  end
@@ -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/create_roles.rb"
40
+ migration_template 'create_roles_migration.rb', "db/migrate/create_roles_migration.rb"
40
41
  end
41
42
 
42
43
  end
@@ -11,6 +11,7 @@ class CreateRolesMigration < ActiveRecord::Migration
11
11
  t.integer :user_id
12
12
  t.timestamps
13
13
  end
14
+
14
15
  create_table :roles_users, :force => true do |t|
15
16
  t.integer :user_id
16
17
  t.integer :role_id
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 34
9
- version: 0.0.34
8
+ - 35
9
+ version: 0.0.35
10
10
  platform: ruby
11
11
  authors:
12
12
  - Avocado