spree_terms_and_conditions 2.2.1 → 2.2.2
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: 9cd2b9c3a0e7fc743492c5ad038f30506f108605
|
4
|
+
data.tar.gz: e47383f7515130cd039b68c3f431ffdac0bf1cd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d0a29de4966346f9b8fc4676dfd0bf8f976138568d1ba66684a46245d68f086e533c172ace748ba40d8a9448c1e3bd35e8ac7736bfcd935ce48c4b3c7411326
|
7
|
+
data.tar.gz: b66439acd19af7345ead1cb37209b219ba2c0dd98ae5ab40e50fb95d2252191aeef616858ca7dbfa40069f787eb2f391087c3e2f1f5169eb08d0e78b96a0c5a7
|
@@ -5,13 +5,13 @@ module SpreeTermsAndConditions
|
|
5
5
|
class_option :auto_run_migrations, :type => :boolean, :default => false
|
6
6
|
|
7
7
|
def add_javascripts
|
8
|
-
append_file '
|
9
|
-
append_file '
|
8
|
+
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require store/spree_terms_and_conditions\n"
|
9
|
+
append_file 'vendor/assets/javascripts/spree/backend/all.js', "//= require admin/spree_terms_and_conditions\n"
|
10
10
|
end
|
11
11
|
|
12
12
|
def add_stylesheets
|
13
|
-
inject_into_file '
|
14
|
-
inject_into_file '
|
13
|
+
inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require store/spree_terms_and_conditions\n", :before => /\*\//, :verbose => true
|
14
|
+
inject_into_file 'vendor/assets/stylesheets/spree/backend/all.css', " *= require admin/spree_terms_and_conditions\n", :before => /\*\//, :verbose => true
|
15
15
|
end
|
16
16
|
|
17
17
|
def add_migrations
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_terms_and_conditions'
|
5
|
-
s.version = '2.2.
|
5
|
+
s.version = '2.2.2'
|
6
6
|
s.summary = 'Add terms and conditions checkbox in delivery stage of checkout'
|
7
7
|
s.description = ''
|
8
8
|
s.required_ruby_version = '>= 2.0.0'
|