Skip to content
Commits on Feb 2, 2016
  1. Bump to 0.3.4

    committed Feb 2, 2016
  2. Introspect namespaced models correctly

    committed Feb 2, 2016
    This was failing because `#class_name` loses the namespacing
    information, so the constantization failed.
    
    Many thanks to @fw42 for reporting the issue and providing the key to
    the fix.
    
    closes #21
  3. @nbouscal
  4. @nbouscal

    Correctly handle associations in validations

    nbouscal committed with Jan 7, 2016
    Resolves #18
  5. Bump to 0.3.3

    committed Dec 12, 2014
Commits on Jan 31, 2016
  1. Merge pull request #26 from lleger/lleger-fix-tests

    committed Jan 31, 2016
    Check for emptiness in tests versus explicit empty array
Commits on Oct 27, 2015
  1. Merge pull request #31 from Foldesk/ignore-sql-views

    committed Oct 27, 2015
    Removed validates_uniqueness_of consistency check for SQL views.
  2. @ProGM
Commits on Feb 15, 2015
  1. @lleger
  2. Merge pull request #24 from lleger/lleger-fix-tests

    committed Feb 15, 2015
    Update test suite and test directly against ActiveRecord
Commits on Feb 12, 2015
  1. @lleger

    Update test suite and test directly against ActiveRecord

    lleger committed Feb 12, 2015
    This commit reconfigures the test suite to test directly against
    ActiveRecord. It accomplishes this by setting up an in-memory SQLite
    store. There are several models added for each test module.
    
    This commit also updates the RSpec configuration to be reflect the
    modern DSL. This includes changes to the .rspec file and
    `spec_helper.rb`.
    
    Finally, this commit removes a lot of tests that were directly or
    indirectly testing either ActiveRecord functionality (through the use of
    doubles/mocks) or other module functionality (which is redundant, since
    those modules are tested directly).
    
    - Add SQLite to development dependencies
    - Modify `.rspec` file to include `spec_helper.rb` in every spec
    - Add a lot of models for the various specs to use and a schema, which
      ActiveRecord loads
    - Update specs to use the new AR-backed models instead of mocks
    - Update specs to remove redundant and/or unnecessary tests
    - Update specs to new RSpec syntax/DSL
Commits on Feb 8, 2015
  1. Merge pull request #23 from lleger/lleger-add-run

    committed Feb 8, 2015
    Add `run` method to top-level module
  2. @lleger

    Add `run` method to top-level module

    lleger committed Feb 8, 2015
    This commit adds `ConsistencyFail.run`, which allows the entire check to
    be run with one command. This allows the tool to be used from code, such
    as in a Rake task or other testing suite. It also has the added benefit
    of cleaning up the executable.
Commits on Sep 23, 2014
  1. Specify rspec version in gemspec

    committed Sep 23, 2014
    refs #22
  2. Use https rubygems

    committed Sep 23, 2014
Commits on Sep 22, 2014
  1. @fw42
Commits on Apr 4, 2014
  1. Merge pull request #17 from ptyagi16/patch-1

    committed Apr 4, 2014
    Link to guard-consistency_fail plugin added.
  2. @ptyagi16

    Link to guard-consistency_fail plugin added.

    ptyagi16 committed Apr 4, 2014
    Hi
    
    I have created a quick gem called https://github.com/ptyagi16/guard-consistency_fail that integrates consistency_fail with guard so it is automatically run.  Please add the link to your documentation.
Commits on Aug 28, 2013
  1. Merge pull request #15 from agios/ignore_through

    committed Aug 28, 2013
    Ignore has_one :through associations
  2. @agios
Commits on Jul 23, 2013
  1. Bump to 0.3.2

    committed Jul 22, 2013
  2. Make test runs more exciting

    committed Jul 22, 2013
  3. Make has_one introspector Rails 3.0.x-compatible

    committed Jul 22, 2013
    ActiveRecord::AssociationReflection#foreign_key is only >=3.1
    
    closes #6
Commits on Jul 22, 2013
  1. Merge pull request #10 from robwilliams/pathname-type-check

    committed Jul 22, 2013
    Handle Pathname instances in $LOAD_PATH
  2. @robwilliams

    Same type returned as passed

    robwilliams committed Jul 22, 2013
  3. @robwilliams
  4. @robwilliams
Commits on Jul 20, 2013
  1. Add license to gemspec

    committed Jul 20, 2013
    closes #8
Commits on Jul 18, 2013
  1. Bump version to 0.3.1

    committed Jul 18, 2013
  2. Merge pull request #7 from leomayleomay/polymorhphic

    committed Jul 18, 2013
    1, add polymorphic check for the has_one association
  3. @leomayleomay
Commits on Jan 18, 2013
  1. Bump version to 0.3.0

    committed Jan 18, 2013
    Also update README for no-Rails-2-support change.
  2. Use proper unix exit code

    committed Jan 18, 2013
    closes #4
Something went wrong with that request. Please try again.