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.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/{neo4j.gemspec → activegraph.gemspec} +7 -9
  4. data/config/neo4j/config.yml +4 -4
  5. data/lib/active_graph.rb +120 -0
  6. data/lib/{neo4j → active_graph}/ansi.rb +1 -1
  7. data/lib/{neo4j → active_graph}/attribute_set.rb +3 -3
  8. data/lib/{neo4j/active_base.rb → active_graph/base.rb} +18 -12
  9. data/lib/{neo4j → active_graph}/class_arguments.rb +5 -5
  10. data/lib/{neo4j → active_graph}/config.rb +10 -10
  11. data/lib/active_graph/core.rb +14 -0
  12. data/lib/{neo4j → active_graph}/core/connection_failed_error.rb +1 -1
  13. data/lib/{neo4j → active_graph}/core/cypher_error.rb +1 -1
  14. data/lib/{neo4j → active_graph}/core/driver.rb +5 -5
  15. data/lib/{neo4j → active_graph}/core/has_uri.rb +1 -1
  16. data/lib/{neo4j → active_graph}/core/instrumentable.rb +4 -4
  17. data/lib/{neo4j → active_graph}/core/label.rb +13 -13
  18. data/lib/{neo4j → active_graph}/core/logging.rb +2 -2
  19. data/lib/{neo4j → active_graph}/core/node.rb +2 -2
  20. data/lib/{neo4j → active_graph}/core/querable.rb +7 -7
  21. data/lib/{neo4j → active_graph}/core/query.rb +16 -16
  22. data/lib/{neo4j → active_graph}/core/query_builder.rb +3 -3
  23. data/lib/{neo4j → active_graph}/core/query_clauses.rb +1 -1
  24. data/lib/{neo4j → active_graph}/core/query_ext.rb +5 -5
  25. data/lib/{neo4j → active_graph}/core/query_find_in_batches.rb +2 -2
  26. data/lib/{neo4j → active_graph}/core/relationship.rb +2 -2
  27. data/lib/{neo4j → active_graph}/core/responses.rb +3 -3
  28. data/lib/{neo4j → active_graph}/core/result.rb +1 -1
  29. data/lib/{neo4j → active_graph}/core/schema.rb +1 -1
  30. data/lib/{neo4j → active_graph}/core/schema_errors.rb +1 -1
  31. data/lib/{neo4j → active_graph}/core/wrappable.rb +1 -1
  32. data/lib/{neo4j → active_graph}/errors.rb +1 -1
  33. data/lib/{neo4j → active_graph}/lazy_attribute_hash.rb +1 -1
  34. data/lib/{neo4j → active_graph}/migration.rb +11 -11
  35. data/lib/{neo4j → active_graph}/migrations.rb +5 -5
  36. data/lib/{neo4j → active_graph}/migrations/base.rb +7 -7
  37. data/lib/{neo4j → active_graph}/migrations/check_pending.rb +3 -3
  38. data/lib/{neo4j → active_graph}/migrations/helpers.rb +4 -4
  39. data/lib/{neo4j → active_graph}/migrations/helpers/id_property.rb +3 -3
  40. data/lib/{neo4j → active_graph}/migrations/helpers/relationships.rb +1 -1
  41. data/lib/{neo4j → active_graph}/migrations/helpers/schema.rb +7 -7
  42. data/lib/{neo4j → active_graph}/migrations/migration_file.rb +1 -1
  43. data/lib/{neo4j → active_graph}/migrations/runner.rb +3 -3
  44. data/lib/{neo4j → active_graph}/migrations/schema.rb +1 -1
  45. data/lib/{neo4j → active_graph}/migrations/schema_migration.rb +2 -2
  46. data/lib/{neo4j → active_graph}/model_schema.rb +8 -8
  47. data/lib/{neo4j/active_node.rb → active_graph/node.rb} +32 -32
  48. data/lib/{neo4j/active_node → active_graph/node}/callbacks.rb +3 -3
  49. data/lib/{neo4j/active_node → active_graph/node}/dependent.rb +2 -2
  50. data/lib/{neo4j/active_node → active_graph/node}/dependent/association_methods.rb +2 -2
  51. data/lib/{neo4j/active_node → active_graph/node}/dependent/query_proxy_methods.rb +4 -4
  52. data/lib/{neo4j/active_node → active_graph/node}/dependent_callbacks.rb +4 -4
  53. data/lib/{neo4j/active_node → active_graph/node}/enum.rb +3 -3
  54. data/lib/{neo4j/active_node → active_graph/node}/has_n.rb +20 -20
  55. data/lib/{neo4j/active_node → active_graph/node}/has_n/association.rb +8 -8
  56. data/lib/{neo4j/active_node → active_graph/node}/has_n/association/rel_factory.rb +4 -4
  57. data/lib/{neo4j/active_node → active_graph/node}/has_n/association/rel_wrapper.rb +4 -4
  58. data/lib/{neo4j/active_node → active_graph/node}/has_n/association_cypher_methods.rb +2 -2
  59. data/lib/{neo4j/active_node → active_graph/node}/id_property.rb +7 -7
  60. data/lib/{neo4j/active_node → active_graph/node}/id_property/accessor.rb +1 -1
  61. data/lib/{neo4j/active_node → active_graph/node}/initialize.rb +3 -3
  62. data/lib/{neo4j/active_node → active_graph/node}/labels.rb +18 -18
  63. data/lib/{neo4j/active_node → active_graph/node}/labels/index.rb +6 -6
  64. data/lib/{neo4j/active_node → active_graph/node}/labels/reloading.rb +1 -1
  65. data/lib/{neo4j/active_node → active_graph/node}/node_list_formatter.rb +1 -1
  66. data/lib/{neo4j/active_node → active_graph/node}/node_wrapper.rb +5 -5
  67. data/lib/{neo4j/active_node → active_graph/node}/orm_adapter.rb +2 -2
  68. data/lib/{neo4j/active_node → active_graph/node}/persistence.rb +7 -7
  69. data/lib/{neo4j/active_node → active_graph/node}/property.rb +3 -3
  70. data/lib/{neo4j/active_node → active_graph/node}/query.rb +9 -9
  71. data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy.rb +19 -19
  72. data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_eager_loading.rb +3 -3
  73. data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_eager_loading/association_tree.rb +2 -2
  74. data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_enumerable.rb +4 -4
  75. data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_find_in_batches.rb +2 -2
  76. data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_link.rb +3 -3
  77. data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_methods.rb +12 -12
  78. data/lib/{neo4j/active_node → active_graph/node}/query/query_proxy_methods_of_mass_updating.rb +4 -4
  79. data/lib/{neo4j/active_node → active_graph/node}/query_methods.rb +4 -4
  80. data/lib/{neo4j/active_node → active_graph/node}/reflection.rb +3 -3
  81. data/lib/{neo4j/active_node → active_graph/node}/rels.rb +1 -1
  82. data/lib/{neo4j/active_node → active_graph/node}/scope.rb +4 -4
  83. data/lib/{neo4j/active_node → active_graph/node}/unpersisted.rb +2 -2
  84. data/lib/{neo4j/active_node → active_graph/node}/validations.rb +3 -3
  85. data/lib/{neo4j → active_graph}/paginated.rb +1 -1
  86. data/lib/{neo4j → active_graph}/railtie.rb +18 -18
  87. data/lib/{neo4j/active_rel.rb → active_graph/relationship.rb} +19 -19
  88. data/lib/active_graph/relationship/callbacks.rb +21 -0
  89. data/lib/{neo4j/active_rel → active_graph/relationship}/initialize.rb +5 -5
  90. data/lib/{neo4j/active_rel → active_graph/relationship}/persistence.rb +6 -6
  91. data/lib/{neo4j/active_rel → active_graph/relationship}/persistence/query_factory.rb +7 -7
  92. data/lib/{neo4j/active_rel → active_graph/relationship}/property.rb +6 -6
  93. data/lib/{neo4j/active_rel → active_graph/relationship}/query.rb +7 -7
  94. data/lib/{neo4j/active_rel → active_graph/relationship}/rel_wrapper.rb +5 -5
  95. data/lib/{neo4j/active_rel → active_graph/relationship}/related_node.rb +7 -7
  96. data/lib/{neo4j/active_rel → active_graph/relationship}/types.rb +6 -6
  97. data/lib/active_graph/relationship/validations.rb +8 -0
  98. data/lib/{neo4j → active_graph}/schema/operation.rb +5 -5
  99. data/lib/{neo4j → active_graph}/shared.rb +7 -7
  100. data/lib/{neo4j → active_graph}/shared/attributes.rb +10 -10
  101. data/lib/{neo4j → active_graph}/shared/callbacks.rb +3 -3
  102. data/lib/{neo4j → active_graph}/shared/cypher.rb +1 -1
  103. data/lib/{neo4j → active_graph}/shared/declared_properties.rb +8 -8
  104. data/lib/{neo4j → active_graph}/shared/declared_property.rb +9 -9
  105. data/lib/{neo4j → active_graph}/shared/declared_property/index.rb +3 -3
  106. data/lib/{neo4j → active_graph}/shared/enum.rb +6 -6
  107. data/lib/{neo4j → active_graph}/shared/filtered_hash.rb +2 -2
  108. data/lib/{neo4j → active_graph}/shared/identity.rb +2 -2
  109. data/lib/{neo4j → active_graph}/shared/initialize.rb +3 -3
  110. data/lib/{neo4j → active_graph}/shared/marshal.rb +1 -1
  111. data/lib/{neo4j → active_graph}/shared/mass_assignment.rb +2 -2
  112. data/lib/{neo4j → active_graph}/shared/permitted_attributes.rb +1 -1
  113. data/lib/{neo4j → active_graph}/shared/persistence.rb +4 -4
  114. data/lib/{neo4j → active_graph}/shared/property.rb +10 -10
  115. data/lib/{neo4j → active_graph}/shared/query_factory.rb +5 -5
  116. data/lib/{neo4j → active_graph}/shared/rel_type_converters.rb +6 -6
  117. data/lib/{neo4j → active_graph}/shared/serialized_properties.rb +1 -1
  118. data/lib/{neo4j → active_graph}/shared/type_converters.rb +11 -13
  119. data/lib/{neo4j → active_graph}/shared/typecasted_attributes.rb +7 -7
  120. data/lib/{neo4j → active_graph}/shared/typecaster.rb +3 -3
  121. data/lib/{neo4j → active_graph}/shared/validations.rb +1 -1
  122. data/lib/{neo4j → active_graph}/tasks/migration.rake +25 -25
  123. data/lib/{neo4j → active_graph}/timestamps.rb +3 -3
  124. data/lib/{neo4j → active_graph}/timestamps/created.rb +1 -1
  125. data/lib/{neo4j → active_graph}/timestamps/updated.rb +1 -1
  126. data/lib/{neo4j → active_graph}/transaction.rb +9 -9
  127. data/lib/active_graph/transactions.rb +54 -0
  128. data/lib/{neo4j → active_graph}/type_converters.rb +2 -2
  129. data/lib/{neo4j → active_graph}/undeclared_properties.rb +1 -1
  130. data/lib/active_graph/version.rb +3 -0
  131. data/lib/{neo4j → active_graph}/wrapper.rb +1 -1
  132. data/lib/rails/generators/neo4j/migration/migration_generator.rb +4 -4
  133. data/lib/rails/generators/neo4j/migration/templates/migration.erb +2 -2
  134. data/lib/rails/generators/neo4j/model/model_generator.rb +4 -4
  135. data/lib/rails/generators/neo4j/model/templates/migration.erb +1 -1
  136. data/lib/rails/generators/neo4j/model/templates/model.erb +1 -1
  137. data/lib/rails/generators/neo4j/upgrade_v8/templates/migration.erb +1 -1
  138. data/lib/rails/generators/neo4j/upgrade_v8/upgrade_v8_generator.rb +6 -6
  139. data/lib/rails/generators/neo4j_generator.rb +4 -4
  140. metadata +134 -133
  141. data/lib/neo4j.rb +0 -119
  142. data/lib/neo4j/active_rel/callbacks.rb +0 -21
  143. data/lib/neo4j/active_rel/validations.rb +0 -8
  144. data/lib/neo4j/core.rb +0 -14
  145. data/lib/neo4j/version.rb +0 -3
