Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The test setup is not threadsafe. Wrap in a mutex. | Jon Leighton | 2013-01-18 | 1 | -3/+7 |
| | |||||
* | MiniTest already defines a ParallelEach class | Jon Leighton | 2013-01-18 | 1 | -23/+27 |
| | | | | | This may or may not fix the intermittent railties failures we've been seeing on the CI with Ruby 2.0. We'll see. | ||||
* | remove_possible_method -> remove_method | Nihad Abbasov | 2013-01-11 | 1 | -2/+2 |
| | | | | Date#to_time and Date#xmlschema methods defined in Ruby 1.9.3 | ||||
* | Updating Array access docs more consistent | Matt Bridges | 2013-01-10 | 1 | -4/+4 |
| | | | | [ci skip] | ||||
* | extract PerformanceTest into rails-performance_tests gem | Yves Senn | 2013-01-10 | 4 | -672/+0 |
| | |||||
* | adding missing requires | Aaron Patterson | 2013-01-09 | 1 | -1/+3 |
| | |||||
* | adding start / finish on the instrumenter, adding tests for the class | Aaron Patterson | 2013-01-09 | 1 | -6/+17 |
| | |||||
* | CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml. | Jeremy Kemper | 2013-01-08 | 1 | -4/+23 |
| | |||||
* | Revert "Merge branch 'master-sec'" | Jeremy Kemper | 2013-01-08 | 1 | -23/+4 |
| | | | | | This reverts commit 88cc1688d0cb828c17706b41a8bd27870f2a2beb, reversing changes made to f049016cd348627bf8db0d72382d7580bf802a79. | ||||
* | Merge branch 'master-sec' | Aaron Patterson | 2013-01-08 | 1 | -4/+23 |
|\ | | | | | | | | | | | * master-sec: CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml. * Strip nils from collections on JSON and XML posts. [CVE-2013-0155] * dealing with empty hashes. Thanks Damien Mathieu | ||||
| * | CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml. | Jeremy Kemper | 2013-01-08 | 1 | -4/+23 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-01-09 | 7 | -8/+25 |
|\ \ | |/ |/| | | | | | Conflicts: guides/source/getting_started.md | ||||
| * | Correct method notation for #acts_like? [ci skip] | Doug Yun | 2013-01-07 | 1 | -4/+4 |
| | | |||||
| * | Instance_variable_names are strings. That is the most important information IMO | Akira Matsuda | 2013-01-08 | 1 | -1/+1 |
| | | |||||
| * | prefer american spelling of 'behavior' | Gosha Arinich | 2013-01-07 | 2 | -2/+2 |
| | | |||||
| * | `Model.all` alone does nothing | Akira Matsuda | 2013-01-04 | 1 | -1/+1 |
| | | |||||
| * | Add documentation for BacktraceCleaner#remove_filters! | Matthew Stopa | 2013-01-02 | 1 | -0/+3 |
| | | |||||
| * | Add more documentation to TimeWithZone | Matthew Stopa | 2013-01-01 | 1 | -0/+14 |
| | | | | | | | | [ci skip] | ||||
* | | Revert some warning removals related to Ruby 2.0 | Carlos Antonio da Silva | 2013-01-07 | 2 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These warnings were actually a bug in Ruby 2.0, the accessors should not be raising such warnings, they are only meant for ivars. - Revert "fix warnings in Ruby 2.0" This reverts commit 26702a6d3461f4a1c75165030b96886514ecb877. - Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2" This reverts commit f63d6544e45e78cda29c0c56fbdf3d9e1f405340, reversing changes made to 3a890681fad8218305585036abed6d7463a44e41. | ||||
* | | Require 'active_support/core_ext/module/aliasing' in the infinite_comparable ↵ | Diogo Mafra | 2013-01-06 | 1 | -0/+1 |
| | | | | | | | | module | ||||
* | | Remove unnecessary begin..rescue..end, use only rescue | Akira Matsuda | 2013-01-06 | 3 | -25/+20 |
| | | |||||
* | | deprecate `assert_blank` and `assert_present`. | Yves Senn | 2013-01-05 | 1 | -0/+2 |
| | | | | | | | | | | They don't add any benefits over `assert object.blank?` and `assert object.present?` | ||||
* | | added marshal_load and marshal_dump for ProxyTestResult. Behavior of ↵ | SHIBATA Hiroshi | 2013-01-05 | 1 | -2/+10 |
| | | | | | | | | method_missing with Marshal.dump and Marshal.load is changing in ruby 2.0.0 later. | ||||
* | | Better error message for String#to_date | Kelly Stannard | 2013-01-04 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | | | | I did this because to_date gives a very unhelpful error message if you do not pass in a correct date. In the process I think this cleans up the code nicely and even better it tends to be slightly faster than the current implementation. Benchmark https://gist.github.com/4440875 | ||||
* | | Set the default timezone after the initialization since the configuration | Rafael Mendonça França | 2013-01-04 | 1 | -14/+16 |
| | | | | | | | | | | | | now lives in the application initializers. Fix #8711 | ||||
* | | Refactor infinite comparable definition a bit | Carlos Antonio da Silva | 2013-01-04 | 1 | -15/+19 |
| | | |||||
* | | Remove unnecessary requires | Rafael Mendonça França | 2013-01-03 | 1 | -2/+0 |
| | | |||||
* | | Added ability to compare date/time with infinity | bUg | 2013-01-04 | 10 | -7/+60 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date, DateTime, Time and TimeWithZone can now be compared to infinity, so it's now possible to create ranges with one infinite bound and date/time object as another bound. Ex.: @range = Range.new(Date.today, Float::INFINITY) Also it's possible to check inclusion of date/time in range with conversion. Ex.: @range.include?(Time.now + 1.year) # => true @range.include?(DateTime.now + 1.year) # => true Ability to create date/time ranges with infinite bound is required for handling postgresql range types. | ||||
* | | Change docs to use update instead of update_attributes | Amparo Luna + Guillermo Iguaran | 2013-01-03 | 1 | -1/+1 |
| | | |||||
* | | remove meaningless AS::FrozenObjectError | Akira Matsuda | 2013-01-02 | 2 | -4/+0 |
| | | |||||
* | | remove unnecessary always-nil var from #compact | Gosha Arinich | 2013-01-01 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-01-01 | 1 | -0/+21 |
|\ | |||||
| * | copy edits [ci skip] | Vijay Dev | 2013-01-01 | 1 | -4/+3 |
| | | |||||
| * | Add documentation for TimeWithZone methods | Matthew Stopa | 2012-12-31 | 1 | -3/+19 |
| | | |||||
| * | Add documentation for the TimeWithZone#dst? method. | Matthew Stopa | 2012-12-31 | 1 | -0/+6 |
| | | | | | | | | [ci skip] | ||||
* | | Updated copyright notices for 2013 | Andrew Nesbitt | 2012-12-31 | 1 | -1/+1 |
| | | |||||
* | | Alias refute methods to assert_not and perfer assert_not on tests | Rafael Mendonça França | 2012-12-31 | 1 | -1/+10 |
| | | |||||
* | | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -0/+5 |
| | | | | | | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | ||||
* | | Inherit from MiniTest::Unit::TestCase instead of MiniTest::Spec | Rafael Mendonça França | 2012-12-31 | 1 | -8/+2 |
| | | |||||
* | | Revert "minitest provides "it" and "describe"" | Rafael Mendonça França | 2012-12-31 | 2 | -19/+42 |
|/ | | | | | | | | | | This reverts commit 22bc12ec374b8bdeb3818ca0a3eb787dd3ce39d8. REASON: We will remove the MiniTest::Spec from Rails and we need these methods again Conflicts: activesupport/lib/active_support/test_case.rb | ||||
* | Merge pull request #8641 from arunagw/warning_removed_unused_var | Steve Klabnik | 2012-12-28 | 1 | -1/+2 |
|\ | | | | | Remove 'assigned but unused variable' warning | ||||
| * | Remove 'assigned but unused variable' warning | Arun Agrawal | 2012-12-28 | 1 | -1/+2 |
| | | |||||
* | | Introduce assert_not to replace 'assert !foo' | Jeremy Kemper | 2012-12-28 | 1 | -0/+16 |
|/ | |||||
* | Make test logs easier to read. | Jeremy Kemper | 2012-12-26 | 1 | -11/+10 |
| | | | | | | Tagging every message in tests makes the logs really wide. It's great for grepping, but annoying to open in an editor or a narrow terminal. Try out a different approach: spit out a heading before each test. | ||||
* | deprecation warning when BufferedLogger is instantiated | Yves Senn | 2012-12-25 | 1 | -1/+11 |
| | |||||
* | ActiveSupport::BufferedLogger can be subclassed | Yves Senn | 2012-12-25 | 1 | -2/+6 |
| | |||||
* | Remove warning of intance variable not initialized | Rafael Mendonça França | 2012-12-23 | 1 | -1/+5 |
| | |||||
* | Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵ | Jeremy Kemper | 2012-12-21 | 1 | -105/+0 |
| | | | | with Rails 4.0. | ||||
* | Merge pull request #8471 from kytrinyx/refactor-xml-to-hash | Steve Klabnik | 2012-12-21 | 1 | -50/+100 |
|\ | | | | | WIP Refactor xml conversion to hash | ||||
| * | Refactor Hash.from_xml. | Steve Klabnik + Katrina Owen | 2012-12-21 | 1 | -50/+100 |
| | | | | | | | | | | | | | | | | | | | | | | | | Three basic refactors in this PR: * We extracted the logic into a method object. We now don't define a tone of extraneous methods on Hash, even if they were private. * Extracted blocks of the case statement into methods that do the work. This makes the logic more clear. * Extracted complicated if clauses into their own query methods. They often have two or three terms, this makes it much easier to see what they _do_. We took care not to refactor too much as to not break anything, and put comments where we suspect tests are missing. We think ActiveSupport::XMLMini might be a good candidate to move to a plugin in the future. |