jsonapi_spec_helpers 0.4.1 → 0.4.2

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: 927dbe8b9d8870dfbc86e00fe000c6281283d087
4
- data.tar.gz: 4db68a6eb7cacb495a678d78e78e4f80ef71dbee
3
+ metadata.gz: 611a13d2e04821ba85f2fdd8a455c2c44b213eed
4
+ data.tar.gz: c37b252423955ad9bcc5dee7de06d2cf80c716fb
5
5
  SHA512:
6
- metadata.gz: ae8b51622085fe64fa043a06940f19bf20c6e655105a699ed88b9b7bba31e4045c2aa3f5d2a5d417cf408b929a71853a826d650d4be10eb9f5f1a577a01f12a1
7
- data.tar.gz: 9a6ebb895ea93e36ba121010fc5f1d91798f8964cdffcf26edd6cb15e21651a2da020648b548e6e57cbc5693d2110411499f8b0ddbf177fd8677c43b9422f9fc
6
+ metadata.gz: 47611f5448c9f8c0567bc23544bd31118e353860e619f1190b576d9098eefbd600216dd5a52c4dbdc303f96ccc461a88834dda91348976a05f9a7433758825d6
7
+ data.tar.gz: 611a87c2a43e0251ffc35c1dfc5c6b1f70e1f3a00c6e54cdd519353f4c1e6be45255f482a3d1e7959b4ba5958a2ccf438a8edecc78755f70c3f16c3fa8d4cc9d
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "actionpack", "~> 5.0"
24
24
  spec.add_development_dependency "bundler", "~> 1.11"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
26
- spec.add_development_dependency "rspec", "~> 3.0"
26
+ spec.add_dependency "rspec", "~> 3.0"
27
27
  end
@@ -1,3 +1,5 @@
1
+ require 'rspec/matchers'
2
+
1
3
  RSpec::Matchers.define :match_payload do |attribute, expected|
2
4
  match do |actual|
3
5
  if expected.respond_to?(:as_json)
@@ -1,3 +1,3 @@
1
1
  module JsonapiSpecHelpers
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
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.1
4
+ version: 0.4.2
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-05-22 00:00:00.000000000 Z
11
+ date: 2017-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -87,7 +87,7 @@ dependencies:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '3.0'
90
- type: :development
90
+ type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements: