-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💄 Fixing linting for Adventist Valkyrie
This commit fixes the linting issues on the Adventist Valkyrie project. The files in this commit contain only whitespace changes or changing Note comments to NOTE as suggested by Rubocop. There should not be any changes to the functionality of the application. Ref: - #741
- Loading branch information
Showing
77 changed files
with
858 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/presenters/adl/iiif_manifest_presenter_factory_decorator.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
db/migrate/20240815211201_create_version_committers.hyrax.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
class CreateVersionCommitters < ActiveRecord::Migration[6.1] | ||
def self.up | ||
create_table :version_committers do |t| | ||
t.string :obj_id | ||
t.string :datastream_id | ||
t.string :version_id | ||
t.string :committer_login | ||
t.timestamps null: false | ||
end | ||
end | ||
|
||
def self.down | ||
drop_table :version_committers | ||
end | ||
end |
19 changes: 19 additions & 0 deletions
19
db/migrate/20240815211202_create_checksum_audit_logs.hyrax.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class CreateChecksumAuditLogs < ActiveRecord::Migration[6.1] | ||
def self.up | ||
create_table :checksum_audit_logs do |t| | ||
t.string :file_set_id | ||
t.string :file_id | ||
t.string :version | ||
t.integer :pass | ||
t.string :expected_result | ||
t.string :actual_result | ||
t.timestamps null: false | ||
end | ||
add_index :checksum_audit_logs, [:file_set_id, :file_id], name: 'by_file_set_id_and_file_id', order: { created_at: 'DESC' } | ||
end | ||
|
||
def self.down | ||
remove_index(:checksum_audit_logs, name: 'by_file_set_id_and_file_id') | ||
drop_table :checksum_audit_logs | ||
end | ||
end |
12 changes: 12 additions & 0 deletions
12
db/migrate/20240815211203_create_single_use_links.hyrax.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
class CreateSingleUseLinks < ActiveRecord::Migration[6.1] | ||
def change | ||
create_table :single_use_links do |t| | ||
t.string :downloadKey | ||
t.string :path | ||
t.string :itemId | ||
t.datetime :expires | ||
|
||
t.timestamps null: false | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
class AddSocialToUsers < ActiveRecord::Migration[6.1] | ||
def self.up | ||
add_column :users, :facebook_handle, :string | ||
add_column :users, :twitter_handle, :string | ||
add_column :users, :googleplus_handle, :string | ||
end | ||
|
||
def self.down | ||
remove_column :users, :facebook_handle, :string | ||
remove_column :users, :twitter_handle, :string | ||
remove_column :users, :googleplus_handle, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
class AddLdapAttrsToUser < ActiveRecord::Migration[6.1] | ||
def self.up | ||
add_column :users, :display_name, :string | ||
add_column :users, :address, :string | ||
add_column :users, :admin_area, :string | ||
add_column :users, :department, :string | ||
add_column :users, :title, :string | ||
add_column :users, :office, :string | ||
add_column :users, :chat_id, :string | ||
add_column :users, :website, :string | ||
add_column :users, :affiliation, :string | ||
add_column :users, :telephone, :string | ||
end | ||
|
||
def self.down | ||
remove_column :users, :display_name | ||
remove_column :users, :address | ||
remove_column :users, :admin_area | ||
remove_column :users, :department | ||
remove_column :users, :title | ||
remove_column :users, :office | ||
remove_column :users, :chat_id | ||
remove_column :users, :website | ||
remove_column :users, :affiliation | ||
remove_column :users, :telephone | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
class AddAvatarsToUsers < ActiveRecord::Migration[6.1] | ||
def self.up | ||
add_column :users, "avatar_file_name", :string | ||
add_column :users, "avatar_content_type", :string | ||
add_column :users, "avatar_file_size", :integer | ||
add_column :users, "avatar_updated_at", :datetime | ||
end | ||
|
||
def self.down | ||
remove_column :users, "avatar_file_name" | ||
remove_column :users, "avatar_content_type" | ||
remove_column :users, "avatar_file_size" | ||
remove_column :users, "avatar_updated_at" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class CreateTrophies < ActiveRecord::Migration[6.1] | ||
def change | ||
create_table :trophies do |t| | ||
t.integer :user_id | ||
t.string :generic_file_id | ||
|
||
t.timestamps null: false | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddLinkedinToUsers < ActiveRecord::Migration[6.1] | ||
def change | ||
add_column :users, :linkedin_handle, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class CreateTinymceAssets < ActiveRecord::Migration[6.1] | ||
def change | ||
create_table :tinymce_assets do |t| | ||
t.string :file | ||
t.timestamps null: false | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class CreateContentBlocks < ActiveRecord::Migration[6.1] | ||
def change | ||
create_table :content_blocks do |t| | ||
t.string :name | ||
t.text :value | ||
t.timestamps null: false | ||
end | ||
add_index :content_blocks, :name, unique: true | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
class CreateFeaturedWorks < ActiveRecord::Migration[6.1] | ||
def change | ||
create_table :featured_works do |t| | ||
t.integer :order, default: 5 | ||
t.string :work_id | ||
|
||
t.timestamps null: false | ||
end | ||
add_index :featured_works, :work_id | ||
add_index :featured_works, :order | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20240815211212_add_external_key_to_content_blocks.hyrax.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddExternalKeyToContentBlocks < ActiveRecord::Migration[6.1] | ||
def change | ||
add_column :content_blocks, :external_key, :string | ||
remove_index :content_blocks, :name | ||
end | ||
end |
10 changes: 10 additions & 0 deletions
10
db/migrate/20240815211213_create_proxy_deposit_rights.hyrax.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class CreateProxyDepositRights < ActiveRecord::Migration[6.1] | ||
def change | ||
create_table :proxy_deposit_rights do |t| | ||
t.references :grantor | ||
t.references :grantee | ||
t.timestamps null: false | ||
end | ||
|
||
end | ||
end |
Oops, something went wrong.