diff options
author | Toon Claes <toon@gitlab.com> | 2023-02-02 11:15:02 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2023-02-07 08:48:25 +0300 |
commit | 262934399fb3f6f7b6cc610c1bff40427b8a12dc (patch) | |
tree | bd6863ca92799ebab1e54b58eabf0a51e9b48eac /ruby | |
parent | 747602ecd05fb9d4aeb56bf4090c3a672561e11b (diff) |
ruby: Remove Timecop gem
Recently gitlab-org/gitlab removed[1] the use of the Timecop gem, in
favor of using ActiveSupport::Testing::TimeHelpers.
We should follow them and do the same, but since we don't have any tests
using Timecop anyway, we simply can get rid of the gem.
[1]: https://gitlab.com/gitlab-org/gitlab/-/issues/214432
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/Gemfile | 1 | ||||
-rw-r--r-- | ruby/Gemfile.lock | 2 | ||||
-rw-r--r-- | ruby/spec/spec_helper.rb | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/ruby/Gemfile b/ruby/Gemfile index e273acfa9..ddbfe5f8b 100644 --- a/ruby/Gemfile +++ b/ruby/Gemfile @@ -30,7 +30,6 @@ group :development, :test do gem 'rubocop', '~> 1.38', require: false gem 'rspec', require: false gem 'rspec-parameterized', require: false - gem 'timecop', require: false gem 'factory_bot', require: false gem 'pry', '~> 0.12.2', require: false end diff --git a/ruby/Gemfile.lock b/ruby/Gemfile.lock index a30add206..176e8d654 100644 --- a/ruby/Gemfile.lock +++ b/ruby/Gemfile.lock @@ -168,7 +168,6 @@ GEM faraday (>= 1.0) thor (1.1.0) thrift (0.17.0) - timecop (0.9.1) tomlrb (2.0.1) tzinfo (2.0.5) concurrent-ruby (~> 1.0) @@ -203,7 +202,6 @@ DEPENDENCIES rubocop (~> 1.38) rugged (~> 1.5.1) sentry-raven (~> 3.0) - timecop BUNDLED WITH 2.3.26 diff --git a/ruby/spec/spec_helper.rb b/ruby/spec/spec_helper.rb index d65ae3b22..d9a28d2c0 100644 --- a/ruby/spec/spec_helper.rb +++ b/ruby/spec/spec_helper.rb @@ -1,6 +1,5 @@ require_relative '../lib/gitaly_server.rb' require_relative 'support/sentry.rb' -require 'timecop' require 'rspec-parameterized' require 'factory_bot' require 'pry' |