spree_delivery_options 2.1.12 → 2.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/spree/order_decorator.rb +1 -1
- data/spree_delivery_options.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96f62bf3f5c41b394f42579a8290cef63b846cd8
|
4
|
+
data.tar.gz: 1534e023208ded8a3327237703493e59cdef33e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cd00a4b89819be097cb7aa450e947b2a6bfdb471ef34c7588f93458dcf1cda15a92fdf27e40a75617c3b0343af244a6fa280b724c165820d7697a70eaf5ffb0
|
7
|
+
data.tar.gz: a515e680c0543f933bc374758367662e37edfdbdbf3d3df75dfa1c56099fbea68dee269ccc9648d21e1bc91f194f385cc4b2ff6ad1c217f499683029c537504b
|
@@ -24,7 +24,7 @@ Spree::Order.class_eval do
|
|
24
24
|
|
25
25
|
cutoff_time = Time.now.change(hour: SpreeDeliveryOptions::Config.delivery_cut_off_hour)
|
26
26
|
if self.delivery_date == Date.tomorrow && Time.now > cutoff_time
|
27
|
-
self.errors[:delivery_date] << "cannot be tomorrow if the order is created after
|
27
|
+
self.errors[:delivery_date] << "cannot be tomorrow if the order is created after 1pm"
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_delivery_options'
|
5
|
-
s.version = '2.1.
|
5
|
+
s.version = '2.1.13'
|
6
6
|
s.summary = 'Adds delivery date and time during checkout'
|
7
7
|
s.description = ''
|
8
8
|
s.required_ruby_version = '>= 2.0.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_delivery_options
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francisco Trindade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|