jdbc-redshift 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/lib/RedshiftJDBC4.jar +0 -0
  3. data/lib/redshift.rb +24 -0
  4. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b1da4895814363138eee5fdc6d1693acbc1e8a7e
4
+ data.tar.gz: 809c3b5b0f3050c16010495385d89ffbfd4daea6
5
+ SHA512:
6
+ metadata.gz: 18732c6f377bee5dfb190d424a949091a6ed31f14cdb581ffb7c0dd4885d5f1a84998409dc453fefb46df4fc5121267512a7e4daef01795ecbe49827190e72d4
7
+ data.tar.gz: e9b2367d8bf2845de82ed87edd5e80c7cea2b873689123eb1972d48c2194ae7263213f3e15c4f636a2c4e97958cbd88388a25f63f9ccd7f664f49fbd315aeb41
Binary file
data/lib/redshift.rb ADDED
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/ruby
2
+
3
+ module Jdbc
4
+ module Redshift
5
+ DRIVER_VERSION = '4'
6
+ VERSION = DRIVER_VERSION + '.1'
7
+
8
+ def self.driver_jar
9
+ %W(RedshiftJDBC4.jar)
10
+ end
11
+
12
+ def self.load_driver(method = :load)
13
+ driver_jar.each do |jar|
14
+ send method, jar
15
+ end
16
+ end
17
+
18
+ def self.driver_name
19
+ 'com.amazon.redshift.jdbc4.Driver'
20
+ end
21
+
22
+ load_driver :require
23
+ end
24
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jdbc-redshift
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Shaw Liu
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: require 'jdbc-redshift' in JRuby to use
14
+ email: ipfoox@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/RedshiftJDBC4.jar
20
+ - lib/redshift.rb
21
+ homepage: https://github.com/liprais/jdbc-redshift
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.4.5
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: Amazon redshift jdbc driver for JRuby
45
+ test_files: []