bake-toolkit 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/lib/bake/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Cxxproject
2
2
  class Version
3
3
  def self.bake
4
- "1.0.12"
4
+ "1.0.13"
5
5
  end
6
6
  end
7
7
 
@@ -21,8 +21,6 @@ module Cxxproject
21
21
  @socket = 0
22
22
  @def_root = nil
23
23
 
24
- add_default(Proc.new{ |x| set_collection_name_default(x) })
25
-
26
24
  add_option(Option.new("-b",true) { |x| set_collection_name(x) })
27
25
  add_option(Option.new("-m",true) { |x| set_collection_dir(x) })
28
26
  add_option(Option.new("-r",false) { set_error })
@@ -34,7 +32,7 @@ module Cxxproject
34
32
 
35
33
  def usage
36
34
  puts "\nUsage: bake <name> [options]"
37
- puts " [-b] <name> Name of the collection to build."
35
+ puts " -b <name> Name of the collection to build."
38
36
  puts " -m <dir> Directory containing the collection file (default is current directory)."
39
37
  puts " -r Stop on first error."
40
38
  puts " -a <scheme> Use ansi color sequences (console must support it). Possible values are 'white' and 'black'."
@@ -62,13 +60,6 @@ module Cxxproject
62
60
  end
63
61
  end
64
62
 
65
- def set_collection_name_default(collection_name)
66
- index = collection_name.index('-')
67
- return false if (index != nil and index == 0)
68
- set_collection_name(collection_name)
69
- return true
70
- end
71
-
72
63
  def set_collection_name(collection_name)
73
64
  if not @collection_name.empty?
74
65
  Printer.printError "Error: Cannot set collection name '#{collection_name}', because collection name is already set to '#{@collection_name}'"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bake-toolkit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.12
5
+ version: 1.0.13
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alexander Schaal
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-04-17 00:00:00 Z
13
+ date: 2013-04-19 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cxxproject