Remove all leading newlines.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-05-28 14:31:39 -07:00
parent 97df4c33fd
commit 2a1b1d8e88
332 changed files with 2 additions and 337 deletions

View file

@ -1,4 +1,3 @@
---
title: About the aws_billing_report Resource
platform: aws

View file

@ -1,4 +1,3 @@
describe gordon do
its('crime_rate') { should be < 5 }
it { should have_a_fabulous_mustache }

View file

@ -1,4 +1,3 @@
# use basic tests
describe package('nginx') do
it { should be_installed }

View file

@ -1,3 +1,2 @@
# install nginx
include_recipe('prepare::nginx')

View file

@ -1,4 +1,3 @@
# install repositories for nginx
case node['platform']
when 'ubuntu'

View file

@ -1,4 +1,3 @@
# use basic tests
describe package('nginx') do
it { should be_installed }

View file

@ -1,4 +1,3 @@
# use basic tests
describe package('nginx') do
it { should be_installed }

View file

@ -1,4 +1,3 @@
# This file is known as the "entry point."
# This is the file InSpec will try to load if it
# thinks your plugin is installed.

View file

@ -1,4 +1,3 @@
require 'inspec/resource'
module InspecPlugins::ResourceLister

View file

@ -1,4 +1,3 @@
# Plugin Definition file
# The purpose of this file is to declare to InSpec what plugin_types (capabilities)
# are included in this plugin, and provide hooks that will load them as needed.

View file

@ -1,4 +1,3 @@
# This file simply makes it easier for CI engines to update
# the version stamp, and provide a clean way for the gemspec
# to learn the current version.

View file

@ -1,4 +1,3 @@
describe 'bob' do
it { should eq 'billy' }
end

View file

@ -1,4 +1,3 @@
describe 'bob' do
it { should eq 'bob' }
end

View file

@ -1,4 +1,3 @@
libdir = File.dirname(__FILE__)
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)

View file

@ -1,4 +1,3 @@
require 'uri'
require 'inspec/fetcher'
require 'fetchers/url'

View file

@ -1,4 +1,3 @@
require 'openssl'
module Fetchers

View file

@ -1,4 +1,3 @@
module Fetchers
class Mock < Inspec.fetcher(1)
name 'mock'

View file

@ -1,4 +1,3 @@
require 'uri'
require 'openssl'
require 'tempfile'

View file

@ -1,4 +1,3 @@
require 'rubygems/package'
module Inspec::Archive

View file

@ -1,4 +1,3 @@
require 'rubygems'
require 'zip'
require 'pathname'

View file

@ -1,4 +1,3 @@
require 'thor'
require 'inspec/log'
require 'inspec/profile_vendor'

View file

@ -1,4 +1,3 @@
module Inspec
class DescribeBase
def initialize(action)

View file

@ -1,4 +1,3 @@
module Inspec
class Error < StandardError; end

View file

@ -1,4 +1,3 @@
require 'inspec/plugin/v1'
module Inspec

View file

