fun_with_json_api 0.0.13 → 0.0.14

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: 3d6a6260d091a24d1a228b0a0e4f8ffe44f17947c019544766f27991a7c709ce
4
- data.tar.gz: 1eccd87ccc389755afc2bb85ff3d5bd4eef4502b45ae0964f71527ddfb16b2dd
3
+ metadata.gz: 7d1a03f1e96d729456ac611fcffec59bc16aa2924f8230f04cbcf232034717d8
4
+ data.tar.gz: a1e03d0552be4c1e49c6f56be013619cca221b08e3dcde68f883e7eb73345235
5
5
  SHA512:
6
- metadata.gz: 85087e560b2c3203bd872abde10d90f9f23ef6c4d3e9fcb66add0b2d52e702bb621adcb910e48e7525713d18bb2735170625446e1014b004cb666fc4ecb24f00
7
- data.tar.gz: e25ff8c6e9017df726cfa3ffe96863ead347a0c8b9a2c6899e57a7099c5d7c91a25cc1af57aa275ab3bf5014b191162677fc73aea5b3728a354e21a3e1c9df7b
6
+ metadata.gz: 659ccdb1092b4a1bba10bcb8c2666cc14ac7f40803837cd134264c87ebb46fef14f09c50a94d7fac4eea85564a9be475440925543202a47873f52986debfa130
7
+ data.tar.gz: e11517115fb82e7f62783a135890691f7ab7faf74eec97f0b975c0c5fef175cd20f680019422c9279e2fce31842f30fd3d9f40f8f3e6404295ba8e8fb91e629b
@@ -3,8 +3,8 @@ require 'fun_with_json_api/schema_validators/check_collection_has_all_members'
3
3
 
4
4
  module FunWithJsonApi
5
5
  class FindCollectionFromDocument
6
- def self.find(*args)
7
- new(*args).find
6
+ def self.find(...)
7
+ new(...).find
8
8
  end
9
9
 
10
10
  private_class_method :new
@@ -1,7 +1,7 @@
1
1
  module FunWithJsonApi
2
2
  class FindResourceFromDocument
3
- def self.find(*args)
4
- new(*args).find
3
+ def self.find(...)
4
+ new(...).find
5
5
  end
6
6
 
7
7
  private_class_method :new
@@ -3,8 +3,8 @@ require 'fun_with_json_api/exception'
3
3
  module FunWithJsonApi
4
4
  module SchemaValidators
5
5
  class CheckCollectionHasAllMembers
6
- def self.call(*args)
7
- new(*args).call
6
+ def self.call(...)
7
+ new(...).call
8
8
  end
9
9
 
10
10
  attr_reader :collection
@@ -3,8 +3,8 @@ require 'fun_with_json_api/exception'
3
3
  module FunWithJsonApi
4
4
  module SchemaValidators
5
5
  class CheckCollectionIsAuthorised
6
- def self.call(*args)
7
- new(*args).call
6
+ def self.call(...)
7
+ new(...).call
8
8
  end
9
9
 
10
10
  attr_reader :collection
@@ -2,8 +2,8 @@ module FunWithJsonApi
2
2
  module SchemaValidators
3
3
  # Ensures all provided relationship names are known
4
4
  class CheckRelationshipNames
5
- def self.call(*args)
6
- new(*args).call
5
+ def self.call(...)
6
+ new(...).call
7
7
  end
8
8
 
9
9
  attr_reader :document
@@ -3,8 +3,8 @@ require 'fun_with_json_api/exception'
3
3
  module FunWithJsonApi
4
4
  module SchemaValidators
5
5
  class CheckResourceIsAuthorised
6
- def self.call(*args)
7
- new(*args).call
6
+ def self.call(...)
7
+ new(...).call
8
8
  end
9
9
 
10
10
  attr_reader :resource
@@ -1,3 +1,3 @@
1
1
  module FunWithJsonApi
2
- VERSION = '0.0.13'.freeze
2
+ VERSION = '0.0.14'.freeze
3
3
  end