Permalink
Commits on Feb 1, 2017
  1. Bump version to 0.3.5

    trptcolin committed Feb 1, 2017
  2. Merge pull request #38 from yld/using_argv

    trptcolin committed on GitHub Feb 1, 2017
    pass RAILS root directory as an argument
  3. pass RAILS root directory as an argument

    Yves Le Douaron committed Feb 1, 2017
Commits on Feb 2, 2016
  1. Bump to 0.3.4

    trptcolin committed Feb 2, 2016
  2. Introspect namespaced models correctly

    trptcolin 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. Correctly handle associations in validations

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

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

    trptcolin 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

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

    trptcolin committed Feb 15, 2015
    Update test suite and test directly against ActiveRecord
Commits on Feb 12, 2015
  1. 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

    trptcolin committed Feb 8, 2015
    Add `run` method to top-level module
  2. 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

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

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

    trptcolin committed Apr 4, 2014
    Link to guard-consistency_fail plugin added.
  2. 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

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

    trptcolin committed Jul 23, 2013
  2. Make test runs more exciting

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

    trptcolin committed Jul 23, 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

    trptcolin committed Jul 22, 2013
    Handle Pathname instances in $LOAD_PATH
  2. Same type returned as passed

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

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

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

    trptcolin committed Jul 18, 2013
    1, add polymorphic check for the has_one association