lib/neo4j/config.rb in neo4j-8.0.0.alpha.2 vs lib/neo4j/config.rb in neo4j-8.0.0.alpha.4

- old
+ new

@@ -93,9 +93,13 @@ # @return [String] The config as a YAML def to_yaml configuration.to_yaml end + def fail_on_pending_migrations + Neo4j::Config[:fail_on_pending_migrations].nil? ? true : Neo4j::Config[:fail_on_pending_migrations] + end + def include_root_in_json # we use ternary because a simple || will always evaluate true Neo4j::Config[:include_root_in_json].nil? ? true : Neo4j::Config[:include_root_in_json] end