Pete Elmore [Thu, 16 Jan 2014 07:55:00 +0000 (23:55 -0800)]
Allow silencing of the message.
Pete Elmore [Thu, 16 Jan 2014 07:52:06 +0000 (23:52 -0800)]
Use standard error for errors/warnings that aren't normal output.
Hayes Davis [Sun, 31 Mar 2013 22:47:56 +0000 (15:47 -0700)]
Fix README bug
Hayes Davis [Sun, 31 Mar 2013 22:45:47 +0000 (15:45 -0700)]
Version bump to 0.3.0
Hayes Davis [Sun, 31 Mar 2013 22:39:14 +0000 (15:39 -0700)]
Upddate docs to reflect 1.1 change
Hayes Davis [Sun, 31 Mar 2013 21:33:24 +0000 (14:33 -0700)]
Handle API 1.1 rate limit header names
Hayes Davis [Sun, 31 Mar 2013 21:10:34 +0000 (14:10 -0700)]
Default to API 1.1
Hayes Davis [Sun, 31 Mar 2013 20:38:10 +0000 (13:38 -0700)]
Merge pull request #28 from jcsalterego/master
:v1_1 endpoint and version bump to 0.2.2
Jerry Chen [Thu, 24 Jan 2013 20:02:04 +0000 (14:02 -0600)]
Bump version to 0.2.2
Jerry Chen [Thu, 24 Jan 2013 20:00:01 +0000 (14:00 -0600)]
Add :v1_1 api endpoint to client; :v1 is still the default mapping for :rest
Hayes Davis [Wed, 15 Aug 2012 03:54:20 +0000 (20:54 -0700)]
Bump version to 0.2.1
Hayes Davis [Wed, 15 Aug 2012 03:53:11 +0000 (20:53 -0700)]
Update changelog for version 0.2.1
Hayes Davis [Wed, 15 Aug 2012 03:52:49 +0000 (20:52 -0700)]
Clone http codes and response headers when creating client
Hayes Davis [Wed, 13 Jun 2012 00:27:21 +0000 (17:27 -0700)]
Add support for configurable http codes that won't raise an error if encountered
Hayes Davis [Sun, 10 Jun 2012 22:31:38 +0000 (15:31 -0700)]
Fixed @jcsalterego's name in the changelog
Hayes Davis [Sun, 10 Jun 2012 22:08:29 +0000 (15:08 -0700)]
Update ruby version compatibility notes. Adding 1.9.3 into the testing mix.
Hayes Davis [Sun, 10 Jun 2012 22:02:44 +0000 (15:02 -0700)]
Small hack to fix tests in 1.9.3 due to small change in Net:HTTP form data encoding
Hayes Davis [Sun, 10 Jun 2012 21:00:38 +0000 (14:00 -0700)]
Small formatting change and changelog add for @jbrennon's change
Hayes Davis [Sun, 10 Jun 2012 20:58:34 +0000 (13:58 -0700)]
Merge pull request #24 from jbrennon/master
Just added the upload api endpoint
Hayes Davis [Sun, 10 Jun 2012 20:56:03 +0000 (13:56 -0700)]
More changelog notes
Hayes Davis [Sun, 10 Jun 2012 20:55:00 +0000 (13:55 -0700)]
Merge branch 'development'
Hayes Davis [Sun, 10 Jun 2012 20:54:49 +0000 (13:54 -0700)]
Updates to the changelog for v0.2.0
Hayes Davis [Sun, 10 Jun 2012 20:50:17 +0000 (13:50 -0700)]
Version bump to 0.2
Hayes Davis [Sun, 10 Jun 2012 20:50:10 +0000 (13:50 -0700)]
Document the new response method and headers
Hayes Davis [Mon, 4 Jun 2012 00:16:10 +0000 (17:16 -0700)]
Tighten up response header tests. Also make headers passed to constructor override instead of union with them
Hayes Davis [Sun, 3 Jun 2012 23:46:48 +0000 (16:46 -0700)]
Merge pull request #25 from mando/add_response_header_support
Added support for access to the client response.
Mando Escamilla [Tue, 29 May 2012 23:25:03 +0000 (18:25 -0500)]
Added support for access to the client response.
The client object now has access to the response object,
which contains the following:
* body - raw response body
* headers - filtered header list
* status - status code
* method - HTTP verb
* request_uri - uri of the last action
By default, the only response headers that will be
returned are the Twitter response headers:
* x-ratelimit-limit
* x-ratelimit-remaining
* x-ratelimit-reset
To add additional response headers, simply send them
as an option to the client on creation:
c = Grackle::Client.new(:response_headers=>['X-My-Awesome-Header'])
Brennon Loveless [Fri, 18 May 2012 21:21:32 +0000 (15:21 -0600)]
Added the endpoint for twitters upload api
Hayes Davis [Sun, 13 May 2012 23:43:06 +0000 (16:43 -0700)]
Don't set date in gemspec
Hayes Davis [Sun, 13 May 2012 23:38:52 +0000 (16:38 -0700)]
Remove crufty .bnsignore
Hayes Davis [Sun, 13 May 2012 23:37:54 +0000 (16:37 -0700)]
Fix ridiculously out of date gemspec
Hayes Davis [Sun, 13 May 2012 23:28:09 +0000 (16:28 -0700)]
Fix requires in grackle.rb and test_helper.rb
Hayes Davis [Sun, 13 May 2012 23:27:24 +0000 (16:27 -0700)]
Extract version out a separate file
Hayes Davis [Sun, 13 May 2012 23:12:53 +0000 (16:12 -0700)]
Make tests slightly more sane and modern
Hayes Davis [Sun, 13 May 2012 23:08:18 +0000 (16:08 -0700)]
Refactor @jcsalterego pull request with different attribute name
Can now use auto_append_format to toggle whether or not to append
the format to the URL as an extension.
Hayes Davis [Sun, 13 May 2012 22:43:33 +0000 (15:43 -0700)]
Merge pull request #16 from jcsalterego/master
Grackle::Client.new :uri_extension parameter
Hayes Davis [Sun, 13 May 2012 22:39:15 +0000 (15:39 -0700)]
Updates to the README in preparation for new stuff
Hayes Davis [Wed, 7 Sep 2011 04:06:25 +0000 (21:06 -0700)]
Merge pull request #18 from earth2marsh/patch-1
Fixed typos where "screen_name" was written as "scren_name"
Marsh Gardiner [Wed, 7 Sep 2011 03:59:51 +0000 (20:59 -0700)]
Fixed typos where "screen_name" was written as "scren_name"
Jerry Chen [Fri, 3 Jun 2011 17:11:52 +0000 (12:11 -0500)]
Add optional Grackle::Client.new(:uri_extension=>true) which allows for accessing endpoints without extensions (useful for non-Twitter)
Hayes Davis [Tue, 14 Sep 2010 20:22:16 +0000 (13:22 -0700)]
Fixing wiki links in the README.
Hayes Davis [Tue, 14 Sep 2010 18:35:12 +0000 (11:35 -0700)]
One more time on deprecation.
Hayes Davis [Tue, 14 Sep 2010 18:34:28 +0000 (11:34 -0700)]
Changing basic auth deprecation notice.
Hayes Davis [Tue, 14 Sep 2010 18:33:52 +0000 (11:33 -0700)]
Changing OAuth deprecation notice.
Hayes Davis [Tue, 14 Sep 2010 18:32:22 +0000 (11:32 -0700)]
Updated links to the wiki including linking to the new page about grackle and OAuth.
Hayes Davis [Mon, 6 Sep 2010 17:08:55 +0000 (10:08 -0700)]
Added link to OAuth wiki page in the README.
Hayes Davis [Mon, 16 Aug 2010 15:09:42 +0000 (08:09 -0700)]
Added a deprecation message to the basic auth section of the readme.
Hayes Davis [Sun, 13 Jun 2010 17:45:09 +0000 (12:45 -0500)]
Fixed changelog and gemspec with correct dates for v0.1.10
Hayes Davis [Sun, 13 Jun 2010 17:42:06 +0000 (12:42 -0500)]
Bumped gem version to 0.1.10, updated changelog and updated readme
Hayes Davis [Sun, 13 Jun 2010 17:36:25 +0000 (12:36 -0500)]
Changed :rest to be a synonym for :v1 though :rest is now considered deprecated
Hayes Davis [Sun, 13 Jun 2010 17:26:58 +0000 (12:26 -0500)]
Fixed issue with DELETE requests not being able to have form encoded body parameters. This was causing the list membership delete method to fail. As a side note, it appears that Twitter is actually violating the HTTP 1.1 spec on this one since RFC 2616 states that a DELETE "requests that the origin server delete the resource identified by the Request-URI" (note no mention of any "enclosed entity").
Hayes Davis [Sun, 13 Jun 2010 16:43:31 +0000 (11:43 -0500)]
Changed :v1 (api.twitter.com/1) to be the default API
Hayes Davis [Mon, 1 Mar 2010 01:42:23 +0000 (19:42 -0600)]
Bumped to v0.1.9 with new auto_append_ids flag and README updates from akahn.
Hayes Davis [Mon, 1 Mar 2010 01:35:38 +0000 (19:35 -0600)]
Tweaked README formatting just a bit.
Hayes Davis [Mon, 1 Mar 2010 01:32:24 +0000 (19:32 -0600)]
Merge remote branch 'akahn/master'
Hayes Davis [Mon, 1 Mar 2010 01:27:17 +0000 (19:27 -0600)]
Added support for a flag that controls whether parameters named id are automatically appended to URLs.
Alexander Kahn [Thu, 25 Feb 2010 14:39:33 +0000 (07:39 -0700)]
Add information about using StringHandler, slightly reorganize Formats section.
Hayes Davis [Wed, 3 Feb 2010 03:22:12 +0000 (21:22 -0600)]
Added proxy support to Grackle::Transport via the proxy attribute.
Hayes Davis [Mon, 14 Dec 2009 04:29:27 +0000 (22:29 -0600)]
Fixed the date in the gemspec
Hayes Davis [Mon, 14 Dec 2009 04:18:09 +0000 (22:18 -0600)]
Updated the gem version, the README and the CHANGELOG for 0.1.7.
Hayes Davis [Mon, 14 Dec 2009 04:09:45 +0000 (22:09 -0600)]
Updated the README to reflect the state of Ruby 1.9 support. Bottom line is everything works but OAuth because the OAuth gem hasn't been updated for 1.9.
Hayes Davis [Mon, 14 Dec 2009 04:04:49 +0000 (22:04 -0600)]
The _ method wasn't working for appending numbers to a request path. That's now been fixed.
Hayes Davis [Mon, 14 Dec 2009 03:54:40 +0000 (21:54 -0600)]
Can now set a Certificate Authority pem file on Grackle::Transport to ensure that SSL requests have their certificates properly validated. This prevents an error in Ruby 1.9.x and a warning in 1.8.x. It's also much more secure.
Hayes Davis [Mon, 14 Dec 2009 03:50:34 +0000 (21:50 -0600)]
Added a fix to how parameters are handled when making requests in Ruby 1.9
Hayes Davis [Sat, 31 Oct 2009 16:27:19 +0000 (11:27 -0500)]
Added information about how to get support and announcements to the README.
Hayes Davis [Fri, 30 Oct 2009 02:45:57 +0000 (21:45 -0500)]
Added new block syntax for HTTP methods that aren't GET and POST. Also added support for building a request path that has a part that is not a valid Ruby method. These two changes give Grackle better support for the upcoming Twitter Lists API and its more RESTful approach. This is version 0.1.6.
Hayes Davis [Thu, 29 Oct 2009 04:46:32 +0000 (23:46 -0500)]
Moved gem distribution to gemcutter. The gem for grackle will be hosted at gemcutter.org from version 0.1.5 on.
Hayes Davis [Thu, 29 Oct 2009 04:25:34 +0000 (23:25 -0500)]
Added support for the versioned Twitter API. There is now an API symbol :v1 for using version 1 of the API, however :rest is still the default. This is version 0.1.5.
Hayes Davis [Sun, 9 Aug 2009 21:58:33 +0000 (16:58 -0500)]
Added additional check for 3xx responses that don't have location headers.
Hayes Davis [Sun, 9 Aug 2009 21:41:43 +0000 (16:41 -0500)]
Merged in changes from gotwalt for timeouts and redirects. Revised 30x redirect handling to support a limit that prevents infinite redirects.
Hayes Davis [Sun, 9 Aug 2009 19:48:34 +0000 (14:48 -0500)]
Merge branch 'master' of git://github.com/gotwalt/grackle into gotwalt/master
Joshua Miller [Fri, 7 Aug 2009 07:32:51 +0000 (03:32 -0400)]
Bump version to 0.1.4.
Joshua Miller [Fri, 7 Aug 2009 07:15:52 +0000 (03:15 -0400)]
Handle Twitter's DDOS-redirect.
Hayes Davis [Tue, 9 Jun 2009 16:42:46 +0000 (11:42 -0500)]
Fixed wrong argument name in README and client.rb documentation. OAuth needs :consumer_secret instead of :consumer_token.
Randy Schmidt [Sat, 23 May 2009 23:06:33 +0000 (19:06 -0400)]
Tweak gemspec to see if we can get it to build
Randy Schmidt [Fri, 22 May 2009 00:58:15 +0000 (20:58 -0400)]
Added support for user-specified timeouts with the default being 60 seconds
Hayes Davis [Mon, 11 May 2009 21:55:02 +0000 (16:55 -0500)]
Changed :site param used by OAuth to be determined dynamically unless explicitly specified as part of the :auth param to the Client constructor. This param needs to match the scheme and authority of the request using OAuth or the signing will not validate. This was causing issues with SSL OAuth requests. Also bumped the gemspec version to 0.1.2
Hayes Davis [Sun, 10 May 2009 22:20:24 +0000 (17:20 -0500)]
Fixed issue where SSL setting wasn't being applied correctly to Net:HTTP which was preventing SSL-enabled requests from working correctly. Also bumped gemspec to 0.1.1 to get a new gem built.
Hayes Davis [Sat, 25 Apr 2009 19:24:42 +0000 (14:24 -0500)]
Changed up the README to stress preferred method chain usage
Hayes Davis [Sat, 25 Apr 2009 19:04:16 +0000 (14:04 -0500)]
Fixed small typo in the basic auth part of README
Hayes Davis [Mon, 13 Apr 2009 00:37:51 +0000 (19:37 -0500)]
Fixed small issue with a couple of the code samples in README and client.rb
Hayes Davis [Sun, 12 Apr 2009 20:31:15 +0000 (15:31 -0500)]
Minor fix to contact info in README
Hayes Davis [Sun, 12 Apr 2009 19:50:19 +0000 (14:50 -0500)]
Fixed issue with requirements section of readme for final OAuth release
Hayes Davis [Sun, 12 Apr 2009 19:06:56 +0000 (14:06 -0500)]
Fixed the gemspec to include the new tests
Hayes Davis [Sun, 12 Apr 2009 18:58:15 +0000 (13:58 -0500)]
Cleaned up tests. Removed spec and implemented OAuth and other Test::Unit tests
Hayes Davis [Sun, 12 Apr 2009 18:57:01 +0000 (13:57 -0500)]
Fixed issue with mismatched oauth paramter expectations between client and transport
Hayes Davis [Sun, 12 Apr 2009 04:19:26 +0000 (23:19 -0500)]
Finalized OAuth support. Cleaned up documentation to reflect OAuth
Hayes Davis [Mon, 6 Apr 2009 02:24:13 +0000 (21:24 -0500)]
Added oAuth and got rid of dependence on httpclient for multipart uploads
Hayes Davis [Sun, 5 Apr 2009 18:16:29 +0000 (13:16 -0500)]
Bumped gemspec version due to transport.rb fix from robrasmussen
Robert Rasmussen [Mon, 30 Mar 2009 23:55:58 +0000 (18:55 -0500)]
fix small problem with missing variable in transport
Seth Ladd [Wed, 25 Mar 2009 21:30:08 +0000 (11:30 -1000)]
fix type in code example, more explicit install instructions
Hayes Davis [Wed, 25 Mar 2009 19:09:20 +0000 (14:09 -0500)]
Removed unecessary dependence on mr bones
= [Wed, 25 Mar 2009 06:14:20 +0000 (01:14 -0500)]
Updating the readme to fix some typos. Trying again to get github to generate the gem.
Hayes Davis [Tue, 24 Mar 2009 02:17:47 +0000 (21:17 -0500)]
Tweaked gem version number
Hayes Davis [Tue, 24 Mar 2009 02:03:34 +0000 (21:03 -0500)]
Fixed version number
Hayes Davis [Tue, 24 Mar 2009 02:01:00 +0000 (21:01 -0500)]
Yet another tweak to the gemspec
Hayes Davis [Tue, 24 Mar 2009 01:58:47 +0000 (20:58 -0500)]
Another tweak to the gemspec
Hayes Davis [Tue, 24 Mar 2009 01:55:55 +0000 (20:55 -0500)]
Updated gemspec for version 0.1.0
Hayes Davis [Tue, 24 Mar 2009 01:45:32 +0000 (20:45 -0500)]
Updated documentation to explain API toggling and improved doc formatting
Hayes Davis [Tue, 24 Mar 2009 01:43:40 +0000 (20:43 -0500)]
Refactored client request and response handling to better handle errors. Also added easy ability to toggle between APIs.