README.md in synchrolog-ruby-0.1.4 vs README.md in synchrolog-ruby-0.1.5
- old
+ new
@@ -23,20 +23,20 @@
## Usage
Run:
$ rails g synchrolog:install
-
+
or create file `config/initializers/synchrolog.rb` with the following content:
```ruby
-SYNCHROLOG = Synchrolog.new('YOUR_API_KEY')
+SYNCHROLOG = Synchrolog::Client.new('YOUR_API_KEY')
Rails.logger.extend(ActiveSupport::Logger.broadcast(SYNCHROLOG.logger))
```
and add this line to `config/application.rb`:
```ruby
-config.middleware.insert_after 0, 'Synchrolog::Middleware'
+config.middleware.insert_after 0, Synchrolog::Middleware
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -49,6 +49,5 @@
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
-