Skip to content

Commit

Permalink
release 2.0.0.rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasronge committed May 3, 2012
1 parent 69e5488 commit 8fc988c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
@@ -1,3 +1,8 @@
== 2.0.0.rc1 / 2012-05-03
* Fix of rake task to upgrade to 2.0
* Various Cypher DSL improvements, core(#3,#4,#5), #196
* Added Neo4j::VERSION

== 2.0.0.alpha.9 / 2012-04-27
* Fix for rails scaffold generator

Expand Down
7 changes: 5 additions & 2 deletions lib/neo4j/tasks/upgrade_v2/lib/upgrade_v2.rb
Expand Up @@ -16,8 +16,11 @@ def default_domains_nodes
end

def neo4j_classes
abort("Please set the environment variable 'NEO4J_CLASSES' or ruby constant ($NEO4J_CLASSES) before running this task") unless ENV['NEO4J_CLASSES']
ENV['NEO4J_CLASSES'].split(',').map(&:strip).map{|c| Neo4j::Wrapper.to_class(c)}
if ENV['NEO4J_CLASSES']
ENV['NEO4J_CLASSES'].split(',').map(&:strip).map{|c| Neo4j::Wrapper.to_class(c)}
else
Neo4j::Rails::Model::OrmAdapter.model_classes
end
end

def multi_tenancy_classes
Expand Down
2 changes: 1 addition & 1 deletion lib/neo4j/version.rb
@@ -1,3 +1,3 @@
module Neo4j
VERSION = "2.0.0.alpha.9"
VERSION = "2.0.0.rc1"
end
2 changes: 1 addition & 1 deletion neo4j.gemspec
Expand Up @@ -32,5 +32,5 @@ It comes included with the Apache Lucene document database.
s.add_dependency('orm_adapter', ">= 0.0.3")
s.add_dependency("activemodel", ">= 3.0.0", "< 3.3")
s.add_dependency("railties", ">= 3.0.0", "< 3.3")
s.add_dependency("neo4j-wrapper", '0.0.11')
s.add_dependency("neo4j-wrapper", '2.0.0.rc1')
end

0 comments on commit 8fc988c

Please sign in to comment.