Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed usage of String#unpack and Array#pack because Ruby 1.9.2 does…
… not support reading big-endian signed numbers on platforms that are natively little-endian. Replaced pack/unpack with the BinData gem. Added support for connecting to servers that implement protocol versions 10 and 11, but are backward compatible with version 9 (which is the highest version currently implemented in this gem).
- Loading branch information
1 parent
eb10719
commit bfa5739
Showing
12 changed files
with
626 additions
and
429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.bundle | ||
Gemfile.lock | ||
pkg/* | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
require "bindata" | ||
|
||
module OrientDbClient | ||
class NetworkMessage | ||
|
||
def initialize(&block) | ||
@components = [] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.