README.md in schema_plus-1.7.1 vs README.md in schema_plus-1.8.0
- old
+ new
@@ -7,19 +7,20 @@
For added rails DRYness see also the gems
[schema_associations](http://rubygems.org/gems/schema_associations) and
[schema_validations](http://rubygems.org/gems/schema_validations)
-[![Gem Version](https://badge.fury.io/rb/schema_plus.png)](http://badge.fury.io/rb/schema_plus)
-[![Build Status](https://secure.travis-ci.org/SchemaPlus/schema_plus.png)](http://travis-ci.org/SchemaPlus/schema_plus)
-[![Dependency Status](https://gemnasium.com/SchemaPlus/schema_plus.png)](https://gemnasium.com/SchemaPlus/schema_plus)
+[![Gem Version](https://badge.fury.io/rb/schema_plus.svg)](http://badge.fury.io/rb/schema_plus)
+[![Build Status](https://secure.travis-ci.org/SchemaPlus/schema_plus.svg)](http://travis-ci.org/SchemaPlus/schema_plus)
+[![Coverage Status](https://img.shields.io/coveralls/SchemaPlus/schema_plus.svg)](https://coveralls.io/r/SchemaPlus/schema_plus)
+[![Dependency Status](https://gemnasium.com/lomba/schema_plus.svg)](https://gemnasium.com/SchemaPlus/schema_plus)
## Compatibility
SchemaPlus supports all combinations of:
-* Rails/ActiveRecord 3.2, 4.0, and 4.1
+* Rails/ActiveRecord 3.2, 4.0, 4.1, and 4.2
* PostgreSQL, MySQL (using mysql2 gem; mysql gem only supported with Rails
3.2), or SQLite3 (using sqlite3 >= 3.7.7 for foreign key support, >= 3.8 for partial indexes)
* MRI Ruby >= 1.9.3
And also supports:
@@ -55,11 +56,11 @@
add_index :parts, :name # index repeats table and column names and is defined separately
add_index :parts, :product_code, unique: true
But with SchemaPlus you can specify your indexes when you define each column,
-with options as desired
+with options as desired. (Rails 4.2 introduced this same capability. Yay! But SchemaPlus still adds some shorthands that aren't in Rails 4.2.)
# More DRY way...
create_table :parts do |t|
t.string :name, index: true
t.string :product_code, index: { unique: true }
@@ -333,6 +334,8 @@
Schema_plus has a full set of rspec tests. [travis-ci](http://travis-ci.org/SchemaPlus/schema_plus) runs the tests on the full matrix of supported versions of ruby, rails, and db adapters. But you can also test all or some part of the matrix locally before you push your changes, using
$ schema_dev rspec
+
For more details, see the [schema_dev](https://github.com/SchemaPlus/schema_dev) README.
+