Sha256: 367e74968996883285c4ae3020d6f243233fb98a8653307585d5c345f6ddeaff

Contents?: true

Size: 884 Bytes

Versions: 5

Compression:

Stored size: 884 Bytes

Contents

require 'rails'

module ReleaseNotes
  # Name of application using ReleaseNotes.
  mattr_accessor :app_name
  @@app_name = 'AppNameGoesHere'

  # Version to start ReleaseNotes if there are none.
  mattr_accessor :starting_version
  @@starting_version = '0.1.0'

  # Model name of the model created to store release notes.
  mattr_accessor :release_note_model
  @@release_note_model = 'ReleaseNote'

  # Name of the folder where release notes are stored.
  mattr_accessor :release_note_folder
  @@release_note_folder = 'release_notes'

  # Path that ReleaseNotes::Engine is mounted at in the config/routes.rb file.
  mattr_accessor :mount_at
  @@mount_at = 'release_notes'

  # Default way to setup ReleaseNotes. Run rails g release_notes:install
  # to create a fresh initializer with all configuration values.
  def self.setup
    yield self
  end
end

require 'release_notes/engine'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
release_notes-1.0.4 lib/release_notes.rb
release_notes-1.0.3 lib/release_notes.rb
release_notes-1.0.1 lib/release_notes.rb
release_notes-1.0.0 lib/release_notes.rb
release_notes-0.5.1 lib/release_notes.rb