utopia-tags-google-analytics 1.0.0 → 1.0.1
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: 03556a7c0a95b851caa60b5af89c1c51e22e2f03
|
4
|
+
data.tar.gz: cdba11c51794d9fe1ef3a39b53c0c60e76864617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e039dc84204b9c73030c65f58f9cc09376c73747ab43897e9cb96d48709bf0df53e29b1c53d81b735d2d4b6104f199734019e993a5c9cda047929c191ebcabdd
|
7
|
+
data.tar.gz: 043603f2ac13bc506c321afe9bb7447b84b328f9fd936dcadd52bc6c0872c8b240a3b2f41a9da7ac1483c1854fd1e7a49b2253531c8699a8084e96ec9e86b861
|
@@ -18,6 +18,8 @@
|
|
18
18
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
19
|
# THE SOFTWARE.
|
20
20
|
|
21
|
+
require 'json'
|
22
|
+
|
21
23
|
module Utopia
|
22
24
|
module Tags
|
23
25
|
module GoogleAnalytics
|
@@ -31,7 +33,7 @@ module Utopia
|
|
31
33
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
32
34
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
33
35
|
|
34
|
-
ga('create', #{
|
36
|
+
ga('create', #{JSON.dump(id)}, 'auto');
|
35
37
|
ga('send', 'pageview');
|
36
38
|
</script>
|
37
39
|
EOF
|
@@ -10,9 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["samuel.williams@oriontransfer.co.nz"]
|
11
11
|
spec.description = <<-EOF
|
12
12
|
Utopia is a website generation framework which provides a robust set of tools
|
13
|
-
to build highly complex dynamic websites.
|
14
|
-
content and provides frameworks for interacting with files and directories as
|
15
|
-
structure representing the website.
|
13
|
+
to build highly complex dynamic websites.
|
16
14
|
|
17
15
|
This package includes a useful <google-analytics> tag for easily integrating
|
18
16
|
with Google Analytics.
|
@@ -26,8 +24,9 @@ Gem::Specification.new do |spec|
|
|
26
24
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
27
25
|
spec.require_paths = ["lib"]
|
28
26
|
|
27
|
+
spec.add_dependency "utopia", "~> 1.0"
|
28
|
+
spec.add_dependency "json"
|
29
|
+
|
29
30
|
spec.add_development_dependency "bundler", "~> 1.3"
|
30
31
|
spec.add_development_dependency "rake"
|
31
|
-
|
32
|
-
spec.add_dependency "utopia", "~> 1.0"
|
33
32
|
end
|
metadata
CHANGED
@@ -1,37 +1,37 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utopia-tags-google-analytics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: utopia
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
20
|
-
type: :
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
|
-
type: :
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
@@ -39,24 +39,37 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
48
|
-
type: :
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: "\t\tUtopia is a website generation framework which provides a robust
|
56
|
-
set of tools\n\t\tto build highly complex dynamic websites
|
57
|
-
|
58
|
-
|
59
|
-
a useful <google-analytics> tag for easily integrating\n\t\twith Google Analytics.\n"
|
70
|
+
set of tools\n\t\tto build highly complex dynamic websites.\n\n\t\tThis package
|
71
|
+
includes a useful <google-analytics> tag for easily integrating\n\t\twith Google
|
72
|
+
Analytics.\n"
|
60
73
|
email:
|
61
74
|
- samuel.williams@oriontransfer.co.nz
|
62
75
|
executables: []
|