Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Separate Rails module methods, the config object, and the initializer into ↵ | Yehuda Katz + Carl Lerche | 2009-06-23 | 2 | -0/+336 |
| | | | | separate files. | ||||
* | Get initializer_test.rb to pass with the new initializer. | Yehuda Katz + Carl Lerche | 2009-06-23 | 1 | -2/+2 |
| | |||||
* | Fix incorrect specification path in GemDependency#from_directory_name | Matt Jones | 2009-06-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix several issues with the 2.3.2 gem loader. | Matt Jones | 2009-06-09 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | Incorporates the following: - migrates back small change to gems:build:force from bfc1609a501fc3ed442685819de5bcdb5fbada1c to finish closing #2266. - unrolls to_proc calls in gems.rake, to match the change in master. - fixes #2722 by passing the options hash to dependencies during build. (includes a test) - fixes #2721 by loading the specification directly in from_directory_name. Adds an option to opt-out of specification loading when needed (in gems:refresh_specs, for instance). Includes tests. - fixes #2679 by refreshing specs for all frozen gems rather than just gems loaded from the environment. - fixes #2678 by passing the options hash to dependencies during unpack. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Lazy-require Kernel#silence_warnings | Jeremy Kemper | 2009-05-19 | 1 | -2/+1 |
| | |||||
* | Get Railties passing again | Yehuda Katz | 2009-05-16 | 2 | -7/+7 |
| | |||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+2 |
| | |||||
* | fix problems with requires in metal choking under development reloading ↵ | Tim Connor | 2009-05-04 | 1 | -1/+2 |
| | | | | | | [#2579 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Attempt to deal with more cases of gems with native components. | David Dollar | 2009-04-28 | 1 | -4/+17 |
| | | | | | | | | | | | | | | | | | | | This commit adds a rudimentary check for 'unbuilt' gems, so that we can abort the application load if there are any gems that have native components that have not yet been built. The rake task gems:build has now only builds 'unbuilt' gems as a result. The rake task gems:build:force has been added to deal with cases of incomplete builds, or any case where you need to force the build of all of your gems. Changes the gems:build task to get its gem list by parsing directory entries in vendor/gems, which sidesteps the chicken/egg issues involved with having a gem unpacked into vendor/gems without before its native bits are compiled. [#2266 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Rejig active support dependencies to behave better with the boot process | Jeremy Kemper | 2009-04-28 | 2 | -5/+3 |
| | |||||
* | Fix missing core extension dependencies | Jeremy Kemper | 2009-04-28 | 1 | -0/+1 |
| | |||||
* | Use Symbol#to_proc in rails plugin internals | Jeremy Kemper | 2009-04-24 | 1 | -0/+1 |
| | |||||
* | Opt in to Dependencies | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 |
| | |||||
* | No more free lunch | Jeremy Kemper | 2009-04-22 | 2 | -4/+7 |
| | |||||
* | Prepare for final 2.3 release | David Heinemeier Hansson | 2009-03-15 | 1 | -1/+1 |
| | |||||
* | Make sure Metal use ActionController class name conventions [#2242 ↵ | Luca Guidi | 2009-03-15 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Makes the gem system understand development vs. runtime dependencies [#2195 ↵ | David Dollar | 2009-03-13 | 1 | -97/+117 |
| | | | | | | | | | | | | | | | | state:resolved] The patch also fixes: * Fixes the chicken/egg problem present in the current gem system when gems are defined in the config that are not yet installed. * Remove the need to have hoe as a dependency of your production app. * Makes the gem 'unpacking' system a lot less fragile. Signed-off-by: Matt Jones <al2o3cr@gmail.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Execute the appropriate gem command when using JRuby [#2215 state:resolved] | Zack Hobson | 2009-03-13 | 1 | -1/+8 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix serving index files with rack static file server [#2180 state:resolved] | Joshua Peek | 2009-03-09 | 1 | -4/+13 |
| | |||||
* | Correctly clean backtraces from vendor/gems and gems in alternate install ↵ | Matt Jones | 2009-03-09 | 1 | -4/+16 |
| | | | | | | locations Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Ensure that loading metals from the main app and engines works on older Ruby ↵ | Simon Jefford | 2009-03-05 | 1 | -3/+5 |
| | | | | | | versions [#2143 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Make sure that Rails frameworks are silenced when running in gem mode too | David Heinemeier Hansson | 2009-03-05 | 1 | -0/+3 |
| | |||||
* | Enhanced Rails Metal - the load order of metals can now be configured [#2057 ↵ | Simon Jefford | 2009-03-03 | 1 | -3/+13 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Display gem dependencies correctly and unpack exactly once [#2097 ↵ | Matt Jones | 2009-03-01 | 1 | -4/+7 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Prep for RC2 later today | David Heinemeier Hansson | 2009-02-27 | 1 | -1/+1 |
| | |||||
* | Metal can now line in plugins under app/metal [#2045 state:committed] | Matthew Rudy Jacobs | 2009-02-27 | 3 | -9/+19 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Force all internal calls to Array#to_sentence to use English [#2010 ↵ | David Heinemeier Hansson | 2009-02-27 | 1 | -1/+1 |
| | | | | state:resolved] | ||||
* | load plugin view_paths to action_mailer view_paths and make action_mailer ↵ | Sven Fuchs | 2009-02-22 | 1 | -24/+26 |
| | | | | | | use them [#2031 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix loader's LoadError exception message to mention missing plugins and omit ↵ | Oshoma Momoh | 2009-02-13 | 1 | -1/+1 |
| | | | | | | | | | loaded plugins. Prior to this change the LoadError message listed all plugins if any one of them was missing. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1921 state:committed] | ||||
* | Only silence backtrace from plugin lib dirs | Jeremy Kemper | 2008-12-30 | 1 | -1/+2 |
| | |||||
* | Clean trailing / after rails root from backtraces | Jeremy Kemper | 2008-12-30 | 1 | -1/+1 |
| | |||||
* | Diverge Metal implementation from Rack::Cascade since we want the last app ↵ | Joshua Peek | 2008-12-19 | 2 | -44/+22 |
| | | | | to return its headers and body if the status is a 404. | ||||
* | Merge docrails | Pratik Naik | 2008-12-19 | 1 | -1/+1 |
| | |||||
* | Cheaper metal cascade | Jeremy Kemper | 2008-12-18 | 2 | -10/+51 |
| | |||||
* | Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks. | Jeremy Kemper | 2008-12-18 | 3 | -29/+36 |
| | |||||
* | 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 |
| |