Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
415a1c5a
Commit
415a1c5a
authored
Oct 22, 2019
by
gfyoung
Committed by
Thong Kuah
Oct 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable frozen string for spec/migrations
Partially addresses:
https://gitlab.com/gitlab-org/gitlab/issues/27703
parent
629555cf
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
74 additions
and
0 deletions
+74
-0
spec/migrations/active_record/schedule_set_confidential_note_events_on_services_spec.rb
...schedule_set_confidential_note_events_on_services_spec.rb
+2
-0
spec/migrations/active_record/schema_spec.rb
spec/migrations/active_record/schema_spec.rb
+2
-0
spec/migrations/add_foreign_keys_to_todos_spec.rb
spec/migrations/add_foreign_keys_to_todos_spec.rb
+2
-0
spec/migrations/add_not_null_constraint_to_project_mirror_data_foreign_key_spec.rb
...ull_constraint_to_project_mirror_data_foreign_key_spec.rb
+2
-0
spec/migrations/add_pages_access_level_to_project_feature_spec.rb
...rations/add_pages_access_level_to_project_feature_spec.rb
+2
-0
spec/migrations/add_pipeline_build_foreign_key_spec.rb
spec/migrations/add_pipeline_build_foreign_key_spec.rb
+2
-0
spec/migrations/add_unique_constraint_to_project_features_project_id_spec.rb
..._unique_constraint_to_project_features_project_id_spec.rb
+2
-0
spec/migrations/assure_commits_count_for_merge_request_diff_spec.rb
...tions/assure_commits_count_for_merge_request_diff_spec.rb
+2
-0
spec/migrations/change_default_value_for_dsa_key_restriction_spec.rb
...ions/change_default_value_for_dsa_key_restriction_spec.rb
+2
-0
spec/migrations/cleanup_build_stage_migration_spec.rb
spec/migrations/cleanup_build_stage_migration_spec.rb
+2
-0
spec/migrations/cleanup_environments_external_url_spec.rb
spec/migrations/cleanup_environments_external_url_spec.rb
+2
-0
spec/migrations/cleanup_stages_position_migration_spec.rb
spec/migrations/cleanup_stages_position_migration_spec.rb
+2
-0
spec/migrations/create_missing_namespace_for_internal_users_spec.rb
...tions/create_missing_namespace_for_internal_users_spec.rb
+2
-0
spec/migrations/drop_duplicate_protected_tags_spec.rb
spec/migrations/drop_duplicate_protected_tags_spec.rb
+2
-0
spec/migrations/enqueue_verify_pages_domain_workers_spec.rb
spec/migrations/enqueue_verify_pages_domain_workers_spec.rb
+2
-0
spec/migrations/fill_empty_finished_at_in_deployments_spec.rb
.../migrations/fill_empty_finished_at_in_deployments_spec.rb
+2
-0
spec/migrations/fill_file_store_spec.rb
spec/migrations/fill_file_store_spec.rb
+2
-0
spec/migrations/fix_wrong_pages_access_level_spec.rb
spec/migrations/fix_wrong_pages_access_level_spec.rb
+2
-0
spec/migrations/generate_lets_encrypt_private_key_spec.rb
spec/migrations/generate_lets_encrypt_private_key_spec.rb
+2
-0
spec/migrations/generate_missing_routes_spec.rb
spec/migrations/generate_missing_routes_spec.rb
+2
-0
spec/migrations/migrate_cluster_configure_worker_sidekiq_queue_spec.rb
...ns/migrate_cluster_configure_worker_sidekiq_queue_spec.rb
+2
-0
spec/migrations/migrate_create_trace_artifact_sidekiq_queue_spec.rb
...tions/migrate_create_trace_artifact_sidekiq_queue_spec.rb
+2
-0
spec/migrations/migrate_legacy_artifacts_to_job_artifacts_spec.rb
...rations/migrate_legacy_artifacts_to_job_artifacts_spec.rb
+2
-0
spec/migrations/migrate_object_storage_upload_sidekiq_queue_spec.rb
...tions/migrate_object_storage_upload_sidekiq_queue_spec.rb
+2
-0
spec/migrations/migrate_storage_migrator_sidekiq_queue_spec.rb
...migrations/migrate_storage_migrator_sidekiq_queue_spec.rb
+2
-0
spec/migrations/migrate_update_head_pipeline_for_merge_request_sidekiq_queue_spec.rb
...ate_head_pipeline_for_merge_request_sidekiq_queue_spec.rb
+2
-0
spec/migrations/remove_empty_extern_uid_auth0_identities_spec.rb
...grations/remove_empty_extern_uid_auth0_identities_spec.rb
+2
-0
spec/migrations/remove_redundant_pipeline_stages_spec.rb
spec/migrations/remove_redundant_pipeline_stages_spec.rb
+2
-0
spec/migrations/reschedule_builds_stages_migration_spec.rb
spec/migrations/reschedule_builds_stages_migration_spec.rb
+2
-0
spec/migrations/reschedule_commits_count_for_merge_request_diff_spec.rb
...s/reschedule_commits_count_for_merge_request_diff_spec.rb
+2
-0
spec/migrations/schedule_digest_personal_access_tokens_spec.rb
...migrations/schedule_digest_personal_access_tokens_spec.rb
+2
-0
spec/migrations/schedule_fill_valid_time_for_pages_domain_certificates_spec.rb
...ule_fill_valid_time_for_pages_domain_certificates_spec.rb
+2
-0
spec/migrations/schedule_runners_token_encryption_spec.rb
spec/migrations/schedule_runners_token_encryption_spec.rb
+2
-0
spec/migrations/schedule_set_confidential_note_events_on_webhooks_spec.rb
...schedule_set_confidential_note_events_on_webhooks_spec.rb
+2
-0
spec/migrations/schedule_stages_index_migration_spec.rb
spec/migrations/schedule_stages_index_migration_spec.rb
+2
-0
spec/migrations/schedule_to_archive_legacy_traces_spec.rb
spec/migrations/schedule_to_archive_legacy_traces_spec.rb
+2
-0
spec/migrations/truncate_user_fullname_spec.rb
spec/migrations/truncate_user_fullname_spec.rb
+2
-0
No files found.
spec/migrations/active_record/schedule_set_confidential_note_events_on_services_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180122154930_schedule_set_confidential_note_events_on_services.rb'
)
...
...
spec/migrations/active_record/schema_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
# Check consistency of db/schema.rb version, migrations' timestamps, and the latest migration timestamp
...
...
spec/migrations/add_foreign_keys_to_todos_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180201110056_add_foreign_keys_to_todos.rb'
)
...
...
spec/migrations/add_not_null_constraint_to_project_mirror_data_foreign_key_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180508100222_add_not_null_constraint_to_project_mirror_data_foreign_key.rb'
)
...
...
spec/migrations/add_pages_access_level_to_project_feature_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180423204600_add_pages_access_level_to_project_feature.rb'
)
...
...
spec/migrations/add_pipeline_build_foreign_key_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180420010016_add_pipeline_build_foreign_key.rb'
)
...
...
spec/migrations/add_unique_constraint_to_project_features_project_id_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180511174224_add_unique_constraint_to_project_features_project_id.rb'
)
...
...
spec/migrations/assure_commits_count_for_merge_request_diff_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180425131009_assure_commits_count_for_merge_request_diff.rb'
)
...
...
spec/migrations/change_default_value_for_dsa_key_restriction_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180531220618_change_default_value_for_dsa_key_restriction.rb'
)
...
...
spec/migrations/cleanup_build_stage_migration_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180420010616_cleanup_build_stage_migration.rb'
)
...
...
spec/migrations/cleanup_environments_external_url_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20181108091549_cleanup_environments_external_url.rb'
)
...
...
spec/migrations/cleanup_stages_position_migration_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180604123514_cleanup_stages_position_migration.rb'
)
...
...
spec/migrations/create_missing_namespace_for_internal_users_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180413022611_create_missing_namespace_for_internal_users.rb'
)
...
...
spec/migrations/drop_duplicate_protected_tags_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180711103851_drop_duplicate_protected_tags.rb'
)
...
...
spec/migrations/enqueue_verify_pages_domain_workers_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180216121030_enqueue_verify_pages_domain_workers'
)
...
...
spec/migrations/fill_empty_finished_at_in_deployments_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20181030135124_fill_empty_finished_at_in_deployments'
)
...
...
spec/migrations/fill_file_store_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180424151928_fill_file_store'
)
...
...
spec/migrations/fix_wrong_pages_access_level_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20190703185326_fix_wrong_pages_access_level.rb'
)
...
...
spec/migrations/generate_lets_encrypt_private_key_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20190524062810_generate_lets_encrypt_private_key.rb'
)
...
...
spec/migrations/generate_missing_routes_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180702134423_generate_missing_routes.rb'
)
...
...
spec/migrations/migrate_cluster_configure_worker_sidekiq_queue_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20181219145520_migrate_cluster_configure_worker_sidekiq_queue.rb'
)
...
...
spec/migrations/migrate_create_trace_artifact_sidekiq_queue_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180306074045_migrate_create_trace_artifact_sidekiq_queue.rb'
)
...
...
spec/migrations/migrate_legacy_artifacts_to_job_artifacts_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180816161409_migrate_legacy_artifacts_to_job_artifacts.rb'
)
...
...
spec/migrations/migrate_object_storage_upload_sidekiq_queue_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180603190921_migrate_object_storage_upload_sidekiq_queue.rb'
)
...
...
spec/migrations/migrate_storage_migrator_sidekiq_queue_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20190124200344_migrate_storage_migrator_sidekiq_queue.rb'
)
...
...
spec/migrations/migrate_update_head_pipeline_for_merge_request_sidekiq_queue_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180307012445_migrate_update_head_pipeline_for_merge_request_sidekiq_queue.rb'
)
...
...
spec/migrations/remove_empty_extern_uid_auth0_identities_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180220150310_remove_empty_extern_uid_auth0_identities.rb'
)
...
...
spec/migrations/remove_redundant_pipeline_stages_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180119121225_remove_redundant_pipeline_stages.rb'
)
...
...
spec/migrations/reschedule_builds_stages_migration_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180405101928_reschedule_builds_stages_migration'
)
...
...
spec/migrations/reschedule_commits_count_for_merge_request_diff_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20180309121820_reschedule_commits_count_for_merge_request_diff'
)
...
...
spec/migrations/schedule_digest_personal_access_tokens_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180913142237_schedule_digest_personal_access_tokens.rb'
)
...
...
spec/migrations/schedule_fill_valid_time_for_pages_domain_certificates_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20190524073827_schedule_fill_valid_time_for_pages_domain_certificates.rb'
)
...
...
spec/migrations/schedule_runners_token_encryption_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20181121111200_schedule_runners_token_encryption'
)
...
...
spec/migrations/schedule_set_confidential_note_events_on_webhooks_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180104131052_schedule_set_confidential_note_events_on_webhooks.rb'
)
...
...
spec/migrations/schedule_stages_index_migration_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180420080616_schedule_stages_index_migration'
)
...
...
spec/migrations/schedule_to_archive_legacy_traces_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'post_migrate'
,
'20180529152628_schedule_to_archive_legacy_traces'
)
...
...
spec/migrations/truncate_user_fullname_spec.rb
View file @
415a1c5a
# frozen_string_literal: true
require
'spec_helper'
require
Rails
.
root
.
join
(
'db'
,
'migrate'
,
'20190325080727_truncate_user_fullname.rb'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment