Sha256: 551a9d68526b016e39b99391c371db092d9bcd65f307896a1a311233a9fa67c1

Contents?: true

Size: 438 Bytes

Versions: 4

Compression:

Stored size: 438 Bytes

Contents

module Pah
  module Templates
    class SimpleForm < Pah::Template
      def call
        system 'bundle exec rails generate simple_form:install'

        git add: 'config'
        git add: 'lib/templates'
        git_commit 'Run `rails generate simple_form:install`'

        copy_static_file 'config/locales/simple_form.pt-BR.yml'
        git add: 'config'
        git_commit 'Add simple_form pt-BR locale.'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pah-0.0.20 lib/pah/templates/simple_form.rb
pah-0.0.19 lib/pah/templates/simple_form.rb
pah-0.0.17 lib/pah/templates/simple_form.rb
pah-0.0.16 lib/pah/templates/simple_form.rb