solidus_searchkick 0.3.2 → 0.3.3

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: a48395a245488a882a67f7bee409c2eaeff6b855
4
- data.tar.gz: 4ac9f30e6eae2780a141fc18b728986aaaed5866
3
+ metadata.gz: 544ccb542d567a10665a33d0c7ae0536fe63ade5
4
+ data.tar.gz: 26f09eaffa8fdcf2d4436c510140ac4b4b54d6cf
5
5
  SHA512:
6
- metadata.gz: 0189386d284fe34353291c98a18ae786ad429967ee258a0a0f73044b1f03d68dbcf61f8c74b51af33e18e6c957c93a01c42bec573cd7e2e5fff85d956cdbff2c
7
- data.tar.gz: 05d1f38bac4599b7f12588d68545cef348fb92e8c1c9ca806e71f042df9ea014f3d583bbd3d5dcaab751945194ed3582cddb5038d763929b6e94fa428df2f4e1
6
+ metadata.gz: 2d375e3c5641838bcebdc3756d2faef1a8fe2080593508122a540cc4cd319f6df5ef28ea0aa40affb467772e7160f0f4b59a0ce73481bb2f1aa2beeb95babf16
7
+ data.tar.gz: efaad9b7dbca148e8b903de900e616689625f46e2e982cd04b3bc5c24811687c7b09d54959a4d3a8e5cd322fa90a6b260c4756ecb1fdbdb60b9f9a4540b3d10a
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- solidus_searchkick (0.3.0)
5
- searchkick (~> 1.2)
6
- solidus (~> 1.4, >= 1.4.0)
4
+ solidus_searchkick (0.3.2)
5
+ searchkick (>= 1.2)
6
+ solidus (>= 1.4.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -12,7 +12,7 @@ Spree::Product.class_eval do
12
12
  description: description,
13
13
  active: available?,
14
14
  price: price,
15
- currency: cost_currency,
15
+ currency: Spree::Config.currency,
16
16
  sku: sku,
17
17
  conversions: orders.complete.count,
18
18
  taxon_ids: taxon_and_ancestors.map(&:id),
data/changelog.md CHANGED
@@ -1,4 +1,7 @@
1
+ # 0.3.3
2
+ Updates default indexed currency to `Spree::Config.currency` instead of the products `cost_currency`.
3
+
1
4
  # 0.3.1
2
- Versioin 0.3.1 introduced a breaking change related to the index_name. If using a previous version of solidus_searchkick, you will need to either:
5
+ Version 0.3.1 introduced a breaking change related to the index_name. If using a previous version of solidus_searchkick, you will need to either:
3
6
  - reindex all of your products (which will build the index with the new name)
4
7
  - update your product_decorator to use the index_name currently being used
@@ -1,3 +1,3 @@
1
1
  module SolidusSearchkick
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
@@ -83,7 +83,7 @@ module Spree::Search
83
83
  applicable_filters = {}
84
84
 
85
85
  # Find filter method definition from filters passed in
86
- filters.each do |filter_param|
86
+ filters.to_a.each do |filter_param|
87
87
  search_filter, search_labels = filter_param
88
88
  filter = all_filters.find { |filter| filter[:scope] == search_filter.to_sym }
89
89
  applicable_filters[search_filter.to_sym] = filter[:conds].find_all { |filter_condition| search_labels.include?(filter_condition.first) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_searchkick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-13 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus