spec/metadata_spec.rb in activefacts-api-1.0.0 vs spec/metadata_spec.rb in activefacts-api-1.1.0

- old
+ new

@@ -15,22 +15,22 @@ ObjectType_methods = [ :has_one, :maybe, :one_to_one, :add_role, :all_role, :subtypes, :supertypes, :vocabulary, :all_role_transitive, # To make private: - :check_identifying_role_has_valid_cardinality, :realise_role, :supertypes_transitive, + :check_identifying_role_has_valid_cardinality, :realise_role, :supertypes_transitive, :subtypes_transitive, ] ValueType_methods = [ :assert_instance, :identifying_role_values, :index_instance, :inherited, :length, :restrict, :scale, :value_type, :verbalise ] Instance_methods = [ :constellation, :retract, :is_a?, # To remove or move to EntityType - :related_entities, :check_identification_change_legality, + :related_entities, :instance_index ] Value_methods = Instance_methods + [ :verbalise, :identifying_role_values ] @@ -50,10 +50,10 @@ ] Entity_methods = Instance_methods + [ :verbalise, :identifying_role_values, # To remove hide or rewrite: - :identity_by, :identity_as_hash + :identity_by, :identity_as_hash, :check_identification_change_legality, ] Cases = ValueClasses.map do |klass| # [String, Date, DateTime, Int, Real, AutoCounter, Decimal, Guid] { :name => "a #{klass}",