Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Release 2.0.0.alpha.6 - complete rewrite and change of API

  • Loading branch information...
commit 307c96a8e4d0ced84c3c0ac2b8d9549f10477c0a 1 parent 6949fe0
@andreasronge andreasronge authored
Showing with 14 additions and 47 deletions.
  1. +9 −6 CHANGELOG
  2. +3 −1 README.rdoc
  3. +1 −39 Rakefile
  4. +1 −1  lib/neo4j/version.rb
View
15 CHANGELOG
@@ -1,11 +1,14 @@
-* Lots of refactoring and better/more RSpecs
-* Cypher DSL support
-* Modularization - e.g. make it possible to create your own wrapper
+== 2.0.0.alpha.6 / 2012-04-15
+* Complete rewrite and smaller change of API + lots of refactoring and better RSpecs
+* Moved code to the neo4j-core and neo4j-wrapper gems
+* Changed API - index properties using the Neo4j::Rails::Model (property :name, :index => :exact)
+* Changed API - rel_type always returns a Symbol
+* Changed API - #rels and #rel first parameter is always :outgoing, :incoming or :both
+* Cypher DSL support, see neo4j-core
* Made the Lucene indexing more flexible
* Renamed size methods to count since it does simply count all the relationships (e.g. Person.all.count)
-# Changed API - rel_type always returns a Symbol
-* Changed API - #rels and #rel first parameter is always :outgoing, :incoming or :both
-* Moved code to the neo4j-core and neo4j-wrapper gems
+* Modularization - e.g. make it possible to create your own wrapper
+* Added builder method for has_one relationships (just like ActiveRecord build_best_friend)
== 2.0.0.alpha.5 / 2012-03-27
* Fix for HA/cluster bug [#173]
View
4 README.rdoc
@@ -89,6 +89,8 @@ Example of using Neo4j with Rails 3 (ActiveModel)
u = User.new(:name => 'kalle', :age => 42, :email => "bla@foo.com")
u.save
+Make sure you are using JRuby !
+
==== Generate a Rails Application
Example of creating an Neo4j Application from scratch:
@@ -204,4 +206,4 @@ Do you need help - send me an email (andreas.ronge at gmail dot com).
* \Neo4j - Dual free software/commercial license, see http://neo4j.org/
Notice there are different license for the neo4j-community, neo4j-advanced and neo4j-enterprise jar gems.
-Only the neo4j-community gem is by default required.
+Only the neo4j-community gem is by default required.
View
40 Rakefile
@@ -3,6 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'rake'
require 'rspec/core/rake_task'
+require "bundler/gem_tasks"
require 'rdoc/task'
require "neo4j/version"
@@ -14,38 +15,6 @@ RSpec::Core::RakeTask.new("spec") do |t|
t.pattern = 'spec/**/*_spec.rb'
end
-task :check_commited do
- status = %x{git status}
- fail("Can't release gem unless everything is committed") unless status =~ /nothing to commit \(working directory clean\)|nothing added to commit but untracked files present/
-end
-
-desc "Clean all, delete all files that are not in git"
-task :clean_all do
- system "git clean -df"
-end
-
-desc "Create the Neo4j gem"
-task :build do
- system "gem build neo4j.gemspec"
-end
-
-desc "Release gem to gemcutter"
-task :release => [:check_commited, :build] do
- system "gem push neo4j-#{Neo4j::VERSION}-java.gem"
-end
-
-desc "Generate documentation for Neo4j.rb"
-RDoc::Task.new do |rdoc|
- rdoc.rdoc_dir = 'doc/rdoc'
- rdoc.title = "Neo4j.rb #{Neo4j::VERSION}"
- rdoc.options << '--webcvs=http://github.com/andreasronge/neo4j/tree/master/'
-# rdoc.options << '-f' << 'horo'
- rdoc.options << '-c' << 'utf-8'
- rdoc.options << '-m' << 'README.rdoc'
- rdoc.rdoc_files.include('README.rdoc')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
require 'rake/testtask'
Rake::TestTask.new(:test_generators) do |test|
test.libs << 'lib' << 'test'
@@ -53,12 +22,5 @@ Rake::TestTask.new(:test_generators) do |test|
test.verbose = true
end
-desc 'Upload documentation to RubyForge.'
-task 'upload-docs' do
- sh "scp -r doc/rdoc/* " +
- "ronge@rubyforge.org:/var/www/gforge-projects/neo4j/"
-end
-
-
task :default => 'spec'
View
2  lib/neo4j/version.rb
@@ -1,3 +1,3 @@
module Neo4j
- VERSION = "2.0.0.alpha.5"
+ VERSION = "2.0.0.alpha.6"
end
Please sign in to comment.
Something went wrong with that request. Please try again.