Sha256: 31df66fdfb75841dd269bb14ae2aa05f67160a36aadc8b56ccc000fe9f366f08

Contents?: true

Size: 317 Bytes

Versions: 11

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

module RakeUtils
  def import_executor
    -> { Rake::Task['lokalise_rails:import'].execute }
  end

  def export_executor
    -> { Rake::Task['lokalise_rails:export'].execute }
  end

  def install_invoker
    Rails::Generators.invoke 'lokalise_rails:install'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
lokalise_rails-4.0.0 spec/support/rake_utils.rb
lokalise_rails-3.0.0 spec/support/rake_utils.rb
lokalise_rails-2.0.0 spec/support/rake_utils.rb
lokalise_rails-2.0.0.rc1 spec/support/rake_utils.rb
lokalise_rails-1.4.0 spec/support/rake_utils.rb
lokalise_rails-1.3.1 spec/support/rake_utils.rb
lokalise_rails-1.3.0 spec/support/rake_utils.rb
lokalise_rails-1.2.0 spec/support/rake_utils.rb
lokalise_rails-1.1.0 spec/support/rake_utils.rb
lokalise_rails-1.0.1 spec/support/rake_utils.rb
lokalise_rails-1.0.0 spec/support/rake_utils.rb