vagas-orientdb4r 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +26 -0
  4. data/.travis.yml +18 -0
  5. data/Gemfile +9 -0
  6. data/LICENSE +202 -0
  7. data/README.rdoc +124 -0
  8. data/Rakefile +43 -0
  9. data/changelog.txt +60 -0
  10. data/ci/initialize-ci.sh +36 -0
  11. data/fstudy/design_v1.dia +0 -0
  12. data/fstudy/design_v1.png +0 -0
  13. data/fstudy/domain_model.dia +0 -0
  14. data/fstudy/domain_model.png +0 -0
  15. data/fstudy/flat_class_perf.rb +56 -0
  16. data/fstudy/sample1_object_diagram.dia +0 -0
  17. data/fstudy/sample1_object_diagram.png +0 -0
  18. data/fstudy/study_case.rb +87 -0
  19. data/fstudy/technical_feasibility.rb +256 -0
  20. data/lib/orientdb4r.rb +115 -0
  21. data/lib/orientdb4r/bin/client.rb +86 -0
  22. data/lib/orientdb4r/bin/connection.rb +29 -0
  23. data/lib/orientdb4r/bin/constants.rb +20 -0
  24. data/lib/orientdb4r/bin/io.rb +38 -0
  25. data/lib/orientdb4r/bin/protocol28.rb +101 -0
  26. data/lib/orientdb4r/bin/protocol_factory.rb +25 -0
  27. data/lib/orientdb4r/chained_error.rb +37 -0
  28. data/lib/orientdb4r/client.rb +364 -0
  29. data/lib/orientdb4r/load_balancing.rb +113 -0
  30. data/lib/orientdb4r/node.rb +42 -0
  31. data/lib/orientdb4r/rest/client.rb +517 -0
  32. data/lib/orientdb4r/rest/excon_node.rb +115 -0
  33. data/lib/orientdb4r/rest/model.rb +159 -0
  34. data/lib/orientdb4r/rest/node.rb +43 -0
  35. data/lib/orientdb4r/rest/restclient_node.rb +77 -0
  36. data/lib/orientdb4r/rid.rb +54 -0
  37. data/lib/orientdb4r/utils.rb +203 -0
  38. data/lib/orientdb4r/version.rb +39 -0
  39. data/orientdb4r.gemspec +37 -0
  40. data/test/bin/test_client.rb +21 -0
  41. data/test/readme_sample.rb +38 -0
  42. data/test/test_client.rb +93 -0
  43. data/test/test_database.rb +261 -0
  44. data/test/test_ddo.rb +237 -0
  45. data/test/test_dmo.rb +115 -0
  46. data/test/test_document_crud.rb +184 -0
  47. data/test/test_gremlin.rb +52 -0
  48. data/test/test_helper.rb +10 -0
  49. data/test/test_loadbalancing.rb +81 -0
  50. data/test/test_utils.rb +67 -0
  51. metadata +136 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7df107adadbcccd13cdd66906f14729133380a97
