adcurve_spree 0.0.8 → 0.0.9
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: f0e7f453ae0ea02b2abd60a658730f33f4c138a8
|
4
|
+
data.tar.gz: 32cd5bd634fbb47e05b7ea11de8a8627bb020cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9d631a8f1b7fed0fec430f63d01bc5d9ab6922bd9e638eb87dedadc28e0ebf789af7ce4d62f175342c2b41aec0c03f376a68b15e01cb79c3e9a2023f1523e3d
|
7
|
+
data.tar.gz: 95981bd81654b6939ea420953f2f7043ea550ed19f2d46f8137132263da3beb05f57bfc5d513355f993ea025059bd22302c3179aa66dd35c5717526f39c1abfc
|
data/adcurve_spree.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'adcurve_spree'
|
5
|
-
s.version = '0.0.
|
5
|
+
s.version = '0.0.9'
|
6
6
|
s.summary = 'Adcurve Spree Integration plugin'
|
7
7
|
s.description = 'Easy install adcurve support in to your spree ecommerce site'
|
8
8
|
s.required_ruby_version = '>= 2.1.6'
|
@@ -2,13 +2,13 @@ module AdcurveSpree
|
|
2
2
|
module Generators
|
3
3
|
class InstallGenerator < Rails::Generators::Base
|
4
4
|
def add_javascripts
|
5
|
-
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require
|
5
|
+
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/adcurve_spree\n"
|
6
6
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def add_stylesheets
|
10
|
-
inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require
|
11
|
-
inject_into_file 'vendor/assets/stylesheets/spree/backend/all.css', " *= require
|
10
|
+
inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require spree/frontend/adcurve_spree\n", :before => /\*\//, :verbose => true
|
11
|
+
inject_into_file 'vendor/assets/stylesheets/spree/backend/all.css', " *= require spree/backend/adcurve_spree\n", :before => /\*\//, :verbose => true
|
12
12
|
end
|
13
13
|
|
14
14
|
def add_migrations
|