Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 612 Bytes
1 | namespace :db do |
2 | namespace :dataset do |
3 | desc "Load one or more datasets into the current environment's database using DATASETS=name,name" |
4 | task :load => :environment do |
5 | require 'dataset' |
6 | dataset_names = (ENV['DATASETS'] || 'default').split(',') |
7 | |
8 | context = Class.new do |
9 | extend Dataset::ContextClassMethods |
10 | datasets_directory [ |
11 | "#{RAILS_ROOT}/spec/datasets", |
12 | "#{RAILS_ROOT}/test/datasets" |
13 | ].detect {|path| File.directory?(path)} |
14 | add_dataset *dataset_names |
15 | dataset_session.load_datasets_for self |
16 | end |
17 | end |
18 | end |
19 | end |