gooddata-dss-sequel 0.1.0-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9dfab3bc585abc301b993e996de9ff0dc483e73e
4
+ data.tar.gz: 31149347556153ec5daadeb8fa426c742acfc5ac
5
+ SHA512:
6
+ metadata.gz: f33f9aa9dde20e1b95ade33330acf4a5c54ce51207e837dfe1137bf5f03fa51517c064d83d1fe2f2ce2a27159751f2d2a39d6767ea35632e326797deea6ff53e
7
+ data.tar.gz: 676925b60c82b5410092d5419200aedd44e01a2eba67c7d7bb3ab62470be42129d527c5a4dd648a73ad2147d932dec802ad0b575d344503142c153841c2a6eaa
data/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ BSD License
2
+ Copyright (c) 2013, GoodData Corporation
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+ * Redistributions of source code must retain the above copyright notice,
7
+ this list of conditions and the following disclaimer.
8
+ * Redistributions in binary form must reproduce the above copyright notice,
9
+ this list of conditions and the following disclaimer in the documentation
10
+ and/or other materials provided with the distribution.
11
+ * Neither the name of GoodData Corporation nor the names of its contributors
12
+ may be used to endorse or promote products derived from this software
13
+ without specific prior written permission.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
+ ARE DISCLAIMED. IN NO EVENT SHALL GOODDATA CORPORATION BE LIABLE FOR ANY
19
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,16 @@
1
+ = GoodData DSS Sequel shortcut
2
+
3
+ === Usage
4
+
5
+ To make the driver accessible to JDBC code running in JRuby:
6
+
7
+ require 'jdbc/dss'
8
+ require 'gooddata/dss/sequel'
9
+
10
+ url = 'jdbc:dss:na1.secure.gooddata.com/gdc/dss/instances/abcd123'
11
+ conn = GoodData::DSS.sequel(url, :username => 'user@example.org', :password => 'secret')
12
+
13
+
14
+ == Copyright
15
+
16
+ Copyright (c) 2014 GoodData Corporation. See LICENSE for details.
@@ -0,0 +1,23 @@
1
+ require 'rubygems'
2
+ require 'sequel'
3
+ require 'jdbc/dss'
4
+
5
+ module GoodData
6
+ class DSS
7
+ # Creates a Sequel database object based on the supplied connection string
8
+ # and optional arguments.
9
+ #
10
+ # Examples:
11
+ #
12
+ # url = 'jdbc:dss:na1.secure.gooddata.com/gdc/dss/instances/abcd123'
13
+ #
14
+ # conn = DSS.sequel(url, :user => 'username@example.org', :password => 'secret')
15
+ #
16
+ # DSS.sequel(url, :user => 'username@example.org', :password => 'secret') do |conn|
17
+ # # do sequel stuff
18
+ # end
19
+ def self.sequel(*args, &block)
20
+ Sequel.connect(*args, &block)
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,7 @@
1
+ module GoodData
2
+ module DSS
3
+ module Sequel
4
+ VERSION = '0.1.0'
5
+ end
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,77 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gooddata-dss-sequel
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: java
6
+ authors:
7
+ - Pavel Kolesnikov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: gooddata-dss-jdbc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sequel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Includes dependcy on the JDBC driver and adds the DSS.sequel connection
42
+ method.
43
+ email: pavel@gooddata.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files:
47
+ - LICENSE
48
+ - README.rdoc
49
+ files:
50
+ - LICENSE
51
+ - README.rdoc
52
+ - lib/gooddata/dss/sequel.rb
53
+ - lib/gooddata/dss/sequel/version.rb
54
+ homepage: http://github.com/gooddata/gooddata-dss-ruby
55
+ licenses: []
56
+ metadata: {}
57
+ post_install_message:
58
+ rdoc_options: []
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ requirements: []
72
+ rubyforge_project:
73
+ rubygems_version: 2.2.2
74
+ signing_key:
75
+ specification_version: 4
76
+ summary: GoodData DSS wrapper for JRuby
77
+ test_files: []