Merge pull request #4041 from inspec/mj/encoding

Remove `# encoding: utf8` magic comments
This commit is contained in:
Miah Johnson 2019-05-08 13:00:08 -07:00 committed by GitHub
commit b4131b0799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
505 changed files with 4 additions and 507 deletions

View file

@ -1,4 +1,3 @@
# encoding: utf-8
source 'https://rubygems.org'
gem 'inspec', path: '.'

View file

@ -1,5 +1,4 @@
#!/usr/bin/env rake
# encoding: utf-8
require 'bundler'
require 'bundler/gem_helper'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
describe gordon do
its('crime_rate') { should be < 5 }

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2016, Chef Software, Inc.
# manipulate controls of `profile`

View file

@ -1,4 +1,3 @@
# encoding: utf-8
source 'https://rubygems.org'
gem 'inspec', path: '../../.'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
source 'https://rubygems.org'
gem 'inspec', path: '../../.'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
source 'https://rubygems.org'
gem 'inspec', path: '../../.'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2015, The Authors
# import full profile

View file

@ -1,4 +1,3 @@
# encoding: utf-8
source 'https://rubygems.org'
gemspec

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# This file is known as the "entry point."
# This is the file InSpec will try to load if it

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'inspec/resource'

View file

@ -1,4 +1,3 @@
# encoding: UTF-8
# Plugin Definition file
# The purpose of this file is to declare to InSpec what plugin_types (capabilities)

View file

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

View file

@ -1,4 +1,3 @@
# encoding: utf-8
val_user = attribute('user', value: 'alice', description: 'An identification for the user')
val_password = attribute('password', description: 'A value for the password')

View file

@ -1,4 +1,3 @@
# encoding: utf-8
describe 'bob' do
it { should eq 'billy' }

View file

@ -1,4 +1,3 @@
# encoding: utf-8
describe 'bob' do
it { should eq 'bob' }

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2015, Chef Software, Inc.
title '/tmp profile'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2016, Chef Software, Inc.
title 'Gordon Config Checks'

View file

@ -1,5 +1,4 @@
#!/usr/bin/env ruby
# encoding: utf-8
# Copyright 2015 Dominik Richter
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# frozen_string_literal: true
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter
require 'inspec/base_cli'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'tmpdir'
require 'fileutils'
require 'mixlib/shellout'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2015, Dominik Richter
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2015, Dominik Richter
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'inspec/fetcher'
require 'forwardable'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# Copyright 2015 Dominik Richter
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann
require 'inspec/dsl'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'fileutils'
module Inspec

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'inspec/dependencies/requirement'
require 'inspec/dependencies/resolver'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'yaml'
module Inspec

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'inspec/cached_fetcher'
require 'semverse'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Steven Danna <steve@chef.io>
require 'inspec/log'
require 'inspec/errors'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2015, Dominik Richter
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
module Inspec
#
# Contains methods we would like in multiple DSL

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'inspec/shell_detector'
require 'erb'
require 'shellwords'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2017, Chef Software Inc.
module Inspec

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2016, Chef Software Inc.
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'rubygems/package'
require 'zlib'
require 'zip'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# Impact scores based off CVSS 3.0
module Inspec::Impact

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Steven Danna
# author: Victoria Jeffrey
require 'inspec/plugin/v1/plugin_types/resource'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# Copyright 2015 Dominik Richter
require 'logger'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
module Inspec
autoload :Input, 'inspec/objects/input'

View file

@ -1,4 +1,3 @@
# encoding:utf-8
module Inspec
class Control

View file

@ -1,4 +1,3 @@
# encoding:utf-8
module Inspec
class Describe

View file

@ -1,4 +1,3 @@
# encoding:utf-8
module Inspec
class EachLoop < List

View file

@ -1,4 +1,3 @@
# encoding:utf-8
require 'utils/deprecation'

View file

@ -1,4 +1,3 @@
# encoding:utf-8
module Inspec
class List < Value

View file

@ -1,4 +1,3 @@
# encoding:utf-8
module Inspec
class OrTest

View file

@ -1,4 +1,3 @@
# encoding: utf-8
module Inspec
module RubyHelper

View file

@ -1,4 +1,3 @@
# encoding:utf-8
module Inspec
class Tag

View file

@ -1,4 +1,3 @@
# encoding:utf-8
module Inspec
class Test

View file

@ -1,4 +1,3 @@
# encoding:utf-8
module Inspec
class Value

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann
require 'inspec/file_provider'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2016, Chef Software Inc.
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# Copyright 2015 Dominik Richter
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann
require 'inspec/log'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Adam Leff
require 'inspec/profile'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'json'
require 'net/http'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
module Inspec::Reporters
class CLI < Base

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'json'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'json'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'json'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
module Inspec::Reporters
class Junit < Base

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'yaml'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2015, Vulcano Security GmbH
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2015, Dominik Richter
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# copyright: 2015, Dominik Richter
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# Copyright 2017 Chef Software
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'json'
module Inspec

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'yaml'

View file

@ -1,4 +1,3 @@
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann

View file

@ -1,4 +1,3 @@
# encoding: utf-8
require 'etc'
require 'rbconfig'

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