Sha256: 165450c12b1eccd854c034a9ba65ced56229727f026b5cf4fd4ddf5989ff1c25

Contents?: true

Size: 997 Bytes

Versions: 8

Compression:

Stored size: 997 Bytes

Contents

### JsonapiCompliable

[![Build Status](https://travis-ci.org/jsonapi-suite/jsonapi_compliable.svg?branch=master)](https://travis-ci.org/jsonapi-suite/jsonapi_compliable)

[JSONAPI Suite Website](https://jsonapi-suite.github.io/jsonapi_suite)

[Documentation](https://jsonapi-suite.github.io/jsonapi_compliable)

Supported Rails versions: >= 4.1

### Upgrading to 0.10

`sideload_whitelist` has been moved from the resource to the controller:

```diff
class PostsController < ApplicationController
  jsonapi resource: PostResource do
-    sideload_whitelist({ index: [:foo] })
-  end
+  sideload_whitelist({ index: [:foo] })
end

# NEW
```

### Running tests

We support Rails >= 4.1. To do so, we use the [appraisal](https://github.com/thoughtbot/appraisal) gem. So, run:

```bash
$ bin/appraisal rails-4 bin/rspec
$ bin/appraisal rails-5 bin/rspec
```

Or run tests for all versions:

```bash
$ bin/appraisal bin/rspec
```

### Generating the Documentation

```bash
$ yard doc
$ yard server
```

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jsonapi_compliable-0.10.9 README.md
jsonapi_compliable-0.10.7 README.md
jsonapi_compliable-0.10.6 README.md
jsonapi_compliable-0.10.5 README.md
jsonapi_compliable-0.10.4 README.md
jsonapi_compliable-0.10.3 README.md
jsonapi_compliable-0.10.2 README.md
jsonapi_compliable-0.10.1 README.md