Sha256: c900178b17b63940f6655faab6ad58d408e70aab5e77b6e3f1565c60c4b111da

Contents?: true

Size: 888 Bytes

Versions: 61

Compression:

Stored size: 888 Bytes

Contents

require "guard/config"

if Guard::Config.new.strict?
  abort "Error: Deprecated file #{__FILE__} is being used"
else
  require "guard/deprecated/guardfile"

  # TODO: remove this file in next major version

  module Guard
    unless Guard::Config.new.silence_deprecations?
      UPGRADE_WIKI_URL =
        "https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0"

      STDERR.puts <<-EOS
        (guard/guardfile.rb message)

        You are including "guard/guardfile.rb", which has been deprecated
        since 2013 ... and will be removed.

        Migration is easy, see: #{UPGRADE_WIKI_URL}

        This file was included from:
          #{caller[0..10] * "\n  >"}

        Sorry for the inconvenience and have a nice day!

        (end of guard/guardfile.rb message)


      EOS
    end
    module Guardfile
      extend Deprecated::Guardfile::ClassMethods
    end
  end
end

Version data entries

61 entries across 61 versions & 10 rubygems

Version Path
guard-2.19.1 lib/guard/guardfile.rb
guard-2.19.0 lib/guard/guardfile.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/guard-2.18.1/lib/guard/guardfile.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/guard-2.18.1/lib/guard/guardfile.rb
guard-2.18.1 lib/guard/guardfile.rb
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/guard-2.18.0/lib/guard/guardfile.rb
guard-2.18.0 lib/guard/guardfile.rb
guard-2.17.0 lib/guard/guardfile.rb
qiita_org-0.1.35 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.34 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.33 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.32 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.31 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.30 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.29 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.28 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.27 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.26 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
qiita_org-0.1.25 gems/ruby/2.7.0/gems/guard-2.16.2/lib/guard/guardfile.rb
guard-2.16.2 lib/guard/guardfile.rb