@ -1,4 +1,3 @@
# Impact scores based off CVSS 3.0
module Inspec::Impact
IMPACT_SCORES = {

View file

@ -1,4 +1,3 @@
require 'mixlib/log'
module Inspec

View file

@ -1,4 +1,3 @@
module Inspec
module MethodSource
def self.code_at(location, source_reader)

View file

@ -1,4 +1,3 @@
module Inspec
autoload :Input, 'inspec/objects/input'
autoload :Tag, 'inspec/objects/tag'

View file

@ -1,4 +1,3 @@
module Inspec
class Control
attr_accessor :id, :title, :descriptions, :impact, :tests, :tags, :refs, :only_if

View file

@ -1,4 +1,3 @@
module Inspec
class Describe
# Internal helper to structure test objects.

View file

@ -1,4 +1,3 @@
module Inspec
class EachLoop < List
attr_reader :variables

View file

@ -1,4 +1,3 @@
require 'inspec/utils/deprecation'
# For backwards compatibility during the rename (see #3802),

View file

@ -1,4 +1,3 @@
module Inspec
class List < Value
def map

View file

@ -1,4 +1,3 @@
module Inspec
class OrTest
attr_reader :tests

View file

@ -1,4 +1,3 @@
module Inspec
module RubyHelper
def ruby_qualifier(q)

View file

@ -1,4 +1,3 @@
module Inspec
class Tag
attr_accessor :key, :value

View file

@ -1,4 +1,3 @@
module Inspec
class Test
attr_accessor :qualifier, :matcher, :expectation, :skip, :negated, :variables, :only_if

View file

@ -1,4 +1,3 @@
module Inspec
class Value
include ::Inspec::RubyHelper

View file

@ -1,4 +1,3 @@
require 'inspec/plugin/v1/registry'
module Inspec

View file

@ -1,4 +1,3 @@
module Inspec
module ResourceBehaviors
def to_s

View file

@ -1,4 +1,3 @@
require 'inspec/plugin/v1/registry'
module Inspec

View file

@ -1,4 +1,3 @@
require 'inspec/plugin/v1/registry'
module Inspec

View file

@ -1,4 +1,3 @@
require 'forwardable'
module Inspec

View file

@ -1,4 +1,3 @@
class PluginRegistry
attr_reader :registry

View file

@ -1,4 +1,3 @@
require 'inspec/profile'
require 'inspec/config'

View file

@ -1,4 +1,3 @@
require 'json'
require 'net/http'

View file

@ -1,4 +1,3 @@
module Inspec::Reporters
class CLI < Base
case RUBY_PLATFORM

View file

@ -1,4 +1,3 @@
require 'json'
module Inspec::Reporters

View file

@ -1,4 +1,3 @@
require 'json'
module Inspec::Reporters

View file

@ -1,4 +1,3 @@
require 'json'
module Inspec::Reporters

View file

@ -1,4 +1,3 @@
module Inspec::Reporters
class Junit < Base
def render

View file

@ -1,4 +1,3 @@
require 'yaml'
module Inspec::Reporters

View file

@ -1,4 +1,3 @@
module Inspec
class RequireLoader
Item = Struct.new(:content, :ref, :line, :loaded)

View file

@ -1,4 +1,3 @@
require 'forwardable'
require 'inspec/utils/filter_array'
require 'inspec/utils/filter'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/command_wrapper'
require 'inspec/resources/command'

View file

@ -1,4 +1,3 @@
require 'openssl'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
require 'inspec/resources/file'
module Inspec::Resources

View file

@ -1,4 +1,3 @@
require 'inspec/utils/filter'
require 'hashie/mash'
require 'inspec/resources/package'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/parser'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/parser'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/simpleconfig'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/object_traversal'
require 'inspec/utils/enumerable_delegation'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
require 'openssl'
require 'hashie/mash'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/command_wrapper'
require 'inspec/resources/command'

View file

@ -1,3 +1,5 @@
require 'inspec/utils/simpleconfig'
module Inspec::Resources
class Mount < Inspec.resource(1)
name 'mount'

View file

@ -1,4 +1,3 @@
require 'pathname'
require 'hashie/mash'
require 'inspec/resources/command'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/nginx_parser'
require 'inspec/utils/find_files'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
module Inspec::Resources
class PlatformResource < Inspec.resource(1)
name 'platform'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/parser'
require 'inspec/utils/filter'
require 'ipaddr'

View file

@ -1,4 +1,3 @@
require 'inspec/resources/postgres'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
require 'inspec/utils/file_reader'
require 'inspec/resources/postgres'

View file

@ -1,4 +1,3 @@
require 'tomlrb'
require 'inspec/resources/json'

View file

@ -1,4 +1,3 @@
require 'hashie/mash'
module Inspec::Resources

View file

@ -1,4 +1,3 @@
require 'openssl'
require 'hashie/mash'
require 'inspec/utils/file_reader'

View file

@ -1,4 +1,3 @@
require 'yaml'
require 'inspec/resources/json'

View file

@ -1,4 +1,3 @@
module Inspec
class RunnerMock
attr_reader :tests, :profiles

View file

@ -1,4 +1,3 @@
require 'rspec/core'
require 'rspec/its'
require 'inspec/formatters'

View file

@ -1,4 +1,3 @@
require 'inspec/plugin/v1'
module Inspec

View file

@ -1,4 +1,3 @@
require 'yaml'
module Secrets

View file

@ -1,4 +1,3 @@
require 'pry'
module Inspec

View file

@ -1,4 +1,3 @@
require 'inspec/plugin/v1'
module Inspec

View file

@ -1,4 +1,3 @@
require 'shellwords'
class CommandWrapper

View file

@ -1,4 +1,3 @@
module Converter
# convert the value to an integer if we have numbers only
# otherwise we return the string

View file

@ -1,4 +1,3 @@
module DatabaseHelper
class SQLColumn
def initialize(row, name)

View file

@ -1,4 +1,3 @@
module EnumerableDelegation
include Enumerable

View file

@ -1,4 +1,3 @@
require 'parslet'
class ErlangParser < Parslet::Parser

View file

@ -1,4 +1,3 @@
module FilterTable
# This is used as a sentinel value in custom property filtering
module NoCriteriaProvided; end

View file

@ -1,4 +1,3 @@
class ::Hash
# Inspired by: http://stackoverflow.com/a/9381776
def deep_merge(second)

View file

@ -1,4 +1,3 @@
require 'json'
# a simple streaming json logger

View file

@ -1,4 +1,3 @@
require 'json'
require 'net/http'

View file

@ -1,4 +1,3 @@
require 'parslet'
class NginxParser < Parslet::Parser

View file

@ -1,4 +1,3 @@
require 'inspec/resources/command'
module PasswdParser

View file

@ -1,4 +1,3 @@
require_relative '../../../shared/core_plugin_test_helper.rb'
require 'fileutils'
require 'securerandom'

View file

@ -1,4 +1,3 @@
require 'inspec/globals'
module InspecPlugins

View file

@ -1,4 +1,3 @@
require 'net/http'
require 'net/http/post/multipart'
require 'uri'

View file

@ -1,4 +1,3 @@
module InspecPlugins
module Compliance
# is a helper that provides information which version of compliance supports

View file

@ -1,4 +1,3 @@
require 'uri'
require 'inspec/fetcher'
require 'inspec/errors'

View file

@ -1,4 +1,3 @@
require_relative '../../../shared/core_plugin_test_helper.rb'
class ComplianceCli < Minitest::Test

View file

@ -1,4 +1,3 @@
# options
inspec_bin = 'BUNDLE_GEMFILE=/inspec/Gemfile bundle exec inspec'
api_url = 'https://0.0.0.0'

View file

@ -1,4 +1,3 @@
require 'inspec/profile_vendor'
require 'mixlib/shellout'
require 'tomlrb'

Some files were not shown because too many files have changed in this diff Show more