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 +3 -0
- data/README.rdoc +3 -0
- data/lib/drumherum/rake.rb +16 -6
- data/version.rb +1 -1
- metadata +2 -2
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
data/lib/drumherum/rake.rb
CHANGED
@@ -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.
|
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
|
-
#
|
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
|
-
|
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
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.
|
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-
|
12
|
+
date: 2012-10-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|