jdbc-nuodb 2.0 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -8
- data/README.md +3 -3
- data/Rakefile +1 -1
- data/lib/jdbc/nuodb.rb +1 -1
- data/lib/nuodb-jdbc-2.0.3.jar +0 -0
- data/spec/functional/connection_spec.rb +2 -2
- data/spec/support/config.yml +1 -1
- metadata +3 -3
- data/lib/nuodb-jdbc-2.0.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4dfe16c0cb25e20c1bbc18781c70a19fc406dc2
|
4
|
+
data.tar.gz: cc3cc5d9a287f422eb9a45a6d8f027c78e9b85fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 349ae9f16bcb9065f53b1b6671bb4b0f500466030dd6e6e27c3b3e46e599234274211407cb2fdb09b446ade222fb82582f51f4a3c8ce06582e654806173a2ec1
|
7
|
+
data.tar.gz: ddf0f23949712ba68ff1614eae75884a30de90432515191ba5020bb0f07f48cf83a9967beee31f81c87d2bea4e96e3492de9bda2038e0102f17774a4dc27005b
|
data/.travis.yml
CHANGED
@@ -4,27 +4,27 @@ rvm:
|
|
4
4
|
- jruby-head
|
5
5
|
|
6
6
|
env:
|
7
|
-
-
|
7
|
+
- NUODB_HOME=/opt/nuodb NUODB_VERSION=2.0.3
|
8
8
|
|
9
9
|
notifications:
|
10
10
|
recipients:
|
11
11
|
- buck.robert.j@gmail.com
|
12
12
|
- rbuck@nuodb.com
|
13
|
+
- jgetto@nuodb.com
|
14
|
+
- tgates@nuodb.com
|
13
15
|
|
14
16
|
before_install:
|
15
|
-
- wget
|
17
|
+
- wget http://download.nuohub.org/nuodb-${NUODB_VERSION}.linux.x64.deb --output-document=/var/tmp/nuodb.deb
|
16
18
|
- sudo dpkg -i /var/tmp/nuodb.deb
|
17
19
|
- sleep 2
|
18
20
|
|
19
21
|
before_script:
|
20
|
-
- ${
|
21
|
-
-
|
22
|
-
- ${
|
23
|
-
- sleep 2
|
24
|
-
- echo "create user cloud password 'user';" | ${NUODB_ROOT}/bin/nuosql test@localhost --user dba --password baz
|
22
|
+
- java -jar ${NUODB_HOME}/jar/nuodbmanager.jar --broker localhost --user domain --password bird --command "start process sm database test host localhost archive /var/tmp/nuodb initialize true waitForRunning true"
|
23
|
+
- java -jar ${NUODB_HOME}/jar/nuodbmanager.jar --broker localhost --user domain --password bird --command "start process te database test host localhost options '--dba-user dba --dba-password baz' waitForRunning true"
|
24
|
+
- echo "create user cloud password 'user';" | ${NUODB_HOME}/bin/nuosql test@localhost --user dba --password baz
|
25
25
|
|
26
26
|
script:
|
27
|
-
- NUODB_ROOT
|
27
|
+
- NUODB_ROOT=$NUODB_HOME bundle exec rake spec install
|
28
28
|
|
29
29
|
after_script:
|
30
30
|
- sudo dpkg -r nuodb
|
data/README.md
CHANGED
@@ -62,12 +62,12 @@ Start up a minimal chorus as follows:
|
|
62
62
|
|
63
63
|
export NUODB_ROOT=/path/to/nuodb/install/directory
|
64
64
|
java -jar ${NUODB_ROOT}/jar/nuoagent.jar --broker &
|
65
|
-
${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password
|
66
|
-
${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password
|
65
|
+
${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password dba --verbose debug --archive /var/tmp/nuodb --initialize --force &
|
66
|
+
${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password dba &
|
67
67
|
|
68
68
|
Create a user in the database:
|
69
69
|
|
70
|
-
${NUODB_ROOT}/bin/nuosql test@localhost --user dba --password
|
70
|
+
${NUODB_ROOT}/bin/nuosql test@localhost --user dba --password dba
|
71
71
|
> create user cloud password 'user';
|
72
72
|
> exit
|
73
73
|
|
data/Rakefile
CHANGED
@@ -117,7 +117,7 @@ namespace :nuodb do
|
|
117
117
|
end
|
118
118
|
|
119
119
|
task :create_user do
|
120
|
-
#puts %x( echo "create user arunit password 'arunit';" | nuosql arunit@localhost --user dba --password
|
120
|
+
#puts %x( echo "create user arunit password 'arunit';" | nuosql arunit@localhost --user dba --password dba )
|
121
121
|
end
|
122
122
|
|
123
123
|
task :start_server do
|
data/lib/jdbc/nuodb.rb
CHANGED
Binary file
|
@@ -32,11 +32,11 @@ describe Jdbc::NuoDB do
|
|
32
32
|
lambda {
|
33
33
|
con_props = java.util.Properties.new
|
34
34
|
con_props.setProperty('user', 'dba')
|
35
|
-
con_props.setProperty('password', '
|
35
|
+
con_props.setProperty('password', 'dba')
|
36
36
|
con_props.setProperty('schema', 'test')
|
37
37
|
url = 'jdbc:com.nuodb://localhost:48004/test?schema=test'
|
38
38
|
java.sql.DriverManager.getConnection(url, con_props)
|
39
39
|
}.should_not raise_error(Java::JavaSql::SQLException)
|
40
40
|
end
|
41
41
|
end
|
42
|
-
end
|
42
|
+
end
|
data/spec/support/config.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-nuodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Buck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -110,7 +110,7 @@ files:
|
|
110
110
|
- Rakefile
|
111
111
|
- jdbc-nuodb.gemspec
|
112
112
|
- lib/jdbc/nuodb.rb
|
113
|
-
- lib/nuodb-jdbc-2.0.jar
|
113
|
+
- lib/nuodb-jdbc-2.0.3.jar
|
114
114
|
- spec/data/.gitignore
|
115
115
|
- spec/functional/connection_spec.rb
|
116
116
|
- spec/rcov.opts
|
data/lib/nuodb-jdbc-2.0.jar
DELETED
Binary file
|