activegraph 11.5.0.beta.1 → 11.5.0.beta.3

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
  SHA256:
3
- metadata.gz: c217d68abf8f640ef01f10e2d7a5b96c6fe7b6f3c4499d24da58718a90646acc
4
- data.tar.gz: d8bcda3316fd7cdc1422eb47b186f6eb7d853752d138f014e53a0e425c2f3e4f
3
+ metadata.gz: 604940d80ab31b1106ef275f0effdab6f9544ae52f517180f980cae6e29ab82e
4
+ data.tar.gz: 94b07c78a4bce3a3436b817ef8e615f7757e4df47302f2ba8c51585a85c4bb1b
5
5
  SHA512:
6
- metadata.gz: fa79ae2d367a183fb0a5a26363f352d15767540288ae080558fc876854100ecf01815fb76be5460d1f638c3c1a8799a5b44f09e7ce5d0efc8faa8a74baf9c187
7
- data.tar.gz: e39a318db8e56067cffbd7ba216d3951184124cb36b48da420334475472d63d17bff7d70027d4d7a9e495d7cb4cb7d4dd8b27b9a4c3bf44e265b24503802b2fd
6
+ metadata.gz: 54481d30d30ebd5715b84d63ae9160631d6871afbc83ad2fdef2b1f4421dc06c97923fdd7494a409f9524a333464cc89cb20e358c1ea376ba791e60ff3269c2a
7
+ data.tar.gz: e16d4ade7abc7a352ef55a5189d731e9656fe531ff6f13d4607b6df3170dea6ac657731bd12a4dbaaae709b4e7018349fdeda1bb40029b842e9c38a5bcf587db
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ## Code Status
4
4
 
5
5
  [![Actively Maintained](https://img.shields.io/badge/Maintenance%20Level-Actively%20Maintained-green.svg)](https://gist.github.com/cheerfulstoic/d107229326a01ff0f333a1d3476e068d)
6
- [![Build Status](https://secure.travis-ci.org/neo4jrb/neo4j.svg?branch=master)](http://travis-ci.org/neo4jrb/neo4j)
6
+ [![Build Status](https://github.com/neo4jrb/activegraph/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/neo4jrb/activegraph/actions)
7
7
  [![Coverage Status](https://coveralls.io/repos/neo4jrb/neo4j/badge.svg?branch=master)](https://coveralls.io/r/neo4jrb/neo4j?branch=master)
8
8
  [![Code Climate](https://codeclimate.com/github/neo4jrb/neo4j.svg)](https://codeclimate.com/github/neo4jrb/neo4j)
9
9
 
@@ -11,7 +11,7 @@
11
11
 
12
12
  ### Documentation
13
13
 
14
- All new documentation will be done via our [readthedocs](http://neo4jrb.readthedocs.org) site, though some old documentation has yet to be moved from our [wiki](https://github.com/neo4jrb/neo4j/wiki)
14
+ All new documentation will be done via our [readthedocs](http://neo4jrb.readthedocs.org) site, though some old documentation has yet to be moved from our [wiki](https://github.com/neo4jrb/neo4j/wiki)
15
15
 
16
16
  ### Contact Us
17
17
 
@@ -47,20 +47,20 @@ Neo4j.rb v4.1.0 was released in January of 2015. Its changes are outlined [here]
47
47
 
48
48
  | **Neo4j Version** | v2.x | v3.x | >= v4.x | >= 7.0.3 | activegraph 10 | activegraph 11.1 |
49
49
  |-------------------|------|-------|---------|----------|------------------|------------------|
50
- | 1.9.x | Yes | No | No | No | No | No
51
- | 2.0.x | No | Yes | No | No | No | No
52
- | 2.1.x | No | Yes | Yes * | Yes | No | No
53
- | 2.2.x | No | No | Yes | Yes | No | No
54
- | 2.3.x | No | No | Yes | Yes | No | No
55
- | 3.0, 3.1, 3.3 | No | No | No | Yes | No | No
56
- | 3.4 | No | No | No | Yes | Yes | No
57
- | 3.5 | No | No | No | Yes | Yes | Yes
58
- | 4.0 | No | No | No | No | Yes | Yes
59
- | 4.1 | No | No | No | No | No | Yes
60
- | 4.2 | No | No | No | No | No | Yes
61
- | 4.3 | No | No | No | No | No | Yes
62
- | 4.4 | No | No | No | No | No | Yes
63
- | 5.x | No | No | No | No | No | Yes
50
+ | 1.9.x | Yes | No | No | No | No | No |
51
+ | 2.0.x | No | Yes | No | No | No | No |
52
+ | 2.1.x | No | Yes | Yes * | Yes | No | No |
53
+ | 2.2.x | No | No | Yes | Yes | No | No |
54
+ | 2.3.x | No | No | Yes | Yes | No | No |
55
+ | 3.0, 3.1, 3.3 | No | No | No | Yes | No | No |
56
+ | 3.4 | No | No | No | Yes | Yes | No |
57
+ | 3.5 | No | No | No | Yes | Yes | Yes |
58
+ | 4.0 | No | No | No | No | Yes | Yes |
59
+ | 4.1 | No | No | No | No | No | Yes |
60
+ | 4.2 | No | No | No | No | No | Yes |
61
+ | 4.3 | No | No | No | No | No | Yes |
62
+ | 4.4 | No | No | No | No | No | Yes |
63
+ | 5.x | No | No | No | No | No | Yes |
64
64
 
65
65
  `*` Neo4j.rb >= 4.x doesn't support Neo4j versions before 2.1.5. To use 2.1.x you should upgrade to a version >= 2.1.5
66
66
 
@@ -68,7 +68,7 @@ Neo4j.rb v4.1.0 was released in January of 2015. Its changes are outlined [here]
68
68
 
69
69
  | **Neo4j Feature** | v2.x | v3.x | >= v4.x | >= 8.x | >= activegraph 10.0 |
70
70
  |----------------------------|--------|------|---------|--------|---------------------|
71
- | Bolt Protocol | No | No | No | Yes | Yes |
71
+ | Bolt Protocol | No | No | No | Yes | Yes |
72
72
  | Auth | No | No | Yes | Yes | Yes |
73
73
  | Remote Cypher | Yes | Yes | Yes | Yes | No |
74
74
  | Transactions | Yes | Yes | Yes | Yes | Yes |
@@ -1,16 +1,8 @@
1
+ # Need the action_dispatch railtie to have action_dispatch.rescue_responses initialized correctly
2
+ require 'action_dispatch/railtie'
3
+ require 'rails/railtie'
1
4
  require 'active_graph'
2
5
 
3
- if defined?(Rails)
4
- # Need the action_dispatch railtie to have action_dispatch.rescue_responses initialized correctly
5
- require 'action_dispatch/railtie'
6
- require 'rails/generators'
7
- require 'rails/generators/active_model'
8
- require 'rails/generators/named_base'
9
- require 'rails/railtie'
10
- require File.expand_path('../rails/generators/migration_helper.rb', __dir__)
11
- Rails::Generators::GeneratedAttribute.include ActiveGraph::Generators::GeneratedAttribute
12
- end
13
-
14
6
  module ActiveGraph
15
7
  class Railtie < ::Rails::Railtie
16
8
  def empty_config
@@ -47,6 +39,13 @@ module ActiveGraph
47
39
  ActiveGraph::Config[:verbose_query_logs] = false
48
40
  end
49
41
 
42
+ # By default, Rails loads generators from load path.
43
+ # However, if we want to place generators at a different location we have to use "generators" hook
44
+ # https://api.rubyonrails.org/classes/Rails/Railtie.html
45
+ generators do
46
+ require File.expand_path('../rails/generators/migration_helper.rb', __dir__)
47
+ end
48
+
50
49
  # Starting Neo after :load_config_initializers allows apps to
51
50
  # register migrations in config/initializers
52
51
  initializer 'neo4j.start', after: :load_config_initializers do |app|
@@ -1,3 +1,3 @@
1
1
  module ActiveGraph
2
- VERSION = '11.5.0.beta.1'
2
+ VERSION = '11.5.0.beta.3'
3
3
  end
data/lib/active_graph.rb CHANGED
@@ -26,6 +26,8 @@ loader = Zeitwerk::Loader.for_gem
26
26
  loader.ignore(File.expand_path('rails', __dir__))
27
27
  loader.ignore(File.expand_path('active_graph/railtie.rb', __dir__))
28
28
  loader.inflector.inflect("ansi" => "ANSI")
29
+ module ActiveGraph
30
+ end
29
31
  loader.setup
30
32
  # loader.eager_load
31
33
 
@@ -101,3 +101,6 @@ module ActiveGraph
101
101
  end
102
102
  end
103
103
  end
104
+
105
+ require 'rails/generators/named_base'
106
+ Rails::Generators::GeneratedAttribute.include ActiveGraph::Generators::GeneratedAttribute
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: 11.5.0.beta.1
4
+ version: 11.5.0.beta.3
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: 2023-12-29 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -437,7 +437,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
437
437
  - !ruby/object:Gem::Version
438
438
  version: 1.3.1
439
439
  requirements: []
440
- rubygems_version: 3.3.26
440
+ rubygems_version: 3.4.10
441
441
  signing_key:
442
442
  specification_version: 4
443
443
  summary: A graph database for Ruby