Skip to content

Commit 8f01435

Browse files
committed
rubocop autofix
1 parent ece0b04 commit 8f01435

File tree

17 files changed

+19
-72
lines changed

17 files changed

+19
-72
lines changed

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ class Application < Rails::Application
1818
# -- all .rb files in that directory are automatically loaded after loading
1919
# the framework and any gems in your application.
2020
end
21-
end
21+
end

config/initializers/devise.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
# up on your models and hooks.
262262
GITHUB_APP_ID = Rails.application.credentials.dig(:github_app_id)
263263
GITHUB_SECRET_ID = Rails.application.credentials.dig(:github_secret_id)
264-
264+
265265
config.omniauth :github, GITHUB_APP_ID, GITHUB_SECRET_ID, scope: 'user'
266266

267267
# ==> Warden configuration

db/migrate/20191001161649_add_columns_to_users.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
class AddColumnsToUsers < ActiveRecord::Migration[6.0]
24
def change
35
add_column :users, :provider, :string

db/schema.rb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# This file is auto-generated from the current state of the database. Instead
24
# of editing this file, please use the migrations feature of Active Record to
35
# incrementally modify your database, and then regenerate this schema definition.
@@ -10,20 +12,18 @@
1012
#
1113
# It's strongly recommended that you check this file into your version control system.
1214

13-
ActiveRecord::Schema.define(version: 2019_10_01_161649) do
14-
15-
create_table "users", force: :cascade do |t|
16-
t.string "email", default: "", null: false
17-
t.string "encrypted_password", default: "", null: false
18-
t.string "reset_password_token"
19-
t.datetime "reset_password_sent_at"
20-
t.datetime "remember_created_at"
21-
t.datetime "created_at", precision: 6, null: false
22-
t.datetime "updated_at", precision: 6, null: false
23-
t.string "provider"
24-
t.string "uid"
25-
t.index ["email"], name: "index_users_on_email", unique: true
26-
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
15+
ActiveRecord::Schema.define(version: 20_191_001_161_649) do
16+
create_table 'users', force: :cascade do |t|
17+
t.string 'email', default: '', null: false
18+
t.string 'encrypted_password', default: '', null: false
19+
t.string 'reset_password_token'
20+
t.datetime 'reset_password_sent_at'
21+
t.datetime 'remember_created_at'
22+
t.datetime 'created_at', precision: 6, null: false
23+
t.datetime 'updated_at', precision: 6, null: false
24+
t.string 'provider'
25+
t.string 'uid'
26+
t.index ['email'], name: 'index_users_on_email', unique: true
27+
t.index ['reset_password_token'], name: 'index_users_on_reset_password_token', unique: true
2728
end
28-
2929
end

test/application_system_test_case.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

test/channels/application_cable/connection_test.rb

Lines changed: 0 additions & 13 deletions
This file was deleted.

test/controllers/.keep

Whitespace-only changes.

test/fixtures/.keep

Whitespace-only changes.

test/fixtures/files/.keep

Whitespace-only changes.

test/fixtures/users.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)