graphiti_spec_helpers 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '098c85a43c5a38935c4d78f540aca1d22828ae0a36d2ca75d50bb8d6902c354f'
4
- data.tar.gz: 341d0c45962da01866b97b539d05d5b0484a012b92c183ba4d6ce03b8a7c81a2
3
+ metadata.gz: dd35b4cbeadc10449673e318611e8732c339b8009a5340c489fc82ff72900559
4
+ data.tar.gz: 11b660aa35c6a73e6b01014d5c2d74376caaad68ff359518d6261dfeafbe1493
5
5
  SHA512:
6
- metadata.gz: 351eb8afc194a7a78a31b7fd31552938042408830045f788e06ce5adfdcab3970d5d8d20825fd034f6d04195016dd6061a5155fb4d6aa0e6d1e7e8f743c3b670
7
- data.tar.gz: cd12e3134c6cb234a24aeb3fec18ad7b42ba048aa9a03f9ad46acfe7615fb832b2cf9d09be1667925a974ff1b1f06c42beb7d0d835663352906fb4e8758aef68
6
+ metadata.gz: 91ba61209c01b4970b9466d15706075c117b39c32030620b4a41b0ac406857a074848146b0fae7e4a1337da1cf4a8ff551a65eb3fb31127cc7e73ae8f6122c08
7
+ data.tar.gz: 483166868f17345bf93d5454015207b8d6ddafb4cccf3c54fbfafcdcb2eaafcd252749797e472fb52df985abd37d099bae2dd3f3b630c8656730b3fc8c980aa5
@@ -42,8 +42,10 @@ module GraphitiSpecHelpers
42
42
  end
43
43
 
44
44
  def jsonapi_headers
45
+ media_type = 'application/vnd.api+json'
45
46
  {
46
- 'CONTENT_TYPE' => 'application/vnd.api+json'
47
+ 'CONTENT_TYPE' => media_type,
48
+ 'HTTP_ACCEPT' => media_type
47
49
  }
48
50
  end
49
51
 
@@ -1,3 +1,3 @@
1
1
  module GraphitiSpecHelpers
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti_spec_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-31 00:00:00.000000000 Z
11
+ date: 2019-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphiti