Sha256: a7924714f77ccbf57b643ec7bba04f45106800ea83ceb7302c62854663989d3d

Contents?: true

Size: 719 Bytes

Versions: 7

Compression:

Stored size: 719 Bytes

Contents

def source_paths
  [ File.expand_path(File.dirname(__FILE__)) ]
end

# The generated config/boot.rb file references a Gemfile in the dummy app
# directory so use one that references the parent app.
remove_file "config/boot.rb"
copy_file "boot.rb.tt", "config/boot.rb"

# The generated config/secrets.yml file uses hardcoded values for
# test/development environments. Generate secrets pragmatically.
remove_file "config/secrets.yml"
copy_file "secrets.yml.tt", "config/secrets.yml"

# The db/migrate folder never gets created for the dummy_app so do it manually.
unless Dir.exists?("db/migrate")
  say_status :create, "db/migrate"
  Dir.mkdir("db/migrate")
end

route "mount Jobshop::Engine => \"/\""

rake "db:create"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jobshop-0.0.9 lib/jobshop/templates/dummy_template.rb
jobshop-0.0.7 lib/jobshop/templates/dummy_template.rb
jobshop-0.0.6 lib/jobshop/templates/dummy_template.rb
jobshop-0.0.5 lib/jobshop/templates/dummy_template.rb
jobshop-0.0.4.2p4 lib/jobshop/templates/dummy_template.rb
jobshop-0.0.4.1p4 lib/jobshop/templates/dummy_template.rb
jobshop-0.0.4.0p13 lib/jobshop/templates/dummy_template.rb