mtdevise 1.7.11 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87156c16f59734f75c342f55f06964518031e8e8
4
- data.tar.gz: 1b432352f22e046125e6b2a20eaf878d10241ff8
3
+ metadata.gz: 0fa6669852d95c5b87697c03bd7a55e41730c4d9
4
+ data.tar.gz: 33048e0e1834fdd0b4ac7a1f310126c9918d91f5
5
5
  SHA512:
6
- metadata.gz: b60b8c6da1a23cd31108f1a0ad81055bc56fbfe2062063f62c1a757971fff3b1e5ddeac309aa0a0230aac860ca7e617797d35b7fdc4ab256d9ef6258f19ef317
7
- data.tar.gz: 7522ceba00f72ce7500c2049f2db669daaaf24faa9635a1ac0b01a475bc106cccd0ab211be7a050217bf31437f524d77457a6b2e80f8a951dcc291607d212be5
6
+ metadata.gz: c64a42954f8dbdd277390a9bac988dffaf0426709ede17c2c247a90b45cb700ba7d098b9bc3f1a8434875642b0c27d9dd003088c051cafababb642ddbe38a72c
7
+ data.tar.gz: 0574867c874ad5727c34739f0d439f36c8ea47d0b34477b4483a082a5c06c43492b4620cc0b5b54054e784fa588638df17f0444c52920b2ef54fdea6fc2774a5
@@ -3,7 +3,9 @@ require_dependency "mtdevise/application_controller"
3
3
  module Mtdevise
4
4
  class Account::UsersController < ApplicationController
5
5
 
6
- acts_as_token_authentication_handler_for User
6
+ # Layouts and Filters
7
+ layout :layouts_resolver_accounts
8
+ acts_as_token_authentication_handler_for User
7
9
 
8
10
  def new
9
11
  @user = Mtdevise::User.new
@@ -24,4 +26,4 @@ module Mtdevise
24
26
  end
25
27
 
26
28
  end
27
- end
29
+ end
@@ -4,7 +4,7 @@ module Mtdevise
4
4
  class AccountsController < ApplicationController
5
5
 
6
6
  # Layouts and Filters
7
- layout :layouts_rsolver
7
+ layout :layouts_resolver_accounts
8
8
  before_action :redirect_if_coming_form_sign_up, only: :new
9
9
  before_action :authenticate_user!, except: [:new, :create]
10
10
 
@@ -37,13 +37,21 @@ module Mtdevise
37
37
  end
38
38
  end
39
39
 
40
- # Resolve Layouts Devise & Application Controller
41
- def layouts_rsolver
40
+ # Resolve Layouts for Custom Account Actions
41
+ def layouts_resolver_accounts
42
42
  case action_name
43
43
  when "index"
44
44
  "layouts/mtdevise/accountsindex"
45
- else
46
- "layouts/mtdevise/accounts"
45
+ when "new"
46
+ "layouts/mtdevise/signup"
47
+ end
48
+ end
49
+
50
+ # Resolve Layouts for Custom User Actions
51
+ def layouts_resolver_users
52
+ case action_name
53
+ when "new"
54
+ "layouts/mtdevise/signup"
47
55
  end
48
56
  end
49
57
 
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>Multi-Tenant Accounts System</title>
4
+ <title>Accounts - Multi-Tenant Accounts System</title>
5
5
  <%= stylesheet_link_tag "mtdevise/application", media: "all" %>
6
6
  <%= stylesheet_link_tag "mtdevise/non-responsive", media: "all" %>
7
7
  <%= javascript_include_tag "mtdevise/application" %>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>MTDEVISE Multi-Tenant Accounts System</title>
4
+ <title>Signin - Multi-Tenant Accounts System</title>
5
5
  <%= stylesheet_link_tag "mtdevise/application", media: "all" %>
6
6
  <%= stylesheet_link_tag "mtdevise/non-responsive", media: "all" %>
7
7
  <%= javascript_include_tag "mtdevise/application" %>
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Signup - Multi-Tenant Accounts System</title>
5
+ <%= stylesheet_link_tag "mtdevise/application", media: "all" %>
6
+ <%= stylesheet_link_tag "mtdevise/non-responsive", media: "all" %>
7
+ <%= javascript_include_tag "mtdevise/application" %>
8
+ <%= csrf_meta_tags %>
9
+ </head>
10
+ <body data-no-turbolink="true">
11
+ <div class="container">
12
+ <%= render 'shared/flash' %>
13
+ <%= yield %>
14
+ </div>
15
+ </body>
16
+ </html>
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Edit Multi-Tenant Accounts System</title>
5
+ <%= stylesheet_link_tag "mtdevise/application", media: "all" %>
6
+ <%= stylesheet_link_tag "mtdevise/non-responsive", media: "all" %>
7
+ <%= javascript_include_tag "mtdevise/application" %>
8
+ <%= csrf_meta_tags %>
9
+ </head>
10
+ <body data-no-turbolink="true">
11
+ <div class="container">
12
+ <%= render 'shared/flash' %>
13
+ <%= yield %>
14
+ </div>
15
+ </body>
16
+ </html>
@@ -267,13 +267,13 @@ Devise.setup do |config|
267
267
  # so you need to do it manually. For the users scope, it would be:
268
268
  # config.omniauth_path_prefix = '/my_engine/users/auth'
269
269
 
270
- # Additional Custom Layouts Settings for Devise Actions
270
+ # Devise Custom Layouts
271
271
  Rails.application.config.to_prepare do
272
- Devise::SessionsController.layout "layouts/mtdevise/accounts"
273
- Devise::RegistrationsController.layout proc{ |controller| user_signed_in? ? "application" : "layouts/mtdevise/accountsedit" }
272
+ Devise::SessionsController.layout proc{ |controller| action_name == 'new' ? "layouts/mtdevise/signin" : "layouts/mtdevise/accounts" }
273
+ Devise::RegistrationsController.layout proc{ |controller| user_signed_in? ? "layouts/mtdevise/useredit" : "layouts/mtdevise/accounts" }
274
274
  Devise::ConfirmationsController.layout "layouts/mtdevise/accounts"
275
275
  Devise::UnlocksController.layout "layouts/mtdevise/accounts"
276
- Devise::PasswordsController.layout "layouts/mtdevise/accounts"
276
+ Devise::PasswordsController.layout "layouts/mtdevise/accounts"
277
277
  end
278
278
 
279
279
  end
@@ -1,3 +1,3 @@
1
1
  module Mtdevise
2
- VERSION = '1.7.11'
2
+ VERSION = '1.8.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtdevise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.11
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-13 00:00:00.000000000 Z
11
+ date: 2016-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -548,10 +548,12 @@ files:
548
548
  - app/views/devise/shared/_links.html.erb
549
549
  - app/views/devise/unlocks/new.html.erb
550
550
  - app/views/layouts/mtdevise/accounts.html.erb
551
- - app/views/layouts/mtdevise/accountsedit.html.erb
552
551
  - app/views/layouts/mtdevise/accountsindex.html.erb
553
552
  - app/views/layouts/mtdevise/application.html.erb
554
553
  - app/views/layouts/mtdevise/dashboard.html.erb
554
+ - app/views/layouts/mtdevise/signin.html.erb
555
+ - app/views/layouts/mtdevise/signup.html.erb
556
+ - app/views/layouts/mtdevise/useredit.html.erb
555
557
  - app/views/layouts/mtdevise/welcome.html.erb
556
558
  - app/views/mtdevise/account/dashboard/index.html.erb
557
559
  - app/views/mtdevise/account/sessions/new.html.erb
@@ -652,10 +654,8 @@ files:
652
654
  - spec/test_app/config/locales/en.yml
653
655
  - spec/test_app/config/routes.rb
654
656
  - spec/test_app/config/secrets.yml
655
- - spec/test_app/db/development.sqlite3
656
657
  - spec/test_app/db/migrate/20140428155742_create_things.rb
657
658
  - spec/test_app/db/schema.rb
658
- - spec/test_app/log/development.log
659
659
  - spec/test_app/public/404.html
660
660
  - spec/test_app/public/422.html
661
661
  - spec/test_app/public/500.html
@@ -689,76 +689,74 @@ signing_key:
689
689
  specification_version: 4
690
690
  summary: Multi-Tenant Rails Engine Using Devise.
691
691
  test_files:
692
+ - spec/helpers/mtdevise/dashboard_helper_spec.rb
693
+ - spec/helpers/mtdevise/account/dashboard_helper_spec.rb
694
+ - spec/helpers/mtdevise/account/sessions_helper_spec.rb
695
+ - spec/helpers/mtdevise/account/users_helper_spec.rb
696
+ - spec/helpers/mtdevise/welcome_helper_spec.rb
697
+ - spec/helpers/mtdevise/accounts_helper_spec.rb
692
698
  - spec/controllers/mtdevise/accounts_controller_spec.rb
693
- - spec/support/authentication_helpers.rb
694
- - spec/support/feature_helpers.rb
695
- - spec/support/subdomain_helpers.rb
696
- - spec/support/factories/account_factory.rb
697
- - spec/support/factories/user_factory.rb
698
- - spec/models/mtdevise/account_spec.rb
699
- - spec/models/mtdevise/user_spec.rb
700
- - spec/models/mtdevise/role_spec.rb
701
699
  - spec/spec_helper.rb
702
700
  - spec/features/root_spec.rb
703
- - spec/features/accounts/index_spec.rb
704
- - spec/features/accounts/create_spec.rb
705
- - spec/features/accounts/sign_in_spec.rb
701
+ - spec/features/users/sign_up_spec.rb
702
+ - spec/features/users/sign_in_spec.rb
703
+ - spec/features/users/invite_spec.rb
706
704
  - spec/features/accounts/sign_up_spec.rb
705
+ - spec/features/accounts/sign_in_spec.rb
707
706
  - spec/features/accounts/scoping_spec.rb
708
- - spec/features/users/invite_spec.rb
709
- - spec/features/users/sign_in_spec.rb
710
- - spec/features/users/sign_up_spec.rb
711
- - spec/helpers/mtdevise/welcome_helper_spec.rb
712
- - spec/helpers/mtdevise/accounts_helper_spec.rb
713
- - spec/helpers/mtdevise/dashboard_helper_spec.rb
714
- - spec/helpers/mtdevise/account/users_helper_spec.rb
715
- - spec/helpers/mtdevise/account/sessions_helper_spec.rb
716
- - spec/helpers/mtdevise/account/dashboard_helper_spec.rb
707
+ - spec/features/accounts/index_spec.rb
708
+ - spec/features/accounts/create_spec.rb
709
+ - spec/support/subdomain_helpers.rb
710
+ - spec/support/feature_helpers.rb
711
+ - spec/support/authentication_helpers.rb
712
+ - spec/support/factories/user_factory.rb
713
+ - spec/support/factories/account_factory.rb
714
+ - spec/test_app/bin/rake
715
+ - spec/test_app/bin/bundle
716
+ - spec/test_app/bin/rails
717
+ - spec/test_app/README.rdoc
718
+ - spec/test_app/spec/helpers/things_helper_spec.rb
719
+ - spec/test_app/spec/controllers/things_controller_spec.rb
720
+ - spec/test_app/spec/views/things/index.html.erb_spec.rb
721
+ - spec/test_app/spec/models/thing_spec.rb
722
+ - spec/test_app/Rakefile
723
+ - spec/test_app/public/favicon.ico
717
724
  - spec/test_app/public/404.html
718
725
  - spec/test_app/public/500.html
719
726
  - spec/test_app/public/422.html
720
- - spec/test_app/public/favicon.ico
721
- - spec/test_app/README.rdoc
722
- - spec/test_app/bin/bundle
723
- - spec/test_app/bin/rake
724
- - spec/test_app/bin/rails
727
+ - spec/test_app/config.ru
728
+ - spec/test_app/db/schema.rb
729
+ - spec/test_app/db/migrate/20140428155742_create_things.rb
730
+ - spec/test_app/config/routes.rb
731
+ - spec/test_app/config/database.circle.yml
732
+ - spec/test_app/config/boot.rb
725
733
  - spec/test_app/config/environment.rb
734
+ - spec/test_app/config/secrets.yml
735
+ - spec/test_app/config/database.yml
736
+ - spec/test_app/config/application.rb
737
+ - spec/test_app/config/locales/en.yml
738
+ - spec/test_app/config/initializers/backtrace_silencers.rb
726
739
  - spec/test_app/config/initializers/inflections.rb
740
+ - spec/test_app/config/initializers/filter_parameter_logging.rb
727
741
  - spec/test_app/config/initializers/wrap_parameters.rb
742
+ - spec/test_app/config/initializers/mime_types.rb
728
743
  - spec/test_app/config/initializers/session_store.rb
729
744
  - spec/test_app/config/initializers/cookies_serializer.rb
730
- - spec/test_app/config/initializers/filter_parameter_logging.rb
731
- - spec/test_app/config/initializers/mime_types.rb
732
- - spec/test_app/config/initializers/backtrace_silencers.rb
733
- - spec/test_app/config/locales/en.yml
734
- - spec/test_app/config/database.yml
735
- - spec/test_app/config/boot.rb
736
- - spec/test_app/config/routes.rb
737
- - spec/test_app/config/database.circle.yml
738
- - spec/test_app/config/secrets.yml
739
- - spec/test_app/config/application.rb
745
+ - spec/test_app/config/environments/development.rb
740
746
  - spec/test_app/config/environments/test.rb
741
747
  - spec/test_app/config/environments/production.rb
742
- - spec/test_app/config/environments/development.rb
743
- - spec/test_app/app/controllers/application_controller.rb
748
+ - spec/test_app/app/helpers/things_helper.rb
749
+ - spec/test_app/app/helpers/application_helper.rb
744
750
  - spec/test_app/app/controllers/things_controller.rb
745
- - spec/test_app/app/models/thing.rb
746
- - spec/test_app/app/models/user.rb
747
- - spec/test_app/app/views/things/index.html.erb
748
- - spec/test_app/app/views/layouts/application.html.erb
751
+ - spec/test_app/app/controllers/application_controller.rb
749
752
  - spec/test_app/app/assets/stylesheets/things.css
750
753
  - spec/test_app/app/assets/stylesheets/application.css
751
- - spec/test_app/app/assets/javascripts/application.js
752
754
  - spec/test_app/app/assets/javascripts/things.js
