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:
- 747 Bytes
1 | require 'rbconfig' |
2 | require 'find' |
3 | require 'ftools' |
4 | |
5 | include Config |
6 | |
7 | # this was adapted from rdoc's install.rb by way of Log4r |
8 | |
9 | $sitedir = CONFIG["sitelibdir"] |
10 | unless $sitedir |
11 | version = CONFIG["MAJOR"] + "." + CONFIG["MINOR"] |
12 | $libdir = File.join(CONFIG["libdir"], "ruby", version) |
13 | $sitedir = $:.find {|x| x =~ /site_ruby/ } |
14 | if !$sitedir |
15 | $sitedir = File.join($libdir, "site_ruby") |
16 | elsif $sitedir !~ Regexp.quote(version) |
17 | $sitedir = File.join($sitedir, version) |
18 | end |
19 | end |
20 | |
21 | # the actual gruntwork |
22 | Dir.chdir("lib") |
23 | |
24 | Find.find("action_mailer", "action_mailer.rb") { |f| |
25 | if f[-3..-1] == ".rb" |
26 | File::install(f, File.join($sitedir, *f.split(/\//)), 0644, true) |
27 | else |
28 | File::makedirs(File.join($sitedir, *f.split(/\//))) |
29 | end |
30 | } |