orientdb 0.0.10-jruby → 0.0.11-jruby

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -22,6 +22,7 @@ tmtags
22
22
  ## PROJECT::GENERAL
23
23
  .bundle
24
24
  coverage
25
+ coverage.data
25
26
  rdoc
26
27
  pkg
27
28
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.10
1
+ 0.0.11
@@ -17,7 +17,7 @@ module OrientDB
17
17
  end
18
18
 
19
19
  def field?(name)
20
- contains_field(name.to_s) || schema_class.exists_property?(name.to_s)
20
+ contains_field(name.to_s) || (schema_class && schema_class.exists_property?(name.to_s))
21
21
  end
22
22
 
23
23
  def respond_to?(method_name)
@@ -10,4 +10,14 @@ module OrientDB
10
10
 
11
11
  end
12
12
 
13
+ class SchemaType
14
+
15
+ def inspect
16
+ "#<OrientDB::SchemaType:#{name}>"
17
+ end
18
+
19
+ alias :to_s :inspect
20
+
21
+ end
22
+
13
23
  end
@@ -5,12 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{orientdb}
8
- s.version = "0.0.10"
8
+ s.version = "0.0.11"
9
9
  s.platform = %q{jruby}
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.6") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Adrian Madrid"]
13
- s.date = %q{2011-01-17}
13
+ s.date = %q{2011-01-18}
14
14
  s.default_executable = %q{orientdb_console}
15
15
  s.description = %q{Simple JRuby wrapper for the OrientDB.}
16
16
  s.email = ["aemadrid@gmail.com"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 10
9
- version: 0.0.10
8
+ - 11
9
+ version: 0.0.11
10
10
  platform: jruby
11
11
  authors:
12
12
  - Adrian Madrid
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-17 00:00:00 -07:00
17
+ date: 2011-01-18 00:00:00 -07:00
18
18
  default_executable: orientdb_console
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency