bosh_common 1.3215.0 → 1.3215.3.0

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: 58ca538fddd94ba50cf5b9f670cf8eeb78619779
4
- data.tar.gz: ada45dd936ee9e36df6bc85a9cc9fce72f7f5319
3
+ metadata.gz: 095aa49b470d5c687916e5ac779f019d5116afd5
4
+ data.tar.gz: 7649f607c0002e6c6183e7f9bf45c2767e8b4a0f
5
5
  SHA512:
6
- metadata.gz: dff8b81c1ed8448dba82bac25d0844a1ae328c1ba6ae75272b36570dfd059bfd04627a6ef4020e658e09b4ca732a99a683f869e723ed3285640a9e15cc0195c7
7
- data.tar.gz: a9a8f25f02389ce9772028a88cb7a1d979e57854e576f8db5761c77fcc5bb02dec8bae0deedb523d610b5279e41571c0d9323a43f7e972851e03f912c2a1c1d3
6
+ metadata.gz: 635c3a0f1665faf7afff0c75231c269655b707d1ac39d883548d2e22accd0d4ba9f24e31355fe7fa6312d0f8e7f575708022ddfe50575681c15216b78462c1a2
7
+ data.tar.gz: 15633ae8ed77339fd7d7c10fdcd55fdac1085509fb4847b7e2755ffa59fbe15c6e7795bc97f380a9a05efd492fa97d71221d37ecf2ab3516d825028fa3da7029
@@ -0,0 +1,16 @@
1
+ module Bosh::Common::Release
2
+ class ReleaseDirectory
3
+ def initialize(release_directory)
4
+ @release_directory = release_directory
5
+ end
6
+
7
+ def ordered_release_files
8
+ dir_entries = Dir.entries(@release_directory)
9
+ ordered_release_files = ['release.MF']
10
+ ordered_release_files += (dir_entries & ['LICENSE', 'NOTICE']).sort
11
+ ordered_release_files << 'jobs'
12
+ ordered_release_files += (dir_entries & ['compiled_packages', 'packages'])
13
+ ordered_release_files.map { |filename| "./#{filename}" }
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Common
3
- VERSION = '1.3215.0'
3
+ VERSION = '1.3215.3.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_common
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3215.0
4
+ version: 1.3215.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-15 00:00:00.000000000 Z
11
+ date: 2016-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semi_semantic
@@ -92,6 +92,7 @@ files:
92
92
  - lib/common/exec.rb
93
93
  - lib/common/exec/error.rb
94
94
  - lib/common/exec/result.rb
95
+ - lib/common/release/release_directory.rb
95
96
  - lib/common/retryable.rb
96
97
  - lib/common/ssl.rb
97
98
  - lib/common/thread_formatter.rb