Sha256: 155db7a2361fc3c499286919ce1011af8da554062d9e88f527294064a2b7979b

Contents?: true

Size: 1.13 KB

Versions: 12

Compression:

Stored size: 1.13 KB

Contents

module PaidUp
  # require 'rails/all'

  require "active_record/railtie"
  require "action_controller/railtie"
  require "action_mailer/railtie"
  require "action_view/railtie"
  require "sprockets/railtie"

  require 'rails-i18n'

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

  require 'paid_up/validators/table_rows'
  require 'paid_up/validators/rolify_rows'

  require 'paid_up/configuration'
  require 'paid_up/feature'
  require 'paid_up/railtie'
  require 'paid_up/engine'
  require 'paid_up/localization'
  require 'paid_up/version'

  require 'paid_up/extensions/stripe'
  require 'paid_up/extensions/integer'

  require 'paid_up/mixins/subscriber'
  require 'paid_up/mixins/paid_for'

  require 'haml-rails'
  require 'bootstrap_leather'

  require 'money'
  require 'chronic'
end

Integer.send(:include, PaidUp::Extensions::Integer)

Stripe::APIResource.send(:include, PaidUp::Extensions::Stripe)

ActiveRecord::Base.send(:include, PaidUp::Mixins::Subscriber)
ActiveRecord::Base.send(:include, PaidUp::Mixins::PaidFor)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
paid_up-0.9.13 lib/paid_up.rb
paid_up-0.9.12 lib/paid_up.rb
paid_up-0.9.11 lib/paid_up.rb
paid_up-0.9.10 lib/paid_up.rb
paid_up-0.9.9 lib/paid_up.rb
paid_up-0.9.8 lib/paid_up.rb
paid_up-0.9.7 lib/paid_up.rb
paid_up-0.9.6 lib/paid_up.rb
paid_up-0.9.5 lib/paid_up.rb
paid_up-0.9.4 lib/paid_up.rb
paid_up-0.9.3 lib/paid_up.rb
paid_up-0.9.2 lib/paid_up.rb