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:
- 1445 Bytes
- Properties:
- Property svn:executable is set to *
1 | require 'rake' |
2 | require 'rake/testtask' |
3 | require 'rake/rdoctask' |
4 | |
5 | begin |
6 | require 'jeweler' |
7 | Jeweler::Tasks.new do |gem| |
8 | # Radiant only recognizes gems as extensions if they're named according to |
9 | # the radiant-*-extension pattern. Please retain the prefix and suffix. |
10 | gem.name = "radiant-<%= file_name %>-extension" |
11 | gem.summary = %Q{<%= class_name.titleize %> for Radiant CMS} |
12 | gem.description = %Q{Describe your extension here} |
13 | gem.email = "<%= author_email %>" |
14 | gem.homepage = "<%= homepage %>" |
15 | gem.authors = ["<%= author_name %>"] |
16 | # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings |
17 | end |
18 | rescue LoadError |
19 | puts "Jeweler (or a dependency) not available. This is only required if you plan to package <%= file_name %> as a gem." |
20 | end |
21 | |
22 | desc 'Default: run unit tests.' |
23 | task :default => :test |
24 | |
25 | desc 'Test the <%= file_name %> extension.' |
26 | Rake::TestTask.new(:test) do |t| |
27 | t.libs << 'lib' |
28 | t.pattern = 'test/**/*_test.rb' |
29 | t.verbose = true |
30 | end |
31 | |
32 | desc 'Generate documentation for the <%= file_name %> extension.' |
33 | Rake::RDocTask.new(:rdoc) do |rdoc| |
34 | rdoc.rdoc_dir = 'rdoc' |
35 | rdoc.title = '<%= class_name %>' |
36 | rdoc.options << '--line-numbers' << '--inline-source' |
37 | rdoc.rdoc_files.include('README') |
38 | rdoc.rdoc_files.include('lib/**/*.rb') |
39 | end |
40 | |
41 | # Load any custom rakefiles for extension |
42 | Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f } |