Permalink
Browse files

fully rename things from all_pages to allpages

  • Loading branch information...
1 parent 02e733d commit f35784fde0dc2aeb3eb8f48042b9a11b0cebe13b @dayne committed Oct 10, 2009
View
@@ -102,7 +102,7 @@ namespace :spec do
end
end
-desc 'Generate documentation for the all_pages extension.'
+desc 'Generate documentation for the allpages extension.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'AllPagesExtension'
@@ -112,12 +112,12 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
end
# For extensions that are in transition
-desc 'Test the all_pages extension.'
+desc 'Test the allpages extension.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
# Load any custom rakefiles for extension
-Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
+Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
@@ -3,8 +3,8 @@
class AllPagesExtension < Radiant::Extension
version "1.0"
- description "A simple extension to add r:all_pages radius tag"
- url "http://github.com/dayne/radiant-all_pages-extension"
+ description "A simple extension to add r:allpages radius tag"
+ url "http://github.com/dayne/radiant-allpages-extension"
def activate
Page.class_eval { include AllPagesTags }
View
@@ -12,5 +12,5 @@
Dataset::Resolver.default = Dataset::DirectoryResolver.new("#{RADIANT_ROOT}/spec/datasets", File.dirname(__FILE__) + '/../../spec/datasets', File.dirname(__FILE__) + '/../datasets')
self.datasets_database_dump_path = "#{Rails.root}/tmp/dataset"
- # dataset :all_pages
-end
+ # dataset :allpages
+end
File renamed without changes.
@@ -1,6 +1,6 @@
namespace :radiant do
namespace :extensions do
- namespace :all_pages do
+ namespace :allpages do
desc "Runs the migration of the All Pages extension"
task :migrate => :environment do

0 comments on commit f35784f

Please sign in to comment.