@@ -1,7 +1,7 @@
1
- require 'neo4j/timestamps/created'
2
- require 'neo4j/timestamps/updated'
1
+ require 'active_graph/timestamps/created'
2
+ require 'active_graph/timestamps/updated'
3
3
 
4
- module Neo4j
4
+ module ActiveGraph
5
5
  # This mixin includes timestamps in the included class
6
6
  module Timestamps
7
7
  extend ActiveSupport::Concern
@@ -1,4 +1,4 @@
1
- module Neo4j
1
+ module ActiveGraph
2
2
  module Timestamps
3
3
  # This mixin includes a created_at timestamp property
4
4
  module Created
@@ -1,4 +1,4 @@
1
- module Neo4j
1
+ module ActiveGraph
2
2
  module Timestamps
3
3
  # This mixin includes a updated_at timestamp property
4
4
  module Updated
@@ -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 'neo4j/core/querable'
4
- require 'neo4j/core/schema'
3
+ require 'active_graph/core/querable'
4
+ require 'active_graph/core/schema'
5
5
 
6
- module Neo4j
6
+ module ActiveGraph
7
7
  class Transaction
8
- include Neo4j::Core::Querable
9
- extend Neo4j::Core::Schema
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 [Neo4j::Transaction::Instance]
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 = Neo4j::Transaction.new
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 = ActiveBase.current_driver.driver.session(Neo4j::Driver::AccessMode::WRITE)
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?(::Neo4j::Core::Query)
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 Neo4j
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 Neo4j::Shared::TypeConverters
5
+ include ActiveGraph::Shared::TypeConverters
6
6
  end
