Sha256: bc9f5938b14c4fd8c54892eebb9335004747229b69c0d31c331c9ca3954777bf

Contents?: true

Size: 629 Bytes

Versions: 4

Compression:

Stored size: 629 Bytes

Contents

# Loads all of the repositories, which isn't generally a good idea.
# Generally, do something like:
# 
# require 'repositories/array_cache'
# require 'repositories/hash_cache'

Dir.glob("#{File.dirname(__FILE__)}/ext/*.rb").each { |file| require file }


# It is important to only require the cache files, and not their support
# files.  These other files are required by the cache files, so
# everything is available.  The reason for this is because if we require
# one of the caches only, it needs to have all of its supporting files. 
Dir.glob("#{File.dirname(__FILE__)}/repositories/*_cache.rb").each { |file| require file }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
davidrichards-repositories-0.0.3 lib/repositories.rb
davidrichards-repositories-0.0.4 lib/repositories.rb
davidrichards-repositories-0.0.5 lib/repositories.rb
davidrichards-repositories-0.0.6 lib/repositories.rb