README.md in bootbox-rails-0.1.0 vs README.md in bootbox-rails-0.2.0

- old
+ new

@@ -4,16 +4,22 @@ Check out how to use bootbox.js at http://bootboxjs.com/ ## Installation -First, put this line in your `Gemfile`: +First, put this line in your `Gemfile` (for Bootstrap 3): ```ruby -gem 'bootbox-rails' +gem 'bootbox-rails', '~>0.2' ``` +For Bootstrap 2 use following version: + +```ruby +gem 'bootbox-rails', '~>0.1' +``` + _Don't forget to add `jquery-rails` gem into your `Gemfile`. Also you may use very handy `bootstrap-sass` gem to add full stack of Twitter Bootstrap into your app._ Then run `bundle install` to update your application's bundle. Now you need to edit your `app/assets/javascripts/application.js` file and add the following line: @@ -39,9 +45,16 @@ }) </script> ``` Please see http://paynedigital.com/bootbox for full usage instructions, or head over to http://bootboxjs.com for a demo page + +## How to run tests + +```bash +$ cd spec/dummy && rake db:create +$ rspec spec/ +``` ## License [The MIT License](https://github.com/tanraya/bootbox-rails/blob/master/MIT-LICENSE)