cosmit-suspenders 1.36.12 → 1.36.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/suspenders/app_builder.rb +1 -1
- data/lib/suspenders/version.rb +1 -1
- data/templates/_javascripts.html.slim +1 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd48dfdd85d2849f09b442e5b33f75496b94243d
|
4
|
+
data.tar.gz: f9cdec18ec7e7fa5307cd984e177319b996f1d80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb60c0e13f43808730eb212a6023928811862aaf1d14c01a4662d8b3e7c7de8cf23fc60c5040ebc220fa545da355b17747338353e33e9414d774b753d5897628
|
7
|
+
data.tar.gz: 06463f4e3eea80d24fb2b63f5e88eeb260dfdacdf450e7597496e05457347f33f61fdb00ca74dc1d2f0dcc7c7073fc0056f4c8a784947705294f21bff79801df
|
@@ -385,7 +385,7 @@ end
|
|
385
385
|
end
|
386
386
|
|
387
387
|
def setup_flash_stylesheet
|
388
|
-
copy_file "_flash.scss", "app/assets/stylesheets/
|
388
|
+
copy_file "_flash.scss", "app/assets/stylesheets/components/_flash.scss"
|
389
389
|
|
390
390
|
inject_into_file "app/assets/stylesheets/application.scss",
|
391
391
|
"\n@import 'components/flash';",
|
data/lib/suspenders/version.rb
CHANGED
@@ -1,11 +1,5 @@
|
|
1
1
|
= javascript_include_tag 'application'
|
2
2
|
|
3
|
-
- if Rails.env.production && ENV["SEGMENT_KEY"]
|
4
|
-
javascript:
|
5
|
-
window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
|
6
|
-
window.analytics.load("<%= ENV["SEGMENT_KEY"] %>");
|
7
|
-
window.analytics.page();
|
8
|
-
|
9
3
|
- if Rails.env.production && ENV["GOOGLE_ANALYTICS"]
|
10
4
|
javascript:
|
11
5
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
@@ -13,7 +7,7 @@
|
|
13
7
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
14
8
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
15
9
|
|
16
|
-
ga('create', "
|
10
|
+
ga('create', "#{ENV["GOOGLE_ANALYTICS"]}", 'auto');
|
17
11
|
ga('send', 'pageview');
|
18
12
|
|
19
13
|
javascript:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cosmit-suspenders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.36.
|
4
|
+
version: 1.36.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- COSMIT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|