Sha256: e748d8c96805fce0c235d020a4e7234d03c577e9af4b3dfb251776e9b962a936

Contents?: true

Size: 534 Bytes

Versions: 4

Compression:

Stored size: 534 Bytes

Contents

class AwesomeTranslations::Config
  attr_accessor :ignored_paths, :paths_to_translate

  def initialize
    @ignored_paths = [
      Rails.root.join(".git").to_s,
      Rails.root.join("config/locales").to_s,
      Rails.root.join("log").to_s,
      "#{Rails.public_path}/packs-test",
      "#{Rails.public_path}/packs",
      Rails.root.join("node_modules").to_s,
      Rails.root.join("tmp").to_s,
      Rails.root.join("storage").to_s,
      Rails.root.join("spec").to_s
    ]
    @paths_to_translate = [Rails.root.to_s]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
awesome_translations-0.0.66 lib/awesome_translations/config.rb
awesome_translations-0.0.65 lib/awesome_translations/config.rb
awesome_translations-0.0.64 lib/awesome_translations/config.rb
awesome_translations-0.0.63 lib/awesome_translations/config.rb