Commit graph

5 commits

Author SHA1 Message Date
GitLab Bot
228d752ff0 Add latest changes from gitlab-org/gitlab@master 2019-10-30 12:06:34 +00:00
gfyoung
c8755543f0 Enable even more frozen string in lib/**/*.rb
Enables frozen string for the following files:

* lib/generators/**/*.rb
* lib/gitaly/**/*.rb
* lib/google_api/**/*.rb
* lib/haml_lint/**/*.rb
* lib/json_web_token/**/*.rb
* lib/mattermost/**/*.rb
* lib/microsoft_teams/**/*.rb
* lib/object_storage/**/*.rb
* lib/omni_auth/**/*.rb
* lib/peek/**/*.rb
* lib/rouge/**/*.rb
* lib/rspec_flaky/**/*.rb
* lib/system_check/**/*.rb

Partially addresses #47424.
2018-10-08 11:16:49 -07:00
Andreas Brandl
6379a849c0 Fix timestamp to include %M instead of %I for post-deploy migrations.
Closes #44121.
2018-03-12 18:24:36 +01:00
Yorick Peterse
f84f43b1fd
require rails/generators for generators
Because this code resides in lib/ it may be eager loaded. Rails in turn
doesn't define Rails::Generators by default unless you explicitly
require "rails/generators".
2016-11-01 21:44:27 +01:00
Yorick Peterse
83c8241160
Support for post deployment migrations
These are regular Rails migrations that are executed by default. A user
can opt-out of these migrations by setting an environment variable
during the deployment process.

Fixes gitlab-org/gitlab-ce#22133
2016-10-31 12:54:48 +01:00