lilypad 0.2.0 → 0.2.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.
data/README.markdown
CHANGED
data/gemspec.rb
CHANGED
data/lib/rack/lilypad.rb
CHANGED
@@ -31,7 +31,7 @@ module Rack
|
|
31
31
|
|
32
32
|
class Hoptoad
|
33
33
|
|
34
|
-
def initialize(api_key, filters, log)
|
34
|
+
def initialize(api_key, filters=[], log=false)
|
35
35
|
@api_key = api_key
|
36
36
|
@filters = filters
|
37
37
|
@log = log
|
@@ -109,7 +109,8 @@ module Rack
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
n.request do |r|
|
112
|
-
r.
|
112
|
+
r.action environment['rack.lilypad.action']
|
113
|
+
r.component environment['rack.lilypad.component'] || request_path
|
113
114
|
r.url request_path
|
114
115
|
if request.params.any?
|
115
116
|
r.params do |p|
|