Module Rubilicious::Extras
In: rubilicious.rb  (CVS)

Module containing methods to maintain compatability with methods from Rubilicious 0.1.x.

Note: These methods are deprecated and may be removed from a future version of Rubilicious.

If you have an application that depends on the old 0.1-style methods added by RubiliciousString#uri_escape, Array#to_xbel, etc — you can do one of the following:

  1. Add a call to Rubilicious::Extras.include_extras before calling any of the old-style methods.
  2. Include one of the Extra classes piecemeal. For example, if your application depends on Array#to_xbel, the following code will add Array#to_xbel:
      class Array
        include Rubilicious::Extras::Array
      end
    
  3. Fix your code. Each of the old-style calls maps to either a new non-toplevel method or a Ruby built-in method. For example, Array#to_xbel can be replaced by Rubilicious.xbel(ary), and String#xml_escape can be replaced by CGI.escapeHTML(str).

Methods

Included Modules

Extras::Rubilicious Extras

Classes and Modules

Module Rubilicious::Extras::Array
Module Rubilicious::Extras::Rubilicious
Module Rubilicious::Extras::String
Module Rubilicious::Extras::Time

External Aliases

subs -> subscriptions
  handy aliases
sub -> subscribe
unsub -> unsubscribe

Public Class methods

Add old Rubilicious 0.1.x-style String, Array, and Time methods to the environment. This method also adds the old inbox methods back in to Rubilicious. If you just want the old inbox methods without the other methods, see the include_inbox method.

Note: This method is only to maintain source compatability with Rubilicious 0.1.x-style applications and should not be used in newer code.

Add the old inbox methods back to Rubilicious.

Note: The inbox functions (Rubilicious#inbox, Rubilicious#sub, Rubilicious#unsub, etc) do not work with the current Delicious API (v1). They are included for compatability with non-Delicious that use the old Delicious API.

If you want to include all the old Rubilicious methods (including the changes to String, Array, and Time), see the include_extras method.

[Validate]