jsonapi_spec_helpers 0.4.9 → 0.4.10

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: 0267ba67fadbc4da6d468cfe72668be51de86330
4
- data.tar.gz: 2375d449d6f892b407d18b7cd128163925de4c71
3
+ metadata.gz: 7de8f729627057f5996f8455bc769caf8d0f5bbd
4
+ data.tar.gz: 05436bab3f0d5377a8ecdffc549f10e475233d5e
5
5
  SHA512:
6
- metadata.gz: 2ebf8fecaa09b07afe6b549b92145a3e4508446502a8c3746748d2d60b05b60e710649065270cdbb6d4bd59fe3b5fca2342ae2897c241d9e9807a63429061d4c
7
- data.tar.gz: c32f6bb827871fcf4ade7cb035950321db6e3510f37aecef17c09580469d28f1defc72308636024f8f48805dbe09a1bb9b3a053c660a45af9259f0d9f9137df0
6
+ metadata.gz: 9ec2ad279e5282fb83f7899d29af184e56efc37ee4aaa81eaa8020fbcbce920e0c3b49d66868219190c4c3a14a84f15fd9b78f10a22adf529b028550e4fc84f9
7
+ data.tar.gz: da684de42e3c316343abcba437afcbc447a2fa6a44771778a75516feec6aba1be69d76cb25f50b248d853da0de319a9b235f13558b8efa5d7278fe2269f6d4b8
@@ -54,7 +54,7 @@ module JsonapiSpecHelpers
54
54
 
55
55
  def json_ids(integers = false)
56
56
  ids = json['data'].map { |d| d['id'] }
57
- ids.map!(&:to_i) if integers
57
+ ids.map! { |id| Integer(id) } if integers
58
58
  ids
59
59
  end
60
60
 
@@ -1,3 +1,3 @@
1
1
  module JsonapiSpecHelpers
2
- VERSION = "0.4.9"
2
+ VERSION = "0.4.10"
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.9
4
+ version: 0.4.10
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-08 00:00:00.000000000 Z
11
+ date: 2018-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry