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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 149949daac0fbc6ab318cb6239580cf2fa46768f
4
- data.tar.gz: 900d14a392bddbfae556c975fa5fe10c83412d79
3
+ metadata.gz: 0267ba67fadbc4da6d468cfe72668be51de86330
4
+ data.tar.gz: 2375d449d6f892b407d18b7cd128163925de4c71
5
5
  SHA512:
6
- metadata.gz: cdc23866fbcdc9d257c03b38b3eb4a4ec69e4abb6082ee300869426648c03aa8f212b5fdd7fcd010cc5ea1a0a909c1822066d0216deb45a0bb1ee93f124cc4fe
7
- data.tar.gz: b751dec6c0f13493b6a9926ef3f5053ccb65ca821d5ae713b8610c432b8c6cc30732179596873b163749682f721b979521f038d85e2ef5df29b89e13cb86c5f7
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
@@ -1,3 +1,3 @@
1
1
  module JsonapiSpecHelpers
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  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.8
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-07 00:00:00.000000000 Z
11
+ date: 2018-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry