Skip to content

Commit

Permalink
support Rails 2.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
John Woodell committed Sep 5, 2010
1 parent 820101f commit 7244252
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ require 'rake/gempackagetask'

spec = Gem::Specification.new do |s|
s.name = "rails_appengine"
s.version = '0.0.4'
s.version = '0.0.5'
s.platform = Gem::Platform::RUBY
s.has_rdoc = false
s.extra_rdoc_files = ["README.rdoc", "LICENSE"]
s.description = "Config files for Rails on App Engine"
s.summary = "We intend to provide a common set of config files " +
"for Rails 2.3.5 (and eventually 3.0) on Google App Engine."
"for Rails 2.3.5, 2.3.8 and 2.3.9 on Google App Engine."
s.authors = ["Takeru Sasaki", "Josh S Moore", "John Woodell"]
s.email = ["sasaki.takeru@gmail.com", "joshsmoore@gmail.com",
"woodie@netpress.com"]
Expand Down
2 changes: 1 addition & 1 deletion lib/rails_appengine/action_mailer_vendored.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
base = nil
pre = File.dirname(__FILE__).split('/')[0..-4].join('/') + "/actionmailer-2.3"
5.upto(8) { |v| base = "#{pre}.#{v}" if File.exist?("#{pre}.#{v}") }
5.upto(9) { |v| base = "#{pre}.#{v}" if File.exist?("#{pre}.#{v}") }
am = "#{base}/lib/action_mailer/vendor"
tmail_ver = base[-5..-1].eql?('2.3.5') ? 'tmail-1.2.3' : 'tmail-1.2.7'
$LOAD_PATH.unshift "#{am}/#{tmail_ver}"
7 changes: 4 additions & 3 deletions lib/rails_appengine/active_support_vendored.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
base = nil
pre = File.dirname(__FILE__).split('/')[0..-4].join('/') + "/activesupport-2.3"
5.upto(8) { |v| base = "#{pre}.#{v}" if File.exist?("#{pre}.#{v}") }
5.upto(9) { |v| base = "#{pre}.#{v}" if File.exist?("#{pre}.#{v}") }
as = "#{base}/lib/active_support/vendor"
i18n_ver = base[-5..-1].eql?('2.3.5') ? 'i18n-0.1.3/lib' : 'i18n-0.3.7'
iv = {'2.3.5' => '0.1.3/lib', '2.3.8' => '0.3.7', '2.3.9' => '0.4.1'}
i18n_ver = iv[base[-5..-1]]
$LOAD_PATH.unshift "#{as}/builder-2.1.2"
$LOAD_PATH.unshift "#{as}/memcache-client-1.7.4"
$LOAD_PATH.unshift "#{as}/tzinfo-0.3.12"
$LOAD_PATH.unshift "#{as}/#{i18n_ver}"
$LOAD_PATH.unshift "#{as}/i18n-#{i18n_ver}"
require 'builder'
require 'i18n'

0 comments on commit 7244252

Please sign in to comment.