nuodb 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,22 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 1.9.3
5
+
6
+ env:
7
+ - NUODB_ROOT=/opt/nuodb
8
+
9
+ notifications:
10
+ recipients:
11
+ - buck.robert.j@gmail.com
12
+ - rbuck@nuodb.com
13
+
14
+ before_script:
15
+ - wget http://www.nuodb.com/latest/nuodb-1.0-GA.linux.x86_64.deb --output-document=/var/tmp/nuodb.deb
16
+ - sudo dpkg -i /var/tmp/nuodb.deb
17
+
18
+ script:
19
+ - NUODB_ROOT=/opt/nuodb bundle exec rake test install
20
+
21
+ after_script:
22
+ - sudo dpkg -r nuodb
@@ -1,3 +1,8 @@
1
+ === 1.0.1
2
+
3
+ - Fixed rpath entries on linux and solaris so that customers don't need to
4
+ set LD_LIBRARY_PATH.
5
+
1
6
  === 1.0.0
2
7
 
3
8
  First release of the NuoDB API gem.
@@ -1,5 +1,9 @@
1
1
  = NuoDB/Ruby Interface
2
2
 
3
+ {<img src="https://api.travis-ci.org/nuodb/ruby-nuodb.png?branch=master" alt="Build Status" />}[http://travis-ci.org/nuodb/ruby-nuodb]
4
+ {<img src="https://gemnasium.com/nuodb/ruby-nuodb.png?travis" alt="Dependency Status" />}[https://gemnasium.com/nuodb/ruby-nuodb]
5
+ {<img src="https://codeclimate.com/badge.png" alt="Code Climate" />}[https://codeclimate.com/github/nuodb/ruby-nuodb]
6
+
3
7
  == DESCRIPTION
4
8
 
5
9
  This is the official Ruby Gem for NuoDB. It is written as a Ruby extension that
@@ -13,11 +17,11 @@ To compile and test run this command:
13
17
 
14
18
  == INSTALLING THE GEM
15
19
 
16
- NUODB_ROOT=/Users/rbuck/tmp/nuodb gem install nuodb-1.0.0.gem
20
+ NUODB_ROOT=/Users/rbuck/tmp/nuodb gem install nuodb-1.0.1.gem
17
21
 
18
22
  Or from the source tree:
19
23
 
20
- NUODB_ROOT=/Users/rbuck/tmp/nuodb gem install pkg/nuodb-1.0.0.gem
24
+ NUODB_ROOT=/Users/rbuck/tmp/nuodb gem install pkg/nuodb-1.0.1.gem
21
25
 
22
26
  == TESTING THE GEM
23
27
 
@@ -43,25 +47,25 @@ Run the tests:
43
47
 
44
48
  Tag the product using tags per the SemVer specification; our tags have a v-prefix:
45
49
 
46
- git tag -a v1.0.0 -m "SemVer Version: v1.0.0"
50
+ git tag -a v1.0.1 -m "SemVer Version: v1.0.1"
47
51
 
48
52
  If you make a mistake, take it back quickly:
49
53
 
50
- git tag -d v1.0.0
51
- git push origin :refs/tags/v1.0.0
54
+ git tag -d v1.0.1
55
+ git push origin :refs/tags/v1.0.1
52
56
 
53
57
  ===PUBLISHING
54
58
 
55
59
  Here are the commands used to publish:
56
60
 
57
- gem push pkg/nuodb-1.0.0.gem
61
+ gem push pkg/nuodb-1.0.1.gem
58
62
 
59
63
  == INSPECTING THE GEM
60
64
 
61
65
  It is often useful to inspect the contents of a Gem before distribution.
62
66
  To do this you dump the contents of a gem thus:
63
67
 
64
- gem unpack pkg/nuodb-1.0.0.gem
68
+ gem unpack pkg/nuodb-1.0.1.gem
65
69
 
66
70
  == INSPECTING THE EXPORTED SYMBOLS
67
71
 
data/Rakefile CHANGED
@@ -123,6 +123,34 @@ file "lib/#{name}/#{name}.#{so_ext}" => Dir.glob("ext/#{name}/*{.rb,.cpp}") do
123
123
  end
124
124
 
125
125
  namespace :nuodb do
126
+
127
+ task :install do
128
+ if ENV['NUODB_ROOT'].nil?
129
+ case RUBY_PLATFORM
130
+ when /linux/i
131
+ unless File.exists? '/etc/redhat-release'
132
+ puts %x(wget http://www.nuodb.com/latest/nuodb-1.0-GA.linux.x86_64.deb --output-document=/var/tmp/nuodb.deb)
133
+ puts %x(sudo dpkg -i /var/tmp/nuodb.deb)
134
+ end
135
+ else
136
+ puts "Unsupported platform '#{RUBY_PLATFORM}'. Supported platforms are BSD, DARWIN, SOLARIS, and LINUX."
137
+ end
138
+ end
139
+ end
140
+
141
+ task :remove do
142
+ if ENV['NUODB_ROOT'].nil?
143
+ case RUBY_PLATFORM
144
+ when /linux/i
145
+ unless File.exists? '/etc/redhat-release'
146
+ puts %x(sudo dpkg -r nuodb)
147
+ end
148
+ else
149
+ puts "Unsupported platform '#{RUBY_PLATFORM}'. Supported platforms are BSD, DARWIN, SOLARIS, and LINUX."
150
+ end
151
+ end
152
+ end
153
+
126
154
  task :create_user do
127
155
  #puts %x( echo "create user arunit password 'arunit';" | nuosql arunit@localhost --user dba --password baz )
128
156
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright (c) 2012, NuoDB, Inc.
2
+ # Copyright (c) 2012 - 2013, NuoDB, Inc.
3
3
  # All rights reserved.
4
4
  #
5
5
  # Redistribution and use in source and binary forms, with or without
@@ -152,10 +152,10 @@ case RUBY_PLATFORM
152
152
  $LDFLAGS << " -Xlinker -rpath -Xlinker #{nuodb_lib64}"
153
153
  when /linux/i
154
154
  # extras here...
155
- $LDFLAGS << " -Wl,-rpath,'$$ORIGIN'"
155
+ $LDFLAGS << " -Wl,-rpath,'$$ORIGIN' -Wl,-rpath,'#{nuodb_lib64}'"
156
156
  when /solaris|sunos/i
157
157
  # extras here...
158
- $LDFLAGS << " -Wl,-rpath,'$$ORIGIN' -m64"
158
+ $LDFLAGS << " -Wl,-rpath,'$$ORIGIN' -Wl,-rpath,'#{nuodb_lib64}' -m64"
159
159
  else
160
160
  puts
161
161
  end
@@ -0,0 +1,5 @@
1
+ #!/bin/sh -e
2
+
3
+ wget http://www.nuodb.com/latest/nuodb-1.0-GA.linux.x86_64.deb --output-document=/var/tmp/nuodb.deb
4
+ sudo dpkg -i /var/tmp/nuodb.deb
5
+
@@ -27,5 +27,5 @@
27
27
  #
28
28
 
29
29
  module NuoDB
30
- VERSION = '1.0.0'
31
- end
30
+ VERSION = '1.0.1'
31
+ end
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = %w(lib ext)
24
24
 
25
25
  spec.add_development_dependency('erubis', '~> 2.7.0')
26
- spec.add_development_dependency('rake', '~> 0.9')
26
+ spec.add_development_dependency('rake', '~> 10.0.3')
27
27
  spec.add_development_dependency('rdoc', '~> 3.10')
28
28
  spec.add_development_dependency('hanna-nouveau', '~> 0.2.4')
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nuodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-08 00:00:00.000000000 Z
12
+ date: 2013-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erubis
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0.9'
37
+ version: 10.0.3
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '0.9'
45
+ version: 10.0.3
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rdoc
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -264,6 +264,7 @@ extra_rdoc_files:
264
264
  files:
265
265
  - .gitignore
266
266
  - .rspec
267
+ - .travis.yml
267
268
  - AUTHORS
268
269
  - Gemfile
269
270
  - History.txt
@@ -275,6 +276,7 @@ files:
275
276
  - ext/nuodb/atomic.h
276
277
  - ext/nuodb/extconf.rb
277
278
  - ext/nuodb/nuodb.cpp
279
+ - install-nuodb.sh
278
280
  - lib/nuodb.rb
279
281
  - lib/nuodb/column.rb
280
282
  - lib/nuodb/error.rb
@@ -314,15 +316,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
314
316
  - - ! '>='
315
317
  - !ruby/object:Gem::Version
316
318
  version: '0'
319
+ segments:
320
+ - 0
321
+ hash: 3846326936610498152
317
322
  required_rubygems_version: !ruby/object:Gem::Requirement
318
323
  none: false
319
324
  requirements:
320
325
  - - ! '>='
321
326
  - !ruby/object:Gem::Version
322
327
  version: '0'
328
+ segments:
329
+ - 0
330
+ hash: 3846326936610498152
323
331
  requirements: []
324
332
  rubyforge_project:
325
- rubygems_version: 1.8.23
333
+ rubygems_version: 1.8.25
326
334
  signing_key:
327
335
  specification_version: 3
328
336
  summary: Native Ruby driver for NuoDB.