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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5df850ca40504f193cdd2839d2b78c229adb2688
4
- data.tar.gz: 305fd2ea5adba8fa0918433f8c5a3490f5754130
3
+ metadata.gz: 96f62bf3f5c41b394f42579a8290cef63b846cd8
4
+ data.tar.gz: 1534e023208ded8a3327237703493e59cdef33e3
5
5
  SHA512:
6
- metadata.gz: a992d0411a22fb9368919f2db7f6e5e601c79c10948edc9b2a1901cbe905e4fadc9b84ac07bf5eea048e3e89a04ca6b0ae9d32c1850f97bdc172c9f0703dfe66
7
- data.tar.gz: 209ad8c813c5495075e6f1b26e9737a9fa2f2aa753ffe84d61507c9737823430f912cbd1e86eeb41427a915e6d2b519d580795d03dc4ed754cdc742002544d7b
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 #{SpreeDeliveryOptions::Config.delivery_cut_off_hour}"
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.12'
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.12
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-02-27 00:00:00.000000000 Z
11
+ date: 2014-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core