brightbox-cli 0.18.0 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,14 +39,14 @@ module Brightbox
39
39
  end
40
40
  end
41
41
 
42
- snapshots = images.select { |i| i.source_type == 'snapshot' }
43
- images = images - snapshots
44
-
45
42
  unless options[:a]
46
43
  account = Account.conn_account
47
44
  images.reject! { |i| !i.official and i.owner_id != account.id }
48
45
  end
49
46
 
47
+ snapshots = images.select { |i| i.source_type == 'snapshot' }
48
+ images = images - snapshots
49
+
50
50
  images.sort! { |a, b| a.default_sort_fields <=> b.default_sort_fields }
51
51
  snapshots.sort! { |a, b| a.created_at <=> b.created_at }
52
52
  images + snapshots
@@ -1,3 +1,3 @@
1
1
  module Brightbox
2
- VERSION = "0.18.0" unless defined?(Brightbox::VERSION)
2
+ VERSION = "0.18.1" unless defined?(Brightbox::VERSION)
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 18
8
- - 0
9
- version: 0.18.0
8
+ - 1
9
+ version: 0.18.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Leach
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-04-18 00:00:00 +01:00
17
+ date: 2012-06-20 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency