drumherum 0.1.19 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/drumherum/rake.rb +18 -2
  2. data/version.rb +1 -1
  3. metadata +2 -2
@@ -54,7 +54,7 @@ module RakeTaskCleanup
54
54
  def hide_tasks(task_list)
55
55
  task_list.each do | task_name |
56
56
  t = Rake.application.lookup(task_name)
57
- t.hide!
57
+ t.hide! unless t.nil?
58
58
  end
59
59
  end
60
60
  end
@@ -99,6 +99,21 @@ end
99
99
  end
100
100
 
101
101
 
102
+
103
+ # yard
104
+ #
105
+ remove_task ':yard'
106
+
107
+ desc 'yard doc'
108
+ task :yard do
109
+ if Hoe::WINDOZE
110
+ sh "yard doc "
111
+ else
112
+ sh "sudo yard doc "
113
+ end
114
+ end
115
+
116
+
102
117
  # Task :yard_post
103
118
  #
104
119
  desc 'postprocessing for yard docs'
@@ -112,7 +127,8 @@ end
112
127
  end
113
128
  end
114
129
 
115
-
130
+
131
+
116
132
 
117
133
 
118
134
 
data/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Drumherum
3
3
 
4
- VERSION = '0.1.19'
4
+ VERSION = '0.1.20'
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drumherum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-17 00:00:00.000000000 Z
12
+ date: 2012-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc