auctify 1.1.2 → 1.1.3
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 +4 -4
- data/app/models/auctify/sale/auction.rb +1 -1
- data/lib/auctify/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14832525cab9835407bccb94056500037fe39da17a9ea311f7053ce4adf48255
|
|
4
|
+
data.tar.gz: 522647a33fa236dd02c2980ecde719508bd83f21db2c0ffa38d1d77ce104d002
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 803112a2c554cb95f1eb818911ea4a92d4377306ba936ac5190101f8463a5378d225a5c260a50e01e8cc0f379ddd87b1d57902d186a8469c7baa34dee991f23a
|
|
7
|
+
data.tar.gz: ee8f293dbba3adc69a730d208b4973ebf7d9609d326bca03eda616ca668edfb792b2d4d9b09bef211a5c08db221da2befcd507d9d3f0844c5d8de1e774db46d8
|
|
@@ -217,7 +217,7 @@ module Auctify
|
|
|
217
217
|
end
|
|
218
218
|
|
|
219
219
|
def minimal_bid_increase_amount_at(price, respect_first_bid: true)
|
|
220
|
-
return 0 if respect_first_bid &&
|
|
220
|
+
return 0 if respect_first_bid && ordered_applied_bids.blank? # first bid can equal opening price
|
|
221
221
|
return Auctify.configuration.require_bids_to_be_rounded_to if bid_steps_ladder.blank?
|
|
222
222
|
|
|
223
223
|
_range, increase_step = bid_steps_ladder.detect { |range, step| range.cover?(price) }
|
data/lib/auctify/version.rb
CHANGED