Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
scrapbook / lib / generators / scrapbook / install / templates / initializer.rb.erb
Size: Mime:
Scrapbook.configure do |config|
  # Define your metadata fields
  config.register_field :taken_on, :datetime_field
  config.register_field :caption, :text_area
  config.register_field :notes, :text_area
  config.register_field :source
  config.register_field :alt_text

  # Define your file contexts
  # config.register_context :hero, target_resolution: [1200, 400]
  # config.register_context :gallery, many: true, target_resolution: [800, 500]
  # config.register_context :attached_doc, allow_generics: true
end