Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# grape-jsonapi_entity
# grape-jsonapi

Adds [Jsonapi v1.0](http://jsonapi.org/) sugar on [Grape-Entity](https://github.com/ruby-grape/grape-entity).

Expand All @@ -7,12 +7,12 @@ Adds [Jsonapi v1.0](http://jsonapi.org/) sugar on [Grape-Entity](https://github.

## Installation

Add the `grape`, `grape-entity` and `grape-jsonapi_entity` gems to Gemfile.
Add the `grape`, `grape-entity` and `grape-jsonapi` gems to Gemfile.

```ruby
gem 'grape'
gem 'grape-entity'
gem 'grape-jsonapi_entity'
gem 'grape-jsonapi'
```

Run `bundle install`.
Expand Down
2 changes: 1 addition & 1 deletion grape-jsonapi_entity.gemspec → grape-jsonapi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
require File.expand_path('../lib/grape/jsonapi/version', __FILE__)

Gem::Specification.new do |s|
s.name = 'grape-jsonapi_entity'
s.name = 'grape-jsonapi'
s.version = Grape::Jsonapi::VERSION
s.platform = Gem::Platform::RUBY
s.date = '2017-05-18'
Expand Down
3 changes: 0 additions & 3 deletions lib/grape-jsonapi_entity.rb → lib/grape-jsonapi.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
require 'grape-entity'
require 'grape/jsonapi'

module Grape
end
1 change: 0 additions & 1 deletion lib/grape_jsonapi_entity.rb

This file was deleted.

2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

require 'pry-byebug'
require 'grape_entity'
require 'grape-jsonapi_entity'
require 'grape-jsonapi'
require 'json'
require 'ostruct'

Expand Down