rack-piwik 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rack/piwik.rb +2 -1
  2. metadata +3 -3
data/lib/rack/piwik.rb CHANGED
@@ -4,7 +4,8 @@ require 'erb'
4
4
  module Rack
5
5
 
6
6
  class Piwik
7
-
7
+ DEFAULT = {}
8
+
8
9
  def initialize(app, options = {})
9
10
  raise ArgumentError, "piwik_url must be present" unless options[:piwik_url] and !options[:piwik_url].empty?
10
11
  @app, @options = app, DEFAULT.merge(options)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-piwik
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Maxwell Salzberg