4
+ data.tar.gz: 19e5040014e89ae072ad801cbfbb4e2feb46c981
5
+ SHA512:
6
+ metadata.gz: a56647a65f688a1a8d79aa7e4f5a66749a7ceb18b09e74caeb7d65621b31806879259da31fcc6cb98eb8e4af23cd22f0a7fb346d5d1b4fcba7e6cdb4c92f8f8e
7
+ data.tar.gz: a1bdfcfe68e1f1472ccfacb99dc25aa2abd69c6fc35fde401c839ca15d8c74e23b30e42635758b36decf6b18413172e153eb509b53e678a6e5079203a5e24590
@@ -0,0 +1 @@
1
+ repo_token: qXflXiEwfGyJ5xCCGo8z0xloVYmUCZoyM
@@ -0,0 +1,26 @@
1
+ *.gem
2
+ *.rbc
3
+ .idea
4
+ .bundle
5
+ .config
6
+ .ruby-version
7
+ .ruby-gemset
8
+ coverage
9
+ InstalledFiles
10
+ lib/bundler/man
11
+ pkg
12
+ rdoc
13
+ spec/reports
14
+ test/tmp
15
+ test/version_tmp
16
+ tmp
17
+
18
+ orientdb4r.sublime-project
19
+ orientdb4r.sublime-workspace
20
+
21
+ # YARD artifacts
22
+ .yardoc
23
+ _yardoc
24
+ doc/
25
+
26
+ /Gemfile.lock
@@ -0,0 +1,18 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.0
4
+
5
+ before_script:
6
+ - chmod +x ./ci/initialize-ci.sh
7
+ - ./ci/initialize-ci.sh $ORIENTDB_VERSION
8
+ - bundle exec rake db:setup4test
9
+
10
+ env:
11
+ - ORIENTDB_VERSION=2.0.5
12
+
13
+ notifications:
14
+ email:
15
+ recipients:
16
+ - vaclav.sykora@gmail.com
17
+ on_success: change
18
+ on_failure: change
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source "https://rubygems.org"
2
+ gemspec
3
+
4
+ gem 'bindata', '>=2.1'
5
+
6
+ group :test do
7
+ gem 'test-unit', '>=3.0'
8
+ gem 'coveralls', require: false
9
+ end
data/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,124 @@
1
+
2
+ _ _ _ _ _ _
3
+ ___ _ __(_) ___ _ __ | |_ __| | |__ | || | _ __
4
+ / _ \| '__| |/ _ \ '_ \| __/ _` | '_ \| || |_| '__|
5
+ | (_) | | | | __/ | | | || (_| | |_) |__ _| |
6
+ \___/|_| |_|\___|_| |_|\__\__,_|_.__/ |_| |_|
7
+
8
+ = Ruby binding for Orient DB
9
+
10
+ A Ruby client for the NoSQL Graph/Document database Orient DB (http://orientdb.org).
11
+
12
+ {<img src="https://badge.fury.io/rb/orientdb4r.svg" alt="Gem Version" />}[http://badge.fury.io/rb/orientdb4r]
13
+ {<img src="https://secure.travis-ci.org/veny/orientdb4r.png" alt="Build Status" />}[http://travis-ci.org/veny/orientdb4r]
14
+ {<img src="https://coveralls.io/repos/veny/orientdb4r/badge.svg?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/veny/orientdb4r?branch=master]
15
+
16
+ == USAGE
17
+
18
+ see Wiki page for more sample at https://github.com/veny/orientdb4r/wiki
19
+
20
+
21
+ require 'orientdb4r'
22
+
23
+ DB = 'foo'
24
+ CLASS = 'myclass'
25
+
26
+ client = Orientdb4r.client # equivalent for :host => 'localhost', :port => 2480, :ssl => false
27
+
28
+ client.database_exists? :database => DB, :user => 'admin', :password => 'admin'
29
+ => false
30
+
31
+ client.create_database :database => DB, :storage => :memory, :user => 'root', :password => 'root'
32
+ => false
33
+
34
+ client.connect :database => DB, :user => 'admin', :password => 'admin'
35
+ => true
36
+
37
+ unless client.class_exists? CLASS
38
+ client.create_class(CLASS) do |c|
39
+ c.property 'prop1', :integer, :notnull => true, :min => 1, :max => 99
40
+ c.property 'prop2', :string, :mandatory => true
41
+ c.link 'users', :linkset, 'OUser' # by default: :mandatory => false, :notnull => false
42
+ end
43
+ end
44
+
45
+ admin = client.query("SELECT FROM OUser WHERE name = 'admin'")[0]
46
+ 1.upto(5) do |i|
47
+ # insert link to admin only to first two
48
+ client.command "INSERT INTO #{CLASS} (prop1, prop2, users) VALUES (#{i}, 'text#{i}', [#{admin['@rid'] if i<3}])"
49
+ end
50
+
51
+ puts client.query "SELECT FROM #{CLASS}"
52
+ => {"@type"=>"d", "@rid"=>"#6:0", "@version"=>0, "@class"=>"myclass", "prop1"=>1, "prop2"=>"text1", "users"=>["#4:0"]}
53
+ => {"@type"=>"d", "@rid"=>"#6:1", "@version"=>0, "@class"=>"myclass", "prop1"=>2, "prop2"=>"text2", "users"=>["#4:0"]}
54
+ => {"@type"=>"d", "@rid"=>"#6:2", "@version"=>0, "@class"=>"myclass", "prop1"=>3, "prop2"=>"text3", "users"=>[]}
55
+ => {"@type"=>"d", "@rid"=>"#6:3", "@version"=>0, "@class"=>"myclass", "prop1"=>4, "prop2"=>"text4", "users"=>[]}
56
+ => {"@type"=>"d", "@rid"=>"#6:4", "@version"=>0, "@class"=>"myclass", "prop1"=>5, "prop2"=>"text5", "users"=>[]}
57
+
58
+ puts client.query "SELECT count(*) FROM #{CLASS}"
59
+ => {"@type"=>"d", "@version"=>0, "count"=>5, "@fieldTypes"=>"count=l"}
60
+
61
+ puts client.query "SELECT max(prop1) FROM #{CLASS}"
62
+ => {"@type"=>"d", "@version"=>0, "max"=>5}
63
+
64
+ puts client.query "TRAVERSE any() FROM (SELECT FROM #{CLASS} WHERE prop1 = 1)"
65
+ => {"@type"=>"d", "@rid"=>"#6:0", "@version"=>0, "@class"=>"myclass", "prop1"=>1, "prop2"=>"text1", "users"=>["#4:0"]}
66
+ => {"@type"=>"d", "@rid"=>"#4:0", "@version"=>0, "@class"=>"OUser", "name"=>"admin", "password"=>"{SHA-256}8C6976E5B5410415BDE908BD4DEE15DFB167A9C873FC4BB8A81F6F2AB448A918", "status"=>"ACTIVE", "roles"=>["#3:0"]}
67
+ => {"@type"=>"d", "@rid"=>"#3:0", "@version"=>0, "@class"=>"ORole", "name"=>"admin", "mode"=>1, "rules"=>{}, "@fieldTypes"=>"mode=b"}
68
+
69
+
70
+ client.drop_class CLASS
71
+ client.disconnect
72
+ => ["401 Unauthorized: Logged out", 401]
73
+
74
+ == INSTALL
75
+
76
+ > sudo gem install orientdb4r
77
+
78
+ * gem published on http://rubygems.org/gems/orientdb4r
79
+
80
+ === Important Upgrade Notice
81
+
82
+ * see +changelog.txt+
83
+
84
+
85
+ == FEATURES/PROBLEMS
86
+
87
+ * Supports only REST API right now
88
+
89
+ == REQUIREMENTS
90
+
91
+ * Ruby 1.9.x+
92
+ * OrientDB 1.0.x-1.3.x for *v0.3.x*
93
+ * OrientDB 1.4.0+ for *v0.4.x*
94
+ * OrientDB 1.6.0+ for *v0.5.x*
95
+
96
+ == TESTS
97
+
98
+
99
+ > cd /path/to/repository
100
+ > bundle exec rake db:setup4test # to create the temp DB which doesn't seem to be a default since v1.5
101
+ > bundle exec rake test
102
+
103
+ Make sure before starting the tests:
104
+ * database server is running on localhost:2480
105
+ * there is a root account with username=root and password=root; if your password is different, specify it with an `ORIENTDB_ROOT_PASS` environment variable
106
+
107
+
108
+ == AUTHOR
109
+
110
+ * vaclav.sykora@gmail.com
111
+ * https://plus.google.com/115674031373998885915
112
+
113
+ == LICENSE
114
+
115
+ * Apache License, Version 2.0, http://www.apache.org/licenses/
116
+ * see LICENSE file for more details...
117
+
118
+ == CONTRIBUTING
119
+
120
+ 1. Fork it ( https://github.com/veny/orientdb4r/fork )
121
+ 1. Create your feature branch ( <tt>git checkout -b my-new-feature</tt> )
122
+ 1. Commit your changes ( <tt>git commit -am 'Add some feature'</tt> )
123
+ 1. Push to the branch ( <tt>git push origin my-new-feature</tt> )
124
+ 1. Create a new Pull Request
@@ -0,0 +1,43 @@
1
+ require 'rake/testtask'
2
+ require 'rest_client'
3
+
4
+ Rake::TestTask.new do |t|
5
+ t.libs = ['lib', 'test']
6
+ t.pattern = 'test/**/test_*.rb'
7
+ end
8
+
9
+ desc "Run tests"
10
+ task :default => :test
11
+
12
+ namespace :db do
13
+
14
+ DB_HOST = 'localhost'
15
+ DB_PORT = 2480
16
+ DB_NAME = 'temp'
17
+ DB_ROOT_USER = 'root'
18
+ DB_ROOT_PASS = ENV['ORIENTDB_ROOT_PASS'] || 'root'
19
+
20
+ desc 'Check whether a test DB exists and create if not'
21
+ task :setup4test do
22
+ found = true
23
+ begin
24
+ ::RestClient::Request.new({:url=>"http://#{DB_HOST}:#{DB_PORT}/database/#{DB_NAME}", :method=>:get, :user=>DB_ROOT_USER, :password=>DB_ROOT_PASS}).execute
25
+ rescue Errno::ECONNREFUSED
26
+ fail "server seems to be closed, not running on #{DB_HOST}:#{DB_PORT}?"
27
+ rescue ::RestClient::Unauthorized
28
+ # this is expected reaction if DB does not exist
29
+ puts 'DB does NOT exist -> create'
30
+ found = false
31
+ rescue ::RestClient::Exception => e
32
+ fail "unexpected failure: #{e}"
33
+ end
34
+
35
+ if found
36
+ puts 'DB already exists'
37
+ else
38
+ ::RestClient::Request.new({:url=>"http://#{DB_HOST}:#{DB_PORT}/database/#{DB_NAME}/memory", :method=>:post, :user=>DB_ROOT_USER, :password=>DB_ROOT_PASS}).execute
39
+ puts 'DB created'
40
+ end
41
+ end
42
+
43
+ end
@@ -0,0 +1,60 @@
1
+ 0.5.1 2015-26-03
2
+ - Enhancement #39 : Support for batch operations
3
+ - Pull Request #40 : Support for Gremlin commands
4
+
5
+ 0.5.0 2015-03-02
6
+ - Provides fixes to be fully compatible with OrientDb v2.x.
7
+ - No more backward compatible with OrientDb v1.5.x and lesser
8
+ - Pull Request #31 : rest-client 1.6.7 => 1.7.x
9
+ - Pull Request #32 : Add Gemfile & rake as a dev dependency
10
+ - Pull Request #33 : Fix content type header for rest-client
11
+
12
+
13
+
14
+ 0.4.1 2013-09-03
15
+ - Enhancement #24 : read-only property
16
+ - Enhancement #26 : type of new database
17
+ - Enhancement #27 : license in gemspec
18
+
19
+ 0.4.0 2013-08-14
20
+ - Closes gap between this driver and OrientDb v1.4.0+ which introduced some changes on REST API (connect & create_document).
21
+ - No more backward compatible with OrientDb v1.3.x and lesser
22
+ - Enhancement #20 : Method 'compare_versions' accepts a block now
23
+ - Bug Fix #25
24
+
25
+
26
+
27
+ 0.3.3 2012-12-16
28
+ - Enhancement #18 : Added 'abstract' option into creating a new class
29
+ - Enhancement #19 : Added GET - List Databases
30
+ - Bug Fix #22
31
+
32
+ 0.3.2 2012-11-02
33
+ - Enhancement #13 : configurable User-Agent request header
34
+ - Enhancement #16 : configurable Recovery Time in Load Balancing
35
+
36
+ 0.3.1 2012-08-27
37
+ - Timeout for reuse of dirty (already failed) nodes in load balancing
38
+ - Bug Fix #14, #15
39
+
40
+ 0.3.0 2012-08-01
41
+ - Introduces support for cluster of distributed servers.
42
+ - initial strategies for load balancing: sequence, round robin
43
+ - Keep-Alive feature: Excon HTTP library is fully working
44
+
45
+
46
+
47
+ 0.2.10 2012-07-21
48
+ - experimental support for Excon HTTP library with Keep-Alive connection
49
+
50
+ 0.2.9 2012-07-18
51
+ - introduced class Rid
52
+ - added feature Client#delete_database
53
+
54
+ 0.2.8 2012-07-16
55
+ - changed and stabilized exception handling
56
+ - added feature Client#create_class(:properties)
57
+
58
+ 0.2.7 2012-07-07
59
+ - changed design to support distributed server
60
+ - added method Client#class_exists?