capsaicin 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/VERSION.yml +1 -1
- data/lib/capsaicin/bundle.rb +2 -1
- data/lib/capsaicin/files.rb +2 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -40,7 +40,7 @@ begin
|
|
40
40
|
|
41
41
|
host = "#{config['username']}@rubyforge.org"
|
42
42
|
remote_dir = "/var/www/gforge-projects/capsaicin/"
|
43
|
-
local_dir = '
|
43
|
+
local_dir = 'doc'
|
44
44
|
|
45
45
|
Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
|
46
46
|
end
|
@@ -55,7 +55,7 @@ end
|
|
55
55
|
desc "Generate RDoc documentation"
|
56
56
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
57
57
|
rdoc.options << '--line-numbers' << '--inline-source' <<
|
58
|
-
'--main' << 'README' <<
|
58
|
+
'--main' << 'README.rdoc' <<
|
59
59
|
'--title' << "Capsaicin" <<
|
60
60
|
'--charset' << 'utf-8'
|
61
61
|
rdoc.rdoc_dir = "doc"
|
data/VERSION.yml
CHANGED
data/lib/capsaicin/bundle.rb
CHANGED
data/lib/capsaicin/files.rb
CHANGED
@@ -34,7 +34,8 @@ module Capsaicin
|
|
34
34
|
"def #{m}(*args, &block)\n send(_via.to_s + '_files').#{m}(*args, &block)\nend"
|
35
35
|
end.join("\n"), __FILE__, __LINE__)
|
36
36
|
|
37
|
-
|
37
|
+
|
38
|
+
def _via # :nodoc:
|
38
39
|
if LOCAL_RUN_METHODS.include? @config.fetch(:run_method, nil)
|
39
40
|
:local
|
40
41
|
else
|