README.rdoc in visionmedia-rext-0.0.3 vs README.rdoc in visionmedia-rext-0.0.4
- old
+ new
@@ -1,13 +1,19 @@
= Rext
-This gem is primarily used for the Evolution CMS project, and its dependencies,
-however it is de-coupled and free to use within your own project. As to compliment
-existing extension libraries such as extlib, this library does not provide
-methods such as String#camelize etc.
+Rext is primarily used for the Evolution CMS project, and its dependencies,
+however it is de-coupled and free to use within your own project.
+== Motivations
+
+* ActiveSupport does not contain everything we need, and is messy IMO
+* Very easy to cherry-pick what you need
+* Provide better documentation
+* Attention to quality and performance
+* Abstraction of loosely coupled helpers used throughout Evolution and its sub-gems
+
== Usage
require 'rext/all'
# or
@@ -24,18 +30,25 @@
== Extensions
Below are the methods currently provided by Rext.
+* Object
+ - metaclass
+ - meta_def
+ - meta_eval
+
* String
- url_encode
- url_decode
- base64_encode
- base64_decode
- html_escape
- merge_word / add_class
- digitize
+ - camelize
+ - constantize
- wrap
- start_with?
- end_with?
- plural?
- singular?
@@ -45,10 +58,13 @@
- files
- path
* Integer
- ordanalize
+
+* Numeric
+ - bytes, kilobytes, etc
- seconds, minutes, hours, days, ...
- to_seconds, to_minutes, to_hours, ...
- ago / before
- since / from_now
@@ -69,9 +85,19 @@
- yield_or_eval
* Enumerable
- group_by
- every ( Copyright http://github.com/mynyml )
+
+== Compatibility
+
+Rext provides methods which support Ruby 1.8.x and 1.9.x, as
+well as forward compatibility for features such as BasicObject.
+
+== Contrib
+
+Feel free to fork Rext on github, or submit a ticket:
+http://visionmedia.lighthouseapp.com/projects/28074-rext/overview
== License
(The MIT License)