spree_utag 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b356ef282ee75b729ff100b0f92aee963e9004e7
4
- data.tar.gz: a839c51c13e194b0d68d145dc93be8f631fd16cd
3
+ metadata.gz: 0cde492427035c722b450aa2a209109e5bcf57f8
4
+ data.tar.gz: 611f04984b5bb850125f11e35c1e8209ad400551
5
5
  SHA512:
6
- metadata.gz: edd9c072a3457379d22456ecb61a63894ea93ad983f4ba49d8b508993e51e62ce022bd70ca874124a5bff8c29ae047749ebcedb4942f8c5fe5b3ee8e500054be
7
- data.tar.gz: 6b76f1c534c284b70a11423eabf661030d45ac7f2d13b20f63a61f6d539490e0d03763b5a40bb4657513a0e6f8b3114d28de1e684872787c3244b81109fa5d93
6
+ metadata.gz: e5febe132d1e5ff6d54e7bb662633c03acf066f5d2154b9b082c70949785a2948ebe170f2b5fdea5059881161de000a818a5721138ccc5e3005e40f804657a0b
7
+ data.tar.gz: 3bbfb0586ca8f2fb848960ade8a74cb832e2f05183bd0d8f235e569f55a0d8434e2cd2587d0b37042fe7ce9db974d56c08e148813cfa1c7e8e9bacc4dec9ff0a
@@ -1,10 +1,6 @@
1
1
  module SpreeUtag
2
- Deface::Override.new(:virtual_path => 'spree/layouts/spree_application',
3
- :name => 'home_page_utag',
4
- :insert_top => "body",
5
- :text => "
6
- <script>
7
- var v = 'Hello';
8
- </script>
9
- ")
2
+ Deface::Override.new(virtual_path: 'spree/layouts/spree_application',
3
+ name: 'home_page_utag',
4
+ insert_top: 'body',
5
+ partial: 'spree_utags/_home_page_utag')
10
6
  end
@@ -1,3 +1,8 @@
1
- <script>
2
- var v = 'Hello';
1
+ <script type='text/javascript'>
2
+ var utag_data = {
3
+ site_region: 'en_US',
4
+ site_currency: 'USD',
5
+ page_name: 'home page',
6
+ page_type: 'home'
7
+ };
3
8
  </script>
@@ -1,3 +1,3 @@
1
1
  module SpreeUtag
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_utag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew
@@ -20,18 +20,12 @@ files:
20
20
  - MIT-LICENSE
21
21
  - README.rdoc
22
22
  - Rakefile
23
- - app/assets/javascripts/spree_utag/application.js
24
- - app/assets/stylesheets/spree_utag/application.css
25
- - app/controllers/spree_utag/application_controller.rb
26
23
  - app/helpers/spree_utag/application_helper.rb
27
24
  - app/overrides/add_utag_to_home_page.rb
28
- - app/views/layouts/spree_utag/application.html.erb
29
25
  - app/views/spree_utags/_home_page_utag.html.erb
30
- - config/routes.rb
31
26
  - lib/spree_utag.rb
32
27
  - lib/spree_utag/engine.rb
33
28
  - lib/spree_utag/version.rb
34
- - lib/tasks/spree_utag_tasks.rake
35
29
  - test/dummy/README.rdoc
36
30
  - test/dummy/Rakefile
37
31
  - test/dummy/app/assets/javascripts/application.js
@@ -1,13 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,4 +0,0 @@
1
- module SpreeUtag
2
- class ApplicationController < ActionController::Base
3
- end
4
- end
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>SpreeUtag</title>
5
- <%= stylesheet_link_tag "spree_utag/application", media: "all" %>
6
- <%= javascript_include_tag "spree_utag/application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>
data/config/routes.rb DELETED
@@ -1,2 +0,0 @@
1
- SpreeUtag::Engine.routes.draw do
2
- end
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :spree_utag do
3
- # # Task goes here
4
- # end