gitlab-janitor 1.0.4.94895 → 1.0.4.134295

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14f26d242228d00c0f522100f187ce589117719d33317d98108d261f2d1e3fe9
4
- data.tar.gz: fb6db353ef3800a2336678c2ca09d60914c6cce9c2d3c0368eec65e2d866c677
3
+ metadata.gz: e2249f09f9f20ba337ceb7319c22a507e82c0aa6f78d516f4ad26b9647542ed5
4
+ data.tar.gz: 60f28308ad093d60cb566079bd04ac73800c169492c44a9ee73a7bc17b68dfc0
5
5
  SHA512:
6
- metadata.gz: 21c792b8a83b65dd62b1a33f11db7c7b5bb6dfce85395e8eeec2a6ca325a78b1c936b39155a7dd5d63364a4ca6c33af42bcc7a489e04ad23abe944ba614841ad
7
- data.tar.gz: 56796debf5eead9f11b4e60ef31e1a242b2f673019812d25dd0b429fc8685d2a5fe7f321b7095a699230b7c14fe5bf886c743908567fad8a7db5b6eabdcc550f
6
+ metadata.gz: fdfa224bef1412e8e63d28b4e25e8f520978eff9a776d3c003f14c16f702edda516daefe9d4f6807984b34c821e5d4d765dc97c15ac02452047fb5b515fe19b5
7
+ data.tar.gz: 0e2bae8e4b279a4ef12fade82cf13e3de68563964cd93f0a9303dadf0d13bbbac09bc59549d02cc40b882e941fa409273d04b631a786fce1f4c21636779e3f2e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-janitor (1.0.4.94895)
4
+ gitlab-janitor (1.0.4.134295)
5
5
  activesupport (~> 6.0)
6
6
  docker-api
7
7
  fugit
@@ -12,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (6.1.6.1)
15
+ activesupport (6.1.7.3)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -20,7 +20,8 @@ GEM
20
20
  zeitwerk (~> 2.3)
21
21
  ansi (1.5.0)
22
22
  awesome_print (1.9.2)
23
- concurrent-ruby (1.1.10)
23
+ concurrent-ruby (1.2.2)
24
+ connection_pool (2.4.0)
24
25
  diff-lcs (1.5.0)
25
26
  docile (1.4.0)
26
27
  docker-api (2.2.0)
@@ -28,18 +29,21 @@ GEM
28
29
  multi_json
29
30
  et-orbi (1.2.7)
30
31
  tzinfo
31
- excon (0.92.4)
32
- fugit (1.5.3)
32
+ excon (0.99.0)
33
+ fugit (1.8.1)
33
34
  et-orbi (~> 1, >= 1.2.7)
34
35
  raabro (~> 1.4)
35
36
  i18n (1.12.0)
36
37
  concurrent-ruby (~> 1.0)
37
- minitest (5.16.3)
38
+ minitest (5.18.0)
38
39
  multi_json (1.15.0)
39
- optparse (0.2.0)
40
+ optparse (0.3.1)
40
41
  raabro (1.4.0)
41
42
  rake (13.0.6)
42
- redis (4.8.0)
43
+ redis (5.0.6)
44
+ redis-client (>= 0.9.0)
45
+ redis-client (0.14.1)
46
+ connection_pool
43
47
  rspec (3.11.0)
44
48
  rspec-core (~> 3.11.0)
45
49
  rspec-expectations (~> 3.11.0)
@@ -67,12 +71,12 @@ GEM
67
71
  simplecov_json_formatter (0.1.4)
68
72
  terminal-table (3.0.2)
69
73
  unicode-display_width (>= 1.1.1, < 3)
70
- tzinfo (2.0.5)
74
+ tzinfo (2.0.6)
71
75
  concurrent-ruby (~> 1.0)
72
- tzinfo-data (1.2022.3)
76
+ tzinfo-data (1.2023.3)
73
77
  tzinfo (>= 1.0.0)
74
78
  unicode-display_width (2.2.0)
75
- zeitwerk (2.6.0)
79
+ zeitwerk (2.6.7)
76
80
 
77
81
  PLATFORMS
78
82
  ruby
@@ -114,7 +114,7 @@ module GitlabJanitor
114
114
  logger.info("Force clean image from #{@redis_url}/#{@redis_url}...")
115
115
 
116
116
  redis = Redis.new(url: @redis_url)
117
- redis.ltrim(@redis_list, 0, 10)
117
+ redis.ltrim(@redis_list, 0, 100)
118
118
  now = Time.now
119
119
  redis.lrange(@redis_list, 0, -1).each do |pair|
120
120
  image, ts = pair.split('|')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-janitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4.94895
4
+ version: 1.0.4.134295
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoilenko Yuri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-23 00:00:00.000000000 Z
11
+ date: 2023-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print