README.md in github-trending-0.2.1 vs README.md in github-trending-0.2.2
- old
+ new
@@ -56,27 +56,28 @@
You can also fetch by a specific language:
```ruby
ruby_repos = Github::Trending.get :ruby
+objc_repos = Github::Trending.get :objective_c
```
To get a list of all languages:
```ruby
-languages = Github::Trending.all_languages
+languages = Github::Trending.languages
```
-You can also get top github repos of the `:week` and `:month` as well (default is `:day`):
+You can get top github repos of the `:week` and `:month` as well (default is `:day`):
```ruby
Github::Trending.get(:scala, :week)
# Top scala repos in the week
Github::Trending.get(nil, :month)
# Top repos (all languages) in this month
-Github::Trending.get('visual-basic', 'day')
+Github::Trending.get('objective-c++', 'day')
# Can pass strings as well
```
## Contributing