Sha256: 01e2fc1d90a8ab73deef0149fc5cb5191438ad62ae4462e4b247f0d1b99ac36a

Contents?: true

Size: 677 Bytes

Versions: 12

Compression:

Stored size: 677 Bytes

Contents

require 'rails_connector/rack_middlewares'
require 'rails_connector/core_extensions'
require "rails_connector/errors"

# @api public
module RailsConnector
  def self.autoload_all_sources
    source_files = Dir.glob(File.expand_path("../rails_connector/*.rb", __FILE__)).map do |file|
      File.basename(file)
    end

    source_files.each do |file|
      name = file.gsub(".rb", "")
      autoload name.camelcase, "rails_connector/#{name}"
    end
  end

  autoload_all_sources

  autoload :AttrValueProvider, "rails_connector/attr_value_provider_loader"
end

autoload :Comment, "comment"
autoload :Rating, "rating"

require "rails_connector/fiona_engine" if defined?(Rails)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
infopark_fiona_connector-6.8.0.539.93842523 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.529.114081979 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.518.30999728 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.515.34928522 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.498.46559598 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.480.261594408 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.444.171626367 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.406.131718077 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.356.19698103 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.348.160665197 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.328.4a753fc lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.0.322.c003f11 lib/infopark_fiona_connector.rb