ebm 0.0.27 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/commands/configs.rb +1 -1
- data/lib/commands/prepare.rb +4 -4
- data/lib/ebmsharedlib/utilities.rb +1 -0
- data/lib/info.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
SHA1:
|
3
|
-
data.tar.gz: 1329a2d66f69570f392faa3e3520bb69bc44b45a
|
4
|
-
metadata.gz: d220c0ef2a89faa9be227e46418ebf9aecfe309d
|
5
2
|
SHA512:
|
6
|
-
data.tar.gz:
|
7
|
-
metadata.gz:
|
3
|
+
data.tar.gz: ec35640f50f6b45070f06e96f7a05d1b38cd4e0f276303795305b3d3127f50b469ad1f67ddbf5984e4789f42dac1fc361628003e2fd820bb170414d53336fdaf
|
4
|
+
metadata.gz: 46f35d93d8832697daf1804ac62ad04dd210ca472366b569ff41c2e93eaa2091f7bdab3e90625e33aa91494fc561057bf77f51ff43c787f2e38efc800bf32637
|
5
|
+
SHA1:
|
6
|
+
data.tar.gz: dbbefe14f8152a5c2a448874d785f0b47f2aa645
|
7
|
+
metadata.gz: 59256bfade020c4ec15a642df76424664625ca1f
|
data/lib/commands/configs.rb
CHANGED
@@ -25,7 +25,7 @@ module Commands
|
|
25
25
|
opts.banner = "Usage: configs"
|
26
26
|
opts.description = "List all configurations."
|
27
27
|
|
28
|
-
opts.on('-r', "--config-repo name",
|
28
|
+
opts.on('-r', "--config-repo name", EbmSharedLib::REPO_COMMAND_DETAILS) do |v|
|
29
29
|
options[:config_repo] = v
|
30
30
|
end
|
31
31
|
end
|
data/lib/commands/prepare.rb
CHANGED
@@ -26,7 +26,7 @@ module Commands
|
|
26
26
|
opts.banner = "Usage: prepare [options]"
|
27
27
|
opts.description = "Prepare your build environment"
|
28
28
|
|
29
|
-
opts.on('-r', "--config-repo name",
|
29
|
+
opts.on('-r', "--config-repo name", EbmSharedLib::REPO_COMMAND_DETAILS) do |v|
|
30
30
|
options[:config_repo] = v
|
31
31
|
end
|
32
32
|
|
@@ -39,7 +39,7 @@ module Commands
|
|
39
39
|
end
|
40
40
|
|
41
41
|
opts.on("--no-branch", "Don't create developer branch.") do |v|
|
42
|
-
options[:nobranch] =
|
42
|
+
options[:nobranch] = true # just indicate that the option was set (parms used --no to mean false but we don't want that)
|
43
43
|
end
|
44
44
|
|
45
45
|
opts.on("--with-local-version", "Also include a local version branch, only applies with the -i option.") do |v|
|
@@ -146,11 +146,11 @@ module Commands
|
|
146
146
|
with_local_version = !!options[:with_local_version]
|
147
147
|
|
148
148
|
if (nobranch && initials)
|
149
|
-
raise "You must specify either the --initials or --
|
149
|
+
raise "You must specify either the --initials or --no-branch, not both."
|
150
150
|
end
|
151
151
|
|
152
152
|
if (initials.nil? && nobranch == false)
|
153
|
-
raise "You must specify either --initials or --
|
153
|
+
raise "You must specify either --initials or --no-branch"
|
154
154
|
end
|
155
155
|
|
156
156
|
if (with_local_version && initials.nil?)
|
@@ -10,6 +10,7 @@ module EbmSharedLib
|
|
10
10
|
CONFIG_DIR = "build_configs"
|
11
11
|
CONFIG_SUFFIX = ".config"
|
12
12
|
SETTINGS_FILE = ".ebm-settings.json"
|
13
|
+
REPO_COMMAND_DETAILS = "Remote git repository for initial configs file download [mobi,corp,stash,<git url>]"
|
13
14
|
|
14
15
|
# the key is the shortcut used for the config repos
|
15
16
|
CONFIG_REPOS = {
|
data/lib/info.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ebm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Seitz
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-05 00:00:00 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: subcommand
|