pinboard_api 0.7.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +2 -1
- data/README.md +26 -6
- data/lib/core_ext/blank.rb +26 -0
- data/lib/pinboard_api.rb +8 -2
- data/lib/pinboard_api/exceptions.rb +5 -0
- data/lib/pinboard_api/post.rb +54 -40
- data/lib/pinboard_api/request_utils.rb +22 -0
- data/lib/pinboard_api/tag.rb +10 -8
- data/lib/pinboard_api/version.rb +1 -1
- data/spec/core_ext/blank_spec.rb +19 -0
- data/spec/exceptions_spec.rb +7 -0
- data/spec/pinboard_api_spec.rb +9 -6
- data/spec/post_spec.rb +124 -42
- data/spec/support/pinboard_configuration.rb +1 -0
- data/spec/support/request_utils_spec.rb +29 -0
- data/spec/support/vcr.rb +13 -3
- data/spec/tag_spec.rb +15 -13
- data/spec/user_spec.rb +1 -5
- data/spec/vcr_cassettes/posts/all/custom_count.json +1 -0
- data/spec/vcr_cassettes/posts/all/custom_tag.json +1 -0
- data/spec/vcr_cassettes/posts/all/custom_times.json +1 -0
- data/spec/vcr_cassettes/posts/all/default_values.json +1 -0
- data/spec/vcr_cassettes/posts/all/not_found.json +1 -0
- data/spec/vcr_cassettes/posts/all/with_meta.json +1 -0
- data/spec/vcr_cassettes/posts/create.json +1 -0
- data/spec/vcr_cassettes/posts/dates/custom_tag.json +1 -0
- data/spec/vcr_cassettes/posts/dates/default_values.json +1 -0
- data/spec/vcr_cassettes/posts/delete/unsuccessful_class.json +1 -0
- data/spec/vcr_cassettes/posts/destroy/successful_class.json +1 -0
- data/spec/vcr_cassettes/posts/destroy/successful_instance.json +1 -0
- data/spec/vcr_cassettes/posts/destroy/unsuccessful_instance.json +1 -0
- data/spec/vcr_cassettes/posts/find/found.json +1 -0
- data/spec/vcr_cassettes/posts/find/not_found.json +1 -0
- data/spec/vcr_cassettes/posts/recent/custom_count.json +1 -0
- data/spec/vcr_cassettes/posts/recent/custom_tag.json +1 -0
- data/spec/vcr_cassettes/posts/recent/default_values.json +1 -0
- data/spec/vcr_cassettes/posts/save.json +1 -0
- data/spec/vcr_cassettes/posts/suggest.json +1 -0
- data/spec/vcr_cassettes/posts/update.json +1 -0
- data/spec/vcr_cassettes/tags/all.json +1 -0
- data/spec/vcr_cassettes/tags/destroy/successful_class.json +1 -0
- data/spec/vcr_cassettes/tags/destroy/successful_instance.json +1 -0
- data/spec/vcr_cassettes/tags/destroy/unsuccessful_class.json +1 -0
- data/spec/vcr_cassettes/tags/destroy/unsuccessful_instance.json +1 -0
- data/spec/vcr_cassettes/tags/find/found.json +1 -0
- data/spec/vcr_cassettes/tags/find/not_found.json +1 -0
- data/spec/vcr_cassettes/tags/rename/successful.json +1 -0
- data/spec/vcr_cassettes/tags/rename/unsuccessful.json +1 -0
- data/spec/vcr_cassettes/user/secret.json +1 -0
- metadata +73 -58
- data/spec/fixtures/vcr_cassettes/posts/all/custom_count.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/all/custom_tag.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/all/custom_times.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/all/default_values.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/all/not_found.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/dates/custom_tag.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/dates/default_values.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/delete/unsuccessful_class.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/destroy/successful_class.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/destroy/successful_instance.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/destroy/unsuccessful_instance.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/find/found.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/find/not_found.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/recent/custom_count.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/recent/custom_tag.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/recent/default_values.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/suggest.json +0 -1
- data/spec/fixtures/vcr_cassettes/posts/update.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/all.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/destroy/successful_class.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/destroy/successful_instance.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/destroy/unsuccessful_class.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/destroy/unsuccessful_instance.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/find/found.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/find/not_found.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/rename/successful.json +0 -1
- data/spec/fixtures/vcr_cassettes/tags/rename/unsuccessful.json +0 -1
- data/spec/fixtures/vcr_cassettes/user/secret.json +0 -1
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.