README.md in pilfer-1.0.0 vs README.md in pilfer-1.0.1
- old
+ new
@@ -41,11 +41,11 @@
Profile your Rack or Rails app using `Pilfer::Middleware`.
```ruby
reporter = Pilfer::Logger.new('pilfer.log')
profiler = Pilfer::Profiler.new(reporter)
-use Pilfer::Middleware :profiler => profiler
+use Pilfer::Middleware, :profiler => profiler
```
The profile report consists of the wall time and call count for each line of
code executed along with the total wall and CPU times for each file.
@@ -177,10 +177,10 @@
`Profiler` created with a reporter as normal.
```ruby
reporter = Pilfer::Server.new('https://pilfer.com', 'my-pilfer-server-token')
profiler = Pilfer::Profiler.new(reporter)
-use Pilfer::Middleware :profiler => profiler
+use Pilfer::Middleware, :profiler => profiler
```
Restrict profiling to files matching a regular expression using the
`:files_matching` option. This calls `Profiler#profile_files_matching` using
the given regular expression.