lib/indexer/attributes.rb in indexer-0.2.0 vs lib/indexer/attributes.rb in indexer-0.3.0
- old
+ new
@@ -78,20 +78,22 @@
attr_accessor :resources
# The repository URLs for the project.
attr_accessor :repositories
- # TODO: Might webcvs simply be taken from the first repository instead?
+ # TODO: Might webcvs simply be taken from a repository?
+ # Or perhaps from a specifically labeled resource?
# URI for linking to source code.
attr_accessor :webcvs
# Map of path sets which can be used to identify paths within the project.
+ # The actual path keys largely depend on the project type, but in general
+ # should reflect the FHS,
#
- # For example, the `load` key is used by Ruby projectss to define which paths
- # to search within the project when requiring files.
- #
+ # For example, the `lib` path key is used by Ruby projects to designate
+ # which project paths to search within when requiring files.
attr_accessor :paths
# List of language engine/version family supported.
attr_accessor :engines
@@ -140,12 +142,12 @@
# The toplevel namespace of API, e.g. `module Foo` or `class Bar`.
# NOTE: how to best handle this?
attr_accessor :namespace
- # Any user-defined extraneous metadata.
- #attr_accessor :extra
+ # The names of any user-defined fields.
+ attr_accessor :customs
protected
#
# Initializes the {Metadata} attributes.
@@ -164,10 +166,11 @@
:requirements => [],
:conflicts => [],
:repositories => [],
:resources => [],
:categories => [],
- :paths => {'load' => ['lib']}
+ :customs => [],
+ :paths => {'lib' => ['lib']}
}
end
end