Skip to content

Commit

Permalink
Remove unnecessary encoding comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Nov 2, 2014
1 parent 8a7c6fb commit bd27f65
Show file tree
Hide file tree
Showing 30 changed files with 0 additions and 34 deletions.
2 changes: 0 additions & 2 deletions bluepill.gemspec
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

$LOAD_PATH.push File.expand_path("../lib", __FILE__)

require "bluepill/version"
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
require 'rubygems'

require 'bundler/setup' if ENV['BUNDLE_GEMFILE'] && File.exists?(ENV['BUNDLE_GEMFILE'])
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/application.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
require 'thread'
require 'bluepill/system'
require 'bluepill/process_journal'
Expand Down
2 changes: 0 additions & 2 deletions lib/bluepill/application/client.rb
@@ -1,8 +1,6 @@
# -*- encoding: utf-8 -*-
module Bluepill
module Application
module Client

end
end
end
2 changes: 0 additions & 2 deletions lib/bluepill/application/server.rb
@@ -1,8 +1,6 @@
# -*- encoding: utf-8 -*-
module Bluepill
module Application
module ServerMethods

def status
self.processes.collect do |process|
"#{process.name} #{process.state}"
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/condition_watch.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
class HistoryValue < Struct.new(:value, :critical)
end
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/controller.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
require 'fileutils'
require 'bluepill/system'

Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/dsl.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
def self.application(app_name, options = {}, &block)
app_proxy = AppProxy.new(app_name, options)
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/dsl/app_proxy.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
class AppProxy
APP_ATTRIBUTES = [:working_dir, :uid, :gid, :environment, :auto_start ]
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/dsl/process_factory.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
class ProcessFactory
attr_reader :attributes
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/dsl/process_proxy.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
class ProcessProxy
attr_reader :attributes, :watches, :name
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/group.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
class Group
attr_accessor :name, :processes, :logger
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/logger.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
class Logger
LOG_METHODS = [:emerg, :alert, :crit, :err, :warning, :notice, :info, :debug]
Expand Down
2 changes: 0 additions & 2 deletions lib/bluepill/process.rb
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

# fixes problem with loading on systems with rubyist-aasm installed
gem "state_machine"

Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module ProcessConditions
def self.[](name)
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions/always_true.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module ProcessConditions
class AlwaysTrue < ProcessCondition
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions/cpu_usage.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module ProcessConditions
class CpuUsage < ProcessCondition
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions/file_time.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module ProcessConditions
class FileTime < ProcessCondition
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions/http.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
require 'net/http'
require 'uri'

Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions/mem_usage.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module ProcessConditions
class MemUsage < ProcessCondition
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions/process_condition.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module ProcessConditions
class ProcessCondition
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions/running_time.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module ProcessConditions
class RunningTime < ProcessCondition
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_conditions/zombie_process.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module ProcessConditions
# Process must have cache_actual_pid set to false to function correctly:
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/process_statistics.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
class ProcessStatistics
STRFTIME = "%m/%d/%Y %H:%I:%S".freeze
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/socket.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
require 'socket'

module Bluepill
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/system.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
require 'etc'
require "shellwords"

Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/trigger.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
class Trigger
@implementations = {}
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/triggers/flapping.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module Triggers
class Flapping < Bluepill::Trigger
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/util/rotational_array.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
module Util
class RotationalArray < Array
Expand Down
1 change: 0 additions & 1 deletion lib/bluepill/version.rb
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
module Bluepill
VERSION = "0.0.68"
end

0 comments on commit bd27f65

Please sign in to comment.