mirror of
https://github.com/inspec/inspec
synced 2024-12-24 20:13:16 +00:00
d022faea81
inspec.io is now hosted by Fastly which operates as a caching reverse proxy. This change adds a Rake task that will flush the cache at Fastly if the API key and Service ID are set in the appropriate environment variables. Flushing the cache is not required, so this will not error out if the environment variables aren't provided; the cache will eventually clear on its own. This will simply speed along the process as needed. Signed-off-by: Adam Leff <adam@leff.co>
34 lines
838 B
Ruby
34 lines
838 B
Ruby
# encoding: utf-8
|
|
# If you do not have OpenSSL installed, update
|
|
# the following line to use 'http://' instead
|
|
source 'https://rubygems.org'
|
|
|
|
gem 'slim', '>= 3.0'
|
|
|
|
# For faster file watcher updates on Windows:
|
|
gem 'wdm', '~> 0.1.0', platforms: [:mswin, :mingw]
|
|
|
|
# windows does not come with time zone data
|
|
gem 'tzinfo-data', platforms: [:mswin, :mingw]
|
|
|
|
# Middleman Gems
|
|
gem 'middleman-sprockets', '>= 4.0.0'
|
|
gem 'middleman-compass', '>= 4.0.0'
|
|
gem 'middleman', '>= 4.0.0'
|
|
gem 'middleman-livereload'
|
|
gem 'middleman-autoprefixer'
|
|
gem 'middleman-syntax'
|
|
gem 'redcarpet'
|
|
|
|
# Tutorial Gems
|
|
gem 'github-markup'
|
|
gem 'docker-api'
|
|
|
|
# Build process requirements
|
|
gem 'inspec', path: File.join(File.expand_path(File.dirname(__FILE__)), '..')
|
|
gem 'rake'
|
|
gem 'ruby-progressbar'
|
|
gem 'inquirer'
|
|
|
|
# Ability to flush the cache during a deploy
|
|
gem 'fastly'
|