activegraph 10.0.0.pre.alpha.11 → 10.0.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/{neo4j.gemspec → activegraph.gemspec} +7 -9
- data/config/neo4j/config.yml +4 -4
- data/lib/active_graph.rb +120 -0
- data/lib/{neo4j → active_graph}/ansi.rb +1 -1
- data/lib/{neo4j → active_graph}/attribute_set.rb +3 -3
- data/lib/{neo4j/active_base.rb → active_graph/base.rb} +18 -12
- data/lib/{neo4j → active_graph}/class_arguments.rb +5 -5
- data/lib/{neo4j → active_graph}/config.rb +10 -10
- data/lib/active_graph/core.rb +14 -0
- data/lib/{neo4j → active_graph}/core/connection_failed_error.rb +1 -1
- data/lib/{neo4j → active_graph}/core/cypher_error.rb +1 -1
- data/lib/{neo4j → active_graph}/core/driver.rb +5 -5
- data/lib/{neo4j → active_graph}/core/has_uri.rb +1 -1
- data/lib/{neo4j → active_graph}/core/instrumentable.rb +4 -4
- data/lib/{neo4j → active_graph}/core/label.rb +13 -13
- data/lib/{neo4j → active_graph}/core/logging.rb +2 -2
- data/lib/{neo4j → active_graph}/core/node.rb +2 -2
- data/lib/{neo4j → active_graph}/core/querable.rb +7 -7
- data/lib/{neo4j → active_graph}/core/query.rb +16 -16
- data/lib/{neo4j → active_graph}/core/query_builder.rb +3 -3
- data/lib/{neo4j → active_graph}/core/query_clauses.rb +1 -1
- data/lib/{neo4j → active_graph}/core/query_ext.rb +5 -5
- data/lib/{neo4j → active_graph}/core/query_find_in_batches.rb +2 -2
- data/lib/{neo4j → active_graph}/core/relationship.rb +2 -2
- data/lib/{neo4j → active_graph}/core/responses.rb +3 -3
- data/lib/{neo4j → active_graph}/core/result.rb +1 -1
- data/lib/{neo4j → active_graph}/core/schema.rb +1 -1
- data/lib/{neo4j → active_graph}/core/schema_errors.rb +1 -1
- data/lib/{neo4j → active_graph}/core/wrappable.rb +1 -1
- data/lib/{neo4j → active_graph}/errors.rb +1 -1
- data/lib/{neo4j → active_graph}/lazy_attribute_hash.rb +1 -1
- data/lib/{neo4j → active_graph}/migration.rb +11 -11
- data/lib/{neo4j → active_graph}/migrations.rb +5 -5
- data/lib/{neo4j → active_graph}/migrations/base.rb +7 -7
- data/lib/{neo4j → active_graph}/migrations/check_pending.rb +3 -3
- data/lib/{neo4j → active_graph}/migrations/helpers.rb +4 -4
- data/lib/{neo4j → active_graph}/migrations/helpers/id_property.rb +3 -3
- data/lib/{neo4j → active_graph}/migrations/helpers/relationships.rb +1 -1
- data/lib/{neo4j → active_graph}/migrations/helpers/schema.rb +7 -7
- data/lib/{neo4j → active_graph}/migrations/migration_file.rb +1 -1
- data/lib/{neo4j → active_graph}/migrations/runner.rb +3 -3
- data/lib/{neo4j → active_graph}/migrations/schema.rb +1 -1
- data/lib/{neo4j → active_graph}/migrations/schema_migration.rb +2 -2
- data/lib/{neo4j → active_graph}/model_schema.rb +8 -8
- data/lib/{neo4j/active_node.rb → active_graph/node.rb} +32 -32
- data/lib/{neo4j/active_node → active_graph/node}/callbacks.rb +3 -3
- data/lib/{neo4j/active_node → active_graph/node}/dependent.rb +2 -2
- data/lib/{neo4j/active_node → active_graph/node}/dependent/association_methods.rb +2 -2
- data/lib/{neo4j/active_node → active_graph/node}/dependent/query_proxy_methods.rb +4 -4
- data/lib/{neo4j/active_node → active_graph/node}/dependent_callbacks.rb +4 -4
- data/lib/{neo4j/active_node → active_graph/node}/enum.rb +3 -3
- data/lib/{neo4j/active_node → active_graph/node}/has_n.rb +20 -20
- data/lib/{neo4j/active_node → active_graph/node}/has_n/association.rb +8 -8
- data/lib/{neo4j/active_node → active_graph/node}/has_n/association/rel_factory.rb +4 -4
- data/lib/{neo4j/active_node → active_graph/node}/has_n/association/rel_wrapper.rb +4 -4
- data/lib/{neo4j/active_node → active_graph/node}/has_n/association_cypher_methods.rb +2 -2
- data/lib/{neo4j/active_node → active_graph/node}/id_property.rb +7 -7
- data/lib/{neo4j/active_node → active_graph/node}/id_property/accessor.rb +1 -1
- data/lib/{neo4j/active_node → active_graph/node}/initialize.rb +3 -3
- data/lib/{neo4j/active_node → active_graph/node}/labels.rb +18 -18
- data/lib/{neo4j/active_node → active_graph/node}/labels/index.rb +6 -6
- data/lib/{neo4j/active_node → active_graph/node}/labels/reloading.rb +1 -1
- data/lib/{neo4j/active_node → active_graph/node}/node_list_formatter.rb +1 -1
- data/lib/{neo4j/active_node → active_graph/node}/node_wrapper.rb +5 -5
- data/lib/{neo4j/active_node → active_graph/node}/orm_adapter.rb +2 -2
- data/lib/{neo4j/active_node → active_graph/node}/persistence.rb +7 -7
- data/lib/{neo4j/active_node → active_graph/node}/property.rb +3 -3
- data/lib/{neo4j/active_node → active_graph/node}/query.rb +9 -9
- data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy.rb +19 -19
- data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_eager_loading.rb +3 -3
- data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_eager_loading/association_tree.rb +2 -2
- data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_enumerable.rb +4 -4
- data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_find_in_batches.rb +2 -2
- data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_link.rb +3 -3
- data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_methods.rb +12 -12
- data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_methods_of_mass_updating.rb +4 -4
- data/lib/{neo4j/active_node → active_graph/node}/query_methods.rb +4 -4
- data/lib/{neo4j/active_node → active_graph/node}/reflection.rb +3 -3
- data/lib/{neo4j/active_node → active_graph/node}/rels.rb +1 -1
- data/lib/{neo4j/active_node → active_graph/node}/scope.rb +4 -4
- data/lib/{neo4j/active_node → active_graph/node}/unpersisted.rb +2 -2
- data/lib/{neo4j/active_node → active_graph/node}/validations.rb +3 -3
- data/lib/{neo4j → active_graph}/paginated.rb +1 -1
- data/lib/{neo4j → active_graph}/railtie.rb +18 -18
- data/lib/{neo4j/active_rel.rb → active_graph/relationship.rb} +19 -19
- data/lib/active_graph/relationship/callbacks.rb +21 -0
- data/lib/{neo4j/active_rel → active_graph/relationship}/initialize.rb +5 -5
- data/lib/{neo4j/active_rel → active_graph/relationship}/persistence.rb +6 -6
- data/lib/{neo4j/active_rel → active_graph/relationship}/persistence/query_factory.rb +7 -7
- data/lib/{neo4j/active_rel → active_graph/relationship}/property.rb +6 -6
- data/lib/{neo4j/active_rel → active_graph/relationship}/query.rb +7 -7
- data/lib/{neo4j/active_rel → active_graph/relationship}/rel_wrapper.rb +5 -5
- data/lib/{neo4j/active_rel → active_graph/relationship}/related_node.rb +7 -7
- data/lib/{neo4j/active_rel → active_graph/relationship}/types.rb +6 -6
- data/lib/active_graph/relationship/validations.rb +8 -0
- data/lib/{neo4j → active_graph}/schema/operation.rb +5 -5
- data/lib/{neo4j → active_graph}/shared.rb +7 -7
- data/lib/{neo4j → active_graph}/shared/attributes.rb +10 -10
- data/lib/{neo4j → active_graph}/shared/callbacks.rb +3 -3
- data/lib/{neo4j → active_graph}/shared/cypher.rb +1 -1
- data/lib/{neo4j → active_graph}/shared/declared_properties.rb +8 -8
- data/lib/{neo4j → active_graph}/shared/declared_property.rb +9 -9
- data/lib/{neo4j → active_graph}/shared/declared_property/index.rb +3 -3
- data/lib/{neo4j → active_graph}/shared/enum.rb +6 -6
- data/lib/{neo4j → active_graph}/shared/filtered_hash.rb +2 -2
- data/lib/{neo4j → active_graph}/shared/identity.rb +2 -2
- data/lib/{neo4j → active_graph}/shared/initialize.rb +3 -3
- data/lib/{neo4j → active_graph}/shared/marshal.rb +1 -1
- data/lib/{neo4j → active_graph}/shared/mass_assignment.rb +2 -2
- data/lib/{neo4j → active_graph}/shared/permitted_attributes.rb +1 -1
- data/lib/{neo4j → active_graph}/shared/persistence.rb +4 -4
- data/lib/{neo4j → active_graph}/shared/property.rb +10 -10
- data/lib/{neo4j → active_graph}/shared/query_factory.rb +5 -5
- data/lib/{neo4j → active_graph}/shared/rel_type_converters.rb +6 -6
- data/lib/{neo4j → active_graph}/shared/serialized_properties.rb +1 -1
- data/lib/{neo4j → active_graph}/shared/type_converters.rb +11 -13
- data/lib/{neo4j → active_graph}/shared/typecasted_attributes.rb +7 -7
- data/lib/{neo4j → active_graph}/shared/typecaster.rb +3 -3
- data/lib/{neo4j → active_graph}/shared/validations.rb +1 -1
- data/lib/{neo4j → active_graph}/tasks/migration.rake +25 -25
- data/lib/{neo4j → active_graph}/timestamps.rb +3 -3
- data/lib/{neo4j → active_graph}/timestamps/created.rb +1 -1
- data/lib/{neo4j → active_graph}/timestamps/updated.rb +1 -1
- data/lib/{neo4j → active_graph}/transaction.rb +9 -9
- data/lib/active_graph/transactions.rb +54 -0
- data/lib/{neo4j → active_graph}/type_converters.rb +2 -2
- data/lib/{neo4j → active_graph}/undeclared_properties.rb +1 -1
- data/lib/active_graph/version.rb +3 -0
- data/lib/{neo4j → active_graph}/wrapper.rb +1 -1
- data/lib/rails/generators/neo4j/migration/migration_generator.rb +4 -4
- data/lib/rails/generators/neo4j/migration/templates/migration.erb +2 -2
- data/lib/rails/generators/neo4j/model/model_generator.rb +4 -4
- data/lib/rails/generators/neo4j/model/templates/migration.erb +1 -1
- data/lib/rails/generators/neo4j/model/templates/model.erb +1 -1
- data/lib/rails/generators/neo4j/upgrade_v8/templates/migration.erb +1 -1
- data/lib/rails/generators/neo4j/upgrade_v8/upgrade_v8_generator.rb +6 -6
- data/lib/rails/generators/neo4j_generator.rb +4 -4
- metadata +134 -133
- data/lib/neo4j.rb +0 -119
- data/lib/neo4j/active_rel/callbacks.rb +0 -21
- data/lib/neo4j/active_rel/validations.rb +0 -8
- data/lib/neo4j/core.rb +0 -14
- data/lib/neo4j/version.rb +0 -3
@@ -1,7 +1,7 @@
|
|
1
|
-
require '
|
2
|
-
require '
|
1
|
+
require 'active_graph/timestamps/created'
|
2
|
+
require 'active_graph/timestamps/updated'
|
3
3
|
|
4
|
-
module
|
4
|
+
module ActiveGraph
|
5
5
|
# This mixin includes timestamps in the included class
|
6
6
|
module Timestamps
|
7
7
|
extend ActiveSupport::Concern
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'active_support/core_ext/module/delegation'
|
2
2
|
require 'active_support/core_ext/module/attribute_accessors_per_thread'
|
3
|
-
require '
|
4
|
-
require '
|
3
|
+
require 'active_graph/core/querable'
|
4
|
+
require 'active_graph/core/schema'
|
5
5
|
|
6
|
-
module
|
6
|
+
module ActiveGraph
|
7
7
|
class Transaction
|
8
|
-
include
|
9
|
-
extend
|
8
|
+
include ActiveGraph::Core::Querable
|
9
|
+
extend ActiveGraph::Core::Schema
|
10
10
|
|
11
11
|
thread_mattr_accessor :stack
|
12
12
|
attr_reader :root
|
@@ -15,11 +15,11 @@ module Neo4j
|
|
15
15
|
class << self
|
16
16
|
# Runs the given block in a new transaction.
|
17
17
|
# @param [Boolean] run_in_tx if true a new transaction will not be created, instead if will simply yield to the given block
|
18
|
-
# @@yield [
|
18
|
+
# @@yield [ActiveGraph::Transaction::Instance]
|
19
19
|
def run(_driver, run_in_tx)
|
20
20
|
return yield(nil) unless run_in_tx
|
21
21
|
|
22
|
-
tx =
|
22
|
+
tx = ActiveGraph::Transaction.new
|
23
23
|
yield tx
|
24
24
|
rescue Exception => e # rubocop:disable Lint/RescueException
|
25
25
|
tx.mark_failed unless tx.nil?
|
@@ -41,7 +41,7 @@ module Neo4j
|
|
41
41
|
self.class.initialized_stack << self
|
42
42
|
@root = stack.first
|
43
43
|
return unless root?
|
44
|
-
@driver_session =
|
44
|
+
@driver_session = Base.current_driver.driver.session(Neo4j::Driver::AccessMode::WRITE)
|
45
45
|
@driver_tx = @driver_session.begin_transaction
|
46
46
|
rescue StandardError => e
|
47
47
|
self.stack = []
|
@@ -82,7 +82,7 @@ module Neo4j
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def query(*args)
|
85
|
-
options = if args[0].is_a?(::
|
85
|
+
options = if args[0].is_a?(::ActiveGraph::Core::Query)
|
86
86
|
args[1] ||= {}
|
87
87
|
else
|
88
88
|
args[1] ||= {}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ActiveGraph
|
4
|
+
module Transactions
|
5
|
+
extend ActiveSupport::Concern
|
6
|
+
|
7
|
+
included do
|
8
|
+
thread_mattr_accessor :ag_session, :tx
|
9
|
+
end
|
10
|
+
|
11
|
+
class_methods do
|
12
|
+
def session(*args)
|
13
|
+
driver.session(*args) do |session|
|
14
|
+
self.ag_session = session
|
15
|
+
yield session
|
16
|
+
session.last_bookmark
|
17
|
+
ensure
|
18
|
+
self.ag_session = nil
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def write_transaction(config = nil, &block)
|
23
|
+
send_transaction(:write_transaction, config, &block)
|
24
|
+
end
|
25
|
+
alias transaction write_transaction
|
26
|
+
|
27
|
+
def read_transaction(config = nil, &block)
|
28
|
+
send_transaction(:read_transaction, config, &block)
|
29
|
+
end
|
30
|
+
|
31
|
+
def begin_transaction(config = nil, &block)
|
32
|
+
send_transaction(:begin_transaction, config, &block)
|
33
|
+
end
|
34
|
+
|
35
|
+
private
|
36
|
+
|
37
|
+
def send_transaction(method, config = nil, &block)
|
38
|
+
return yield tx if tx
|
39
|
+
return reuse(ag_session, method, config, &block) if ag_session
|
40
|
+
driver.session { |session| reuse(session, method, config, &block) }
|
41
|
+
end
|
42
|
+
|
43
|
+
def reuse(session, method, config)
|
44
|
+
session.send(method, config) do |tx|
|
45
|
+
self.tx = tx
|
46
|
+
yield tx
|
47
|
+
tx.success
|
48
|
+
ensure
|
49
|
+
self.tx = nil
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
module
|
1
|
+
module ActiveGraph
|
2
2
|
module TypeConverters
|
3
3
|
# This exists for legacy purposes. Some gems that the Neo4jrb project does not own
|
4
4
|
# may contain references to this file. We will remove it once that has been dealt with.
|
5
|
-
include
|
5
|
+
include ActiveGraph::Shared::TypeConverters
|
6
6
|
end
|
7
7
|
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '..', '..', '..', '
|
1
|
+
require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'active_graph.rb')
|
2
2
|
|
3
|
-
module
|
3
|
+
module ActiveGraph
|
4
4
|
module Generators
|
5
5
|
class MigrationGenerator < ::Rails::Generators::NamedBase
|
6
|
-
include ::
|
7
|
-
include ::
|
6
|
+
include ::ActiveGraph::Generators::SourcePathHelper
|
7
|
+
include ::ActiveGraph::Generators::MigrationHelper
|
8
8
|
|
9
9
|
def create_migration_file
|
10
10
|
migration_template 'migration.erb'
|
@@ -1,9 +1,9 @@
|
|
1
|
-
class <%= @migration_class_name.underscore.camelize %> <
|
1
|
+
class <%= @migration_class_name.underscore.camelize %> < ActiveGraph::Migrations::Base
|
2
2
|
def up
|
3
3
|
<%= @content %>
|
4
4
|
end
|
5
5
|
|
6
6
|
def down
|
7
|
-
raise
|
7
|
+
raise ActiveGraph::IrreversibleMigration
|
8
8
|
end
|
9
9
|
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '..', '..', '..', '
|
1
|
+
require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'active_graph.rb')
|
2
2
|
|
3
|
-
class
|
4
|
-
include ::
|
5
|
-
include ::
|
3
|
+
class ActiveGraph::Generators::ModelGenerator < Rails::Generators::NamedBase #:nodoc:
|
4
|
+
include ::ActiveGraph::Generators::SourcePathHelper
|
5
|
+
include ::ActiveGraph::Generators::MigrationHelper
|
6
6
|
|
7
7
|
argument :attributes, type: :array, default: [], banner: 'field:type field:type'
|
8
8
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class <%= class_name %> <%= parent? ? "#{options[:parent].classify}" : "" %>
|
2
|
-
include
|
2
|
+
include ActiveGraph::Node
|
3
3
|
<% attributes.reject(&:reference?).each do |attribute| -%>
|
4
4
|
property :<%= attribute.name %><%= ", type: #{attribute.type_class}" unless attribute.type_class == 'any' %><%= "\n " + index_fragment if index_fragment = index_fragment(attribute.name) %>
|
5
5
|
<% end -%>
|
@@ -1,10 +1,10 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '..', '..', '..', '
|
1
|
+
require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'active_graph.rb')
|
2
2
|
|
3
|
-
module
|
3
|
+
module ActiveGraph
|
4
4
|
module Generators
|
5
5
|
class UpgradeV8Generator < ::Rails::Generators::Base
|
6
|
-
include ::
|
7
|
-
include ::
|
6
|
+
include ::ActiveGraph::Generators::SourcePathHelper
|
7
|
+
include ::ActiveGraph::Generators::MigrationHelper
|
8
8
|
|
9
9
|
def create_upgrade_v8_file
|
10
10
|
@schema = load_all_models_schema!
|
@@ -20,11 +20,11 @@ module Neo4j
|
|
20
20
|
def load_all_models_schema!
|
21
21
|
Rails.application.eager_load!
|
22
22
|
initialize_all_models!
|
23
|
-
|
23
|
+
ActiveGraph::ModelSchema.legacy_model_schema_informations
|
24
24
|
end
|
25
25
|
|
26
26
|
def initialize_all_models!
|
27
|
-
models =
|
27
|
+
models = ActiveGraph::Node.loaded_classes
|
28
28
|
models.map(&:ensure_id_property_info!)
|
29
29
|
end
|
30
30
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'rails/generators/named_base'
|
2
2
|
require 'rails/generators/active_model'
|
3
3
|
|
4
|
-
module
|
4
|
+
module ActiveGraph
|
5
5
|
module Generators #:nodoc:
|
6
6
|
end
|
7
7
|
end
|
8
8
|
|
9
|
-
module
|
9
|
+
module ActiveGraph::Generators::MigrationHelper
|
10
10
|
extend ActiveSupport::Concern
|
11
11
|
|
12
12
|
def base_migration_file_name(file_name, prefix = '')
|
@@ -53,7 +53,7 @@ module Neo4j::Generators::MigrationHelper
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
-
module
|
56
|
+
module ActiveGraph::Generators::SourcePathHelper
|
57
57
|
extend ActiveSupport::Concern
|
58
58
|
|
59
59
|
module ClassMethods
|
@@ -65,7 +65,7 @@ module Neo4j::Generators::SourcePathHelper
|
|
65
65
|
end
|
66
66
|
|
67
67
|
|
68
|
-
class
|
68
|
+
class ActiveGraph::Generators::ActiveModel < Rails::Generators::ActiveModel #:nodoc:
|
69
69
|
def self.all(klass)
|
70
70
|
"#{klass}.all"
|
71
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.0.0.pre.
|
4
|
+
version: 10.0.0.pre.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Ronge, Brian Underwood, Chris Grigg, Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -248,136 +248,138 @@ files:
|
|
248
248
|
- CONTRIBUTORS
|
249
249
|
- Gemfile
|
250
250
|
- README.md
|
251
|
+
- activegraph.gemspec
|
251
252
|
- bin/rake
|
252
253
|
- config/locales/en.yml
|
253
254
|
- config/neo4j/add_classnames.yml
|
254
255
|
- config/neo4j/config.yml
|
255
|
-
- lib/
|
256
|
-
- lib/
|
257
|
-
- lib/
|
258
|
-
- lib/
|
259
|
-
- lib/
|
260
|
-
- lib/
|
261
|
-
- lib/
|
262
|
-
- lib/
|
263
|
-
- lib/
|
264
|
-
- lib/
|
265
|
-
- lib/
|
266
|
-
- lib/
|
267
|
-
- lib/
|
268
|
-
- lib/
|
269
|
-
- lib/
|
270
|
-
- lib/
|
271
|
-
- lib/
|
272
|
-
- lib/
|
273
|
-
- lib/
|
274
|
-
- lib/
|
275
|
-
- lib/
|
276
|
-
- lib/
|
277
|
-
- lib/
|
278
|
-
- lib/
|
279
|
-
- lib/
|
280
|
-
- lib/
|
281
|
-
- lib/
|
282
|
-
- lib/
|
283
|
-
- lib/
|
284
|
-
- lib/
|
285
|
-
- lib/
|
286
|
-
- lib/
|
287
|
-
- lib/
|
288
|
-
- lib/
|
289
|
-
- lib/
|
290
|
-
- lib/
|
291
|
-
- lib/
|
292
|
-
- lib/
|
293
|
-
- lib/
|
294
|
-
- lib/
|
295
|
-
- lib/
|
296
|
-
- lib/
|
297
|
-
- lib/
|
298
|
-
- lib/
|
299
|
-
- lib/
|
300
|
-
- lib/
|
301
|
-
- lib/
|
302
|
-
- lib/
|
303
|
-
- lib/
|
304
|
-
- lib/
|
305
|
-
- lib/
|
306
|
-
- lib/
|
307
|
-
- lib/
|
308
|
-
- lib/
|
309
|
-
- lib/
|
310
|
-
- lib/
|
311
|
-
- lib/
|
312
|
-
- lib/
|
313
|
-
- lib/
|
314
|
-
- lib/
|
315
|
-
- lib/
|
316
|
-
- lib/
|
317
|
-
- lib/
|
318
|
-
- lib/
|
319
|
-
- lib/
|
320
|
-
- lib/
|
321
|
-
- lib/
|
322
|
-
- lib/
|
323
|
-
- lib/
|
324
|
-
- lib/
|
325
|
-
- lib/
|
326
|
-
- lib/
|
327
|
-
- lib/
|
328
|
-
- lib/
|
329
|
-
- lib/
|
330
|
-
- lib/
|
331
|
-
- lib/
|
332
|
-
- lib/
|
333
|
-
- lib/
|
334
|
-
- lib/
|
335
|
-
- lib/
|
336
|
-
- lib/
|
337
|
-
- lib/
|
338
|
-
- lib/
|
339
|
-
- lib/
|
340
|
-
- lib/
|
341
|
-
- lib/
|
342
|
-
- lib/
|
343
|
-
- lib/
|
344
|
-
- lib/
|
345
|
-
- lib/
|
346
|
-
- lib/
|
347
|
-
- lib/
|
348
|
-
- lib/
|
349
|
-
- lib/
|
350
|
-
- lib/
|
351
|
-
- lib/
|
352
|
-
- lib/
|
353
|
-
- lib/
|
354
|
-
- lib/
|
355
|
-
- lib/
|
356
|
-
- lib/
|
357
|
-
- lib/
|
358
|
-
- lib/
|
359
|
-
- lib/
|
360
|
-
- lib/
|
361
|
-
- lib/
|
362
|
-
- lib/
|
363
|
-
- lib/
|
364
|
-
- lib/
|
365
|
-
- lib/
|
366
|
-
- lib/
|
367
|
-
- lib/
|
368
|
-
- lib/
|
369
|
-
- lib/
|
370
|
-
- lib/
|
371
|
-
- lib/
|
372
|
-
- lib/
|
373
|
-
- lib/
|
374
|
-
- lib/
|
375
|
-
- lib/
|
376
|
-
- lib/
|
377
|
-
- lib/
|
378
|
-
- lib/
|
379
|
-
- lib/
|
380
|
-
- lib/
|
256
|
+
- lib/active_graph.rb
|
257
|
+
- lib/active_graph/ansi.rb
|
258
|
+
- lib/active_graph/attribute_set.rb
|
259
|
+
- lib/active_graph/base.rb
|
260
|
+
- lib/active_graph/class_arguments.rb
|
261
|
+
- lib/active_graph/config.rb
|
262
|
+
- lib/active_graph/core.rb
|
263
|
+
- lib/active_graph/core/connection_failed_error.rb
|
264
|
+
- lib/active_graph/core/cypher_error.rb
|
265
|
+
- lib/active_graph/core/driver.rb
|
266
|
+
- lib/active_graph/core/has_uri.rb
|
267
|
+
- lib/active_graph/core/instrumentable.rb
|
268
|
+
- lib/active_graph/core/label.rb
|
269
|
+
- lib/active_graph/core/logging.rb
|
270
|
+
- lib/active_graph/core/node.rb
|
271
|
+
- lib/active_graph/core/querable.rb
|
272
|
+
- lib/active_graph/core/query.rb
|
273
|
+
- lib/active_graph/core/query_builder.rb
|
274
|
+
- lib/active_graph/core/query_clauses.rb
|
275
|
+
- lib/active_graph/core/query_ext.rb
|
276
|
+
- lib/active_graph/core/query_find_in_batches.rb
|
277
|
+
- lib/active_graph/core/relationship.rb
|
278
|
+
- lib/active_graph/core/responses.rb
|
279
|
+
- lib/active_graph/core/result.rb
|
280
|
+
- lib/active_graph/core/schema.rb
|
281
|
+
- lib/active_graph/core/schema_errors.rb
|
282
|
+
- lib/active_graph/core/wrappable.rb
|
283
|
+
- lib/active_graph/errors.rb
|
284
|
+
- lib/active_graph/lazy_attribute_hash.rb
|
285
|
+
- lib/active_graph/migration.rb
|
286
|
+
- lib/active_graph/migrations.rb
|
287
|
+
- lib/active_graph/migrations/base.rb
|
288
|
+
- lib/active_graph/migrations/check_pending.rb
|
289
|
+
- lib/active_graph/migrations/helpers.rb
|
290
|
+
- lib/active_graph/migrations/helpers/id_property.rb
|
291
|
+
- lib/active_graph/migrations/helpers/relationships.rb
|
292
|
+
- lib/active_graph/migrations/helpers/schema.rb
|
293
|
+
- lib/active_graph/migrations/migration_file.rb
|
294
|
+
- lib/active_graph/migrations/runner.rb
|
295
|
+
- lib/active_graph/migrations/schema.rb
|
296
|
+
- lib/active_graph/migrations/schema_migration.rb
|
297
|
+
- lib/active_graph/model_schema.rb
|
298
|
+
- lib/active_graph/node.rb
|
299
|
+
- lib/active_graph/node/callbacks.rb
|
300
|
+
- lib/active_graph/node/dependent.rb
|
301
|
+
- lib/active_graph/node/dependent/association_methods.rb
|
302
|
+
- lib/active_graph/node/dependent/query_proxy_methods.rb
|
303
|
+
- lib/active_graph/node/dependent_callbacks.rb
|
304
|
+
- lib/active_graph/node/enum.rb
|
305
|
+
- lib/active_graph/node/has_n.rb
|
306
|
+
- lib/active_graph/node/has_n/association.rb
|
307
|
+
- lib/active_graph/node/has_n/association/rel_factory.rb
|
308
|
+
- lib/active_graph/node/has_n/association/rel_wrapper.rb
|
309
|
+
- lib/active_graph/node/has_n/association_cypher_methods.rb
|
310
|
+
- lib/active_graph/node/id_property.rb
|
311
|
+
- lib/active_graph/node/id_property/accessor.rb
|
312
|
+
- lib/active_graph/node/initialize.rb
|
313
|
+
- lib/active_graph/node/labels.rb
|
314
|
+
- lib/active_graph/node/labels/index.rb
|
315
|
+
- lib/active_graph/node/labels/reloading.rb
|
316
|
+
- lib/active_graph/node/node_list_formatter.rb
|
317
|
+
- lib/active_graph/node/node_wrapper.rb
|
318
|
+
- lib/active_graph/node/orm_adapter.rb
|
319
|
+
- lib/active_graph/node/persistence.rb
|
320
|
+
- lib/active_graph/node/property.rb
|
321
|
+
- lib/active_graph/node/query.rb
|
322
|
+
- lib/active_graph/node/query/query_proxy.rb
|
323
|
+
- lib/active_graph/node/query/query_proxy_eager_loading.rb
|
324
|
+
- lib/active_graph/node/query/query_proxy_eager_loading/association_tree.rb
|
325
|
+
- lib/active_graph/node/query/query_proxy_enumerable.rb
|
326
|
+
- lib/active_graph/node/query/query_proxy_find_in_batches.rb
|
327
|
+
- lib/active_graph/node/query/query_proxy_link.rb
|
328
|
+
- lib/active_graph/node/query/query_proxy_methods.rb
|
329
|
+
- lib/active_graph/node/query/query_proxy_methods_of_mass_updating.rb
|
330
|
+
- lib/active_graph/node/query_methods.rb
|
331
|
+
- lib/active_graph/node/reflection.rb
|
332
|
+
- lib/active_graph/node/rels.rb
|
333
|
+
- lib/active_graph/node/scope.rb
|
334
|
+
- lib/active_graph/node/unpersisted.rb
|
335
|
+
- lib/active_graph/node/validations.rb
|
336
|
+
- lib/active_graph/paginated.rb
|
337
|
+
- lib/active_graph/railtie.rb
|
338
|
+
- lib/active_graph/relationship.rb
|
339
|
+
- lib/active_graph/relationship/callbacks.rb
|
340
|
+
- lib/active_graph/relationship/initialize.rb
|
341
|
+
- lib/active_graph/relationship/persistence.rb
|
342
|
+
- lib/active_graph/relationship/persistence/query_factory.rb
|
343
|
+
- lib/active_graph/relationship/property.rb
|
344
|
+
- lib/active_graph/relationship/query.rb
|
345
|
+
- lib/active_graph/relationship/rel_wrapper.rb
|
346
|
+
- lib/active_graph/relationship/related_node.rb
|
347
|
+
- lib/active_graph/relationship/types.rb
|
348
|
+
- lib/active_graph/relationship/validations.rb
|
349
|
+
- lib/active_graph/schema/operation.rb
|
350
|
+
- lib/active_graph/shared.rb
|
351
|
+
- lib/active_graph/shared/attributes.rb
|
352
|
+
- lib/active_graph/shared/callbacks.rb
|
353
|
+
- lib/active_graph/shared/cypher.rb
|
354
|
+
- lib/active_graph/shared/declared_properties.rb
|
355
|
+
- lib/active_graph/shared/declared_property.rb
|
356
|
+
- lib/active_graph/shared/declared_property/index.rb
|
357
|
+
- lib/active_graph/shared/enum.rb
|
358
|
+
- lib/active_graph/shared/filtered_hash.rb
|
359
|
+
- lib/active_graph/shared/identity.rb
|
360
|
+
- lib/active_graph/shared/initialize.rb
|
361
|
+
- lib/active_graph/shared/marshal.rb
|
362
|
+
- lib/active_graph/shared/mass_assignment.rb
|
363
|
+
- lib/active_graph/shared/permitted_attributes.rb
|
364
|
+
- lib/active_graph/shared/persistence.rb
|
365
|
+
- lib/active_graph/shared/property.rb
|
366
|
+
- lib/active_graph/shared/query_factory.rb
|
367
|
+
- lib/active_graph/shared/rel_type_converters.rb
|
368
|
+
- lib/active_graph/shared/serialized_properties.rb
|
369
|
+
- lib/active_graph/shared/type_converters.rb
|
370
|
+
- lib/active_graph/shared/typecasted_attributes.rb
|
371
|
+
- lib/active_graph/shared/typecaster.rb
|
372
|
+
- lib/active_graph/shared/validations.rb
|
373
|
+
- lib/active_graph/tasks/migration.rake
|
374
|
+
- lib/active_graph/timestamps.rb
|
375
|
+
- lib/active_graph/timestamps/created.rb
|
376
|
+
- lib/active_graph/timestamps/updated.rb
|
377
|
+
- lib/active_graph/transaction.rb
|
378
|
+
- lib/active_graph/transactions.rb
|
379
|
+
- lib/active_graph/type_converters.rb
|
380
|
+
- lib/active_graph/undeclared_properties.rb
|
381
|
+
- lib/active_graph/version.rb
|
382
|
+
- lib/active_graph/wrapper.rb
|
381
383
|
- lib/rails/generators/neo4j/migration/migration_generator.rb
|
382
384
|
- lib/rails/generators/neo4j/migration/templates/migration.erb
|
383
385
|
- lib/rails/generators/neo4j/model/model_generator.rb
|
@@ -386,15 +388,14 @@ files:
|
|
386
388
|
- lib/rails/generators/neo4j/upgrade_v8/templates/migration.erb
|
387
389
|
- lib/rails/generators/neo4j/upgrade_v8/upgrade_v8_generator.rb
|
388
390
|
- lib/rails/generators/neo4j_generator.rb
|
389
|
-
|
390
|
-
homepage: https://github.com/neo4jrb/neo4j/
|
391
|
+
homepage: https://github.com/neo4jrb/activegraph/
|
391
392
|
licenses:
|
392
393
|
- MIT
|
393
394
|
metadata:
|
394
395
|
homepage_uri: http://neo4jrb.io/
|
395
|
-
changelog_uri: https://github.com/neo4jrb/
|
396
|
-
source_code_uri: https://github.com/neo4jrb/
|
397
|
-
bug_tracker_uri: https://github.com/neo4jrb/
|
396
|
+
changelog_uri: https://github.com/neo4jrb/activegraph/blob/master/CHANGELOG.md
|
397
|
+
source_code_uri: https://github.com/neo4jrb/activegraph/
|
398
|
+
bug_tracker_uri: https://github.com/neo4jrb/activegraph/issues
|
398
399
|
post_install_message:
|
399
400
|
rdoc_options:
|
400
401
|
- "--quiet"
|