add jdbcpostgresql support #132

Merged
merged 1 commit into from Mar 12, 2014

Conversation

Projects
None yet
2 participants
Contributor

huned commented Mar 6, 2014

Added jdbcpostgresql support by cloning the jdbcmysql setup.

[10:43:07] huned@snitch:activerecord-import $ bundle exec rake test:jdbcpostgresql
Your Gemfile lists the gem ruby-debug (= 0.10.4) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
file:/Users/huned/.rbenv/versions/jruby-9000-dev/lib/jruby.jar!/jruby/kernel/kernel.rb:25 warning: unsupported exec option: close_others
-- create_table(:schema_info, {:force=>true})
   -> 0.1240s
-- create_table(:group, {:force=>true})
   -> 0.0060s
-- create_table(:topics, {:force=>true})
   -> 0.0080s
-- create_table(:projects, {:force=>true})
   -> 0.0070s
-- create_table(:developers, {:force=>true})
   -> 0.0060s
-- create_table(:addresses, {:force=>true})
   -> 0.0070s
-- create_table(:teams, {:force=>true})
   -> 0.0060s
-- create_table(:books, {:force=>true})
   -> 0.0090s
-- create_table(:languages, {:force=>true})
   -> 0.0060s
-- create_table(:shopping_carts, {:force=>true})
   -> 0.0060s
-- create_table(:cart_items, {:force=>true})
   -> 0.0060s
-- add_index(:cart_items, [:shopping_cart_id, :book_id], {:unique=>true, :name=>"uk_shopping_cart_books"})
   -> 0.0080s
   -> 0 rows
-- create_table(:animals, {:force=>true})
   -> 0.0070s
-- add_index(:animals, [:name], {:unique=>true, :name=>"uk_animals"})
   -> 0.0040s
   -> 0 rows
-- create_table(:widgets, {:id=>false, :force=>true})
   -> 0.0050s
Run options: 

# Running tests:

.................[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
...........................................

Finished tests in 0.933000s, 64.3087 tests/s, 144.6945 assertions/s.

60 tests, 135 assertions, 0 failures, 0 errors, 0 skips

ruby -v: jruby 9000.dev (2.1.0.dev) 2014-03-05 f8f16cc on Java HotSpot(TM) 64-Bit Server VM 1.7.0_51-b13 [darwin-x86_64]
[10:43:35] huned@snitch:activerecord-import $ 
Contributor

huned commented Mar 12, 2014

@zdennis -- merge?

Owner

zdennis commented Mar 12, 2014

@huned , you sir, rock my world. Thank you!

zdennis added a commit that referenced this pull request Mar 12, 2014

@zdennis zdennis merged commit dcb87e4 into zdennis:master Mar 12, 2014

Contributor

huned commented Mar 12, 2014

why, thanks @zdennis :)

@huned huned deleted the huned:feature-jdbc-postgresql-adapter branch Mar 12, 2014

Owner

zdennis commented Mar 13, 2014

activerecord-import 0.5.0 has been pushed to rubygems with this in there. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment