This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
b3db40398c
gitlab-org--gitlab-foss
/
lib
/
forever.rb
10 lines
115 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable more frozen string in lib/**/*.rb Enables frozen for the following: * lib/*.rb * lib/banzai/**/*.rb * lib/bitbucket/**/*.rb * lib/constraints/**/*.rb * lib/container_registry/**/*.rb * lib/declarative_policy/**/*.rb Partially addresses #47424.
2018-10-06 19:10:08 -04:00
# frozen_string_literal: true
Handle limit for datetime attributes on MySQL The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC. A Forever lib class was included to handle future dates for PostgreSQL and MySQL, also changes were made to DeployToken to enforce Forever.date Also removes extra conditional from JwtController
2018-04-06 15:48:17 -04:00
class
Forever
Remove dead MySQL code None of this code can be reached any more, so it can all be removed
2019-06-13 09:12:28 -04:00
DATE
=
DateTime
.
new
(
3000
,
1
,
1
)
Handle limit for datetime attributes on MySQL The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC. A Forever lib class was included to handle future dates for PostgreSQL and MySQL, also changes were made to DeployToken to enforce Forever.date Also removes extra conditional from JwtController
2018-04-06 15:48:17 -04:00
def
self
.
date
Remove dead MySQL code None of this code can be reached any more, so it can all be removed
2019-06-13 09:12:28 -04:00
DATE
Handle limit for datetime attributes on MySQL The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC. A Forever lib class was included to handle future dates for PostgreSQL and MySQL, also changes were made to DeployToken to enforce Forever.date Also removes extra conditional from JwtController
2018-04-06 15:48:17 -04:00
end
end
Copy permalink