Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
= heroku_deployment
Deployment scripts for Heroku.
To generate CSS and JS use:
match "generate_js_and_css" => "application#generate_js_and_css"
def generate_js_and_css render :inline => "SUCCESS", :layout => true end
If you have all your CSS and JS declared in the layout file, this should work.
Created a rake task, or just an ruby script (which i prefer) with the following:
#!/usr/bin/env ruby
require "heroku_deployment"
HerokuDeployment::Config.setup do |config| config.app = "heroku_app" config.remote = "heroku" config.generate_url = "/generate_js_and_css" config.js_files = ["all.js"] config.css_files = ["all.css"] config.compress_js = true config.compress_css = true config.migrate = true config.hoptoad = true end
app = HerokuDeployment::Rails.new app.deploy
== Contributing to heroku_deployment
== Copyright
Copyright (c) 2010 Mooktakim Ahmed. See LICENSE.txt for further details.
FAQs
Unknown package
We found that heroku_deployment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.