Sha256: a7706d12632fda1634c4f71a2c846b21db706e7f496dfbb3a66510fcb02a3b76

Contents?: true

Size: 1.36 KB

Versions: 20

Compression:

Stored size: 1.36 KB

Contents

# frozen_string_literal: true

# PaidUp Module
module PaidUp
  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/feature_setting_type'
  require 'paid_up/subscription'
  require 'paid_up/railtie'
  require 'paid_up/engine'
  require 'paid_up/localization'
  require 'paid_up/version'
  require 'paid_up/ruby_version_check'

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

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

  require 'paid_up/feature_setting_types/table'
  require 'paid_up/feature_setting_types/rolify'

  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(:extend, PaidUp::Mixins::Subscriber)
ActiveRecord::Base.send(:extend, PaidUp::Mixins::PaidFor)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
paid_up-0.13.21 lib/paid_up.rb
paid_up-0.13.17 lib/paid_up.rb
paid_up-0.13.16 lib/paid_up.rb
paid_up-0.13.14 lib/paid_up.rb
paid_up-0.13.13 lib/paid_up.rb
paid_up-0.13.12 lib/paid_up.rb
paid_up-0.13.11 lib/paid_up.rb
paid_up-0.13.10 lib/paid_up.rb
paid_up-0.13.9 lib/paid_up.rb
paid_up-0.13.8 lib/paid_up.rb
paid_up-0.13.7 lib/paid_up.rb
paid_up-0.13.6 lib/paid_up.rb
paid_up-0.13.5 lib/paid_up.rb
paid_up-0.13.4 lib/paid_up.rb
paid_up-0.13.3 lib/paid_up.rb
paid_up-0.13.2 lib/paid_up.rb
paid_up-0.13.1 lib/paid_up.rb
paid_up-0.13.0 lib/paid_up.rb
paid_up-0.12.4 lib/paid_up.rb
paid_up-0.12.3 lib/paid_up.rb