piwik_analytics 1.0.0 → 1.0.1

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.
@@ -10,7 +10,7 @@ module PiwikAnalytics
10
10
  <script type="text/javascript">
11
11
  var _paq = _paq || [];
12
12
  (function(){
13
- var u=(("https:" == document.location.protocol) ? "https://#{config.url}" : "http://#{config.url}");
13
+ var u=(("https:" == document.location.protocol) ? "https://#{config.url}/" : "http://#{config.url}/");
14
14
  _paq.push(['setSiteId', #{config.id_site}]);
15
15
  _paq.push(['setTrackerUrl', u+'piwik.php']);
16
16
  _paq.push(['trackPageView']);
@@ -31,7 +31,7 @@ module PiwikAnalytics
31
31
  tag = <<-CODE
32
32
  <!-- Piwik -->
33
33
  <script type="text/javascript">
34
- var pkBaseURL = (("https:" == document.location.protocol) ? "https://#{config.url}" : "http://#{config.url}");
34
+ var pkBaseURL = (("https:" == document.location.protocol) ? "https://#{config.url}/" : "http://#{config.url}/");
35
35
  document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
36
36
  </script><script type="text/javascript">
37
37
  try {
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'piwik_analytics'
3
- s.version = '1.0.0'
3
+ s.version = '1.0.1'
4
4
  s.date = Time.now.strftime "%Y-%m-%d"
5
5
  s.author = 'Fabian Becker'
6
6
  s.email = 'halfdan@xnorfz.de'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piwik_analytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: