Sha256: 95222d20a4587ba822488f29a651500eda7a3d7d1dcab5c065e6487892f055c0
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
= NuoDB/Ruby Interface == DESCRIPTION This is the official Ruby Gem for NuoDB. It is written as a Ruby extension that wraps the NuoDB C++ API, providing a natural API for Ruby developers. == BUILDING THE GEM To compile and test run this command: rake clean build rdoc spec == INSTALLING THE GEM NUODB_ROOT=/Users/rbuck/tmp/nuodb gem install nuodb-1.0.0.gem Or from the source tree: NUODB_ROOT=/Users/rbuck/tmp/nuodb gem install pkg/nuodb-1.0.0.gem == TESTING THE GEM Start up a minimal chorus as follows: java -jar ${NUODB_ROOT}/jar/nuoagent.jar --broker & ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz --verbose debug --archive /var/tmp/nuodb --initialize --force & ${NUODB_ROOT}/bin/nuodb --chorus test --password bar --dba-user dba --dba-password baz & Create a user in the database: ${NUODB_ROOT}/bin/nuosql test@localhost --user dba --password baz > create user cloud password 'user'; > exit Run the tests: rake spec == PUBLISHING THE GEM === TAGGING Tag the product using tags per the SemVer specification; our tags have a v-prefix: git tag -a v1.0.0 -m "SemVer Version: v1.0.0" If you make a mistake, take it back quickly: git tag -d v1.0.0 git push origin :refs/tags/v1.0.0 ===PUBLISHING Here are the commands used to publish: gem push pkg/nuodb-1.0.0.gem == INSPECTING THE GEM It is often useful to inspect the contents of a Gem before distribution. To do this you dump the contents of a gem thus: gem unpack pkg/nuodb-1.0.0.gem == INSPECTING THE EXPORTED SYMBOLS To inspec the symbols on Linux: nm -gU ext/nuodb/nuodb.bundle To inspec the symbols on Mac: otool -l ext/nuodb/nuodb.bundle == REFERENCES
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nuodb-1.0.0 | README.rdoc |