jsonapi_spec_helpers 0.4.3 → 0.4.4

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: 4c295655bfaecaa565099cd1cf389e2905062477
4
- data.tar.gz: 9bbe76f2dd612f58d8c2c1c0e59bb0291eee8cd7
3
+ metadata.gz: fd7a2460ef43c2bac238178b5a7d6aca7d9dc8b5
4
+ data.tar.gz: b172e3d74e01d9df98c369d3e45c495924e3c794
5
5
  SHA512:
6
- metadata.gz: f938afb72bd5f90673ff88753304d3686c224d560daf5301c62f3fd6ddec12f083a5fab7d6f9b6d15fc64d50fa67d8b8c71b5937d82dcd450b5fc45d292515f7
7
- data.tar.gz: 83d36ed2cf2e6e2398ff40d17d625413305b8b5c0bc9cc637d690747b3a34f58318393da18422739dbaaefc6db7364b40725c280e5ff557f97032f1ef6fdb36f
6
+ metadata.gz: c5847ff14ada7fbf30c72d684c3b2eb2b7aa0ae2090990402f7ca3d5606df2e6c062cd584fde96f0df3ff4ac233c750b226cb03e4c75c2bf53d39dff173bfe0b
7
+ data.tar.gz: 2e50b858908871e454661ee6e5fedb40c5f365af767aa6bc2f439f06438ac45516135082259dd1065fe1491b4c66cd9803cdc22e3ee4ea0633d99f5a9870287b
@@ -68,6 +68,10 @@ module JsonapiSpecHelpers
68
68
  put url, params: payload.to_json, headers: jsonapi_headers
69
69
  end
70
70
 
71
+ def jsonapi_delete(url)
72
+ delete url, headers: jsonapi_headers
73
+ end
74
+
71
75
  def jsonapi_payload(input)
72
76
  PayloadSanitizer.new(input).sanitize
73
77
  end
@@ -1,3 +1,3 @@
1
1
  module JsonapiSpecHelpers
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
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.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-21 00:00:00.000000000 Z
11
+ date: 2017-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry