spree_core 3.7.4 → 3.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 774c90c77ecce68c19e7a9c8b719acfc3b538dc28b0105197e3dfc8e70305f39
4
- data.tar.gz: 8e7af8eefc7e78e2c2c8493c141e3bfe55a3c21cf1029e85dcb10dedab01ef1d
3
+ metadata.gz: fc61147656f9f8c0cf3cf8898f194af446079e14b489e89f009937a92a0bcae0
4
+ data.tar.gz: 9bee2129b37e0c452355d159f4d49538d5e98c81233c1f536b00abfbdf7eebb6
5
5
  SHA512:
6
- metadata.gz: 33067deb1eb41c1fdb4c53349128a38d08d3b63d583d34c045ff7f568c0770172ad57289a0b443575d5eb3a4768c03b0a409160d7f8fb7cb781088a20e4d17d6
7
- data.tar.gz: e72e7b98758615bc60e750a8e713cdd5290f6a037fd56919b24790ea3d91f21a67cf9ad15af20f78418c2e79ee9092dc884bc03d8cd9cc98087d7bc2dde5cde6
6
+ metadata.gz: 89f315f0ec8b88d0891f860382335aea63fffc2d2aae02dfdeb36061fae66b6d72eddc787102c73b44ea467bec8e3d901d87e922c60192524d8a09e04ac3e763
7
+ data.tar.gz: f814d20ca782b22655645904edc01a2914866a850eef1cc39a0a8e683279cad89e00cf1034a57009585a5f1975c80073ad610221c0c22a2f50a5d28eb66e2ce5
@@ -3,12 +3,11 @@ module Spree
3
3
  class Find
4
4
  def initialize(scope:, params:)
5
5
  @scope = scope
6
-
7
- @ids = String(params[:ids]).split(',')
8
- @parent = params[:parent_id]
9
- @taxonomy = params[:taxonomy_id]
10
- @name = params[:name]
11
- @roots = params[:roots]
6
+ @ids = String(params.dig(:filter, :ids)).split(',')
7
+ @parent = params.dig(:filter, :parent_id)
8
+ @taxonomy = params.dig(:filter, :taxonomy_id)
9
+ @name = params.dig(:filter, :name)
10
+ @roots = params.dig(:filter, :roots)
12
11
  end
13
12
 
14
13
  def execute
@@ -1,5 +1,5 @@
1
1
  module Spree
2
2
  def self.version
3
- '3.7.4'
3
+ '3.7.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.4
4
+ version: 3.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-06 00:00:00.000000000 Z
11
+ date: 2019-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant