spree_api 4.2.0 → 4.2.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: aa0ba5ffcc873cf68159260e0b7f52879f39f54f7140887a438c73f1257293d2
4
- data.tar.gz: 1f05304db222d36a1f31d563ea5a071a01cfe7eb80fa4c13a002b6a4dd6775f8
3
+ metadata.gz: 3f0d9c08ae94f0dd6c0b5b36f3f52e0cfef1d1aefed538ef3bdeac3c67298ad8
4
+ data.tar.gz: 90665fe4860ccd6de2bbf69eeb2a7f461df86e20338e32455666e8b14637ae48
5
5
  SHA512:
6
- metadata.gz: 0d83abd3762d05c58b37e8290d0fddc8ead28edc15ad3dd1267915ed2abb234399a36071a8250d4d7a3e08a0871e5e438acff6a28a67d2512460ec718c1785dd
7
- data.tar.gz: 41eee02e45c3491b25333eecda173b23a520e0595ba39ef4c38ad1eb7d356d4c206ee7f16d19fd927f5e291475e3a40f6a785a634f0c1055f29cf60ad1e82ea8
6
+ metadata.gz: 0b9ca0a68ea05ee7ca88d56ea683aee49bbf8aec2b0521511c71aec8cc9b448e67192b67722e8dc70824de21d140f6df4b512af3a206e437e8ce000362a7fb3a
7
+ data.tar.gz: 1a86d97639ff8a1b31fb0a823b4dfb75e70b1dc605e98537facd3fe9c3138d17f8dae90aae827811700c74b33f27f82a18f3e755de44925f4bb771aa27b2066f
@@ -10,7 +10,7 @@ Doorkeeper.configure do
10
10
  resource_owner_from_credentials do
11
11
  user = Spree.user_class.find_for_database_authentication(email: params[:username])
12
12
 
13
- return nil if user.nil?
13
+ next if user.nil?
14
14
 
15
15
  if defined?(Spree::Auth::Config) && Spree::Auth::Config[:confirmable] == true
16
16
  user if user.active_for_authentication? && user.valid_for_authentication? { user.valid_password?(params[:password]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Bigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-25 00:00:00.000000000 Z
11
+ date: 2021-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-rspec
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.0
33
+ version: 4.2.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.0
40
+ version: 4.2.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rabl
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -310,9 +310,9 @@ licenses:
310
310
  - BSD-3-Clause
311
311
  metadata:
312
312
  bug_tracker_uri: https://github.com/spree/spree/issues
313
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0
313
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.1
314
314
  documentation_uri: https://guides.spreecommerce.org/
315
- source_code_uri: https://github.com/spree/spree/tree/v4.2.0
315
+ source_code_uri: https://github.com/spree/spree/tree/v4.2.1
316
316
  post_install_message:
317
317
  rdoc_options: []
318
318
  require_paths:
@@ -328,7 +328,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
328
  - !ruby/object:Gem::Version
329
329
  version: '0'
330
330
  requirements: []
331
- rubygems_version: 3.1.4
331
+ rubygems_version: 3.2.3
332
332
  signing_key:
333
333
  specification_version: 4
334
334
  summary: Spree's API