activegraph 12.0.0.beta.1 → 12.0.0.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_graph/railtie.rb +8 -11
- data/lib/active_graph/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55f646d350a7e6e2f28ad04a287d3d2ef61628316e66597cb9564c1701b04835
|
4
|
+
data.tar.gz: bc2308c17db0f2af70fa33a9bd7793cf2dae160a9a92388c842e46a92eb19972
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b99de518944d2e2135054264cd2b6934dc12c75bfb7f26ea2f0406c76c145149f7bf054b7e22f35e808fce9bfbddecafd17256b3329dcd81306cd22f60505b5
|
7
|
+
data.tar.gz: b95519d5f1aace3a542881318d59d1872015e97b15555e9a567bcb4c7036c7d4e64c9e2105c7c6043daf68b24e57a9099f57935d9b480d41e87ba919b9230c5d
|
data/lib/active_graph/railtie.rb
CHANGED
@@ -1,16 +1,13 @@
|
|
1
|
+
# Need the action_dispatch railtie to have action_dispatch.rescue_responses initialized correctly
|
2
|
+
require 'action_dispatch/railtie'
|
3
|
+
require 'rails/generators'
|
4
|
+
require 'rails/generators/active_model'
|
5
|
+
require 'rails/generators/named_base'
|
6
|
+
require 'rails/railtie'
|
7
|
+
require File.expand_path('../rails/generators/migration_helper.rb', __dir__)
|
8
|
+
Rails::Generators::GeneratedAttribute.include ActiveGraph::Generators::GeneratedAttribute
|
1
9
|
require 'active_graph'
|
2
10
|
|
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
11
|
module ActiveGraph
|
15
12
|
class Railtie < ::Rails::Railtie
|
16
13
|
def empty_config
|
data/lib/active_graph/version.rb
CHANGED