Skip to content

Commit 1c06049

Browse files
committed
Update rubygems
1 parent 505976d commit 1c06049

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

Gemfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org'
22

3-
gem "middleman", "~> 3"#, github: "middleman/middleman", branch: "v3-stable"
4-
gem "middleman-matomo", github: "barthalion/middleman-matomo"
3+
gem "middleman", "~> 4"#, github: "middleman/middleman", branch: "v3-stable"
4+
gem 'matomo-middleman'
55
#gem "middleman-blog"
66
gem "middleman-livereload" #3.1.0
77
gem "nokogiri" #1.6.0 (xml html smarts)
@@ -16,14 +16,14 @@ gem "sass" #3.2.12
1616
# gem "middleman-syntax"
1717

1818
#deployment
19-
gem "middleman-deploy" #, "~> 2.0.0.pre.alpha"
19+
gem "middleman-deploy", "~> 2.0.0.pre.alpha"
2020
#gem "middleman-gh-pages"
2121

2222
#bootstrap
2323
gem "bootstrap-sass" # "3.0.0"
2424
#bug in sprockets 3.1.2
25-
gem "middleman-sprockets", "~> 3.1.2"
25+
gem "middleman-sprockets", "~> 4.1.1"
2626

2727
#Ubuntu specific gems
2828
gem "rb-inotify"
29-
gem "mini_racer", "~> 0.4.0"
29+
gem "mini_racer", "~> 0.6.2"

config.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,18 @@
4949
#set :relative_links, true
5050

5151
activate :deploy do |deploy|
52-
deploy.method = :git
52+
deploy.deploy_method = :git
5353
deploy.branch = 'master' # default: gh-pages
5454
end
5555

5656
#activate :redcarpet
5757
set :markdown_engine, :redcarpet
5858
set :markdown, :tables => true #, :autolink => true, :gh_blockcode => true, :fenced_code_blocks => true
5959

60-
activate :matomo do |p|
60+
activate :matomomiddleman do |p|
6161
p.domain = 'webstats.gnome.org'
62-
p.site_id = 13
62+
p.url = 'flatpak.org'
63+
p.id = 13
6364
end
6465

6566
activate :asset_hash

source/layouts/layout.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
= javascript_include_tag "jquery.toc.min"
2222
= javascript_include_tag :bootstrap
2323
= javascript_include_tag :all
24-
= matomo_tag
24+
= matomo
2525
2626
%body#page-top
2727
%nav#mainNav.navbar.navbar-default.navbar-fixed-top

0 commit comments

Comments
 (0)