Sha256: 22bd36f50248efe11dfb560d8a4611c72c6a0458234e153e888bc1737eb411fb
Contents?: true
Size: 1010 Bytes
Versions: 2
Compression:
Stored size: 1010 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' # Model name of the model created to store broadcasts. mattr_accessor :broadcast_model @@broadcast_model = 'Broadcast' # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
release_notes-0.2.1 | lib/release_notes.rb |
release_notes-0.2.0 | lib/release_notes.rb |