README.md in reustyle-2.0.9 vs README.md in reustyle-2.0.10
- old
+ new
@@ -64,11 +64,11 @@
```
Then in your app file (usually named server.rb/app.rb etc), after declaring your `class App < Sinatra::Base`:
```ruby
-register Sinatra::Ustyle
+register Sinatra::Reustyle
```
**You must use `sprockets-sass` version 1.1.0 or above, as there was a bug where the postprocessor was getting added to the preprocessor which caused autoprefixer to break**
This is only for the gem, not the styleguide within this project.
@@ -79,16 +79,16 @@
Due to this, you need to have the `icons.svg` symbol map on the same domain, protocol and port as your application. To facilite this without serving a sprockets asset, ustyle comes with some `Rack Middleware`
For Rails apps, in your `development.rb` file (you do not want this in production)
```ruby
-config.middleware.use Ustyle::IconMiddleware
+config.middleware.use Reustyle::IconMiddleware
```
For Rack apps (including Sinatra)
```ruby
configure :development do
- use Ustyle::IconMiddleware
+ use Reustyle::IconMiddleware
end
```
Currently there is no middleware to support node apps, but can be written easily.