Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | removes deprecations of last_(month|year) from master, they will be ↵ | Xavier Noria | 2010-05-19 | 2 | -16/+0 | |
| | | | | deprecated in 2.3 instead | |||||
* | Renames Array#rand -> Array#random_element | Rizwan Reza | 2010-05-17 | 1 | -4/+0 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | Revert "Moved encoding work in progress to a feature branch." | wycats | 2010-05-17 | 1 | -0/+8 | |
| | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517. | |||||
* | Moved encoding work in progress to a feature branch. | Jeremy Kemper | 2010-05-16 | 1 | -8/+0 | |
| | | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c. | |||||
* | Change on Array extension from rand => random_element [#4555 state:committed] | Santiago Pastorino | 2010-05-16 | 1 | -4/+8 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | Initial work to improve the state of encodings for templates | wycats | 2010-05-16 | 1 | -0/+8 | |
| | ||||||
* | defines prev_(month|year) in Date and Time to ease transition to 1.9, and ↵ | Xavier Noria | 2010-05-12 | 3 | -18/+34 | |
| | | | | deprecates last_(month|year) | |||||
* | adds calendar reform test coverage for more relevant date calculations | Xavier Noria | 2010-05-09 | 1 | -1/+14 | |
| | ||||||
* | Backports Date#>> from 1.9 so that calculations do the right thing around ↵ | Xavier Noria | 2010-05-09 | 1 | -0/+27 | |
| | | | | | | | | | | the calendar reform Our next_month gives November for some late dates in September of 1582. Related methods, last_*, and in general advance have the same issues. This commit fixes those, see the test suite for expected behavior, which we still run in 1.9 to ensure it matches as we do with other methods defined in Date in 1.9. | |||||
* | add test coverage for (last|next)_year on leap years | Xavier Noria | 2010-05-08 | 1 | -0/+8 | |
| | ||||||
* | let Time.time_with_datetime_fallback handle properly years in the range 0..138 | Xavier Noria | 2010-05-05 | 3 | -1/+19 | |
| | ||||||
* | adds test coverage for Date.current vs Date.today in ↵ | Xavier Noria | 2010-05-03 | 1 | -1/+45 | |
| | | | | Date.(yesterday|tomorrow) implementation | |||||
* | revises tests for Date.yesterday and Date.tomorrow | Xavier Noria | 2010-05-02 | 1 | -3/+3 | |
| | ||||||
* | array.to_xml should be able to handle all types of data elements [#4490 ↵ | Neeraj Singh | 2010-04-29 | 1 | -5/+5 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Use explicit source encoding rather than forced UTF-8 from US-ASCII. | Santiago Pastorino | 2010-04-26 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Change HWIA#stringify_keys to return a HWIA not a Hash | Jeremy Kemper | 2010-04-22 | 1 | -0/+3 | |
| | ||||||
* | Restore HWIA#stringify_keys! and update changelog | Jeremy Kemper | 2010-04-22 | 1 | -3/+3 | |
| | ||||||
* | HWIA delegates to to_hash symbolize_keys and stringify_keys and bang methods ↵ | Santiago Pastorino | 2010-04-22 | 1 | -2/+36 | |
| | | | | | | are not in the api Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | updates String#to_(date|date_time|time) to return nil for blank strings | Daniel Neighman | 2010-04-21 | 1 | -3/+6 | |
| | ||||||
* | Switch to TimezoneProxy for later support of deferred TZ loading | Jeremy Kemper | 2010-04-20 | 1 | -2/+5 | |
| | ||||||
* | removes code written for Ruby < 1.8.7 | Xavier Noria | 2010-04-17 | 1 | -12/+0 | |
| | ||||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 2 | -5/+11 | |
| | | | | there, same for #class_eval to simplify, and adds coverage for class_eval | |||||
* | Fix class_attribute so that it works with singleton classes. | Carl Lerche | 2010-04-01 | 1 | -0/+6 | |
| | ||||||
* | avoid method redefined; discarding old empty? warning [#4302 state:committed] | Santiago Pastorino | 2010-03-30 | 1 | -8/+0 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Ruby 1.9.2: marshaling round-trips Time#zone | Jeremy Kemper | 2010-03-28 | 1 | -12/+8 | |
| | ||||||
* | Time zone tests were right all along. | José Valim | 2010-03-28 | 1 | -4/+4 | |
| | ||||||
* | Ruby's marshaling of Time instances doesn't respect the zone [#4282 ↵ | Santiago Pastorino | 2010-03-27 | 1 | -2/+2 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Limit Array#extract_options! to directl instances of Hash and HWIA. Add ↵ | wycats | 2010-03-27 | 1 | -0/+34 | |
| | | | | extractable_options? to Hash so that subclasses of Hash can opt-into extractable behavior. This fixes an issue where respond_with wasn't working with subclasses of Hash that were provided by other libraries (such as CouchDB or Mashie) [#4145 state:resolved] | |||||
* | fixing inconsistency with cattr_reader and matter_reader [#4172 state:resolved] | Kabari Hendrick | 2010-03-27 | 2 | -1/+13 | |
| | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Add support for a type=binary with an optional encoding=base64. If the ↵ | Josh Franklin | 2010-03-26 | 1 | -1/+3 | |
| | | | | | | encoding attribute is absent, the data is considered unencoded. [#2966 state:resolved] | |||||
* | Remove test ordering bug | Evan Phoenix | 2010-03-22 | 1 | -8/+14 | |
| | | | | | Don't reuse classes with class attributes when testing different use cases of class attributes. | |||||
* | Singleton classes returns parent's methods with instance_methods(false) and ↵ | José Valim | 2010-03-19 | 1 | -0/+14 | |
| | | | | this makes remove_method in Module#delegate fail. Add a test case and fix the bug. | |||||
* | Fix some more warnings on 1.9 | wycats | 2010-03-17 | 1 | -1/+1 | |
| | ||||||
* | Be sure to pass through args to to_yaml | Jeremy Kemper | 2010-03-11 | 1 | -1/+1 | |
| | ||||||
* | OutputBuffer#to_yaml should return string yaml, not some custom class dump | Jeremy Kemper | 2010-03-11 | 1 | -0/+4 | |
| | ||||||
* | class_attribute gets instance methods which delegate to but may override ↵ | Jeremy Kemper | 2010-03-08 | 1 | -10/+25 | |
| | | | | their class values as you'd expect. Disable instance writer methods with :instance_writer => false. | |||||
* | no more interpreted as grouped expression warnings on array_ext_test | Santiago Pastorino | 2010-02-26 | 1 | -2/+2 | |
| | ||||||
* | metaclass deprecated in 2.3.6 | Jeremy Kemper | 2010-02-25 | 1 | -7/+0 | |
| | ||||||
* | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 1 | -6/+10 | |
| | ||||||
* | Fix streaming by having it create a File object, which can be handled by ↵ | Carlhuda | 2010-02-23 | 1 | -0/+4 | |
| | | | | Rack servers as appropriate | |||||
* | Fix test ordering bug related to introducing masked Name class | Yehuda Katz | 2010-02-19 | 1 | -14/+6 | |
| | ||||||
* | Clear the attribute after done | Yehuda Katz | 2010-02-16 | 1 | -0/+2 | |
| | ||||||
* | moves Class#reachable? to Module#reachable?, bases implementation on ↵ | Xavier Noria | 2010-02-11 | 1 | -0/+41 | |
| | | | | anonymous? and constantize, and adds test coverage | |||||
* | defines Module#anonymous? | Xavier Noria | 2010-02-11 | 1 | -0/+14 | |
| | ||||||
* | Reinstate Object.subclasses_of and Class#descendents for plugin compat. | Jeremy Kemper | 2010-02-09 | 2 | -0/+79 | |
| | | | | This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70 | |||||
* | removes Module#as_load_path, which is no longer used | Xavier Noria | 2010-02-07 | 1 | -5/+0 | |
| | ||||||
* | removes Module#included_in_classes, which is no longer used | Xavier Noria | 2010-02-07 | 1 | -7/+0 | |
| | ||||||
* | Fixed html_safe test cases which weren't testing correctly | Santiago Pastorino and José Ignacio Costa | 2010-02-05 | 1 | -17/+20 | |
| | | | | | | [#3845 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Introduce class_attribute to declare inheritable class attributes. Writing ↵ | Jeremy Kemper | 2010-02-01 | 1 | -0/+47 | |
| | | | | an attribute on a subclass behaves just like overriding the superclass reader method. Unifies and replaces most usage of cattr_accessor, class_inheritable_attribute, superclass_delegating_attribute, and extlib_inheritable_attribute. | |||||
* | For performance reasons, you can no longer call html_safe! on Strings. ↵ | Yehuda Katz | 2010-01-31 | 1 | -33/+34 | |
| | | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe. |