Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Commit

Permalink
Rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Nelson Windels committed Jan 16, 2017
1 parent 8f6e2c7 commit c4ea27a
Show file tree
Hide file tree
Showing 28 changed files with 29 additions and 2 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

require 'rake'
require 'rake/testtask'
Expand Down
1 change: 1 addition & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

#<> Kibana major version
default['kibana']['version'] = '3'
Expand Down
1 change: 1 addition & 0 deletions libraries/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

class Kibana
# All to find correct url to download kibana
Expand Down
1 change: 1 addition & 0 deletions metadata.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

name 'kibana'
maintainer 'Peter Donald'
Expand Down
1 change: 1 addition & 0 deletions recipes/_service.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

template node['kibana']['service']['template_file'] do
cookbook node['kibana']['service']['cookbook']
Expand Down
1 change: 1 addition & 0 deletions recipes/apache.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

=begin
#<
Expand Down
1 change: 1 addition & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

=begin
#<
Expand Down
1 change: 1 addition & 0 deletions recipes/kibana3.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

include_recipe 'kibana'

Expand Down
1 change: 1 addition & 0 deletions recipes/kibana4.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true

include_recipe 'kibana'

Expand Down
1 change: 1 addition & 0 deletions recipes/nginx.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
include_recipe 'chef_nginx'

template File.join(node['nginx']['dir'], 'sites-available', 'kibana') do
Expand Down
1 change: 1 addition & 0 deletions spec/support/matchers.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# matcher for install_ark
def install_ark(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:ark, :install, resource_name)
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana3_apache/serverspec/default_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'spec_helper'

describe 'kibana' do
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana3_apache/serverspec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'serverspec'

# Required by serverspec
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana3_nginx/serverspec/default_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'spec_helper'

describe 'kibana' do
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana3_nginx/serverspec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'serverspec'

# Required by serverspec
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana3_source/serverspec/default_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'spec_helper'

describe 'kibana' do
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana3_source/serverspec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'serverspec'

# Required by serverspec
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana4_apache/serverspec/default_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'spec_helper'

describe 'kibana' do
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana4_apache/serverspec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'serverspec'

# Required by serverspec
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana4_nginx/serverspec/default_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'spec_helper'

describe 'kibana' do
Expand Down
1 change: 1 addition & 0 deletions test/integration/kibana4_nginx/serverspec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Encoding: utf-8
# frozen_string_literal: true
require 'serverspec'

# Required by serverspec
Expand Down
1 change: 1 addition & 0 deletions test/unit/spec/_service_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'chefspec'
require_relative 'spec_helper'

Expand Down
1 change: 1 addition & 0 deletions test/unit/spec/apache_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'chefspec'
require_relative 'spec_helper'

Expand Down
1 change: 1 addition & 0 deletions test/unit/spec/default_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'chefspec'
require_relative 'spec_helper'

Expand Down
1 change: 1 addition & 0 deletions test/unit/spec/kibana3_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'chefspec'
require_relative 'spec_helper'

Expand Down
1 change: 1 addition & 0 deletions test/unit/spec/kibana4_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'chefspec'
require_relative 'spec_helper'

Expand Down
1 change: 1 addition & 0 deletions test/unit/spec/nginx_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'chefspec'
require_relative 'spec_helper'

Expand Down
4 changes: 2 additions & 2 deletions test/unit/spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: UTF-8
# frozen_string_literal: true
# -*- mode: ruby -*-
# vi: set ft=ruby :

Expand Down Expand Up @@ -27,7 +28,6 @@
version: '7.0'
}.freeze

def stub_resources
end
def stub_resources; end

at_exit { ChefSpec::Coverage.report! }

0 comments on commit c4ea27a

Please sign in to comment.