7
7
  end
@@ -1,4 +1,4 @@
1
- module Neo4j
1
+ module ActiveGraph
2
2
  # This mixin allows storage and update of undeclared properties in the included class
3
3
  module UndeclaredProperties
4
4
  extend ActiveSupport::Concern
@@ -0,0 +1,3 @@
1
+ module ActiveGraph
2
+ VERSION = '10.0.0-beta.1'
3
+ end
@@ -1,4 +1,4 @@
1
- module Neo4j
1
+ module ActiveGraph
2
2
  module ClassWrapper
3
3
  end
4
4
  end
@@ -1,10 +1,10 @@
1
- require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'neo4j.rb')
1
+ require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'active_graph.rb')
2
2
 
3
- module Neo4j
3
+ module ActiveGraph
4
4
  module Generators
5
5
  class MigrationGenerator < ::Rails::Generators::NamedBase
6
- include ::Neo4j::Generators::SourcePathHelper
7
- include ::Neo4j::Generators::MigrationHelper
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 %> < Neo4j::Migrations::Base
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 Neo4j::IrreversibleMigration
7
+ raise ActiveGraph::IrreversibleMigration
8
8
  end
9
9
  end
@@ -1,8 +1,8 @@
1
- require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'neo4j.rb')
1
+ require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'active_graph.rb')
2
2
 
