public
Description: Collective Idea's Awesomeness. A collection of useful Rails bits and pieces.
Clone URL: git://github.com/collectiveidea/awesomeness.git
Click here to lend your support to: awesomeness and make a donation at www.pledgie.com !
Making awesomeness happen
Wed Feb 28 17:17:16 -0800 2007
commit  82d3f73f49e9003c1caa927caa97ccebb2c75414
tree    713e138108ba95c2beec80664911783709e7d473
parent  0bbb07ff819f51eee0577af9edf1936c7aa7fd85
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@ end
0
 desc 'Generate documentation for the awesomeness plugin.'
0
 Rake::RDocTask.new(:rdoc) do |rdoc|
0
   rdoc.rdoc_dir = 'rdoc'
0
- rdoc.title = 'VersionNumber'
0
+ rdoc.title = 'Awesomeness'
0
   rdoc.options << '--line-numbers' << '--inline-source'
0
   rdoc.rdoc_files.include('README')
0
   rdoc.rdoc_files.include('lib/**/*.rb')
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,5 +1,5 @@
0
 @deploy_require = "require File.join('vendor', 'plugins', 'awesomeness', 'lib', 'recipies')"
0
-@deploy_path = File.join(File.dirname(__FILE__), '..','..', '..', '..', 'config', 'deploy')
0
+@deploy_path = File.join(File.dirname(__FILE__), '..','..', '..', '..', 'config', 'deploy.rb')
0
 
0
 def gsub_file(path, regexp, *args, &block)
0
   content = File.read(path).gsub(regexp, *args, &block)
...
1
 
2
3
...
 
1
2
3
0
@@ -1,3 +1,3 @@
0
-require File.join(File.dirname(__FILE__), 'lib', 'helpers.rb')
0
+require File.join(File.dirname(__FILE__), 'lib', 'helpers')
0
 
0
 gsub_file @deploy_path, /\A\s*(#{Regexp.escape(@deploy_require)}\s*\n)?/mi, ''

Comments

    No one has commented yet.