matomo-middleman 0.0.1 → 0.0.2
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 +5 -5
- data/README.md +6 -5
- data/lib/matomo-middleman.rb +4 -2
- data/matomo-middleman.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 5d1ed44b241f5cc618b6af968089bebb53eebdb3df5b15ba1c04970fa4c2c71e
|
|
4
|
+
data.tar.gz: 491c51ef4611f5202dcd89c499b6a1ddf0579c233243e8119e61bf6f38788d97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a062d18576d0d78229aa5230f4bc30654ef8e1978349cdfa2cc3b26f6b99571dc101448d1e79d220988e8e2579e275681972f97487e11271e6ab9595cb9f747
|
|
7
|
+
data.tar.gz: d3ddf11f46712c6e92173fb15c36328477f371f472eb29993296552bd4c56be10e0c56a6ec0c0ddabc4c630a3ab316e73468605632696168af836620500d2a3f
|
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Matomo-Middleman
|
|
2
|
+
[](https://badge.fury.io/rb/matomo-middleman)
|
|
2
3
|
|
|
3
4
|
It's an extension for the [Middleman](http://middlemanapp.com/) static site generator
|
|
4
5
|
to use [Matomo](https://matomo.org/) tracking (previously known as [Piwik](https://matomo.org/blog/2018/01/piwik-is-now-matomo/)).
|
|
@@ -6,12 +7,12 @@ to use [Matomo](https://matomo.org/) tracking (previously known as [Piwik](https
|
|
|
6
7
|
|
|
7
8
|
## Installation
|
|
8
9
|
|
|
9
|
-
Clone the repository `git clone git@github.com:wikimatze/
|
|
10
|
+
Clone the repository `git clone git@github.com:wikimatze/matomo-middleman.git ~/git/matomo-middleman`.
|
|
10
11
|
Then add the following line to your `Gemfile`:
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
```ruby
|
|
14
|
-
gem '
|
|
15
|
+
gem 'matomo-middleman', path: "/home/wm/git/matomo-middleman/"
|
|
15
16
|
```
|
|
16
17
|
|
|
17
18
|
Run `bundle install`.
|
|
@@ -22,7 +23,7 @@ Run `bundle install`.
|
|
|
22
23
|
In your `config.rb` you can configure the settings as follow:
|
|
23
24
|
|
|
24
25
|
```ruby
|
|
25
|
-
activate :
|
|
26
|
+
activate :matomomiddleman do |p|
|
|
26
27
|
p.domain = '<your-domain>'
|
|
27
28
|
p.url = '<your-url>'
|
|
28
29
|
p.id = 1
|
|
@@ -35,7 +36,7 @@ end
|
|
|
35
36
|
This plugin will add the following helper method:
|
|
36
37
|
|
|
37
38
|
```erb
|
|
38
|
-
<%=
|
|
39
|
+
<%= matomo %>
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
|
data/lib/matomo-middleman.rb
CHANGED
data/matomo-middleman.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: matomo-middleman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthias Guenther
|
|
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
59
59
|
version: '0'
|
|
60
60
|
requirements: []
|
|
61
61
|
rubyforge_project:
|
|
62
|
-
rubygems_version: 2.
|
|
62
|
+
rubygems_version: 2.7.3
|
|
63
63
|
signing_key:
|
|
64
64
|
specification_version: 4
|
|
65
65
|
summary: Add tracking helper for matomo
|