Commit graph

53 commits

Author SHA1 Message Date
382764bb44
Update dependencies 2024-09-02 13:25:49 -07:00
Steve Agalloco
60300cffa5
Fix failing test 2022-01-09 14:35:24 -05:00
Steve Agalloco
1edfbecac6
Setup CI with GitHub actions (#8) 2021-01-15 17:34:38 -05:00
Vesa Vänskä
546d4ca55b Coerce BookmarkList bookmarks to correct format
Previously fetching all bookmarks caused the
`instapaper_hash` not being set.
2016-08-02 22:57:06 +03:00
stve
3138d00398 refactor of error handling 2016-01-27 14:08:55 -05:00
stve
cb1d2348a6 handle 401's 2016-01-14 22:42:34 -05:00
stve
658bd54f49 fix rubocop warnings 2016-01-14 21:29:42 -05:00
stve
e3f3f74d64 implement Instapaper::BookmarkList#each 2015-10-10 08:41:04 -04:00
stve
1da5c72eda update request specs to use 1.1 paths 2015-10-06 23:45:18 -04:00
stve
0271919e18 update error specs to use 1.1 paths 2015-10-06 23:44:09 -04:00
stve
954b777f67 update bookmark endpoints to 1.1 paths 2015-10-06 23:42:52 -04:00
stve
51125c7e71 update folder endpoints to 1.1 paths 2015-10-06 23:41:34 -04:00
stve
ef7d4458d0 update oauth endpoints to 1.1 paths 2015-10-06 23:24:54 -04:00
stve
0b2e842dcf update account endpoints to 1.1 paths 2015-10-06 23:23:51 -04:00
stve
45c110f96d highlights return successfully with a GET request
NOTE: This is undocumented and unconfirmed by Instapaper, but was
discovered through trial and error.
2015-10-06 10:15:34 -04:00
stve
32512fe4f4 update add folder JSON fixture 2015-08-30 22:54:17 -04:00
stve
d64dfa1085 rename Instapaper::API::Highlights#highlight to add_highlight 2015-08-30 22:46:53 -04:00
stve
c424057b07 simplify error fixtures 2015-08-30 22:45:13 -04:00
stve
83a44a6737 fix typo 2015-08-30 22:44:46 -04:00
stve
2e4fbdfc27 cleanup whitespace 2015-03-03 00:13:24 -05:00
stve
45e2213afa simpler simplecov config 2015-03-03 00:08:23 -05:00
stve
7911a83137 remove unused methods from spec_helper 2015-03-03 00:06:00 -05:00
stve
f6fca37fd9 separate out error handling methods 2015-03-01 22:59:00 -05:00
stve
6509837fc1 improved error handling on responses 2015-03-01 22:52:10 -05:00
stve
95a2ad91b1 fix rubocop warnings 2015-02-25 23:55:19 -05:00
stve
dab3c0d9de reimplement bookmarks/list now that it returns a different response 2015-02-25 23:13:40 -05:00
stve
26f526fe07 return Instapaper::Credentials instead of a hash from oauth 2015-02-25 22:34:57 -05:00
stve
76b09b30ae rename oauth fixtures 2015-02-25 22:25:33 -05:00
stve
9c2babc55f fix error handling
errors are passed in the response body, not by response code
2015-02-25 22:22:16 -05:00
stve
f745e5bc73 configure params should be called oauth_token/secret 2015-02-17 23:32:34 -05:00
stve
c259665346 remove should from test clauses 2015-02-16 00:33:58 -05:00
stve
6e606f516c fix test access_token references in tests 2015-02-15 23:39:16 -05:00
stve
e3bc6d384e only pass consumer credentials for oauth requests 2015-02-15 23:38:38 -05:00
stve
c078efccdf reimplement error handling 2015-02-15 23:02:52 -05:00
stve
de1196717d remove text alias to get_text 2015-02-15 20:31:01 -05:00
stve
49ae0497c6 update how defaults are handled and set 2015-02-14 14:46:46 -05:00
stve
b501a59a3d switch from faraday to http.rb 2015-02-14 00:23:56 -05:00
stve
169a5f0dd9 pluralize API modules so filenames aren't the same 2015-02-10 21:41:20 -05:00
stve
000144ec60 update bookmark implementation 2015-02-10 00:39:35 -05:00
stve
ed59ddefdf updated account implementation 2015-02-10 00:07:01 -05:00
stve
9f2f9648ac update folder implementation 2015-02-10 00:03:47 -05:00
stve
39bc1dc1e7 add support for highlights API 2015-02-09 23:47:09 -05:00
stve
9427881029 rename User module to OAuth to match API methods 2015-02-09 22:09:29 -05:00
stve
6271356847 slight refactor in preparation for adding version 1.1 support
a couple breaking changes as part of this:

* the api version can no longer be set via configuration (since the API
itself now supports more than one version 1 and 1.1 this no longer makes
sense)
* removed module based support, all requests will require an Instapaper::Client from now on
* removed path_prefix configuration for same reasons that the api version was removed
2015-02-09 16:21:30 -05:00
stve
29e49c1ed7 fix more rubocop failures 2015-02-09 00:42:31 -05:00
stve
5161c68b5a rubocop cleanup 2015-02-09 00:29:53 -05:00
stve
d3f08bc508 update rspec to 3.2 2015-02-09 00:16:57 -05:00
stve
da3498ac38 fix deprecations 2015-02-09 00:15:04 -05:00
Steve Agalloco
72cd097620 fix the build again 2013-03-01 12:33:54 -05:00
Steve Agalloco
19336aff26 Update specs to pass with webmock >= 1.10.0 2013-03-01 11:48:54 -05:00