753
- - spec/test_app/app/helpers/application_helper.rb
754
- - spec/test_app/app/helpers/things_helper.rb
755
- - spec/test_app/config.ru
756
- - spec/test_app/db/schema.rb
757
- - spec/test_app/db/development.sqlite3
758
- - spec/test_app/db/migrate/20140428155742_create_things.rb
759
- - spec/test_app/spec/controllers/things_controller_spec.rb
760
- - spec/test_app/spec/models/thing_spec.rb
761
- - spec/test_app/spec/views/things/index.html.erb_spec.rb
762
- - spec/test_app/spec/helpers/things_helper_spec.rb
763
- - spec/test_app/Rakefile
764
- - spec/test_app/log/development.log
755
+ - spec/test_app/app/assets/javascripts/application.js
756
+ - spec/test_app/app/views/layouts/application.html.erb
757
+ - spec/test_app/app/views/things/index.html.erb
758
+ - spec/test_app/app/models/thing.rb
759
+ - spec/test_app/app/models/user.rb
760
+ - spec/models/mtdevise/user_spec.rb
761
+ - spec/models/mtdevise/role_spec.rb
762
+ - spec/models/mtdevise/account_spec.rb
@@ -1,174 +0,0 @@
1
-  (13.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.2ms) select sqlite_version(*)
3
-  (13.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- Migrating to CreateThings (20140428155742)
6
-  (0.2ms) begin transaction
7
- DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/spec/test_app/db/migrate/20140428155742_create_things.rb:7)
8
-  (0.9ms) CREATE TABLE "things" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "account_id" integer, "created_at" datetime, "updated_at" datetime)
9
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140428155742"]]
10
-  (12.8ms) commit transaction
11
- Migrating to CreateMtdeviseAccounts (20150426071228)
12
-  (0.1ms) begin transaction
13
- DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20150426071228_create_mtdevise_accounts.rb:6)
14
-  (0.6ms) CREATE TABLE "mtdevise_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)
15
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426071228"]]
16
-  (10.3ms) commit transaction
17
- Migrating to AddOwnerIdToMtdeviseAccounts (20150426115631)
18
-  (0.2ms) begin transaction
19
-  (0.6ms) ALTER TABLE "mtdevise_accounts" ADD "owner_id" integer
20
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426115631"]]
21
-  (15.8ms) commit transaction
22
- Migrating to CreateMtdeviseUsers (20150426115910)
23
-  (0.1ms) begin transaction
24
- DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20150426115910_create_mtdevise_users.rb:7)
25
-  (0.5ms) CREATE TABLE "mtdevise_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password_digest" varchar, "created_at" datetime, "updated_at" datetime)
26
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426115910"]]
27
-  (11.1ms) commit transaction
28
- Migrating to AddDeviseToMtdeviseUsers (20150426143800)
29
-  (0.1ms) begin transaction
30
-  (0.6ms) ALTER TABLE "mtdevise_users" ADD "encrypted_password" varchar DEFAULT '' NOT NULL
31
-  (0.2ms) ALTER TABLE "mtdevise_users" ADD "reset_password_token" varchar
32
-  (0.2ms) ALTER TABLE "mtdevise_users" ADD "reset_password_sent_at" datetime
33
-  (0.2ms) ALTER TABLE "mtdevise_users" ADD "remember_created_at" datetime
34
-  (0.2ms) ALTER TABLE "mtdevise_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
35
-  (0.2ms) ALTER TABLE "mtdevise_users" ADD "current_sign_in_at" datetime
36
-  (0.2ms) ALTER TABLE "mtdevise_users" ADD "last_sign_in_at" datetime
37
-  (0.1ms) ALTER TABLE "mtdevise_users" ADD "current_sign_in_ip" varchar
38
-  (0.3ms) ALTER TABLE "mtdevise_users" ADD "last_sign_in_ip" varchar
39
-  (58.1ms) CREATE UNIQUE INDEX "index_mtdevise_users_on_email" ON "mtdevise_users" ("email")
40
-  (0.1ms) SELECT sql
41
- FROM sqlite_master
42
- WHERE name='index_mtdevise_users_on_email' AND type='index'
43
- UNION ALL
44
- SELECT sql
45
- FROM sqlite_temp_master
46
- WHERE name='index_mtdevise_users_on_email' AND type='index'
47
-
48
-  (0.2ms) CREATE UNIQUE INDEX "index_mtdevise_users_on_reset_password_token" ON "mtdevise_users" ("reset_password_token")
49
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150426143800"]]
50
-  (13.6ms) commit transaction
51
- Migrating to AddSubdomainToMtdeviseAccounts (20150427200506)
52
-  (0.1ms) begin transaction
53
-  (1.1ms) ALTER TABLE "mtdevise_accounts" ADD "subdomain" varchar
54
-  (0.2ms) CREATE INDEX "index_mtdevise_accounts_on_subdomain" ON "mtdevise_accounts" ("subdomain")
55
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150427200506"]]
56
-  (14.0ms) commit transaction
57
- Migrating to CreateMtdeviseMembers (20150428110406)
58
-  (0.1ms) begin transaction
59
- DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20150428110406_create_mtdevise_members.rb:7)
60
-  (0.6ms) CREATE TABLE "mtdevise_members" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)
61
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150428110406"]]
62
-  (10.9ms) commit transaction
63
- Migrating to AddConfirmedAtToUsers (20150504181830)
64
-  (0.1ms) begin transaction
65
-  (0.4ms) ALTER TABLE "mtdevise_users" ADD "confirmed_at" datetime
66
-  (0.2ms) ALTER TABLE "mtdevise_users" ADD "confirmation_token" varchar
67
-  (0.2ms) ALTER TABLE "mtdevise_users" ADD "confirmation_sent_at" datetime
68
-  (0.3ms) ALTER TABLE "mtdevise_users" ADD "unconfirmed_email" varchar
69
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150504181830"]]
70
-  (13.7ms) commit transaction
71
- Migrating to RolifyCreateRoles (20150604101617)
72
-  (0.1ms) begin transaction
73
- DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ubuntu/workspace/db/migrate/20150604101617_rolify_create_roles.rb:8)
74
-  (0.6ms) CREATE TABLE "mtdevise_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "resource_id" integer, "resource_type" varchar, "created_at" datetime, "updated_at" datetime) 
75
-  (0.3ms) CREATE TABLE "mtdevise_users_mtdevise_roles" ("user_id" integer, "role_id" integer)
76
-  (0.9ms) CREATE INDEX "index_mtdevise_roles_on_name" ON "mtdevise_roles" ("name")
77
-  (0.1ms) SELECT sql
78
- FROM sqlite_master
79
- WHERE name='index_mtdevise_roles_on_name' AND type='index'
80
- UNION ALL
81
- SELECT sql
82
- FROM sqlite_temp_master
83
- WHERE name='index_mtdevise_roles_on_name' AND type='index'
84
-
85
-  (0.2ms) CREATE INDEX "index_mtdevise_roles_on_name_and_resource_type_and_resourc" ON "mtdevise_roles" ("name", "resource_type", "resource_id")
86
-  (0.1ms) CREATE INDEX "index_mtdevise_users_mtdevise_roles_on_user_id_and_role_id" ON "mtdevise_users_mtdevise_roles" ("user_id", "role_id")
87
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150604101617"]]
88
-  (7.9ms) commit transaction
89
- Migrating to AddAuthenticationTokenToMtdeviseUsers (20150719125100)
90
-  (0.1ms) begin transaction
91
-  (0.6ms) ALTER TABLE "mtdevise_users" ADD "authentication_token" varchar
92
-  (0.1ms)  SELECT sql
93
- FROM sqlite_master
94
- WHERE name='index_mtdevise_users_on_reset_password_token' AND type='index'
95
- UNION ALL
96
- SELECT sql
97
- FROM sqlite_temp_master
98
- WHERE name='index_mtdevise_users_on_reset_password_token' AND type='index'
99
- 
100
-  (0.1ms) SELECT sql
101
- FROM sqlite_master
102
- WHERE name='index_mtdevise_users_on_email' AND type='index'
103
- UNION ALL
104
- SELECT sql
105
- FROM sqlite_temp_master
106
- WHERE name='index_mtdevise_users_on_email' AND type='index'
107
-
108
-  (0.3ms) CREATE INDEX "index_mtdevise_users_on_authentication_token" ON "mtdevise_users" ("authentication_token")
109
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150719125100"]]
110
-  (15.8ms) commit transaction
111
- Migrating to AddFirstnameToMtdeviseAccounts (20151231043439)
112
-  (0.1ms) begin transaction
113
-  (0.9ms) ALTER TABLE "mtdevise_accounts" ADD "firstname" varchar
114
-  (0.3ms) ALTER TABLE "mtdevise_accounts" ADD "lastname" varchar
115
-  (0.3ms) ALTER TABLE "mtdevise_accounts" ADD "username" varchar
116
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151231043439"]]
117
-  (13.2ms) commit transaction
118
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
119
-  (0.3ms)  SELECT sql
120
- FROM sqlite_master
121
- WHERE name='index_mtdevise_accounts_on_subdomain' AND type='index'
122
- UNION ALL
123
- SELECT sql
124
- FROM sqlite_temp_master
125
- WHERE name='index_mtdevise_accounts_on_subdomain' AND type='index'
126
- 
127
-  (0.2ms) SELECT sql
128
- FROM sqlite_master
129
- WHERE name='index_mtdevise_roles_on_name_and_resource_type_and_resourc' AND type='index'
130
- UNION ALL
131
- SELECT sql
132
- FROM sqlite_temp_master
133
- WHERE name='index_mtdevise_roles_on_name_and_resource_type_and_resourc' AND type='index'
134
-
135
-  (0.2ms)  SELECT sql
136
- FROM sqlite_master
137
- WHERE name='index_mtdevise_roles_on_name' AND type='index'
138
- UNION ALL
139
- SELECT sql
140
- FROM sqlite_temp_master
141
- WHERE name='index_mtdevise_roles_on_name' AND type='index'
142
- 
143
-  (0.3ms) SELECT sql
144
- FROM sqlite_master
145
- WHERE name='index_mtdevise_users_on_authentication_token' AND type='index'
146
- UNION ALL
147
- SELECT sql
148
- FROM sqlite_temp_master
149
- WHERE name='index_mtdevise_users_on_authentication_token' AND type='index'
150
-
151
-  (0.2ms)  SELECT sql
152
- FROM sqlite_master
153
- WHERE name='index_mtdevise_users_on_reset_password_token' AND type='index'
154
- UNION ALL
155
- SELECT sql
156
- FROM sqlite_temp_master
157
- WHERE name='index_mtdevise_users_on_reset_password_token' AND type='index'
158
- 
159
-  (0.3ms) SELECT sql
160
- FROM sqlite_master
161
- WHERE name='index_mtdevise_users_on_email' AND type='index'
162
- UNION ALL
163
- SELECT sql
164
- FROM sqlite_temp_master
165
- WHERE name='index_mtdevise_users_on_email' AND type='index'
166
-
167
-  (0.3ms)  SELECT sql
168
- FROM sqlite_master
169
- WHERE name='index_mtdevise_users_mtdevise_roles_on_user_id_and_role_id' AND type='index'
170
- UNION ALL
171
- SELECT sql
172
- FROM sqlite_temp_master
173
- WHERE name='index_mtdevise_users_mtdevise_roles_on_user_id_and_role_id' AND type='index'
174
-