bosh_common 1.3215.4.0 → 1.3232.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: be6eead4c1f8dd7299bfa49f4c1ac93232f4ca20
4
- data.tar.gz: 5c13808f27a4fa8817caa82ed02861e8c86bfaf0
3
+ metadata.gz: 2b6247fa7d4aae7ea80b9c87a27f2f3ad4e03a03
4
+ data.tar.gz: 14f491940ab964e010ae224bcc543a06143c7280
5
5
  SHA512:
6
- metadata.gz: d6af69e8a078acd2a1fbce46eb28bd5e5804051361e666490e3fdfecfd7526dc83c2a176c76bdd7a89dd8f035385a957c3e8eb4c0f98eb523d04ba1da512e14f
7
- data.tar.gz: d71c932a32ecc302cc20546af086d92bcd07997f75db02e3e4e91c36791107aa39364f9e67aa467ca26e65bd63c1a8cc4f4402cb2de49bbdbff9141b0dff5da5
6
+ metadata.gz: 1e7767fc34b7b996cc3a6827ae6c2671321bc12dd55c0b310b75c5d8e1e2aa3072ae43bef88c8639ae450ee3ec84e04a0cb10193cdce0470ff564b3faf0d4390
7
+ data.tar.gz: 2e1ea8e708289a9607d981db3b8c74d0d960598092fba93287ae7ea6a52c5d9a3ac62442402c29dbc1fb486ce4346289551994f9f3eddfbca9e1f2315fed846d
@@ -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.4.0'
3
+ VERSION = '1.3232.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.4.0
4
+ version: 1.3232.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-04-14 00:00:00.000000000 Z
11
+ date: 2016-04-25 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