Sha256: 06879b006d9e02917e10bf651a0131ee9f39699aa66f127dee6aa7433486100f

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 Bytes

Contents

require "subdivision_select/subdivision_select_helper"

module SubdivisionSelect
  class Engine < ::Rails::Engine
    isolate_namespace SubdivisionSelect

    require "jquery-rails"
    # "country_select" requires "countries", but it's separated here because:
    #   - `countries` is used directly
    #   - `country_select` is so users don't have to add country_select to their
    #                      Gemfile, since it's required
    # (so we could have just included the latter, but this is more clear)
    require "countries"
    require "country_select"

    config.generators do |g|
      g.test_framework :rspec
      g.fixture_replacement :factory_girl, dir: "spec/factories"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
subdivision_select-0.0.2 lib/subdivision_select/engine.rb
subdivision_select-0.0.1 lib/subdivision_select/engine.rb