cide 0.6.0 → 0.6.1

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
  SHA1:
3
- metadata.gz: 75c61ed91d6c0393c10dfe65926187de5aa3f8d4
4
- data.tar.gz: a96c7379797f3708a8bfa56d5c40d189812d6870
3
+ metadata.gz: 428cf4d061f894accbfe57959d6cb171a17d019d
4
+ data.tar.gz: 8cf5abea4fbb983f986c466741be091e36088b62
5
5
  SHA512:
6
- metadata.gz: fb4182ea7c26cdff0fc2e3811fbd6145af1396307e714a5d6298db7ed825e0b9c5c08edcbe03d728d7e8dad80c8f95c9dacec684f82b60cd5585e395007ae90c
7
- data.tar.gz: 2816622e32e6fb799467f808d3ce2cf44f7a27603ae86729081f8a3d3f2c4339494234ba87f7a2741e94a007a78d7f2dd6f163ea271dd8c751df1f8ff0936e50
6
+ metadata.gz: 753a0fda4a40711e489dc5818fa2de5c230f209738b1d067e2dc997d48e1bb6ba5795540b2709886f158e03b3b44f835c78e8fad0ee9183618033319852ed726
7
+ data.tar.gz: 075b5de84cf8e61dd50541c1d4cf12a80175dca0357ae6c9a0bc5811ca60194d74817e8d9a53b45947b357282b2f7cdfe11a5b2fa6484098b5db00d8b4c653a3
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
1
 
2
+ 0.6.1 / 2015-07-08
3
+ ==================
4
+
5
+ * FIX: cleaning wasn't removing all the expected images
6
+ * CHANGE: clean is keeping the last 20 images (vs. 10 before)
7
+
2
8
  0.6.0 / 2015-07-03
3
9
  ==================
4
10
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cide (0.6.0)
4
+ cide (0.6.1)
5
5
  thor (~> 0.19)
6
6
  virtus (~> 1.0)
7
7
 
data/cide.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'cide'
5
- s.version = '0.6.0'
5
+ s.version = '0.6.1'
6
6
  s.authors = ['zimbatm']
7
7
  s.email = ['zimbatm@zimbatm.com']
8
8
  s.summary = 'Isolated test runner with Docker'
data/lib/cide/cli.rb CHANGED
@@ -225,7 +225,7 @@ module CIDE
225
225
  type: :numeric
226
226
  method_option 'count',
227
227
  desc: 'Maximum number of images to keep',
228
- default: 10,
228
+ default: 20,
229
229
  type: :numeric
230
230
  def clean
231
231
  setup_docker
@@ -238,7 +238,7 @@ module CIDE
238
238
  iter.next
239
239
  cide_image_ids = iter
240
240
  .map { |line| line.split(/\s+/) }
241
- .select { |line| line[0] =~ %r{^cide/} || line[0] == '<none>' }
241
+ .select { |line| line[0] =~ %r{^cide[/-]} || line[0] == '<none>' }
242
242
  .map { |line| line[2] }
243
243
 
244
244
  if cide_image_ids.empty?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zimbatm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-03 00:00:00.000000000 Z
11
+ date: 2015-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor