Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 377
- Log:
Various files are in the gem, but apparently not in the source distribution
on GitHub. These have been copied in from the working gem.
- Author:
- rool
- Date:
- Mon Mar 21 13:46:18 +0000 2011
- Size:
- 942 Bytes
1 | namespace :radiant do |
2 | namespace :extensions do |
3 | namespace :archive do |
4 | |
5 | desc "Runs the migration of the Archive extension" |
6 | task :migrate => :environment do |
7 | require 'radiant/extension_migrator' |
8 | if ENV["VERSION"] |
9 | ArchiveExtension.migrator.migrate(ENV["VERSION"].to_i) |
10 | else |
11 | ArchiveExtension.migrator.migrate |
12 | end |
13 | end |
14 | |
15 | desc "Copies public assets of the Archive to the instance public/ directory." |
16 | task :update => :environment do |
17 | is_svn_or_dir = proc {|path| path =~ /\.svn/ || File.directory?(path) } |
18 | Dir[ArchiveExtension.root + "/public/**/*"].reject(&is_svn_or_dir).each do |file| |
19 | path = file.sub(ArchiveExtension.root, '') |
20 | directory = File.dirname(path) |
21 | puts "Copying #{path}..." |
22 | mkdir_p RAILS_ROOT + directory |
23 | cp file, RAILS_ROOT + path |
24 | end |
25 | end |
26 | end |
27 | end |
28 | end |