Sha256: 2959a89bc2ce6c901ea9f6a061d5186ae2a298f2ab8437214e1caa9560210081

Contents?: true

Size: 858 Bytes

Versions: 12

Compression:

Stored size: 858 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'bundler/setup'

require 'base64'
require 'socket'
require 'fileutils'
require 'json'
require 'uri'
require 'digest/md5'
require 'openssl'
require 'forwardable'
require 'thread'
require 'monitor'
require 'logger'
require 'securerandom'

require 'websocket'
require_relative './classes/gem_finder'

%w(initializers helpers classes).each do |folder_name|
  Gem.find_files("#{CapistranoSentinel::GemFinder.get_current_gem_name}/#{folder_name}/**/*.rb").each { |path| require path }
end

if !CapistranoSentinel::GemFinder.value_blank?(CapistranoSentinel::RequestHooks.job_id)

  if CapistranoSentinel::GemFinder.fetch_gem_version('capistrano')
    if CapistranoSentinel::GemFinder.capistrano_version_2?
      require_relative './patches/capistrano2'
    else
      require_relative './patches/rake'
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
capistrano_sentinel-0.2.3 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.2.2 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.2.1 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.2.0 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.1.1 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.1.0 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.0.18 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.0.17 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.0.16 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.0.15 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.0.14 lib/capistrano_sentinel/all.rb
capistrano_sentinel-0.0.12 lib/capistrano_sentinel/all.rb