neo4j 1.0.0.beta.3 → 1.0.0.beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/neo4j/neo4j.rb CHANGED
@@ -4,10 +4,11 @@ module Neo4j
4
4
 
5
5
 
6
6
  # Start Neo4j using the default database.
7
- # This is not required since the database will be started automatically when it is used.
7
+ # This is usally not required since the database will be started automatically when it is used.
8
8
  #
9
9
  def start
10
- default_db
10
+ db = default_db
11
+ db.start unless db.running?
11
12
  end
12
13
 
13
14
 
@@ -21,7 +22,7 @@ module Neo4j
21
22
  @db ||= Database.new
22
23
  end
23
24
 
24
- # Returns a started db instance
25
+ # Returns a started db instance. Starts it if's not running.
25
26
  def started_db
26
27
  db = default_db
27
28
  db.start unless db.running?
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = "1.0.0.beta.3"
2
+ VERSION = "1.0.0.beta.4"
3
3
  end
metadata CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
7
7
  - 0
8
8
  - 0
9
9
  - beta
10
- - 3
11
- version: 1.0.0.beta.3
10
+ - 4
11
+ version: 1.0.0.beta.4
12
12
  platform: ruby
13
13
  authors:
14
14
  - Andreas Ronge
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-09-25 00:00:00 +02:00
19
+ date: 2010-09-26 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency