spree_delivery_options 2.2.4 → 2.2.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3433dab108e35e2ee2a2295b85e706521889757
|
4
|
+
data.tar.gz: 5687bd023a98283d3099f512cbe5c348b9e7b3f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d454d30f5f734386739364d0487e0ab994b5f49c6d6934f7dc8953a0f800cbf33654cf9f4a7b3dd32b7c8ee24a72319f585030c45b89e6a213dc6b712ab32c8f
|
7
|
+
data.tar.gz: 8844e8eb52526b3169f6b6bbf15542a67ec5185f413f655614440b6c877503183e3a5a4a515ebae55c2542b80a4211529282942a222e2f48a09719b64b76226b
|
@@ -3,13 +3,13 @@ module SpreeDeliveryOptions
|
|
3
3
|
class InstallGenerator < Rails::Generators::Base
|
4
4
|
|
5
5
|
def add_javascripts
|
6
|
-
append_file '
|
7
|
-
append_file '
|
6
|
+
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/spree_delivery_options\n"
|
7
|
+
append_file 'vendor/assets/javascripts/spree/backend/all.js', "//= require spree/backend/spree_delivery_options\n"
|
8
8
|
end
|
9
9
|
|
10
10
|
def add_stylesheets
|
11
|
-
inject_into_file '
|
12
|
-
inject_into_file '
|
11
|
+
inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require spree/frontend/spree_delivery_options\n", :before => /\*\//, :verbose => true
|
12
|
+
inject_into_file 'vendor/assets/stylesheets/spree/backend/all.css', " *= require spree/backend/spree_delivery_options\n", :before => /\*\//, :verbose => true
|
13
13
|
end
|
14
14
|
|
15
15
|
def add_migrations
|