matomo-middleman 0.0.1 → 0.0.2

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
- SHA1:
3
- metadata.gz: a6b7de4c44d3f32da5906e87377cdd3ba944c4b2
4
- data.tar.gz: 0cbc7d88a6b6293ea7627692478abd72ab4abf5d
2
+ SHA256:
3
+ metadata.gz: 5d1ed44b241f5cc618b6af968089bebb53eebdb3df5b15ba1c04970fa4c2c71e
4
+ data.tar.gz: 491c51ef4611f5202dcd89c499b6a1ddf0579c233243e8119e61bf6f38788d97
5
5
  SHA512:
6
- metadata.gz: b1a3fe813df70a56557142616b8fac0eae9446146e147e7ff87765c472590dfa26f4d43bbc9730890399821962a7233b3c525c992798b0e48b0caf9ce967a32e
7
- data.tar.gz: 453b2e1445de74ebbcfc0718d7116a3fdd86f6e42be0cc6148816b1892d9501125f0b89539203578df37580329af9bb040a23e5aed64071bd55fa24ccd9381ae
6
+ metadata.gz: 7a062d18576d0d78229aa5230f4bc30654ef8e1978349cdfa2cc3b26f6b99571dc101448d1e79d220988e8e2579e275681972f97487e11271e6ab9595cb9f747
7
+ data.tar.gz: d3ddf11f46712c6e92173fb15c36328477f371f472eb29993296552bd4c56be10e0c56a6ec0c0ddabc4c630a3ab316e73468605632696168af836620500d2a3f
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- # Motomo-Middleman
1
+ # Matomo-Middleman
2
+ [![Gem Version](https://badge.fury.io/rb/matomo-middleman.svg)](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/motomo-middleman.git ~/git/motomo-middleman`.
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 'motomo-middleman', path: "/home/wm/git/motomo-middleman/"
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 :motomomiddleman do |p|
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
- <%= motomo %>
39
+ <%= matomo %>
39
40
  ```
40
41
 
41
42
 
@@ -1,4 +1,6 @@
1
1
  require "middleman-core"
2
- require "matomo-middleman/extension"
3
2
 
4
- Middleman::Extensions.register(:matomoiddleman, MatomoExtension)
3
+ Middleman::Extensions.register :matomomiddleman do
4
+ require "matomo-middleman/extension"
5
+ MatomoExtension
6
+ end
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "matomo-middleman"
6
- s.version = "0.0.1"
6
+ s.version = "0.0.2"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Matthias Guenther"]
9
9
  s.email = ["matze@wikimatze.de"]
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.1
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.6.14
62
+ rubygems_version: 2.7.3
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Add tracking helper for matomo