README.md in active_leonardo-0.2.3 vs README.md in active_leonardo-0.4.1

- old
+ new

@@ -7,13 +7,26 @@ A layout and customized scaffold generator for Rails to combine with active admin gem It generates the layout, the style, the internationalization and it helps you to startup active_admin gems ## Compatibility -This version has been tested on Rails 4.0.x and Ruby 2.0 on Windows OS +This version has been tested on: +* Rails `3.2.x` and Ruby `1.9.3` on Windows OS +* Rails `3.2.x` and Ruby `2.0.x` on Windows OS +* Rails `4.0.x` and Ruby `1.9.x` on Windows OS +* Rails `4.0.x` and Ruby `2.0.x` on Windows OS +* Rails `3.2.x` and Ruby `1.9.3` on Linux +* Rails `3.2.x` and Ruby `2.0.x` on Linux +* Rails `3.2.x` and Ruby `2.1.x` on Linux +* Rails `4.0.x` and Ruby `1.9.3` on Linux +* Rails `4.0.x` and Ruby `2.0.x` on Linux +* Rails `4.0.x` and Ruby `2.1.x` on Linux +We are pleased to have achieved this result :smile: + + ## Install gem install active_leonardo or @@ -148,12 +161,57 @@ Currently the only one available is provided by ActiveAdmin * active [default] +## How to perform tests + +Check current tasks typing: + +```ruby +bundle exec rake -T +``` + + rake active:tests:all[inspection] # Tests all rails versions + rake active:tests:newapp[inspection,rails] # Creates a test rails app for ... + rake active:tests:prepare[rails,path] # Prepare the environment passi... + +if you want to test all, you can entrust to our package: +```ruby +bundle exec rake active:tests:all[inspection] +``` + +if you pass the argument inspection you can check the application under the test folder: + + test/TestApp_xxx_32 + test/TestApp_xxx_40 + +where xxx is the current ruby version and the last number the rails version. + +Every rails version has its own bundle under mybundle_xx folder. + +If you want to perform a custom test, firstly make sure Gemfile.lock is not present otherwise delete it +then you can type: + +```ruby +bundle exec active:tests:prepare['3.2','mybundle_path'] +``` + +_It sets the variable ENV[RAILS_CI] and prepares the package in the specified path_ + +```ruby +bundle exec rake active:tests:newapp[inspection] +``` + +the rails version has already been set by "active:tests:prepare" task. + + +If you execute tests with the inspection parameter remember to delete app folder under test/ before perform a new execution. + + ## Tutorial -On my [Blog](http://marcomastrodonato.blogspot.it/) you can find some other info. +On my [Blog](http://mastrodonato.it/) you can find some other info. ## Found a bug? If you are having a problem please submit an issue at