Sha256: 84c4d17d3a8f9b031f3f81cc2f40ad972a7bfb1a413cec92431ebe9235e431c2

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

# frozen_string_literal: true

require 'date_book/engine'

module DateBook
  require 'rails-i18n'

  require 'devise' # Needs to be required before paid_up/mixins
  require 'cancan'
  require 'rolify'

  require 'sass'
  require 'haml-rails'
  require 'bootstrap_leather'
  require 'bootstrap_form'
  require 'bootstrap-wysihtml5-rails'

  require 'schedulable'
  require 'fullcalendar-rails'

  require 'date_book/configuration'
  require 'date_book/engine'
  require 'date_book/localization'
  require 'date_book/version'

  require 'date_book/concerns/ability'
  require 'date_book/concerns/acts_as_calendar'
  require 'date_book/concerns/acts_as_event'
  require 'date_book/concerns/acts_as_event_occurrence'
  require 'date_book/concerns/acts_as_ownable'
  require 'date_book/concerns/acts_as_owner'
  require 'date_book/concerns/acts_as_schedule'
end

ActiveRecord::Base.send(:extend, DateBook::ActsAsOwnable)
ActiveRecord::Base.send(:extend, DateBook::ActsAsOwner)
ActiveRecord::Base.send(:extend, DateBook::ActsAsCalendar)
ActiveRecord::Base.send(:extend, DateBook::ActsAsEvent)
ActiveRecord::Base.send(:extend, DateBook::ActsAsEventOccurrence)
ActiveRecord::Base.send(:extend, DateBook::ActsAsSchedule)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
date_book-0.0.6 lib/date_book.rb
date_book-0.0.5 lib/date_book.rb
date_book-0.0.3 lib/date_book.rb
date_book-0.0.2 lib/date_book.rb
date_book-0.0.1 lib/date_book.rb