drumherum 0.1.18 → 0.1.19

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/History.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.1.19 2012-10-17
2
+ * hide_tasks
3
+
1
4
  == 0.1.8 2012-10-16
2
5
  * yard documentation
3
6
 
data/README.rdoc CHANGED
@@ -19,6 +19,9 @@ Tasks:
19
19
  rake rubygems_publish # release actual version to rubygems
20
20
  See {file:lib/drumherum/rake.rb rake.rb}
21
21
 
22
+ == Hiding and overwriting of rake tasks
23
+ {include:RakeTaskCleanup}
24
+
22
25
  == Unit Tests
23
26
  {include:UnitTest}
24
27
 
@@ -27,16 +27,26 @@ Rake::TaskManager.class_eval do
27
27
  end
28
28
 
29
29
 
30
+
31
+ # {include:RakeTaskCleanup#hide_tasks}
32
+ #
33
+ # {include:RakeTaskCleanup#remove_task}
34
+ #
30
35
  module RakeTaskCleanup
31
36
 
32
- # If you want to override a task, you first have to delete it. Usage:
37
+ # If you want to override a task, you first have to delete it. Use
38
+ # {RakeTaskCleanup#remove_task remove_task} for it.
39
+ # Usage:
33
40
  # remove_task 'test:plugins'
34
41
  #
35
42
  def remove_task(task_name)
36
43
  Rake.application.remove_task(task_name)
37
44
  end
38
45
 
39
- # You can just hide tasks by clearing their descriptions.
46
+ # Do you want to clean up the messy rake task list? Use
47
+ # {RakeTaskCleanup#hide_tasks hide_tasks} to hide unused rake tasks from +rake -T+.
48
+ #
49
+ # You hide tasks by clearing their descriptions.
40
50
  # After this they still exist, but they are not listed anymore.
41
51
  # Usage:
42
52
  # hide_tasks [ :announce, :audit, :check_extra_deps, :clobber_docs, :clobber_package, :default ]
@@ -71,7 +81,7 @@ end
71
81
  # Task :publish
72
82
  #
73
83
  desc 'publish all on github and rubygems, reinstall gem'
74
- task :publish => [ :utf8, :doku, :rubygems_publish, :gem_uninstall, :git_publish, :git_publish_docs, :sleep_15, :utf8, :gem_install] do
84
+ task :publish => [ :utf8, :doku, :rubygems_publish, :gem_uninstall, :git_publish, :git_publish_docs, :sleep_15, :utf8, :gem_install, :version] do
75
85
  puts 'done.'
76
86
  end
77
87
 
@@ -294,9 +304,9 @@ end
294
304
  #
295
305
  desc 'Set Codepage to 65001'
296
306
  task :utf8 do
297
-
298
- sh 'chcp 65001 > NUL ' if Hoe::WINDOZE
299
-
307
+ verbose(false) do
308
+ sh 'chcp 65001 > NUL ' if Hoe::WINDOZE
309
+ end
300
310
  end
301
311
 
302
312
 
data/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Drumherum
3
3
 
4
- VERSION = '0.1.18'
4
+ VERSION = '0.1.19'
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.18
4
+ version: 0.1.19
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-16 00:00:00.000000000 Z
12
+ date: 2012-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc