Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cheaper log tail time comparison | Jeremy Kemper | 2008-12-18 | 1 | -3/+3 |
| | |||||
* | Make generated Metal bits a pure rack endpoint application (not middleware) | Joshua Peek | 2008-12-17 | 1 | -12/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of calling super to pass the request on, return a 404. The modified app looks like this: # app/metal/poller.rb class Poller def self.call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "text/html"}, "Hello, World!"] else [404, {"Content-Type" => "text/html"}, "Not Found"] end end end But you aren't locked in to just Rails: # app/metal/api.rb require 'sinatra' Sinatra::Application.default_options.merge!(:run => false, :env => :production) Api = Sinatra.application unless defined? Api get '/interesting/new/ideas' do 'Hello Sinatra!' end | ||||
* | Introduce Rails Metal | Joshua Peek | 2008-12-16 | 2 | -0/+22 |
| | | | | | | | | | | | | | | | | | | | # app/metal/poller.rb class Poller < Rails::Rack::Metal def call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "application/json"}, Message.recent.to_json] else super end end end * There is a generator to help you get started `script/generate metal poller` * Also, metal bits can be ran standalone with rackup `rackup app/metal/poller.rb` | ||||
* | Added gem backtrace pretty priting (Juan Lupión) [#1497 state:committed] | David Heinemeier Hansson | 2008-12-15 | 1 | -0/+3 |
| | |||||
* | Silence server backtrace in rescue templates and log files. Also remove some ↵ | Joshua Peek | 2008-12-05 | 1 | -2/+4 |
| | | | | noise from missing template errors. | ||||
* | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-12-03 | 1 | -0/+1 |
|\ | |||||
| * | handle missing dependecies in gem loading | Matt Jones | 2008-12-01 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | | Require rack/utils explicitly | Jeremy Kemper | 2008-12-03 | 1 | -0/+2 |
|/ | |||||
* | Include Rack in the server noise | David Heinemeier Hansson | 2008-11-29 | 1 | -2/+2 |
| | |||||
* | Added view path support for engines [DHH] | David Heinemeier Hansson | 2008-11-27 | 2 | -15/+30 |
| | |||||
* | Let all plugins not just engines have a config/routes.rb file | David Heinemeier Hansson | 2008-11-26 | 1 | -1/+2 |
| | |||||
* | Added that config/routes.rb files in engine plugins are automatically loaded ↵ | David Heinemeier Hansson | 2008-11-26 | 2 | -3/+37 |
| | | | | (and reloaded when they change in dev mode) [DHH] | ||||
* | Added app/[models|controllers|helpers] to the load path for plugins that has ↵ | David Heinemeier Hansson | 2008-11-26 | 2 | -6/+29 |
| | | | | an app directory (go engines ;)) [DHH] | ||||
* | Move debugger into middleware | Joshua Peek | 2008-11-25 | 2 | -0/+22 |
| | |||||
* | Strip out the ./ part of the test path so the backtrace align perfectly | David Heinemeier Hansson | 2008-11-24 | 1 | -0/+1 |
| | |||||
* | Accept a prefix argument to filter_backtrace_with_cleaning [#1456 ↵ | Manfred Stienstra | 2008-11-24 | 1 | -6/+4 |
| | | | | | | | | | state:committed] Add a prefix argument to filter_backtrace_with_cleaning so it has the same arity as test/unit's filter_backtrace. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Kill dead "new_mongrel" handler | Joshua Peek | 2008-11-22 | 2 | -397/+0 |
| | |||||
* | Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵ | David Heinemeier Hansson | 2008-11-22 | 1 | -0/+34 |
| | | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH] | ||||
* | Assume that the next version is going to be 2.3 for now | David Heinemeier Hansson | 2008-11-19 | 1 | -2/+2 |
| | |||||
* | Prepare for RC2 | David Heinemeier Hansson | 2008-11-14 | 1 | -1/+1 |
| | |||||
* | Properly check silence_spec_warnings class variable [#1372 state:committed] | Chris Wanstrath | 2008-11-14 | 1 | -2/+2 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Make refresh_specs more resilient. Always add vendor/gems to gem search ↵ | Matt Jones | 2008-11-01 | 1 | -13/+24 |
| | | | | | | path. Use Gem.clear_paths to ensure we get a current searcher. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | config.gem: Fix typo in unpack, skip dependencies on unloaded gems, and ↵ | Matt Jones | 2008-10-20 | 1 | -1/+1 |
| | | | | | | silence spec warnings on refresh. [#1128] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Initialize silence_spec_warnings | Matt Jones | 2008-10-13 | 1 | -0/+2 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1128 state:resolved] | ||||
* | Make VendorGemSourceIndex handle broken/missing specs generated by previous ↵ | Matt Jones | 2008-10-13 | 2 | -23/+97 |
| | | | | | | versions. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix definition of find_name | Matt Jones | 2008-10-08 | 1 | -2/+2 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1128 state:committed] | ||||
* | Mark gem as not loaded when spec not found | Matt Jones | 2008-10-08 | 1 | -0/+2 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix deprecated ActionController::Base.relative_url_root call in mongrel command | Chris Cherry | 2008-10-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix a number of errors in the config.gem mechanism. | Matt Jones | 2008-10-05 | 4 | -35/+208 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work. * If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified. * streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification * Rails::GemDependency#specification would return a spec for the highest installed version, even for frozen gems and/or previously loaded lower versions. See in part ticket #1123. * removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to constant names * added additional tests for loading frozen gems. * incorporates the fix from #1107 for vendor rails * defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails in vendor/gems. Should close #1123 completely. * incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742. * gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket... Signed-off-by: rick <technoweenie@gmail.com> | ||||
* | Partially revert 185fe2e9cce737d69d3b47a656f3651ce152c0c1 | Michael Koziarski | 2008-09-24 | 1 | -1/+3 |
| | | | | We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us. | ||||
* | Bump the Version constants to align with the *next* release rather than the ↵ | Michael Koziarski | 2008-09-22 | 1 | -1/+1 |
| | | | | | | previous release. This allows people tracking non-release gems or git submodules to use the constants. | ||||
* | Added rack logger middleware that tails the environment log | Joshua Peek | 2008-08-19 | 2 | -0/+29 |
| | |||||
* | Make requiring gems optional. | Ben Sandofsky | 2008-08-04 | 1 | -1/+1 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#743 state:resolved] | ||||
* | Plugin locator: sort directory listing because we can't assume that the OS ↵ | Hongli Lai (Phusion | 2008-07-09 | 1 | -1/+1 |
| | | | | will do it for us. This fixes some unit test failures. | ||||
* | Fix discrepancies with loading rails/init.rb from gems. [#324 state:resolved] | rick | 2008-06-08 | 3 | -14/+20 |
| | |||||
* | Make plugins initialize also from rails/init.rb to ensure consistency with ↵ | Jacek Becela | 2008-06-08 | 1 | -1/+9 |
| | | | | | | gems used as plugins [#272 state:resolved] | ||||
* | GemDependency#specification should be public | Jeremy Kemper | 2008-06-06 | 1 | -16/+15 |
| | |||||
* | Dependencies move to ActiveSupport::Dependencies missed a few spots | David Heinemeier Hansson | 2008-06-03 | 1 | -2/+2 |
| | |||||
* | In 9c4f003, gem installation quotes versions. Do the same for unpack and ↵ | Joshua Peek | 2008-06-02 | 1 | -8/+8 |
| | | | | update tests to reflect the change. | ||||
* | Added Rack middleware to handle static files. | Joshua Peek | 2008-06-01 | 2 | -0/+40 |
| | |||||
* | Previously we only added the "lib" subdirectory to the load path when | rick | 2008-05-31 | 1 | -1/+3 |
| | | | | | | | | setting up gem dependencies for frozen gems. Now we add the "ext" subdirectory as well for those gems which have compiled C extensions as well. [Wincent Colaiuta] [#268 state:resolved] | ||||
* | Making ready for release of 2.1 | David Heinemeier Hansson | 2008-05-31 | 1 | -2/+2 |
| | |||||
* | fix doc typos | rick | 2008-05-31 | 1 | -2/+1 |
| | |||||
* | Expose GemPlugin load_paths so they can be added to Dependencies.load_paths. ↵ | Dmitriy Timokhin | 2008-05-31 | 1 | -10/+6 |
| | | | | Also use full_gem_path as root of GemPlugin to make things compatible. [#213 state:resolved] | ||||
* | Consolidate error messages for missing gems, and skip them when running rake ↵ | rick | 2008-05-31 | 1 | -1/+0 |
| | | | | gems:* tasks. [rick] | ||||
* | fix Gem installation command with versions | rick | 2008-05-31 | 1 | -2/+4 |
| | |||||
* | Run gem install as external command. [#210 state:resolved] | Tim Morgan | 2008-05-31 | 1 | -1/+5 |
| | |||||
* | Show rails version when the server starts. [#235 state:resolved] | Lawrence Pit | 2008-05-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge branch 'master' of git@github.com:rails/rails | rick | 2008-05-13 | 1 | -1/+1 |
|\ | |||||
| * | Making ready for RC1 release | David Heinemeier Hansson | 2008-05-11 | 1 | -1/+1 |
| | |