dev 1.0.107 → 1.0.108
Sign up to get free protection for your applications and to get access to all the features.
- data/README +7 -3
- data/lib/dev/Defaults.rb +2 -8
- metadata +1 -1
data/README
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright 2012 Lou Parslow
|
1
|
+
Copyright 2012-2013 Lou Parslow
|
2
2
|
|
3
3
|
Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
you may not use this file except in compliance with the License.
|
@@ -12,5 +12,9 @@ Copyright 2012 Lou Parslow
|
|
12
12
|
See the License for the specific language governing permissions and
|
13
13
|
limitations under the License.
|
14
14
|
|
15
|
-
dev is a ruby gem that
|
16
|
-
software development tasks
|
15
|
+
dev is a ruby gem that provides functionality supporting common
|
16
|
+
software development tasks.
|
17
|
+
|
18
|
+
==Installation
|
19
|
+
dev can be installed by the single command
|
20
|
+
gem install dev
|
data/lib/dev/Defaults.rb
CHANGED
@@ -3,14 +3,8 @@ class Defaults
|
|
3
3
|
attr_accessor :project
|
4
4
|
|
5
5
|
def get_default_value(key)
|
6
|
-
|
7
|
-
|
8
|
-
return get_default_value_toolset if key=="toolset"
|
9
|
-
rescue Exception=>e
|
10
|
-
puts "Dev::Defaults.get_default_value('#{key}') raised an exception"
|
11
|
-
puts e.to_s
|
12
|
-
return nil
|
13
|
-
end
|
6
|
+
return get_default_value_src_glob if key=="src_glob"
|
7
|
+
return get_default_value_toolset if key=="toolset"
|
14
8
|
end
|
15
9
|
|
16
10
|
def get_default_value_src_glob
|