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 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: 6435524220ccf820d1c37003596476af54597b47df5d040d4ed7dca8f29184f2a40b6c182d5e8a07da988791033d586efcefee07d12715607d5da48a404ec739
7
- metadata.gz: da6d303c4eb8f1b88a41d7b2ed2ebe87949bf69ff5dd631cd3d0957d2fcef0380b560d4734182f966c64a5fde49b4a808e56e79b1f06da03e3b44dcc7378e6d0
3
+ data.tar.gz: ec35640f50f6b45070f06e96f7a05d1b38cd4e0f276303795305b3d3127f50b469ad1f67ddbf5984e4789f42dac1fc361628003e2fd820bb170414d53336fdaf
4
+ metadata.gz: 46f35d93d8832697daf1804ac62ad04dd210ca472366b569ff41c2e93eaa2091f7bdab3e90625e33aa91494fc561057bf77f51ff43c787f2e38efc800bf32637
5
+ SHA1:
6
+ data.tar.gz: dbbefe14f8152a5c2a448874d785f0b47f2aa645
7
+ metadata.gz: 59256bfade020c4ec15a642df76424664625ca1f
@@ -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", "Remote git repository for initial configs file download [corp,stash,<git url>]") do |v|
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
@@ -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", "Remote git repository for initial configs file download [corp,stash,<git url>]") do |v|
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] = v
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 --nobranch, not both."
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 --nobranch"
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
@@ -7,6 +7,6 @@
7
7
  #
8
8
  class Info
9
9
  def self.version
10
- "0.0.27"
10
+ "0.0.28"
11
11
  end
12
12
  end
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.27
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-01 00:00:00 Z
12
+ date: 2013-08-05 00:00:00 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: subcommand