neo4apis-activerecord 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/neo4apis/cli/activerecord.rb +0 -2
- data/neo4apis-activerecord.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0706c9d104595af2a52ddbc315361902f558f0c9
|
|
4
|
+
data.tar.gz: 07ff2e98764387cb0e69fd2aed3c3c08dcbb3821
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1aa43e045756944de599cad3db6bac7f0b1c209ed12d6df6f33c743a7c068d5fbd9aca687603bf6394dbf7b946941f287c15d2c420ae11879aea6af0743c0d8
|
|
7
|
+
data.tar.gz: 87514ff0ad2d9cced4bf0272fba7524b8f0810fdc341c8b1dfa125e4eb14842e11460d0bd79fbda733ff74ba1b3c86987f8c84f4368b923217b8067b0c108db5
|
data/README.md
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
Without existing ActiveRecord application:
|
|
8
8
|
|
|
9
|
-
neo4apis activerecord all_tables --import-all-associations
|
|
9
|
+
neo4apis activerecord all_tables --identify-model --import-all-associations
|
|
10
10
|
|
|
11
11
|
or
|
|
12
12
|
|
|
13
|
-
neo4apis activerecord tables posts comments --import-all-associations
|
|
13
|
+
neo4apis activerecord tables posts comments --identify-model --import-all-associations
|
|
14
14
|
|
|
15
15
|
With existing ActiveRecord application:
|
|
16
16
|
|
|
@@ -6,8 +6,6 @@ require 'colorize'
|
|
|
6
6
|
module Neo4Apis
|
|
7
7
|
module CLI
|
|
8
8
|
class ActiveRecord < Thor
|
|
9
|
-
class_option :config_path, type: :string, default: 'config/database.yml'
|
|
10
|
-
|
|
11
9
|
class_option :import_all_associations, type: :boolean, default: false, desc: 'Shortcut for --import-belongs-to --import-has-many --import-has-one'
|
|
12
10
|
class_option :import_belongs_to, type: :boolean, default: nil
|
|
13
11
|
class_option :import_has_one, type: :boolean, default: nil
|