jsonapi_spec_helpers 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jsonapi_spec_helpers/helpers.rb +4 -0
- data/lib/jsonapi_spec_helpers/version.rb +1 -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: 0267ba67fadbc4da6d468cfe72668be51de86330
|
4
|
+
data.tar.gz: 2375d449d6f892b407d18b7cd128163925de4c71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ebf8fecaa09b07afe6b549b92145a3e4508446502a8c3746748d2d60b05b60e710649065270cdbb6d4bd59fe3b5fca2342ae2897c241d9e9807a63429061d4c
|
7
|
+
data.tar.gz: c32f6bb827871fcf4ade7cb035950321db6e3510f37aecef17c09580469d28f1defc72308636024f8f48805dbe09a1bb9b3a053c660a45af9259f0d9f9137df0
|
@@ -92,6 +92,10 @@ module JsonapiSpecHelpers
|
|
92
92
|
put url, params: payload.to_json, headers: jsonapi_headers
|
93
93
|
end
|
94
94
|
|
95
|
+
def jsonapi_patch(url, payload)
|
96
|
+
patch url, params: payload.to_json, headers: jsonapi_headers
|
97
|
+
end
|
98
|
+
|
95
99
|
def jsonapi_delete(url)
|
96
100
|
delete url, headers: jsonapi_headers
|
97
101
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsonapi_spec_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|