Permalink
Commits on Apr 23, 2009
  1. Updated repository link.

    runpaint committed Apr 23, 2009
  2. Removed Analytics junk.

    runpaint committed Apr 23, 2009
  3. Testing...

    runpaint committed Apr 23, 2009
  4. Initial pass at User page.

    runpaint committed Apr 23, 2009
  5. Make .keys and .emails return Arrays.

    runpaint committed Apr 23, 2009
    The .keys and .emails methods were returning HTTParty responses which were
    confusing to the caller, and contained an unnecessary level of depth. We now
    index the response with the appropriate hash key, thus returning its Array
    value.
  6. Removing superfluous yield.

    runpaint committed Apr 23, 2009
    The `submit` method yields to the block it's been passed, prints out a trace,
    then makes almost the same yield again. I assume that this is in error, and
    could have been caused by my previous merge.
  7. Undo 3cb8fbd.

    runpaint committed Apr 23, 2009
    Commit 3cb8fbd has been made obsolete by
    commit 67320c5. Now we're appending the
    credentials to GET requests, .keys and .emails can return to using the correct
    request type.
  8. Add credentials to `default_params` for auth'd GET.

    runpaint committed Apr 23, 2009
    We want the token and login to be sent for all authenticated queries. They
    were being sent for POST requests, but, seemingly, not for GETs, causing
    methods relying on the latter to fail. HTTParty's `default_params` method
    causes parameters so set to be sent on every request. We specify `login` and
    `token` as default parameters if the request is authenticated.
  9. POST is required for /user/keys and /user/emails.

    runpaint committed Apr 23, 2009
    The .keys and .emails methods returned a "not authenticated" error because
    they were fetched via GET and thus the credentials were not sent. Using POST
    fixes this bug.
  10. Fixed non-working examples.

    runpaint committed Apr 23, 2009
  11. Changed title.

    runpaint committed Apr 23, 2009
Commits on Apr 22, 2009
  1. Version bump to 0.0.7

    fcoury committed Apr 22, 2009
  2. Add '?' suffix to generated method names of bools

    runpaint authored and fcoury committed Apr 22, 2009
    Objects with values that are either true or false have an '?' appended to
    their name to fit with standard Ruby convention. For example, Repository
    objects now have a .fork? and .private? method. This convention is not
    reflected in the value of the @keys instance variable, because we assume
    callers will use it to iterate through the instance variables, whose names do
    not have a '?' suffix...
    
    Note: This commit theoretically breaks backward compatibility, as the
    unadorned method names no longer work.
    
    This closes #2.
    
    Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  3. Use new .all_issues method.

    runpaint authored and fcoury committed Apr 22, 2009
    Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  4. Add .all_issues method to get issues of all states.

    runpaint authored and fcoury committed Apr 22, 2009
    This closes #16.
    
    Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  5. Use .validate_args to validate states.

    runpaint authored and fcoury committed Apr 22, 2009
    Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  6. Support validation of states with validate_args.

    runpaint authored and fcoury committed Apr 22, 2009
    Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  7. Make Issue::STATES constant holding valid states.

    runpaint authored and fcoury committed Apr 22, 2009
    Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  8. Add '?' suffix to generated method names of bools

    runpaint committed Apr 22, 2009
    Objects with values that are either true or false have an '?' appended to
    their name to fit with standard Ruby convention. For example, Repository
    objects now have a .fork? and .private? method. This convention is not
    reflected in the value of the @keys instance variable, because we assume
    callers will use it to iterate through the instance variables, whose names do
    not have a '?' suffix...
    
    Note: This commit theoretically breaks backward compatibility, as the
    unadorned method names no longer work.
    
    This closes #2.
  9. Use new .all_issues method.

    runpaint committed Apr 22, 2009
  10. Add .all_issues method to get issues of all states.

    runpaint committed Apr 22, 2009
    This closes #16.
  11. First pass at a backup script using the API.

    runpaint authored and fcoury committed Apr 22, 2009
    Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  12. Merge branch 'master' of git://github.com/fcoury/octopi

    runpaint committed Apr 22, 2009
    Conflicts:
    	lib/octopi.rb
  13. Improved README

    fcoury committed Apr 22, 2009
  14. Improved README

    fcoury committed Apr 22, 2009