Xavier Noria
bdbb15e5a5
new reporting method Kernel#quietly
2011-05-13 01:41:52 +02:00
Josh Kalderimis
3d03c79829
Remove a circular require in AS deprecations. This is safe as AS deprecations is autoloaded as needed.
2011-05-12 15:24:10 +02:00
Santiago Pastorino
8cf4725f64
Merge pull request #227 from farski/master
...
Unnecessary redundancy in Time/Date calculations
2011-05-11 17:10:44 -07:00
Santiago Pastorino
c53d3929cd
Add missing requires
2011-05-11 13:05:04 -03:00
José Valim
9823c17c6a
Merge pull request #515 from joshk/patch-3
...
updated the ActiveSupport changelog
2011-05-11 09:04:41 -07:00
Corin Langosch
295bf413e5
add missing require for ordered_hash dependency
2011-05-11 16:22:35 +02:00
Josh Kalderimis
49cd41f7df
updated the ActiveSupport changelog
2011-05-11 04:45:19 -07:00
Aaron Patterson
8f999a3f80
make sure log file is written in binary mode. fixes #497
2011-05-10 13:23:05 -07:00
Piotr Sarnacki
2ea33d6b47
Merge pull request #490 from vijaydev/patch-4
...
Replace LH with GitHub url for filing issues
2011-05-10 10:58:12 -07:00
Guillermo Iguaran
259c749de1
Merging 3.0.x CHANGELOGs
2011-05-10 11:51:35 -05:00
Vijay Dev
8265c45db3
Replace LH with GitHub url for filing issues
2011-05-10 09:25:52 -07:00
Vijay Dev
3f36441e90
Update copyright year in Active Resource and Active Support
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-05-09 20:17:23 -03:00
José Valim
2750f2ee00
Fix failing test.
2011-05-09 17:08:59 +02:00
Mike Howard
372d72445b
xml_mini.rb:_dasherize() replacement 20 to 25% faster
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-05-09 17:06:56 +02:00
Guillermo Iguaran
1021b51b4f
Just a minor fix in A.S CHANGELOG
2011-05-08 22:59:25 -07:00
Vijay Dev
91c18554f6
adds code examples for negative ordinalize
2011-05-08 23:48:15 +05:30
Aaron Patterson
a45f300e5f
Merge pull request #445 from prakashmurthy/lighthouse_6334
...
Fix for Lighthouse ticket # 6334 : to_xml should render valid xml or raise an error all the time
2011-05-08 10:13:39 -07:00
José Valim
9727dd1e38
Merge pull request #388 from smartinez87/remove_method
...
Better use #remove_possible_method here
2011-05-08 07:42:02 -07:00
Sebastian Martinez
b94d94a1ae
Better use #remove_possible_method here
2011-05-08 11:31:56 -03:00
prakashmurthy
6b31fd8070
Lighthouse ticket # 6334; added tests to verify that spaces in key are dasherized.
2011-05-08 06:13:18 -06:00
David Lee
099eb2b3fd
indifferent access should recurse Hash subclasses
...
This commit makes Hash subclasses convert to HWIA by default for nested
objects of subclasses of Hash, but allows certain subclasses to prevent nested
conversion by introducing Hash#nested_under_indifferent_access that subclasses
can overwrite.
ActiveSupport::OrderedHash is one such subclass that overwrites
+nested_under_indifferent_access+, since implicitly converting it to HWIA would
remove the ordering of keys and values in Ruby 1.8.
This change is necessary because commit ce9456e broke nested indifferent access
conversion for all subclasses of Hash.
2011-05-08 03:40:51 -07:00
José Valim
30db3a82f6
Merge pull request #430 from dlee/methodoverride
...
Logs should show overridden method; Issue 426
2011-05-08 03:33:22 -07:00
José Valim
ad129639c7
Fix failing xml mini test.
2011-05-08 12:25:02 +02:00
Mike Gehard
0bc91a4cf7
Rename duplicate tests. There is now one failing test that was failing before the rename but was never getting run.
2011-05-07 17:02:42 -06:00
José Valim
0ef978d1d2
Revert "Merge pull request #275 from pk-amooma/master"
...
Several AP tests fail after this change.
This reverts commit aaf01cd53718c8aa5b69ac056b997e6dd9893777, reversing
changes made to 9cc18c52faeebaad6a76bd62cdca1c6b9f96afed.
2011-05-07 23:45:15 +02:00
José Valim
803548c46b
xml_mini_test.rb now runs.
2011-05-07 22:45:06 +02:00
Jason
3880ab0d7c
ordinalize negative numbers patch
...
Applied patch by Amir Manji
https://github.com/rails/rails/issues/437#issuecomment-1116045
Signed-off-by: Jason <jasonmichaelroth@gmail.com>
2011-05-07 13:21:00 -06:00
José Valim
f77cd7c7b6
Merge pull request #286 from jasoncodes/marshal_subsec
...
Fix marshal round-tripping of fractional seconds (Time#subsec).
2011-05-07 04:39:50 -07:00
José Valim
aaf01cd537
Merge pull request #275 from pk-amooma/master
...
properly escape "'" to "'" for XML
2011-05-07 03:41:26 -07:00
José Valim
b011a7a938
Merge remote branch 'rolftimmermans/desc_tracker'
2011-05-07 12:26:45 +02:00
José Valim
a761d77902
Merge pull request #248 from bigfix/enumerable_as_json
...
Enumerable should pass encoding options to children in #as_json/#to_json
2011-05-07 03:19:56 -07:00
David Lee
17a91a6ef9
Logs should show overridden method; Issue 426
2011-05-07 03:04:26 -07:00
José Valim
a6ef255ff5
Merge pull request #349 from bradley178/master
...
Hash.from_xml chokes on empty CDATA
2011-05-07 02:58:16 -07:00
José Valim
894bdbd53d
Move variables to underscore format, update protected instance variables list.
2011-05-06 14:57:25 +02:00
Jan Xie
25288c137c
minitest/ruby19 compatible performance test
2011-05-05 16:11:49 +08:00
David Heinemeier Hansson
169ae75e09
Prepare for beta1
2011-05-04 20:21:05 -05:00
Sebastian Martinez
1c2dc92aae
Use #remove_possible_method instead
2011-05-04 15:07:34 -03:00
José Valim
85b8a88d87
Relax this dependency a bit.
2011-05-04 19:30:23 +02:00
Aaron Patterson
b8ccd05524
convert strings to lambdas so we can use a consistent interface to the objects in the collection
2011-05-01 12:16:12 -07:00
Aaron Patterson
23eb81a3d1
assert_difference can take a callable piece of code rather than just evaling a string
2011-05-01 11:55:13 -07:00
Dan Pickett
1efaed5af1
Merge branch 'master' of github.com:lifo/docrails
2011-04-29 19:18:10 -04:00
Bradley Harris
aba149d702
Fix bug with empty CDATA not being handled in Hash.from_xml
2011-04-29 14:47:49 -04:00
José Valim
0c76eb1106
No need for &block here.
2011-04-29 20:30:21 +02:00
Bradley Harris
2450177656
Added test for empty CDATA bug in from_xml
2011-04-29 14:09:06 -04:00
José Valim
bb44cd727f
Tidy up previous commit.
2011-04-28 09:47:07 +02:00
José Valim
182d00897a
Merged pull request #219 from panthomakos/memcache.
...
Character encoding issues with MemCacheStore in 1.9.2
2011-04-28 00:40:42 -07:00
José Valim
5297049e32
Merged pull request #328 from MSNexploder/fix_clear_inflector.
...
proper reset all inflector scopes
2011-04-28 00:19:13 -07:00
Josh Kalderimis
11537c57cb
fixed a small bug with Array#from core_ext
2011-04-27 17:35:00 +02:00
Vijay Dev
f76dd271c6
minor changes
2011-04-27 19:50:51 +05:30
Jared McFarland
d56befbd31
using @tenderlove's suggested implementation to speed things up
2011-04-27 20:51:39 +08:00