README.md in pinboard-0.0.4 vs README.md in pinboard-0.0.5
- old
+ new
@@ -31,10 +31,17 @@
pinboard.posts(:results => 20) #return only first 20 matching posts
pinboard.posts(:fromdt => 4.days.ago) #all posts in past 4 days
pinboard.posts(:todt => 4.days.ago) #all posts up to 4 days ago
```
+Adding new posts:
+
+```ruby
+ pinboard.add(:url => "http://example.com/", :description => 'Example post')
+```
+
+
Future Examples (I don't need them, so I haven't written them)
--------------------------------------------------------------
pinboard.posts(:meta => true) #include meta data in post models
@@ -49,10 +56,12 @@
* ree
* ruby-head
[![Build Status](https://secure.travis-ci.org/ryw/pinboard.png)](http://travis-ci.org/ryw/pinboard)
+[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/ryw/pinboard)
+
Links
-----
* [Pinboard API Documentation](http://pinboard.in/api/)
How to Contribute
@@ -62,10 +71,10 @@
* Check the [GitHub issue tracker](http://github.com/ryw/pinboard/issues/)
to see if anyone else has had the same issue.
* If you don’t see anything, create an issue with information on how to reproduce it.
If you want to contribute an enhancement or a fix:
-
+
* Fork the [project on github](http://github.com/ryw/pinboard).
* Make your changes with specs.
* Commit the changes without messing with the Rakefile, VERSION, or history.
* Send me a pull request.