Sha256: dddfbc3913ef707c0cbbfcbf155d3d98523b80aa553f9f4056d41eabc9cdec68

Contents?: true

Size: 645 Bytes

Versions: 2

Compression:

Stored size: 645 Bytes

Contents

SECRETS_YML_TT_URI = URI.parse("https://raw.githubusercontent.com/jobshop/jobshop/master/lib/jobshop/templates/secrets.yml.tt")

# Add jobshop to the application `Gemfile`.
gem "jobshop", "~> 0.0.9"

# The generated config/secrets.yml file uses hardcoded values for
# test/development environments. Generate secrets pragmatically.
remove_file "config/secrets.yml"
create_file "config/secrets.yml" do
  Net::HTTP.start(SECRETS_YML_TT_URI.host,
                  SECRETS_YML_TT_URI.port, use_ssl: true) do |http|
    http.request(Net::HTTP::Get.new(SECRETS_YML_TT_URI))
  end.body
end

after_bundle do
  route %Q(mount Jobshop::Engine => "/")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jobshop-0.0.11 lib/jobshop/templates/quick_install.rb
jobshop-0.0.10 lib/jobshop/templates/quick_install.rb