Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove implementation of no_constraints in main_adapter #117

Merged
merged 1 commit into from
May 28, 2014
Merged

Remove implementation of no_constraints in main_adapter #117

merged 1 commit into from
May 28, 2014

Conversation

srt32
Copy link
Member

@srt32 srt32 commented May 27, 2014

This pull request removes the implementation of no_constraints in main_adapter. This is potentially a non-backwards compatible change but the functionality is not being tested for as is (the tests were skipped) so it seems prudent to remove the implementation as well as the tests. The other changes are refactorings that do not affect the class' behavior.

  • Remove skipped tests in test/ddl_test.rb that test now unsupported
    (as of PostGIS 2.0) no_constraints
  • Remove implementation of no_constraints in main_adapter
  • Create private set_dimensions method in main_adapter
  • Refactor main_adapter#add_column method to use private
    add_spatial_column method

I'm using this gem on a project and am getting up to speed so I can contribute. Thanks.

  * Remove skipped tests in `test/ddl_test.rb` that test now unsupported
    (as of PostGIS 2.0) `no_constraints`
  * Remove implementation of `no_constraints` in `main_adapter`
  * Create private `set_dimensions` method in `main_adapter`
  * Refactor `main_adapter#add_column` method to use private
    `add_spatial_column` method
teeparham added a commit that referenced this pull request May 28, 2014
Remove implementation of no_constraints in main_adapter
@teeparham teeparham merged commit bf8656e into rgeo:master May 28, 2014
@teeparham
Copy link
Member

👍

@srt32 srt32 deleted the st-main-adapter-refactor branch June 6, 2014 16:26
teeparham added a commit that referenced this pull request Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants