Skip to content

Commit f48999f

Browse files
committed
Change gem's version
1 parent 1a3b21b commit f48999f

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@
66

77
Simple yet powerful way to get your Rails API compliant with [JSON API](http://jsonapi.org).
88

9-
`JSONAPI::Utils` (JU) is built on top of [JSONAPI::Resources](https://github.com/cerebris/jsonapi-resources) taking advantage of its resource-driven style and bringing an easy way to build modern JSON APIs with no or less learning curve.
9+
`JSONAPI::Utils` (JU) is built on top of [JSONAPI::Resources](https://github.com/cerebris/jsonapi-resources)
10+
taking advantage of its resource-driven style and bringing a set of helpers to easily build modern JSON APIs
11+
with no or less learning curve.
1012

1113
After installing the gem and defining the resources/routes, it's as simple as calling a render helper:
1214

1315
```ruby
14-
# app/controllers/users_controller.rb
15-
def index
16-
jsonapi_render json: User.all
16+
class UsersController < ActionController::Base
17+
include JSONAPI::Utils
18+
19+
def index
20+
jsonapi_render json: User.all
21+
end
1722
end
1823
```
1924

@@ -57,10 +62,10 @@ For Rails 4.x add this to your application's Gemfile:
5762
gem 'jsonapi-utils', '~> 0.4.7'
5863
```
5964

60-
For Rails 5, specify the beta version in the Gemfile:
65+
For Rails 5, specify the `0.5.x` version in the Gemfile:
6166

6267
```ruby
63-
gem 'jsonapi-utils', '0.5.0.beta5'
68+
gem 'jsonapi-utils', '0.5.0'
6469
```
6570

6671
And then execute:

lib/jsonapi/utils/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module JSONAPI
22
module Utils
3-
VERSION = '0.5.0.beta5'.freeze
3+
VERSION = '0.5.0'.freeze
44
end
55
end

0 commit comments

Comments
 (0)