urchin_tracking_module 1.0.5 → 1.0.6
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/urchin_tracking_module.rb +1 -1
- data/lib/urchin_tracking_module/version.rb +1 -1
- data/urchin_tracking_module.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aba1ea5bfc900226954b95779f4ea0bf782f6f60
|
|
4
|
+
data.tar.gz: 48a4393c358cd293d30ef24f35a93b48f690bf9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f29b96816dcd8bcefe1d751627d0e0840693e0eb8cb39061ed42771ff7ba914a2f43db98fa28dda8bad4737c18a1a3c93f3c730a8d36d1c9aafd47da6c5baa6b
|
|
7
|
+
data.tar.gz: c4699120760dac3cb5ab25f3a420bd9e1fc601d571d12906311baaec3d4bfed159e22e6661f2bf3997e4e6763a877a4cd542f57d9b3cb754ef1f00b4bd69cbc3
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -49,7 +49,7 @@ class UrchinTrackingModule
|
|
|
49
49
|
|
|
50
50
|
def url_params(uri)
|
|
51
51
|
# conversion to hash e.g. to get rid of duplicate src params
|
|
52
|
-
params = URI.decode_www_form(uri.query ||
|
|
52
|
+
params = URI.decode_www_form(uri.query || '')
|
|
53
53
|
params.inject(Hash.new) { |h,(k,v)| h.merge(k => v) }
|
|
54
54
|
end
|
|
55
55
|
private :url_params
|
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = UrchinTrackingModule::VERSION
|
|
9
9
|
spec.authors = ["Jan Riethmayer"]
|
|
10
10
|
spec.email = ["jan@riethmayer.de"]
|
|
11
|
-
spec.description = %q{Add
|
|
11
|
+
spec.description = %q{Add Google Analytics urchin tracking module params to your URLs. It's the [Google Analytics URL builder](https://support.google.com/analytics/answer/1033867?hl=en) as a gem.}
|
|
12
12
|
spec.summary = %q{utm params for your URL.}
|
|
13
13
|
spec.homepage = "http://github.com/bonusboxme/urchin_tracking_module"
|
|
14
14
|
spec.license = "MIT"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: urchin_tracking_module
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Riethmayer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-02-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -38,7 +38,9 @@ dependencies:
|
|
|
38
38
|
- - '>='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
|
-
description: Add
|
|
41
|
+
description: Add Google Analytics urchin tracking module params to your URLs. It's
|
|
42
|
+
the [Google Analytics URL builder](https://support.google.com/analytics/answer/1033867?hl=en)
|
|
43
|
+
as a gem.
|
|
42
44
|
email:
|
|
43
45
|
- jan@riethmayer.de
|
|
44
46
|
executables: []
|
|
@@ -79,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
79
81
|
version: '0'
|
|
80
82
|
requirements: []
|
|
81
83
|
rubyforge_project:
|
|
82
|
-
rubygems_version: 2.
|
|
84
|
+
rubygems_version: 2.2.2
|
|
83
85
|
signing_key:
|
|
84
86
|
specification_version: 4
|
|
85
87
|
summary: utm params for your URL.
|