Permalink
Browse files

updated vertica version

  • Loading branch information...
1 parent 114b156 commit f2b1d59307b06cfa14bcf3ea20ba276d4673f087 @jriga jriga committed Mar 21, 2012
Showing with 27 additions and 40 deletions.
  1. +2 −2 Gemfile
  2. +21 −15 Gemfile.lock
  3. +0 −7 Rakefile
  4. +4 −16 test/test_activerecord_vertica_adapter.rb
View
@@ -1,10 +1,10 @@
source "http://rubygems.org"
gem 'activerecord', '~>3.0.5'
-gem 'vertica', '~>0.8.1'
+gem 'vertica', '~>0.9.x'
group :development do
gem "yard", "~> 0.6.0"
gem "bundler", "~> 1.0.0"
gem "jeweler", "~> 1.6.4"
- gem "rcov", ">= 0"
+ gem "simplecov", ">= 0"
end
View
@@ -1,28 +1,34 @@
GEM
remote: http://rubygems.org/
specs:
- activemodel (3.0.5)
- activesupport (= 3.0.5)
+ activemodel (3.0.12)
+ activesupport (= 3.0.12)
builder (~> 2.1.2)
- i18n (~> 0.4)
- activerecord (3.0.5)
- activemodel (= 3.0.5)
- activesupport (= 3.0.5)
- arel (~> 2.0.2)
+ i18n (~> 0.5.0)
+ activerecord (3.0.12)
+ activemodel (= 3.0.12)
+ activesupport (= 3.0.12)
+ arel (~> 2.0.10)
tzinfo (~> 0.3.23)
- activesupport (3.0.5)
+ activesupport (3.0.12)
arel (2.0.10)
builder (2.1.2)
git (1.2.5)
- i18n (0.6.0)
+ i18n (0.5.0)
jeweler (1.6.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
- rake (0.9.2)
- rcov (0.9.10)
- tzinfo (0.3.29)
- vertica (0.8.1)
+ multi_json (1.1.0)
+ rake (0.9.2.2)
+ simplecov (0.6.1)
+ multi_json (~> 1.0)
+ simplecov-html (~> 0.5.3)
+ simplecov-html (0.5.3)
+ tzinfo (0.3.32)
+ vertica (0.9.1)
+ jeweler
+ rake
yard (0.6.8)
PLATFORMS
@@ -32,6 +38,6 @@ DEPENDENCIES
activerecord (~> 3.0.5)
bundler (~> 1.0.0)
jeweler (~> 1.6.4)
- rcov
- vertica (~> 0.8.1)
+ simplecov
+ vertica (~> 0.9.x)
yard (~> 0.6.0)
View
@@ -32,13 +32,6 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- test.rcov_opts << '--exclude "gems/*"'
-end
task :default => :test
@@ -12,32 +12,20 @@ def teardown
def test_quoting_name
assert_equal "'test'", @adapter.quote_column_name('test')
- assert_equal "voting_system.test", @adapter.quote_table_name('test')
+ assert_equal "engage.test", @adapter.quote_table_name('test')
end
def test_schema_name
- assert_equal "voting_system", @adapter.schema_name
+ assert_equal "engage", @adapter.schema_name
end
def test_column_name_of_user_detais_table
- columns = @adapter.columns('user_details')
+ columns = @adapter.columns('purchase')
assert_equal ::ActiveRecord::ConnectionAdapters::VerticaColumn, columns.first.class
end
def test_tables
- tables = ["purchase_log",
- "parsed_file_names",
- "transaction_log",
- "temp_load_user_log",
- "outdated_user_details",
- "user_details",
- "user_login_details",
- "user_failed_registration_details",
- "votes_log",
- "temp_load_purchase_log",
- "temp_load_transaction_log",
- "temp_load_votes_log",
- "test"]
+ tables = ["purchase", "transaction", "user", "vote", "testpurchase"]
assert_equal tables, @adapter.tables
end
end

0 comments on commit f2b1d59

Please sign in to comment.