aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of https://github.com/rails/rails into performance_testGonçalo Silva2011-04-1710-26/+52
|\
| * Only rescue a thrown NoMethodError, don't preemptively check for #include?; ↵Jared McFarland2011-04-151-1/+4
| | | | | | | | added tests
| * added an exception to Object#in? to match the methods documentationJared McFarland2011-04-151-0/+1
| |
| * files are a special case and need whitespace to be significantAndre Arko2011-04-141-1/+1
| |
| * gsub is not needed (thanks @fxn!)Andre Arko2011-04-141-1/+1
| |
| * attributes no longer disappear if a tag contains whitespaceAndre Arko2011-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | old: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>"\n"} new: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>{"foo"=>"bar", "__content__"=>"\n"}
| * Remove `#among?` from Active SupportPrem Sichanugrist2011-04-134-13/+4
| | | | | | | | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
| * Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-124-6/+6
| | | | | | | | suggestion!
| * Cant use inclusion in commands/application.rb as the frameworks havent all ↵David Heinemeier Hansson2011-04-111-0/+1
| | | | | | | | been required yet
| * Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-113-4/+7
| | | | | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
| * Add support for Object#in? and Object#either? in Active Support [#6321 ↵Prem Sichanugrist, Brian Morearty, John Reitano2011-04-111-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | state:committed] This will allow you to check if an object is included in another object or the list of objects or not. This patch is derived from patch by Brian Morearty and John Reitano on Lighthouse ticket. I've rewrite it and make sure that we support both 'another object' and 'list of objects' version, as it surely be useful to support both.
| * added find_zone and find_zone! to AS timezones and changed the AS Railtie to ↵Josh Kalderimis2011-04-054-18/+21
| | | | | | | | | | | | use find_zone! as well as adding Railtie tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Raise on invalid timezoneMarc-Andre Lafortune2011-04-052-9/+13
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-031-1/+1
| |\
| | * s/ERb/ERB/gAkira Matsuda2011-04-031-1/+1
| | | | | | | | | | | | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
* | | don't use internal profiler methods on Rubinius and JRuby since we're only ↵Gonçalo Silva2011-04-033-8/+14
| | | | | | | | | | | | measuring wall clock for now (and the APIs will/can change, respectively)
* | | removed unused class declarationGonçalo Silva2011-04-031-2/+0
| | |
* | | Merge branch 'master' of https://github.com/rails/rails into performance_testGonçalo Silva2011-04-033-29/+33
|\| |
| * | Moved Turn activation/dependency to railtiesDavid Heinemeier Hansson2011-03-312-34/+0
| | |
| * | Add using Turn with natural language test case names if the library is ↵David Heinemeier Hansson2011-03-313-17/+42
| | | | | | | | | | | | available (which it will be in Rails 3.1) [DHH]
| * | require turn only for minitestDavid Heinemeier Hansson2011-03-311-2/+6
| | |
| * | Use Turn to format all Rails tests and enable the natural language case namesDavid Heinemeier Hansson2011-03-311-0/+5
| | |
| * | Delegate pending to skip if Minitest is availableDavid Heinemeier Hansson2011-03-301-21/+25
| |/
* | profiling enabled under JRuby. Added documentation for workaround described ↵Gonçalo Silva2011-04-034-17/+8
| | | | | | | | in JRUBY-5650.
* | check if there is support for the specified metric when profilingGonçalo Silva2011-03-304-24/+32
| |
* | fixed a bug where rubinius was creating the profiling files as directoriesGonçalo Silva2011-03-301-1/+1
| |
* | don't allow decimal places on the amount of objects and gc runsGonçalo Silva2011-03-291-1/+1
| |
* | improved detection and feedback of supported/unsupported metricsGonçalo Silva2011-03-286-54/+7
| |
* | fixed a couple of hidden bugsGonçalo Silva2011-03-283-3/+4
| |
* | improved options handling in performance testsGonçalo Silva2011-03-284-39/+42
| |
* | we need test-unit on mri 1.9Gonçalo Silva2011-03-281-3/+7
| |
* | added profiling and benchmarking capabilities to jruby (profiling is ↵Gonçalo Silva2011-03-281-18/+53
| | | | | | | | crippled because of a jruby bug)
* | benchmarking metrics are also implementation-specificGonçalo Silva2011-03-283-4/+20
| |
* | warn the user about unsupported benchmarking metrics he might have asked forGonçalo Silva2011-03-281-1/+2
| |
* | removed duplication in rubinius' benchmark codeGonçalo Silva2011-03-281-14/+10
| |
* | fix a bug where the GC wasn't being triggered at the start of the MRI benchmarksGonçalo Silva2011-03-281-0/+1
| |
* | :min_percent only makes sense in a RubyProf contextGonçalo Silva2011-03-282-2/+2
| |
* | added basic structure for jrubyGonçalo Silva2011-03-263-8/+78
| |
* | added support for profiling under rubiniusGonçalo Silva2011-03-263-7/+66
| |
* | fixed time and size units (should be seconds / bytes), fixed typo when ↵Gonçalo Silva2011-03-254-11/+10
| | | | | | | | counting memory allocations under rubinius
* | added gc info (runs, time) to rubinius' benchmarksGonçalo Silva2011-03-251-2/+6
| |
* | added memory size and allocations to rubinius' benchmarks Gonçalo Silva2011-03-251-2/+10
| |
* | added time (wall, process, cpu) to rubinius' benchmarksGonçalo Silva2011-03-251-3/+11
| |
* | added missing requireGonçalo Silva2011-03-251-0/+2
| |
* | removed leftovers from the copy-paste from mriGonçalo Silva2011-03-251-9/+0
| |
* | rubinius returns "rbx" for RUBY_ENGINE, not "rubinius"Gonçalo Silva2011-03-251-2/+2
| |
* | added basic structure for RubiniusGonçalo Silva2011-03-253-6/+68
| |
* | divide the ruby interpreter into mri and yarv for improved modularityGonçalo Silva2011-03-253-70/+145
| |
* | renamed "mri" to "ruby", for consistency with RUBY_ENGINEGonçalo Silva2011-03-254-2/+2
| |
* | check whether the user is using a supported ruby interpreter for benchmarkingGonçalo Silva2011-03-251-1/+7
| |