jdbc-nuodb 2.0 → 2.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4537e97f3a96b9d12d698549473da252a65a0e6
4
- data.tar.gz: 7d77063c9ae554b4c2944750b243fe7820662923
3
+ metadata.gz: d4dfe16c0cb25e20c1bbc18781c70a19fc406dc2
4
+ data.tar.gz: cc3cc5d9a287f422eb9a45a6d8f027c78e9b85fa
5
5
  SHA512:
6
- metadata.gz: 3e87fd424a1487fb89c0e596b2c12ea514892642f835a6d88a59d738778172b97329c9408977dca47849c73be517e75960150a281c8050309eabdd331ac28829
7
- data.tar.gz: dabac8de760e42f22e5501b72c10cce8a141e1ebe4c8decb51b78706d2222f0941b9a8f6febe926bcf43e95b38913d48eef7b85237e535db1f40702244bbfe2b
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
- - NUODB_ROOT=/opt/nuodb
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 -q http://www.nuodb.com/latest/nuodb-1.2.linux.x64.deb --output-document=/var/tmp/nuodb.deb
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
- - ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz --verbose debug --archive /var/tmp/nuodb --initialize --force &
21
- - sleep 2
22
- - ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz &
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=/opt/nuodb bundle exec rake spec install
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 baz --verbose debug --archive /var/tmp/nuodb --initialize --force &
66
- ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz &
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 baz
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 baz )
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
@@ -2,7 +2,7 @@ require 'java'
2
2
 
3
3
  module Jdbc
4
4
  module NuoDB
5
- VERSION = '2.0'
5
+ VERSION = '2.0.3'
6
6
 
7
7
  def self.driver_jar
8
8
  "nuodb-jdbc-#{VERSION.split('.')[0..2].join('.')}.jar"
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', 'baz')
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
@@ -4,6 +4,6 @@ connections:
4
4
  development:
5
5
  database: 'test'
6
6
  username: 'dba'
7
- password: 'baz'
7
+ password: 'dba'
8
8
  schema: 'test'
9
9
 
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: '2.0'
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: 2013-10-18 00:00:00.000000000 Z
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
Binary file