Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move Rails 2.3.x test to Rails 2.3.8

This allows us to gets rid of the Rack 1.0.1 dependency when
running Rails tests since previous versions of Rails 2.3.x
needed Rack 1.0.1, where as Rails 2.2.x and below could be used
with any version of Rack (under Unicorn only).
  • Loading branch information...
commit 8e55e561a1bcba57bf429c9c2111ec5351fcb1b3 1 parent 4b44e21
Eric Wong authored
View
5 FAQ
@@ -1,11 +1,12 @@
= Frequently Asked Questions about Unicorn
-=== I've installed Rack 1.1.x, why can't Unicorn load Rails?
+=== I've installed Rack 1.1.x, why can't Unicorn load Rails (2.3.5)?
Rails 2.3.5 is not compatible with Rack 1.1.x. Unicorn is compatible
with both Rack 1.1.x and Rack 1.0.x, and RubyGems will load the latest
version of Rack installed on the system. Uninstalling the Rack 1.1.x
-gem should solve gem loading issues with Rails 2.3.x.
+gem should solve gem loading issues with Rails 2.3.5. Rails 2.3.6
+and later correctly support Rack 1.1.x.
=== Why are my redirects going to "http" URLs when my site uses https?
View
7 GNUmakefile
@@ -208,6 +208,11 @@ $(rails_git)/info/cloned-stamp:
git clone --mirror -q $(rails_git_url) $(rails_git)
> $@
+$(rails_git)/info/v2.3.8-stamp: $(rails_git)/info/cloned-stamp
+ cd $(rails_git) && git fetch
+ cd $(rails_git) && git rev-parse --verify refs/tags/v2.3.8
+ > $@
+
rails_tests := $(addsuffix .r,$(addprefix $(T_r).,$(rails_vers)))
test-rails: $(rails_tests)
$(T_r).%.r: t = $(addsuffix $(log_suffix),$@)
@@ -218,7 +223,7 @@ $(T_r).%.r: export PATH := $(test_prefix)/bin:$(PATH)
$(T_r).%.r: export RUBYLIB := $(test_prefix):$(test_prefix)/lib:$(RUBYLIB)
$(T_r).%.r: export UNICORN_RAILS_TEST_VERSION = $(rv)
$(T_r).%.r: export RAILS_GIT_REPO = $(CURDIR)/$(rails_git)
-$(T_r).%.r: $(test_prefix)/.stamp $(rails_git)/info/cloned-stamp
+$(T_r).%.r: $(test_prefix)/.stamp $(rails_git)/info/v2.3.8-stamp
$(run_test)
ifneq ($(VERSION),)
View
0  test/rails/app-2.3.5/.gitignore → test/rails/app-2.3.8/.gitignore
File renamed without changes
View
0  test/rails/app-2.3.5/Rakefile → test/rails/app-2.3.8/Rakefile
File renamed without changes
View
0  ...p-2.3.5/app/controllers/application_controller.rb → ...p-2.3.8/app/controllers/application_controller.rb
File renamed without changes
View
0  ...rails/app-2.3.5/app/controllers/foo_controller.rb → ...rails/app-2.3.8/app/controllers/foo_controller.rb
File renamed without changes
View
0  ...rails/app-2.3.5/app/helpers/application_helper.rb → ...rails/app-2.3.8/app/helpers/application_helper.rb
File renamed without changes
View
0  test/rails/app-2.3.5/config/boot.rb → test/rails/app-2.3.8/config/boot.rb
File renamed without changes
View
0  test/rails/app-2.3.5/config/database.yml → test/rails/app-2.3.8/config/database.yml
File renamed without changes
View
0  test/rails/app-2.3.5/config/environment.rb → test/rails/app-2.3.8/config/environment.rb
File renamed without changes
View
0  ...ails/app-2.3.5/config/environments/development.rb → ...ails/app-2.3.8/config/environments/development.rb
File renamed without changes
View
0  ...rails/app-2.3.5/config/environments/production.rb → ...rails/app-2.3.8/config/environments/production.rb
File renamed without changes
View
0  test/rails/app-2.3.5/config/routes.rb → test/rails/app-2.3.8/config/routes.rb
File renamed without changes
View
0  test/rails/app-2.3.5/db/.gitignore → test/rails/app-2.3.8/db/.gitignore
File renamed without changes
View
0  test/rails/app-2.3.5/log/.gitignore → test/rails/app-2.3.8/log/.gitignore
File renamed without changes
View
0  test/rails/app-2.3.5/public/404.html → test/rails/app-2.3.8/public/404.html
File renamed without changes
View
0  test/rails/app-2.3.5/public/500.html → test/rails/app-2.3.8/public/500.html
File renamed without changes
View
0  test/rails/app-2.3.5/public/x.txt → test/rails/app-2.3.8/public/x.txt
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.