lib/indexer/attributes.rb in indexer-0.1.0 vs lib/indexer/attributes.rb in indexer-0.2.0
- old
+ new
@@ -83,12 +83,16 @@
# TODO: Might webcvs simply be taken from the first repository instead?
# URI for linking to source code.
attr_accessor :webcvs
- # The directories to search within the project when requiring files
- attr_accessor :load_path # :loadpath or :require_paths ?
+ # Map of path sets which can be used to identify paths within the project.
+ #
+ # For example, the `load` key is used by Ruby projectss to define which paths
+ # to search within the project when requiring files.
+ #
+ attr_accessor :paths
# List of language engine/version family supported.
attr_accessor :engines
# List of platforms supported.
@@ -160,10 +164,10 @@
:requirements => [],
:conflicts => [],
:repositories => [],
:resources => [],
:categories => [],
- :load_path => ['lib']
+ :paths => {'load' => ['lib']}
}
end
end