json_api_responders 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_api_responders/responder.rb +1 -1
- data/lib/json_api_responders/version.rb +1 -1
- data/lib/json_api_responders.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb8b45aff75df955208c3f601062f3cd2faf8a18
|
4
|
+
data.tar.gz: 98e6978d0fb25285ff4e146191e4abd09c8bc3c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8d14711303eb91fbfb1b3e1d5783b1faa91e2d16af4b8b09f78414a795e293a571a4fc9bd7db0c0ff6450c10d877ab4d91e9700f2ffcf9d894cbe73db4ca380
|
7
|
+
data.tar.gz: bdb9c417fb38d11030f4648bddffda49a4004f6f92e280953012962909be6a567c3320fe7ad7c3d128c58374c90756800ff0ba9467fbf64047abe0001abd4a34
|
@@ -16,7 +16,7 @@ module JsonApiResponders
|
|
16
16
|
def initialize(resource, options = {})
|
17
17
|
@resource = resource
|
18
18
|
@options = options
|
19
|
-
self.status = @options[:status]
|
19
|
+
self.status = @options[:status] unless @options[:status]
|
20
20
|
@params = @options[:params]
|
21
21
|
@controller = @options[:controller]
|
22
22
|
@namespace = @options[:namespace]
|
data/lib/json_api_responders.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_api_responders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stanko Krtalić Rusendić
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|