Sha256: 87c68f75bda1e9e5cc11dd405893c27ffb896de98a9f58da540ac2d6333d434b

Contents?: true

Size: 582 Bytes

Versions: 22

Compression:

Stored size: 582 Bytes

Contents

URI.parse(Kuroko2.config.url).tap do |url|
  Kuroko2.config.url_host   = url.host
  Kuroko2.config.url_scheme = url.scheme
  Kuroko2.config.url_port   = url.port
end

Rails.application.config.action_mailer.default_url_options = {
  host:     Kuroko2.config.url_host,
  protocol: Kuroko2.config.url_scheme,
  port:     Kuroko2.config.url_port
}

Rails.application.config.action_mailer.delivery_method =
  Kuroko2.config.action_mailer.delivery_method.to_sym
Rails.application.config.action_mailer.smtp_settings =
  Kuroko2.config.action_mailer.smtp_settings.to_h.symbolize_keys || {}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
kuroko2-0.8.0 config/initializers/000_kuroko2.rb
kuroko2-0.7.0 config/initializers/000_kuroko2.rb
kuroko2-0.6.0 config/initializers/000_kuroko2.rb
kuroko2-0.5.2 config/initializers/000_kuroko2.rb
kuroko2-0.5.1 config/initializers/000_kuroko2.rb
kuroko2-0.5.0 config/initializers/000_kuroko2.rb
kuroko2-0.4.6 config/initializers/000_kuroko2.rb
kuroko2-0.4.5 config/initializers/000_kuroko2.rb
kuroko2-0.4.4 config/initializers/000_kuroko2.rb
kuroko2-0.4.3 config/initializers/000_kuroko2.rb
kuroko2-0.4.2 config/initializers/000_kuroko2.rb
kuroko2-0.4.1 config/initializers/000_kuroko2.rb
kuroko2-0.4.0 config/initializers/000_kuroko2.rb
kuroko2-0.3.4 config/initializers/000_kuroko2.rb
kuroko2-0.3.3 config/initializers/000_kuroko2.rb
kuroko2-0.3.2 config/initializers/000_kuroko2.rb
kuroko2-0.3.1 config/initializers/000_kuroko2.rb
kuroko2-0.3.0 config/initializers/000_kuroko2.rb
kuroko2-0.2.3 config/initializers/000_kuroko2.rb
kuroko2-0.2.2 config/initializers/000_kuroko2.rb