diff options
author | Simon Jefford <simon.jefford@gmail.com> | 2009-03-03 12:39:19 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-03-03 12:39:19 -0600 |
commit | 4d4d2c3896ed5a5d74da833c5c3132f406f4eab7 (patch) | |
tree | 82245e9e41fb058e4d9a581a37631c3affcb2520 /railties/test/fixtures/metal/subfolders/app | |
parent | 818556ec4f237b19f28fdecdfe6037718cceba37 (diff) | |
download | rails-4d4d2c3896ed5a5d74da833c5c3132f406f4eab7.tar.gz rails-4d4d2c3896ed5a5d74da833c5c3132f406f4eab7.tar.bz2 rails-4d4d2c3896ed5a5d74da833c5c3132f406f4eab7.zip |
Enhanced Rails Metal - the load order of metals can now be configured [#2057 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'railties/test/fixtures/metal/subfolders/app')
-rw-r--r-- | railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb | 7 | ||||
-rw-r--r-- | railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb b/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb new file mode 100644 index 0000000000..71a5a62eb8 --- /dev/null +++ b/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb @@ -0,0 +1,7 @@ +module Folder + class MetalA < Rails::Rack::Metal + def self.call(env) + [200, { "Content-Type" => "text/html"}, "Hi"] + end + end +end diff --git a/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb b/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb new file mode 100644 index 0000000000..430d7bfed6 --- /dev/null +++ b/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb @@ -0,0 +1,7 @@ +module Folder + class MetalB < Rails::Rack::Metal + def self.call(env) + [200, { "Content-Type" => "text/html"}, "Hi"] + end + end +end |