spree_delivery_time 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +5 -2
- data/app/views/spree/checkout/_delivery_time.html.erb +3 -3
- data/config/locales/spree_delivery_time.en.yml +2 -5
- data/config/locales/spree_delivery_time.es.yml +2 -5
- data/lib/generators/spree_delivery_time/install/install_generator.rb +1 -1
- data/lib/spree_delivery_time/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d82dd0fb1ec21f83283cec8d19e0faf3b020021c
|
4
|
+
data.tar.gz: cc9ad76ff708908f07be6b350010a3db7c355b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3832b042d745cd4f4d948ff87210b6120574e18ab6f5ad18c2a7b5a2c06452faf5da3b7438864b9ab0174a448aa41d5068cb324a2af003fbd6ab21c19575284
|
7
|
+
data.tar.gz: b7b154296e421e826b5a507636c03eddd27155d2a24dfe5c4a7cb666b1266c5b959eb759698319a589bf5056c9e7860764c6b051fe39d2cee86e54cfec37aed1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
Spree Delivery Time
|
2
|
-
|
2
|
+
=======
|
3
|
+
|
4
|
+
[![Code Climate](https://codeclimate.com/github/aanfuso/spree_delivery_time.png)](https://codeclimate.com/github/aanfuso/spree_delivery_time)
|
5
|
+
|
3
6
|
|
4
7
|
Requires user to enter a delivery time during checkout (delivery
|
5
8
|
section)
|
@@ -15,7 +18,7 @@ Installing
|
|
15
18
|
|
16
19
|
Add the gem to your Gemfile
|
17
20
|
|
18
|
-
$ gem 'spree_delivery_date'
|
21
|
+
$ gem 'spree_delivery_date'
|
19
22
|
|
20
23
|
bundle
|
21
24
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<br />
|
2
|
-
<
|
3
|
-
<
|
2
|
+
<div id="delivery_time">
|
3
|
+
<legend><%= t('spree_delivery_time.title') %></legend>
|
4
4
|
<div class="field">
|
5
5
|
<%= form.label :start_delivery_time %><br />
|
6
6
|
<%= form.time_select :start_delivery_time %>
|
@@ -9,4 +9,4 @@
|
|
9
9
|
<%= form.label :end_delivery_time %><br />
|
10
10
|
<%= form.time_select :end_delivery_time %>
|
11
11
|
</div>
|
12
|
-
</
|
12
|
+
</div>
|
@@ -16,9 +16,6 @@ en:
|
|
16
16
|
order:
|
17
17
|
start_delivery_time: Start delivery time
|
18
18
|
end_delivery_time: End delivery time
|
19
|
-
|
20
|
-
|
21
|
-
delivery:
|
22
|
-
spree_delivery_time:
|
23
|
-
title: Delivery Time Gap
|
19
|
+
spree_delivery_time:
|
20
|
+
title: Delivery Time Gap
|
24
21
|
delivery_time: Delivery Time
|
@@ -16,9 +16,6 @@ es:
|
|
16
16
|
order:
|
17
17
|
start_delivery_time: Horario inicial de entrega
|
18
18
|
end_delivery_time: Horario final de entrega
|
19
|
-
|
20
|
-
|
21
|
-
delivery:
|
22
|
-
spree_delivery_time:
|
23
|
-
title: Franja horaria de entrega
|
19
|
+
spree_delivery_time:
|
20
|
+
title: Franja horaria de entrega
|
24
21
|
delivery_time: Horario de entrega
|
@@ -8,7 +8,7 @@ module SpreeDeliveryTime
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def add_stylesheets
|
11
|
-
inject_into_file 'app/assets/stylesheets/store/all.css', " *= require store/spree_core\n", before: /\*\//,verbose: true
|
11
|
+
inject_into_file 'app/assets/stylesheets/store/all.css', " *= require store/spree_core\n", before: /\*\//, verbose: true
|
12
12
|
inject_into_file 'app/assets/stylesheets/admin/all.css', " *= require admin/spree_core\n", before: /\*\//, verbose: true
|
13
13
|
end
|
14
14
|
|