Skip to content

Commit

Permalink
fully rename things from all_pages to allpages
Browse files Browse the repository at this point in the history
  • Loading branch information
dayne committed Oct 10, 2009
1 parent 02e733d commit f35784f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -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'
Expand All @@ -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 }
4 changes: 2 additions & 2 deletions all_pages_extension.rb → allpages_extension.rb
Expand Up @@ -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 }
Expand Down
4 changes: 2 additions & 2 deletions features/support/env.rb
Expand Up @@ -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
Expand Down

0 comments on commit f35784f

Please sign in to comment.