shake 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ v0.1.2
2
+ ------
3
+
4
+ * FIX: Ruby 1.8.6 compatibility.
5
+
1
6
  v0.1.1
2
7
  ------
3
8
 
data/lib/shake.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'ostruct'
2
2
 
3
3
  class Shake
4
- VERSION = "0.1.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.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-15 00:00:00 +08:00
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