3
- class Neo4j::Generators::ModelGenerator < Rails::Generators::NamedBase #:nodoc:
4
- include ::Neo4j::Generators::SourcePathHelper
5
- include ::Neo4j::Generators::MigrationHelper
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,4 +1,4 @@
1
- class Create<%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base
1
+ class Create<%= @migration_class_name.underscore.camelize %> < ActiveGraph::Migrations::Base
2
2
  def up
3
3
  add_constraint :<%= class_name %>, :uuid
4
4
  end
@@ -1,5 +1,5 @@
1
1
  class <%= class_name %> <%= parent? ? "#{options[:parent].classify}" : "" %>
2
- include Neo4j::ActiveNode
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,4 +1,4 @@
1
- class <%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base
1
+ class <%= @migration_class_name.underscore.camelize %> < ActiveGraph::Migrations::Base
2
2
  def up
3
3
  <% @schema.each do |type, data|
4
4
  data.each do |element| %>
@@ -1,10 +1,10 @@
1
- require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'neo4j.rb')
1
+ require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'active_graph.rb')
2
2
 
3
- module Neo4j
3
+ module ActiveGraph
4
4
  module Generators
5
5
  class UpgradeV8Generator < ::Rails::Generators::Base
6
- include ::Neo4j::Generators::SourcePathHelper
7
- include ::Neo4j::Generators::MigrationHelper
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
- Neo4j::ModelSchema.legacy_model_schema_informations
23
+ ActiveGraph::ModelSchema.legacy_model_schema_informations
24
24
  end
