aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/safe_buffer_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Handle more unsafe String methods (#33990)Janosch Müller2018-09-271-9/+34
* Use assert_predicate insteadYumin Wong2018-09-061-2/+2
* SafeBuffer should maintain safety upon getting a slice via a range if origina...Yumin Wong2018-08-311-0/+12
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-2/+2
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-7/+7
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* "Use assert_nil if expecting nil from ...:in `...'. This will fail in minites...Akira Matsuda2016-12-251-1/+1
* Expectation firstAkira Matsuda2016-12-251-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-41/+41
* Properly dump primitive-like AS::SafeBuffer strings as YAMLGodfrey Chan2015-02-111-0/+7
* Just check if the buffer exists before changing itRafael Mendonça França2014-12-291-5/+1
* When trying to access a character on a string buffer object via `:[]`, if the...Vipul A M2014-12-291-0/+9
* Fixes interpolation on SafeBufferJulien Letessier2013-12-141-0/+25
* Ensure [] respects the status of the buffer.José Valim2012-02-291-4/+23
* delete vulnerable AS::SafeBuffer#[]Akira Matsuda2012-02-201-6/+0
* add AS::SafeBuffer#clone_emptyAkira Matsuda2012-02-201-0/+9
* global variables may not be set depending on the match. fixes #4703Aaron Patterson2012-01-261-0/+4
* No need to require psych since require yaml does that.Rafael Mendonça França2012-01-041-1/+0
* No need to use rescue block to require psychRafael Mendonça França2012-01-041-5/+1
* Whitespaces :scissors:Rafael Mendonça França2012-01-041-1/+1
* Add test to make sure that add two safe buffers always return a safe bufferRafael Mendonça França2012-01-041-0/+7
* Revert removing gsub and sub from safe buffer.José Valim2011-09-081-27/+14
* this should have gone with the previous commitXavier Noria2011-09-081-2/+2
* remove support of symbols on classify and camelizeDamien Mathieu2011-09-081-14/+27
* Reset @dirty to false when slicing an instance of SafeBufferBrian Cardarella2011-07-291-0/+6
* remove unused variables warnings removedVishnu Atrai2011-07-261-2/+0
* Using slice for instead of gsub to pass with 1.8.7Arun Agrawal2011-06-231-1/+1
* calling unsafe methods which don't return a string shouldn't failDamien Mathieu2011-06-221-0/+4
* safe_concat should not work on dirty buffers.José Valim2011-06-161-0/+7
* Fix safe buffer by adding a dirty status.José Valim2011-06-161-6/+31
* Ensure that the strings returned by SafeBuffer#gsub and friends aren't consid...Michael Koziarski2011-06-071-0/+12
* make sure we play nicely when syck is activatedAaron Patterson2011-01-281-0/+22
* Deleted all references to ActionView::SafeBuffer in favor of ActiveSupport::S...Santiago Pastorino2010-01-311-0/+41