Commit Graph

13150 Commits

Author SHA1 Message Date
Santiago Pastorino and José Ignacio Costa
9f1900ec7a html_escape mail_to when encode javascript and not hex
Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
2010-02-14 12:03:28 -08:00
Bruno Michel
f86421fb28 content_tag should escape its input
Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
2010-02-14 12:03:28 -08:00
Yehuda Katz
411c15ed52 require Strings, not Symbols 2010-02-14 11:56:21 -08:00
Yehuda Katz
8e4363de72 Save off Module's const_missing, not Class' 2010-02-14 11:35:05 -08:00
Yehuda Katz
a1b60696e2 Missing require 2010-02-14 11:18:34 -08:00
Xavier Noria
b68f5f77e3 name.blank? -> anonymous? in a few places
Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
2010-02-14 11:09:22 -08:00
Xavier Noria
f7db067b12 adds a few missing requires in AS object.rb and module.rb
Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
2010-02-14 11:07:29 -08:00
Yehuda Katz
4da45060a2 Simplify dependencies.rb some. Remove alias of Kernel::Foo to Object::Foo as it was not used and breaks Ruby semantics. 2010-02-14 10:48:06 -08:00
David Heinemeier Hansson
d68f8ba5c3 simple_format returns a safe buffer escaping unsafe input [Santiago Pastorino] 2010-02-12 17:24:04 -08:00
David Heinemeier Hansson
325fa58ef5 Safely concat the ending tag to simple_format or it will be escaped 2010-02-12 16:38:24 -08:00
Pratik Naik
dc3cc6c608 Move batch finders to Relation 2010-02-12 22:31:03 +00:00
Jeremy Kemper
5188c11d2e Revert to rack-mount 0.4.7 2010-02-12 09:05:41 -08:00
Jeremy Kemper
7b663e2feb CI: blow away bundle path between runs to solve 1.8/1.9 binary incompat 2010-02-11 17:43:46 -08:00
Jeremy Kemper
3d3e08623f Force 0.4.7 for 3.0.0.beta. Bump to ~> 0.5.0 for beta1. 2010-02-11 17:31:50 -08:00
Jeremy Kemper
86a696fc30 Wups, rack-mount 0.5.0 2010-02-11 17:29:14 -08:00
Jeremy Kemper
9b14b13422 Bump rack-mount dep to 0.5.3 2010-02-11 17:26:45 -08:00
Jeremy Kemper
2b874f8e81 Merge remote branch 'fxn/master' 2010-02-11 15:08:01 -08:00
Xavier Noria
a506bac586 fixes Module#anonymous? for 1.9 2010-02-11 23:58:15 +01:00
Xavier Noria
aa82bdf929 moves Class#reachable? to Module#reachable?, bases implementation on anonymous? and constantize, and adds test coverage 2010-02-11 23:41:16 +01:00
Xavier Noria
b8bb54af7f defines Module#anonymous? 2010-02-11 23:15:04 +01:00
Carl Lerche
eea28b07cf Remove backtrace cleaner specific to Bundler. Bundler just uses Gem.dir and Gem.path now. 2010-02-11 10:29:50 -08:00
Jeremy Kemper
2a2d1872e4 CI: use minitest on 1.9 again. 2010-02-11 09:07:19 -08:00
Jeremy Kemper
8afcd33246 Resolve test/unit load ordering by removing backtrace filter from boot initializers 2010-02-11 09:01:52 -08:00
Jeremy Kemper
523002fe16 Fix isolated test fail due to missing mocha 2010-02-10 16:45:43 -08:00
Yehuda Katz
77f630d317 Since require_dependency cannot be cleared, remove the dependencies 2010-02-10 15:06:42 -08:00
Yehuda Katz
a3eaaf6b50 Fix a JSON ordering issue 2010-02-10 14:46:16 -08:00
Yehuda Katz
ff7db40464 No need to emulate default Ruby behavior in initialize 2010-02-10 14:40:36 -08:00
Yehuda Katz
bea38d64ee Don't rely on @message in Error classes being available for use 2010-02-10 14:40:36 -08:00
Xavier Noria
9fd9e5d4f7 fixes doc generation
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-02-10 14:37:56 -08:00
José Valim
97650bf54a Fix a couple failing tests. 2010-02-10 08:33:41 +01:00
Michael Bleigh
9c654744fb Fixes unescaped version passthrough of generator 'gem' command. [#3901 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 08:28:03 +01:00
Simo Niemelä
cafe882d12 Fix server environment [#3877 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 08:14:02 +01:00
Prem Sichanugrist
f337ebc308 Add default values to output of 'rails server -h', hardcoded as Rack::Server did since options doesn't have any data at the time of parsing arguments [#3910 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 08:08:27 +01:00
Prem Sichanugrist
af22c5b16a Add missing -h/--help flag to several rails command [#3909 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 08:08:16 +01:00
Mikel Lindsaar
7d76474e5d Debrittlize tests somewhat - fix for CI build
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 07:26:01 +01:00
Jeremy Kemper
f84b4b4e5f Reinstate object/extending require too for Object.subclasses_of 2010-02-09 19:42:08 -08:00
Jeremy Kemper
d1938953f4 Reinstate Object.subclasses_of and Class#descendents for plugin compat.
This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70
2010-02-09 18:20:57 -08:00
David Heinemeier Hansson
fa2ff95d4b Its not a deprecation if you actually just ignore the call 2010-02-09 17:23:48 -08:00
David Heinemeier Hansson
834a45d8a2 Suggest Mongrel and Capistrano in the default bundle 2010-02-09 17:12:37 -08:00
Jeremy Kemper
39ebd6eb2b rails runner loads environment after parsing command-line options 2010-02-09 08:40:21 -08:00
Yehuda Katz
6f247347a1 Fix failing spec 2010-02-08 12:39:06 -08:00
Jeremy Kemper
ad98f21c21 Merge remote branch 'fxn/master' 2010-02-08 11:37:56 -08:00
José Valim
7f7dfd2bab Take into account gem versions (so script/rails server can work outside the application) and use Rails::Application.root instead of ROOT_PATH. 2010-02-08 16:05:22 +01:00
Mikel Lindsaar
17b451898c Updating Prototype to 1.6.1 and script.aculo.us to 1.8.3
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-08 09:42:40 +01:00
Mikel Lindsaar
5fe3dc4bf5 Adding ruby version spec to all gemspec files to at least 1.8.7
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-08 09:42:12 +01:00
Xavier Noria
cf9a52a7b6 removes Module#as_load_path, which is no longer used 2010-02-07 23:06:15 +01:00
Xavier Noria
afd2e19be3 removes Module#included_in_classes, which is no longer used 2010-02-07 23:03:13 +01:00
Gabriel Mansour
b235af702a Fix pluralization for numbers formatted like '1.00'
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-02-07 12:12:09 -08:00
Jeremy Kemper
a1a6e54d14 Fix doc typo and update fast_xs URL. Thanks to Dmitrii Golub. 2010-02-07 11:42:24 -08:00
José Valim
518b4ff478 Check if Test::Unit is defined before adding backtrace filter. 2010-02-07 14:51:23 +01:00