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 +4 -4
- data/lib/common/release/release_directory.rb +16 -0
- data/lib/common/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 095aa49b470d5c687916e5ac779f019d5116afd5
|
4
|
+
data.tar.gz: 7649f607c0002e6c6183e7f9bf45c2767e8b4a0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/common/version.rb
CHANGED
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-
|
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
|