thor 0.11.6 → 0.11.7
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/Thorfile +2 -0
- data/VERSION +1 -1
- data/lib/thor/rake_compat.rb +3 -5
- metadata +2 -2
data/Thorfile
CHANGED
@@ -50,6 +50,8 @@ class Default < Thor
|
|
50
50
|
s.files.exclude 'spec/sandbox/**/*'
|
51
51
|
s.test_files.exclude 'spec/sandbox/**/*'
|
52
52
|
end
|
53
|
+
|
54
|
+
Jeweler::RubyforgeTasks.new
|
53
55
|
rescue LoadError
|
54
56
|
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
55
57
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.7
|
data/lib/thor/rake_compat.rb
CHANGED
@@ -43,11 +43,9 @@ class Object #:nodoc:
|
|
43
43
|
description.strip!
|
44
44
|
|
45
45
|
klass.desc description, task.comment || non_namespaced_name
|
46
|
-
klass.
|
47
|
-
|
48
|
-
|
49
|
-
end
|
50
|
-
METHOD
|
46
|
+
klass.send :define_method, non_namespaced_name do |*args|
|
47
|
+
Rake::Task[task.name.to_sym].invoke(*args)
|
48
|
+
end
|
51
49
|
end
|
52
50
|
|
53
51
|
task
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yehuda Katz
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-09-
|
13
|
+
date: 2009-09-22 00:00:00 -03:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|