Permalink
Commits on Jun 29, 2009
  1. CPAN release

    committed Jun 29, 2009
  2. Proprely subclassed Net-Twitter user classes

    Subclass Net::Twitter::Core rather than using Net::Twitter->new.  Added tests
    for Net-Twitter user classes: Net::Identica, Net::Twitter::Search, and
    Net::Twitter::OAuth.
    
    Made _create_anon_class a private anonymous sub.  Repos version of Moose 0.85
    throws a warning when accessors have no associated methods.  We'll need the
    "is => 'bare'" option when its released.
    committed Jun 26, 2009
Commits on Jun 27, 2009
  1. Require meta-method "authenticate" (simplifies building Net::Twitter:…

    …:Lite)
    
    Requiring "authenticate" makes building Net::Twitter::Lite easier, and removes
    one logic test in API calls at the expense of storing it for every method.
    <shrug/>
    committed Jun 27, 2009
Commits on Jun 26, 2009
  1. Improved subclassing support and added subclass tests

    Elimianated the need for caching classes in Net::Twitter; let Moose do it.
    committed Jun 26, 2009
  2. CPAN release 3.03000

    committed Jun 26, 2009
  3. Twitter API update: new_direct_message prams; new show_friendship method

    Added screen_name and user_id parameters to new_direct_messages.  Added the
    new show_friendship method with a show_relationship alias.
    committed Jun 26, 2009
  4. Make Net::Twitter safe for subclassing

    Completely reworked construction by copying much of the MooseX::Traits
    internals into lib/Net/Twitter.pm and modifying them.
    
    Calling Net::Twitter's "new" method now results in an anon class created with
    supperclasses set to the subclass (if any) and and Net::Twitter::Core.  Now,
    subclasses that use Net::Twitter's "new" method get included in the
    superclasses so their methods as well as Net::Twitter::Core's can be found.
    
    I also duplicated Moose::Meta::Class' anon class caching technique allowing me
    to check to see if a class is in the cache, first.  If not, I create the anon
    class then make it immutable.  It wasn't possible to make the class immutable
    with MooseX::Traits. (Subclasses aren't made immutable, since they might not
    be Moose classes.)
    committed Jun 26, 2009
Commits on Jun 24, 2009
  1. Validate method attribute names passed to constructor

    This is poor-man's MooseX::StrictConstructor substitute. I need to see if I
    can make MX::SC work, here. (TODO)
    committed Jun 24, 2009
  2. Added authenticate option to API calls

    Allow forcing or suppressing an Authorization header on a per-API call basis.
    APIs are defined with a default "authenticate" value.  Individual method
    definitions can override that value.  And, finally, the value can be
    overridden at runtime by the user.  Authorization headers are only sent if
    the "authenticate" argument to to _authenticated_request is true AND user
    crendetials (username and password for Basic Authentication; access tokens for
    OAuth) are present.
    
    This will finally allow calling rate_limit_status both authenticated (for
    per-user rate_limit_status) and un-authenticated (for IP address
    rate_limit_status).
    committed Jun 24, 2009
  3. Improved implementation of token and url accessors

    I flattened oauth_urls in BUILDAGS so the urls become first class attributes
    instead of members of a HASH ref with custom accessors.
    
    I inflate urls to URI objects on read access.  I intentionally do not coerce
    them to URIs and just provide read access because that would result in subtle
    and perhaps surprising changes.  E.g.,
    
         my $uri = $self->authorization_url;
         $uri->query_form(oauth_token => $self->request_token);
         return $uri;
    
    Would result in a change to $self->authorization_url.  If coerced into URI, I
    would want the reader to return a clone.  This seems easier.
    committed Jun 24, 2009
  4. Started a FAQ section in the POD

    committed Jun 22, 2009
Commits on Jun 21, 2009
  1. Full implementation of OAuth 1.0a using Net::OAuth

    Replaced usage of Net::OAuth::Simple with Net::OAuth directly, preserving the
    calling interface.
    committed Jun 21, 2009
Commits on Jun 20, 2009
  1. Merge branch 'master' into oauth

    Conflicts:
    	Changes
    committed Jun 20, 2009
Commits on Jun 17, 2009
Commits on Jun 16, 2009
  1. Fix TwitterVision POD and example

    leto committed Jun 16, 2009
Commits on Jun 15, 2009
  1. Fixed doc typo

    committed Jun 15, 2009
Commits on Jun 12, 2009
  1. Updated Changes

    committed Jun 12, 2009
Commits on Jun 10, 2009
Commits on Jun 8, 2009
Commits on Jun 6, 2009
Commits on Jun 4, 2009
Commits on Jun 3, 2009
Commits on Jun 2, 2009
Commits on Jun 1, 2009