shake 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/{CHANGELOG → HISTORY.md} +5 -0
- data/lib/shake.rb +2 -2
- metadata +3 -3
data/{CHANGELOG → HISTORY.md}
RENAMED
data/lib/shake.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'ostruct'
|
2
2
|
|
3
3
|
class Shake
|
4
|
-
VERSION = "0.1.
|
4
|
+
VERSION = "0.1.2"
|
5
5
|
|
6
6
|
Abort = Class.new(StandardError)
|
7
7
|
|
@@ -35,7 +35,7 @@ class Shake
|
|
35
35
|
def task(what=nil, options={}, &blk)
|
36
36
|
return @last if what.nil?
|
37
37
|
|
38
|
-
key = what.downcase.to_sym
|
38
|
+
key = what.to_s.downcase.to_sym
|
39
39
|
@last = tasks[key] = new_task(options, &blk) if block_given?
|
40
40
|
tasks[key]
|
41
41
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: shake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Rico Sta. Cruz
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-02-
|
13
|
+
date: 2011-02-20 00:00:00 +08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|
@@ -33,8 +33,8 @@ files:
|
|
33
33
|
- test/unit/traverse_test.rb
|
34
34
|
- examples/example
|
35
35
|
- examples/example2
|
36
|
+
- HISTORY.md
|
36
37
|
- README.md
|
37
|
-
- CHANGELOG
|
38
38
|
- Rakefile
|
39
39
|
- bin/shake
|
40
40
|
has_rdoc: true
|