price_scanner 0.3.1 → 0.3.2

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: 933c597623a0441a0554f9cc3b408134180022e69788f15b4e3d785fcf22ab83
4
- data.tar.gz: 8dc569cea4f591cd1cd11db0eba535a1b166f9913e9e6069155b1cdf08421709
3
+ metadata.gz: 8617b68f1e73ccf328691ccae1583660f280c8bb0976109e27b4bfbb39e28aa5
4
+ data.tar.gz: '091ee84ae22a07123028cbf482cf4978089e7d3b3a65e944a4f6ad099935a67e'
5
5
  SHA512:
6
- metadata.gz: 6bafb309f4ef2d2296cc7981bf44bbf8eb42e185f4995809cc0e8aa4e0aa80ce25299bda7996892d42c03a225f4b961e4c8d7dcdc98f8329145c7e09ce6a6314
7
- data.tar.gz: 48fce8a5a51cacb32fe062b380da562e72dcab7a44e2c5ea4bc0a3544bb3f854257c4b86491e9d6cccd4dc2ae056329092bad4189c5434ab6e2873718e137aed
6
+ metadata.gz: 25d2830a0f48aa2549c3a6a70886c48dffa75ed6377a8237d470d80c0d5f1d4d5def6fd643ad48beeae3cca4c07eef1ec11ddedd85fe8d72cd421fb608667431
7
+ data.tar.gz: 33e40fa33ce128411f19f9f1678e97dace81134d195bfd95ea7ec34d2f1d6eba59246c0bc4cc21b9f66f00e41c4490007114428164b052eaa5fef67fa449ebc4
@@ -16,7 +16,7 @@ module PriceScanner
16
16
 
17
17
  # Prefixes that indicate the following price is a savings amount, not a product price.
18
18
  # "Oszczędzasz 6.40 PLN" = "You save 6.40 PLN" — not the product price.
19
- SAVINGS_PREFIX_PATTERN = /(?:oszcz[eę]dzasz|zaoszcz[eę]d[zź]|savings?|you\s+save|rabat|discount|remise|risparmio|ahorro|sparen|sie\s+sparen)\s*:?\s*\z/i
19
+ SAVINGS_PREFIX_PATTERN = /(?:oszcz[eę]dzasz|zaoszcz[eę]d[zź]|you\s+save|sie\s+sparen)\s*:?\s*\z/i
20
20
 
21
21
  RANGE_SEPARATOR_PATTERN = /\s*[–—]\s*|\s+-\s+/
22
22
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PriceScanner
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: price_scanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justyna