Sha256: 026b0d14a1d91c081da44b184a5efd68e6a80cdc462b70fe4c5d02a58370d0d5

Contents?: true

Size: 600 Bytes

Versions: 12

Compression:

Stored size: 600 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
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.9.1.3.22208381 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.9.0.3.197272233 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.3.174.51542603 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.3.115.227021242 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.3.73.75172665 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.3.2.153416031 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.3.67.110847540 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.3.1.23895778 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.2.36.82613853 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.2.7.128454143 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.1.26.236500544 lib/infopark_fiona_connector.rb
infopark_fiona_connector-6.8.1 lib/infopark_fiona_connector.rb