David Heinemeier Hansson
d224e6ccb1
Update CHANGELOGs with the last few fixes, set date for today
2008-10-24 13:08:47 +02:00
David Heinemeier Hansson
5366e61458
Proper update call for gem server
2008-10-23 20:29:25 +02:00
David Heinemeier Hansson
eec6e0cbbd
Push to new gem server
2008-10-23 20:18:11 +02:00
David Heinemeier Hansson
57c31a380e
Prepare for Rails 2.2.0 [RC1]
2008-10-23 20:14:20 +02:00
Pratik Naik
a03e2b356c
Merge with docrails. Also add a rake task to generate guides in your rails application :
...
rake doc:guides
The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
2008-10-21 18:33:40 +01:00
Pratik Naik
a5cdb7a813
Remove stuff that was deprecated in 2-1-stable
2008-10-21 11:34:56 +01:00
Geoff Garside
1082cba441
Bump active_support/vendor.rb tzinfo version number [ #1237 state:resolved]
2008-10-20 09:13:45 -05:00
gbuesing
c79f1d281f
TimeWithZone#freeze: preload instance variables so that we can actually freeze
2008-10-19 22:33:26 -05:00
gbuesing
93e1bff82a
Bundle TzInfo version 0.3.11
2008-10-19 22:06:32 -05:00
Daniel Schierbeck
de0ed534f6
Simplified the implementation of the :prefix option.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#984 state:committed]
2008-10-19 13:42:57 +02:00
Daniel Schierbeck
32a58d2afc
Added documentation of the new :prefix option.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-19 13:42:52 +02:00
Daniel Schierbeck
0cb382cb6f
Moved test object instantiation to a setup method.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-19 13:42:52 +02:00
Daniel Schierbeck
ab2b1570fd
Made the :prefix option on Module#delegate accept a custom prefix.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-19 13:42:52 +02:00
Daniel Schierbeck
731c63f8eb
Added :prefix option to Module#delegate.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-19 13:42:52 +02:00
Pratik Naik
550fbccedd
Fix test warnings
2008-10-17 23:57:54 +02:00
Pratik Naik
ffbd7dd8ee
CHANGELOG entry for the previous commit ( 18e7bf2865)
2008-10-17 23:48:41 +02:00
Pratik Naik
18e7bf2865
Fix Brasilia timezone. [ #1180 state:resolved]
2008-10-17 23:43:26 +02:00
Doug Barth
47be090d37
Skip tests that depend on memcached if not running.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-17 18:09:38 +02:00
Doug Barth
4b63c2700f
Bring MemCacheStore and CompressedMemCacheStore inline with expected counter manipulation semantics.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-17 18:09:27 +02:00
Doug Barth
c3d6205a4b
Fix cache counter semantics for MemoryCache, FileStoreCache, and (presumably) the DRbStore.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-17 18:09:26 +02:00
Michael Koziarski
3e9fc279e5
Avoid warnings by undefining the old method transliterate.
2008-10-14 21:24:34 +02:00
Michael Koziarski
e0993c6c37
Reverse the order of the iconv arguments to remain compatible with older rubies / iconvs.
...
[#1195 state:resolved]
2008-10-14 21:24:19 +02:00
gbuesing
c51db4d7ab
Enhance testing for fractional days and weeks. Update changelog.
2008-10-13 20:18:56 -05:00
Tom Lea
a6e5d29e08
Added deprecated warning messages to Float#months and Float#years deprications.
2008-10-13 20:00:10 -05:00
Tom Lea
d599b80009
Deprecated Float#years and Float#months, moved Numeric#years and Numeric#months into Integer.
2008-10-13 20:00:09 -05:00
Tom Lea
27c70ff386
Time#advance recognizes fractional days and weeks [ #970 state:resolved]
2008-10-13 20:00:09 -05:00
Dan Barry
0d4dbb3dfa
test nested hash with float
...
[#652 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-10-12 14:24:05 -07:00
Tarmo Tänav
d69b4b7bea
Made i18n simple backend able to store false values (and not confuse them with nil or lack of value)
...
Implemented support.array.skip_last_comma i18n key for
Array#to_sentence, this also tests the ability to store false.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-10-09 01:19:02 +01:00
Michael Koziarski
5556db22c5
Reduce memory usage slightly in String#parameterize
...
[#1034 state:committed]
2008-10-07 21:01:43 +02:00
Michael Koziarski
a4629e707d
Extract transliteration code to a seperate method.
...
Use iconv by default, but only when the transliteration is well behaved. When it isn't, fallback to mb_chars
2008-10-07 21:01:38 +02:00
Manfred Stienstra
efb9ef65cc
Fix a typo in ActiveSupport::Multibyte::NORMALIZATION_FORMS. [ #1179 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-10-06 19:04:45 +01:00
Jeremy Kemper
5bc91b0592
Mark utf-8 source encoding
2008-10-06 10:56:56 -07:00
Eugene Pimenov
8603813ac6
Fix memoize_all for methods with punctuation [ #1175 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-10-05 17:25:58 -05:00
Pratik Naik
a2932784bb
Merge docrails
2008-10-05 22:16:26 +01:00
Pratik Naik
259a7a844b
Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ActionController::Base.
2008-10-04 22:13:50 +01:00
Norbert Crombach
964dfc1557
First draft of ActiveSupport::Rescuable
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-10-04 20:28:08 +01:00
Michael Koziarski
1dfebd4f0d
1.8 compatibility for random_number method on SecureRandom.
...
1.9 has its own version.
2008-10-04 21:11:30 +02:00
Michael Koziarski
923eb9569c
Fix mismatched assertions.
2008-10-04 21:11:30 +02:00
madlep
00e2ba76b2
added nicer failure reporting to #assert_difference to tell you the expression that failed rather than just the expected and actual values
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1161 state:committed]
2008-10-03 21:31:56 +02:00
Nick Sieger
395369bc2b
Provide alternate implementation of Object#subclasses_of for JRuby
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1144 state:committed]
2008-10-03 21:28:47 +02:00
adam
2e75bd0808
slice now returns indifferent hash if called on one
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1096 state:committed]
2008-09-23 14:04:20 +02:00
adam
c452e49e76
Adds failed test case for slicing hash with indifferent access with symbol keys
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-09-23 14:04:13 +02:00
Adam Cigánek
a4f2ba8fb3
Modified ActiveSupport::Inflector#parameterize with code from slugalizer ( http://github.com/henrik/slugalizer )
...
Handles trailing and leading slashes, and squashes repeated separators into a single character.
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1034 state:committed]
2008-09-23 08:08:21 +02:00
Michael Koziarski
961e2b8610
Changelog entry for manfred's multibyte changes
2008-09-22 21:52:21 +02:00
Michael Koziarski
638bd19c7f
Merge branch 'patches' into multibyte
2008-09-22 21:35:35 +02:00
Michael Koziarski
5f86451a4c
Bump the Version constants to align with the *next* release rather than the previous release.
...
This allows people tracking non-release gems or git submodules to use the constants.
2008-09-22 21:32:12 +02:00
Manfred Stienstra
5795c509a7
Set encoding of the multibyte test helpers file to UTF-8 so the strings can be read by Ruby 1.9.
2008-09-21 18:31:15 +02:00
Manfred Stienstra
00a4286551
Change call to String#chars in inflector to String#mb_chars.
2008-09-21 17:51:01 +02:00
Manfred Stienstra
44e44b42d9
Deprecated String#chars in favor of String#mb_chars.
2008-09-21 17:47:19 +02:00
Manfred Stienstra
3c9eedec3c
Move multibyte test helpers to a separate file and make the conformance tests run again.
2008-09-21 17:37:38 +02:00