Sha256: 1682172b3f9585b1154570ecdea55bd884c5da10429c6da6d4422ef9af82c16e

Contents?: true

Size: 522 Bytes

Versions: 11

Compression:

Stored size: 522 Bytes

Contents

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

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
infopark_cloud_connector-6.8.0.beta.200.869.9609b39 lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.856.8c0fec5 lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.809.bdfa8c3 lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.785.05d4af9 lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.744.99f67fc lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.720.44fbabd lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.713.e5c3150 lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.681.7c84f4a lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.663.ceecdee lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.650.7c93155 lib/infopark_cloud_connector.rb
infopark_cloud_connector-6.8.0.beta.200.621.4c8e1b0 lib/infopark_cloud_connector.rb