neo4j 3.0.0.alpha.10 → 3.0.0.alpha.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3ed632e184847cf87dace2146181d1fbde5bc7c
4
- data.tar.gz: 3c4314c17410475fad46f4b5eed730186e800458
3
+ metadata.gz: 0d3b8eeb614c23ddb1a08578e3096eb8d2afc410
4
+ data.tar.gz: a33b7bd296a1b43e5c2c0a5216981fa3ed48813d
5
5
  SHA512:
6
- metadata.gz: f8732369f9890161646404ccbdc2f3aca3d6facc4119c775a5dac45ae0b130997039dfc0a6134f7004801969c333b2dd3d191de1adcd5603e4bd2c88904830b4
7
- data.tar.gz: edfdf0fc367e93e5d72e4255aec79216f80834aab3d40bbc9f5447762883412521b273980c0d15ff7bbc6d90a4969248a2bea632fe03d9a034cc9d6278ee9066
6
+ metadata.gz: c67c87f76ecf5ab6fe234b8d19661fe31dec925077f8c9b06c4e9af3622c798c22f13b1a02a5bf55260f7e346cf03a474f1d0e8c7a9bce1847fbf9c1330ffb3e
7
+ data.tar.gz: 8548e9d857fb400dcda682d903f437cf8f1727ed885276b30e24b673df72acddbda1ec1a5859519aac7948bb167291cdfaf8acd30e9cdafd51a53a7a92327fd7
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 3.0.0.alpha.11
2
+ * Bug fixes
3
+
1
4
  == 3.0.0.alpha.10
2
5
  * ActiveRel support, see Wiki pages (chris #393)
3
6
 
data/Gemfile CHANGED
@@ -2,8 +2,7 @@ source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
-
6
- gem 'neo4j-core' #, path: '../neo4j-core'
5
+ #gem 'neo4j-core', path: '../neo4j-core'
7
6
  #gem 'neo4j-core', :git => 'https://github.com/andreasronge/neo4j-core.git'
8
7
  #gem 'orm_adapter', :path => '../orm_adapter'
9
8
 
@@ -85,7 +85,6 @@ module Neo4j
85
85
  def get_properties_string(properties)
86
86
  properties[Neo4j::Config.class_name_property] = @relationship_class.name if @relationship_class
87
87
  p = properties.map do |key, value|
88
- next if key == :_classname
89
88
  "#{key}: #{value.inspect}"
90
89
  end.join(', ')
91
90
  p.size == 0 ? '' : " {#{p}}"
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = "3.0.0.alpha.10"
2
+ VERSION = "3.0.0.alpha.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.alpha.10
4
+ version: 3.0.0.alpha.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-17 00:00:00.000000000 Z
11
+ date: 2014-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter
@@ -114,7 +114,6 @@ files:
114
114
  - config/locales/en.yml
115
115
  - config/neo4j/config.yml
116
116
  - lib/neo4j.rb
117
- - lib/neo4j.rb~
118
117
  - lib/neo4j/active_node.rb
119
118
  - lib/neo4j/active_node/callbacks.rb
120
119
  - lib/neo4j/active_node/has_n.rb
@@ -152,12 +151,9 @@ files:
152
151
  - lib/neo4j/type_converters.rb
153
152
  - lib/neo4j/version.rb
154
153
  - lib/neo4j/wrapper.rb
155
- - lib/person.rb~
156
154
  - lib/rails/generators/neo4j/model/model_generator.rb
157
155
  - lib/rails/generators/neo4j/model/templates/model.erb
158
156
  - lib/rails/generators/neo4j_generator.rb
159
- - lib/test.rb
160
- - lib/test.rb~
161
157
  - neo4j.gemspec
162
158
  homepage: http://github.com/andreasronge/neo4j/tree
163
159
  licenses:
data/lib/neo4j.rb~ DELETED
@@ -1,40 +0,0 @@
1
- require 'neo4j/version'
2
-
3
- #require "delegate"
4
- #require "time"
5
- #require "set"
6
- #
7
- #require "active_support/core_ext"
8
- #require "active_support/json"
9
- #require "active_support/inflector"
10
- #require "active_support/time_with_zone"
11
-
12
- require "neo4j-core"
13
- require "active_model"
14
- require 'active_support/concern'
15
- require 'active_support/core_ext/class/attribute.rb'
16
-
17
- require 'active_attr'
18
- require 'neo4j/wrapper'
19
- require 'neo4j/type_converters'
20
- require "neo4j/active_node/labels"
21
- require 'neo4j/active_node/identity'
22
- require 'neo4j/active_node/callbacks'
23
- require 'neo4j/active_node/initialize'
24
- require 'neo4j/active_node/property'
25
- require 'neo4j/active_node/persistence'
26
- require 'neo4j/active_node/validations'
27
- require 'neo4j/active_node/rels'
28
- require 'neo4j/active_node/has_n'
29
- require 'neo4j/active_node/has_n/decl_rel'
30
- require 'neo4j/active_node/has_n/nodes'
31
- require 'neo4j/active_node'
32
-
33
- require 'neo4j/active_node/orm_adapter'
34
-
35
- if defined? Rails::Generators # defined in 'rails/generators.rb'
36
- # TODO, not sure this is the correct way of adding rails generators
37
- # See https://github.com/andreasronge/neo4j/blob/gh-pages/neo4j.rb
38
- # It is required from the rails config/application file
39
- require 'rails/generators/neo4j_generator'
40
- end
data/lib/person.rb~ DELETED
@@ -1,9 +0,0 @@
1
- require 'neo4j'
2
-
3
- Neo4j::Session.open
4
-
5
- class Person
6
- include Neo4j::ActiveNode
7
- property :name
8
-
9
- end
data/lib/test.rb DELETED
@@ -1,21 +0,0 @@
1
- require 'neo4j'
2
- s = Neo4j::Session.open
3
- class Person
4
- include Neo4j::ActiveNode
5
- property :name
6
- has_many :out, :friends, type: :friends, model_class: self
7
- end
8
-
9
- t = Neo4j::Transaction.new
10
-
11
- p = Person.new
12
- p.save
13
- p.friends << Person.create(name: 'a') << Person.create(name: 'b')
14
- id = p.id
15
- puts "ID #{id}"
16
- puts "FRIENDS #{p.friends.to_a.first.name}"
17
- t.fail
18
- t.close
19
- puts "DONE"
20
-
21
- puts "LOAD #{Neo4j::Node.load(id)}"
data/lib/test.rb~ DELETED
@@ -1,21 +0,0 @@
1
- require 'neo4j'
2
- s = Neo4j::Session.open
3
- class Person
4
- include Neo4j::ActiveNode
5
- property :name
6
- has_many :out, :friends
7
- end
8
-
9
- t = Neo4j::Transaction.new
10
-
11
- p = Person.new
12
- p.save
13
- p.friends << Person.create << Person.create
14
- id = p.id
15
- puts "ID #{id}"
16
- puts "FRIENDS #{p.friends.to_a.count}"
17
- t.fail
18
- t.close
19
- puts "DONE"
20
-
21
- puts "LOAD #{Neo4j::Node.load(id)}"