activerecord-jdbcvertica-adapter 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18b74f7b66907e7b282bef43f8f12ee5a2829537
|
4
|
+
data.tar.gz: 0706da8018c41c7103e843fa0308f27fea68132f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f4863be4923061e76bcc4ed83243e2c55ae1afe4db99b389680c55b41f92c089c3f6fe0af2cde95ca916791dfb6a6fd0dc6096a59620a2a9e6510c2b2483e5e
|
7
|
+
data.tar.gz: 8ef7e4297ab56f94c6a6b8a0f78c6445d89ae223986d8125553ed13f9f22795c8238b2c644c098b071ac82441640e6106964f7f49ac00cfa30fb73a3f3ebe09e
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Override rails database tasks since vertica database cannot be dropped/created
|
2
|
+
# with commands from the appliation
|
3
|
+
|
4
|
+
::Rake::Task["db:test:purge"].clear if ::Rake::Task.task_defined?("db:test:purge")
|
5
|
+
|
6
|
+
namespace :db do
|
7
|
+
namespace :test do
|
8
|
+
task :purge => [:environment, :load_config] do
|
9
|
+
::ActiveRecord::Base.establish_connection(:test)
|
10
|
+
::ActiveRecord::Base.connection.tables.each do |table|
|
11
|
+
::ActiveRecord::Base.connection.drop_table(table)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-jdbcvertica-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Dewitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -113,11 +113,13 @@ files:
|
|
113
113
|
- lib/activerecord-jdbcvertica-adapter.rb
|
114
114
|
- lib/activerecord-jdbcvertica-adapter/jars/vertica-jdbc-7.0.0-0.jar
|
115
115
|
- lib/activerecord-jdbcvertica-adapter/jars/vertica-jdk5-6.1.3-0.jar
|
116
|
+
- lib/activerecord-jdbcvertica-adapter/railtie.rb
|
116
117
|
- lib/activerecord-jdbcvertica-adapter/version.rb
|
117
118
|
- lib/arjdbc/vertica.rb
|
118
119
|
- lib/arjdbc/vertica/adapter.rb
|
119
120
|
- lib/arjdbc/vertica/column.rb
|
120
121
|
- lib/arjdbc/vertica/connection_methods.rb
|
122
|
+
- lib/tasks/vertica_database_tasks.rake
|
121
123
|
- spec/full_object_spec.rb
|
122
124
|
- spec/migrations/column_spec.rb
|
123
125
|
- spec/migrations/index_spec.rb
|