GitLab Bot
ed50918678
Add latest changes from gitlab-org/gitlab@master
2022-11-02 12:11:04 +00:00
GitLab Bot
09409d9dfb
Add latest changes from gitlab-org/gitlab@master
2022-05-04 00:09:14 +00:00
GitLab Bot
e9ae9c5f2e
Add latest changes from gitlab-org/gitlab@master
2021-11-18 06:10:36 +00:00
GitLab Bot
e5c7d631a8
Add latest changes from gitlab-org/gitlab@master
2021-11-15 15:10:57 +00:00
GitLab Bot
1b26aaa633
Add latest changes from gitlab-org/gitlab@master
2020-07-30 18:09:39 +00:00
GitLab Bot
c59765a50a
Add latest changes from gitlab-org/gitlab@master
2020-06-24 18:09:03 +00:00
Ash McKenzie
124bad7bd8
Use stub_rails_env for Rails.env stubbing
...
RailsHelpers.stub_rails_env takes care of
stubbing Rails.env
2019-09-05 12:54:03 +10:00
Thong Kuah
a2cfc150ce
Add # frozen_string_literal to spec/models
...
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
Brett Walker
42d27f0b43
only issue a warning if column doesn't exist
2018-05-10 10:00:32 -05:00
Brett Walker
18094a1745
Backport: Keep ShaAttribute from halting startup when we can’t connect to a database
2018-05-08 00:14:00 +00:00
Stan Hu
33039ffdb5
Fix another typo in SHA attribute spec
2017-07-07 11:06:31 -07:00
Sean McGivern
1271349d74
Fix typo in SHA attribute spec
2017-07-07 17:34:08 +01:00
Sean McGivern
38fd773bd3
Fix ShaAttribute concern when there is no table
...
When this is added to a new model, it would fail before the migrations were run
- including when trying to run migrations in production mode!
2017-07-07 12:42:38 +01:00
Yorick Peterse
af1f6844c9
Added code for defining SHA attributes
...
These attributes are stored in binary in the database, but exposed as
strings. This allows one to query/create data using plain SHA1 hashes as
Strings, while storing them more efficiently as binary.
2017-06-29 15:37:37 +02:00