25
25
 
26
26
  def initialize_all_models!
27
- models = Neo4j::ActiveNode.loaded_classes
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 Neo4j
4
+ module ActiveGraph
5
5
  module Generators #:nodoc:
6
6
  end
7
7
  end
8
8
 
9
- module Neo4j::Generators::MigrationHelper
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 Neo4j::Generators::SourcePathHelper
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 Neo4j::Generators::ActiveModel < Rails::Generators::ActiveModel #:nodoc:
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.alpha.11
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-02-20 00:00:00.000000000 Z
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/neo4j.rb
256
- - lib/neo4j/active_base.rb
257
- - lib/neo4j/active_node.rb
258
- - lib/neo4j/active_node/callbacks.rb
259
- - lib/neo4j/active_node/dependent.rb
260
- - lib/neo4j/active_node/dependent/association_methods.rb
261
- - lib/neo4j/active_node/dependent/query_proxy_methods.rb
262
- - lib/neo4j/active_node/dependent_callbacks.rb
263
- - lib/neo4j/active_node/enum.rb
264
- - lib/neo4j/active_node/has_n.rb
265
- - lib/neo4j/active_node/has_n/association.rb
266
- - lib/neo4j/active_node/has_n/association/rel_factory.rb
267
- - lib/neo4j/active_node/has_n/association/rel_wrapper.rb
268
- - lib/neo4j/active_node/has_n/association_cypher_methods.rb
269
- - lib/neo4j/active_node/id_property.rb
270
- - lib/neo4j/active_node/id_property/accessor.rb
271
- - lib/neo4j/active_node/initialize.rb
272
- - lib/neo4j/active_node/labels.rb
273
- - lib/neo4j/active_node/labels/index.rb
274
- - lib/neo4j/active_node/labels/reloading.rb
275
- - lib/neo4j/active_node/node_list_formatter.rb
276
- - lib/neo4j/active_node/node_wrapper.rb
277
- - lib/neo4j/active_node/orm_adapter.rb
278
- - lib/neo4j/active_node/persistence.rb
279
- - lib/neo4j/active_node/property.rb
280
- - lib/neo4j/active_node/query.rb
281
- - lib/neo4j/active_node/query/query_proxy.rb
282
- - lib/neo4j/active_node/query/query_proxy_eager_loading.rb
283
- - lib/neo4j/active_node/query/query_proxy_eager_loading/association_tree.rb
284
- - lib/neo4j/active_node/query/query_proxy_enumerable.rb
285
- - lib/neo4j/active_node/query/query_proxy_find_in_batches.rb
286
- - lib/neo4j/active_node/query/query_proxy_link.rb
287
- - lib/neo4j/active_node/query/query_proxy_methods.rb
288
- - lib/neo4j/active_node/query/query_proxy_methods_of_mass_updating.rb
289
- - lib/neo4j/active_node/query_methods.rb
290
- - lib/neo4j/active_node/reflection.rb
291
- - lib/neo4j/active_node/rels.rb
292
- - lib/neo4j/active_node/scope.rb
293
- - lib/neo4j/active_node/unpersisted.rb
294
- - lib/neo4j/active_node/validations.rb
295
- - lib/neo4j/active_rel.rb
296
- - lib/neo4j/active_rel/callbacks.rb
297
- - lib/neo4j/active_rel/initialize.rb
298
- - lib/neo4j/active_rel/persistence.rb
299
- - lib/neo4j/active_rel/persistence/query_factory.rb
300
- - lib/neo4j/active_rel/property.rb
301
- - lib/neo4j/active_rel/query.rb
302
- - lib/neo4j/active_rel/rel_wrapper.rb
303
- - lib/neo4j/active_rel/related_node.rb
304
- - lib/neo4j/active_rel/types.rb
305
- - lib/neo4j/active_rel/validations.rb
306
- - lib/neo4j/ansi.rb
307
- - lib/neo4j/attribute_set.rb
308
- - lib/neo4j/class_arguments.rb
309
- - lib/neo4j/config.rb
310
- - lib/neo4j/core.rb
311
- - lib/neo4j/core/connection_failed_error.rb
312
- - lib/neo4j/core/cypher_error.rb
313
- - lib/neo4j/core/driver.rb
314
- - lib/neo4j/core/has_uri.rb
315
- - lib/neo4j/core/instrumentable.rb
316
- - lib/neo4j/core/label.rb
317
- - lib/neo4j/core/logging.rb
318
- - lib/neo4j/core/node.rb
319
- - lib/neo4j/core/querable.rb
320
- - lib/neo4j/core/query.rb
321
- - lib/neo4j/core/query_builder.rb
322
- - lib/neo4j/core/query_clauses.rb
323
- - lib/neo4j/core/query_ext.rb
324
- - lib/neo4j/core/query_find_in_batches.rb
325
- - lib/neo4j/core/relationship.rb
326
- - lib/neo4j/core/responses.rb
327
- - lib/neo4j/core/result.rb
328
- - lib/neo4j/core/schema.rb
329
- - lib/neo4j/core/schema_errors.rb
330
- - lib/neo4j/core/wrappable.rb
331
- - lib/neo4j/errors.rb
332
- - lib/neo4j/lazy_attribute_hash.rb
333
- - lib/neo4j/migration.rb
334
- - lib/neo4j/migrations.rb
335
- - lib/neo4j/migrations/base.rb
336
- - lib/neo4j/migrations/check_pending.rb
337
- - lib/neo4j/migrations/helpers.rb
338
- - lib/neo4j/migrations/helpers/id_property.rb
339
- - lib/neo4j/migrations/helpers/relationships.rb
340
- - lib/neo4j/migrations/helpers/schema.rb
341
- - lib/neo4j/migrations/migration_file.rb
342
- - lib/neo4j/migrations/runner.rb
343
- - lib/neo4j/migrations/schema.rb
344
- - lib/neo4j/migrations/schema_migration.rb
345
- - lib/neo4j/model_schema.rb
346
- - lib/neo4j/paginated.rb
347
- - lib/neo4j/railtie.rb
348
- - lib/neo4j/schema/operation.rb
349
- - lib/neo4j/shared.rb
350
- - lib/neo4j/shared/attributes.rb
351
- - lib/neo4j/shared/callbacks.rb
352
- - lib/neo4j/shared/cypher.rb
353
- - lib/neo4j/shared/declared_properties.rb
354
- - lib/neo4j/shared/declared_property.rb
355
- - lib/neo4j/shared/declared_property/index.rb
356
- - lib/neo4j/shared/enum.rb
357
- - lib/neo4j/shared/filtered_hash.rb
358
- - lib/neo4j/shared/identity.rb
359
- - lib/neo4j/shared/initialize.rb
360
- - lib/neo4j/shared/marshal.rb
361
- - lib/neo4j/shared/mass_assignment.rb
362
- - lib/neo4j/shared/permitted_attributes.rb
363
- - lib/neo4j/shared/persistence.rb
364
- - lib/neo4j/shared/property.rb
365
- - lib/neo4j/shared/query_factory.rb
366
- - lib/neo4j/shared/rel_type_converters.rb
367
- - lib/neo4j/shared/serialized_properties.rb
368
- - lib/neo4j/shared/type_converters.rb
369
- - lib/neo4j/shared/typecasted_attributes.rb
370
- - lib/neo4j/shared/typecaster.rb
371
- - lib/neo4j/shared/validations.rb
372
- - lib/neo4j/tasks/migration.rake
373
- - lib/neo4j/timestamps.rb
374
- - lib/neo4j/timestamps/created.rb
375
- - lib/neo4j/timestamps/updated.rb
376
- - lib/neo4j/transaction.rb
377
- - lib/neo4j/type_converters.rb
378
- - lib/neo4j/undeclared_properties.rb
379
- - lib/neo4j/version.rb
380
- - lib/neo4j/wrapper.rb
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
- - neo4j.gemspec
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/neo4j/blob/master/CHANGELOG.md
396
- source_code_uri: https://github.com/neo4jrb/neo4j/
397
- bug_tracker_uri: https://github.com/neo4jrb/neo4j/issues
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"