Skip to content

Commit c57dfcc

Browse files
author
Bastian Bartmann
committed
Merge pull request #2 from jbender/feature/docs-cleanup
Docs cleanup
2 parents d8d2d7a + f45b9d4 commit c57dfcc

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OneSignal
22

3-
[![Build Status][trb]][trl] [![Code Climate][ccb]][ccl]
3+
[![Gem Version][rgb]][rgl] [![Build Status][trb]][trl] [![Code Climate][ccb]][ccl]
44

55
OneSignal is a simple ruby wrapper for the [OneSignal API][osa].
66

@@ -26,12 +26,12 @@ You can find your auth keys and app IDs on the Account Management page when
2626
you're logged into OneSignal. With those at hand, you can create a client.
2727

2828
```ruby
29-
client = OneSignal::Client.new((auth_token: 'AUTH_TOKEN', app_id: 'APP_ID')
29+
client = OneSignal::Client.new(auth_token: 'AUTH_TOKEN', app_id: 'APP_ID')
3030
```
3131

3232
### Design
3333

34-
This gem follows a strict design of resoures as methods on your client. For
34+
This gem follows a strict design of resources as methods on your client. For
3535
examples, for apps, you will call your client like this:
3636

3737
```ruby
@@ -129,6 +129,8 @@ contributors are expected to adhere to the [Contributor Covenant][cc] code of co
129129

130130
The gem is available as open source under the terms of the [MIT License][mit].
131131

132+
[rgb]: https://img.shields.io/gem/v/onesignal.svg
133+
[rgl]: https://rubygems.org/gems/onesignal
132134
[trb]: https://travis-ci.org/coding-chimp/onesignal.svg?branch=master
133135
[trl]: https://travis-ci.org/coding-chimp/onesignal
134136
[ccb]: https://codeclimate.com/github/coding-chimp/onesignal/badges/gpa.svg

onesignal.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111

1212
spec.summary = 'Simple wrapper for the OneSignal API.'
1313
spec.description = 'Simple wrapper for the OneSignal API.'
14-
spec.homepage = 'https://github.com/coding-chimp/onesignal.'
14+
spec.homepage = 'https://github.com/coding-chimp/onesignal'
1515
spec.license = 'MIT'
1616

1717
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }

0 commit comments

Comments
 (0)