activerecord-jdbcnuodb-adapter 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: 36e42e61911c0bb947eb5dba27acdd69b43979c4
4
- data.tar.gz: 7ac93d45eb733f2a30289b6ef0c1ff37df58fa07
3
+ metadata.gz: 1e351781ac3982f4ffc5013626886c7bb8a0b592
4
+ data.tar.gz: 7f9d8de71a522bfb96d889f90f518812fc19f13d
5
5
  SHA512:
6
- metadata.gz: 6e450e3c99ac074034ff4ebc4716aa86cb9fb626e90ab33484aea3f14d35a660fc579eb80118371b37a5e37bd757923423474e9679e40f86824644fca7ff4061
7
- data.tar.gz: 0c1591bc10d12d75ae8c9b5a98f39fb376c8d43ea6091f996a8164dd58d240875b5bf3cadc9e600dd4b1c162d607d8658240ba667f0b82493fa589c898d0c3c8
6
+ metadata.gz: af58d190f821f75584b505c65979370a898b7d82bb4436e135ba2ff1775b8cf4daab597079b3ccf9278eb709872e77cbcfc404377213781aef89797c01aa3b1b
7
+ data.tar.gz: d965946bd8378a23231cb9eb3a90624f35d8816576edfb5703d07afe8aee6cb27287b3c9a43c1dc74c3a25c81d8ab147350f5048c183755abe67ec97cedc2c88
@@ -5,24 +5,24 @@ rvm:
5
5
  - jruby-19mode
6
6
 
7
7
  env:
8
- - NUODB_HOME=/opt/nuodb NUODB_VERSION=2.0
9
- - NUODB_HOME=/opt/nuodb NUODB_VERSION=1.2
8
+ - NUODB_HOME=/opt/nuodb NUODB_VERSION=2.0.3
10
9
 
11
10
  notifications:
12
11
  recipients:
13
12
  - buck.robert.j@gmail.com
14
13
  - rbuck@nuodb.com
15
14
  - jgetto@nuodb.com
15
+ - tgates@nuodb.com
16
16
 
17
17
  before_install:
18
- - wget http://www.nuodb.com/latest/releases/nuodb-${NUODB_VERSION}.linux.x64.deb --output-document=/var/tmp/nuodb.deb
18
+ - wget http://download.nuohub.org/nuodb-${NUODB_VERSION}.linux.x64.deb --output-document=/var/tmp/nuodb.deb
19
19
  - sudo dpkg -i /var/tmp/nuodb.deb
20
20
  - sleep 2
21
21
 
22
22
  before_script:
23
23
  - 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"
24
- - 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"
25
- - echo "create user cloud password 'user';" | ${NUODB_HOME}/bin/nuosql test@localhost --user dba --password baz
24
+ - 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 dba' waitForRunning true"
25
+ - echo "create user cloud password 'user';" | ${NUODB_HOME}/bin/nuosql test@localhost --user dba --password dba
26
26
 
27
27
  script:
28
28
  - jruby -S bundle install
data/README.md CHANGED
@@ -24,21 +24,21 @@ An ActiveRecord JDBC Adapter for NuoDB.
24
24
  database: development
25
25
  schema: test
26
26
  username: dba
27
- password: baz
27
+ password: dba
28
28
 
29
29
  test:
30
30
  adapter: nuodb
31
31
  database: development
32
32
  schema: test
33
33
  username: dba
34
- password: baz
34
+ password: dba
35
35
 
36
36
  production:
37
37
  adapter: nuodb
38
38
  database: development
39
39
  schema: test
40
40
  username: dba
41
- password: baz
41
+ password: dba
42
42
 
43
43
  2. In the Gemfile, call the nuodb gem with:
44
44
 
@@ -73,7 +73,7 @@ Place the following content in your lib/override_task.rb file:
73
73
 
74
74
  def alias_task_chain(*args, &block)
75
75
  name, params, deps = Rake.application.resolve_args(args.dup)
76
- fq_name = Rake.application.instance_variable_get(:@scope).dup.push(name).join(':')
76
+ fq_name = Rake.application.instance_variable_get(:@scope).to_a.reverse.push(name).join(':')
77
77
  alias_task(fq_name)
78
78
  Rake::Task.define_task(*args, &block)
79
79
  end
@@ -158,13 +158,13 @@ Or from the source tree:
158
158
  Start up a minimal chorus as follows:
159
159
 
160
160
  java -jar ${NUODB_ROOT}/jar/nuoagent.jar --broker &
161
- ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz --verbose debug --archive /var/tmp/nuodb --initialize --force &
162
- ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz &
161
+ ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password dba --verbose debug --archive /var/tmp/nuodb --initialize --force &
162
+ ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password dba &
163
163
 
164
164
  Create a user in the database:
165
165
 
166
- ${NUODB_ROOT}/bin/nuosql test@localhost --user dba --password baz
167
- > create user dba password 'baz';
166
+ ${NUODB_ROOT}/bin/nuosql test@localhost --user dba --password dba
167
+ > create user cloud password 'user';
168
168
  > exit
169
169
 
170
170
  Run the tests:
@@ -176,9 +176,9 @@ Run the tests:
176
176
 
177
177
  1. Install the NuoDB gems:
178
178
 
179
- jruby -S gem install rails
180
- jruby -S gem install jdbc-nuodb-1.2.gem
181
- jruby -S gem install activerecord-jdbcnuodb-adapter-1.2.gem
179
+ jruby -S gem install rails --version 3.2.8
180
+ jruby -S gem install jdbc-nuodb-2.0.3.gem
181
+ jruby -S gem install activerecord-jdbcnuodb-adapter-2.0.3.gem
182
182
 
183
183
  2. Verify the gems are installed:
184
184
 
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
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.test_files = spec.files.select { |path| path =~ /^test\/.*test.*\.rb/ }
23
23
 
24
- spec.add_dependency 'jdbc-nuodb', '~> 2.0'
24
+ spec.add_dependency 'jdbc-nuodb', '~> 2.0.3'
25
25
  spec.add_dependency 'activerecord-jdbc-adapter', '>= 1.0.0'
26
26
 
27
27
  %w(rake).each { |gem| spec.add_development_dependency gem }
@@ -1,5 +1,5 @@
1
1
  module ArJdbc
2
2
  module NuoDB
3
- VERSION = '2.0'
3
+ VERSION = '2.0.3'
4
4
  end
5
5
  end
@@ -23,7 +23,7 @@ describe ActiveRecord::ConnectionAdapters::NuoDBAdapter do
23
23
  :adapter => 'nuodb',
24
24
  :database => 'test',
25
25
  :username => 'dba',
26
- :password => 'baz'
26
+ :password => 'dba'
27
27
  )
28
28
 
29
29
  ActiveRecord::Schema.define do
@@ -68,4 +68,4 @@ describe ActiveRecord::ConnectionAdapters::NuoDBAdapter do
68
68
  end
69
69
 
70
70
  end
71
- end
71
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbcnuodb-adapter
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
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-23 00:00:00.000000000 Z
12
+ date: 2014-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jdbc-nuodb
@@ -17,12 +17,12 @@ dependencies:
17
17
  requirements:
18
18
  - - ~>
19
19
  - !ruby/object:Gem::Version
20
- version: '2.0'
20
+ version: 2.0.3
21
21
  requirement: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ~>
24
24
  - !ruby/object:Gem::Version
25
- version: '2.0'
25
+ version: 2.0.3
26
26
  prerelease: false
27
27
  type: :runtime
28
28
  - !ruby/object:Gem::Dependency