Sha256: c7a4cd209459e35568581d2f52268ed7f7e06a40cca7bfe130437cd7e1c1632a

Contents?: true

Size: 329 Bytes

Versions: 39

Compression:

Stored size: 329 Bytes

Contents

module Knapsack
  module Config
    class Tracker
      class << self
        def enable_time_offset_warning
          true
        end

        def time_offset_in_seconds
          30
        end

        def generate_report
          !!(ENV['KNAPSACK_GENERATE_REPORT'] =~ /\Atrue|0\z/i)
        end
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
knapsack-4.0.0 lib/knapsack/config/tracker.rb
knapsack-3.1.0 lib/knapsack/config/tracker.rb
knapsack-3.0.0 lib/knapsack/config/tracker.rb
knapsack-2.0.0 lib/knapsack/config/tracker.rb
knapsack-1.22.0 lib/knapsack/config/tracker.rb
knapsack-1.21.1 lib/knapsack/config/tracker.rb
knapsack-1.21.0 lib/knapsack/config/tracker.rb
knapsack-1.20.0 lib/knapsack/config/tracker.rb
knapsack-1.19.0 lib/knapsack/config/tracker.rb
knapsack-1.18.0 lib/knapsack/config/tracker.rb
knapsack-1.17.2 lib/knapsack/config/tracker.rb
knapsack-1.17.1 lib/knapsack/config/tracker.rb
knapsack-1.17.0 lib/knapsack/config/tracker.rb
knapsack-1.16.0 lib/knapsack/config/tracker.rb
knapsack-1.15.0 lib/knapsack/config/tracker.rb
knapsack-1.14.1 lib/knapsack/config/tracker.rb
knapsack-1.14.0 lib/knapsack/config/tracker.rb
knapsack-1.13.3 lib/knapsack/config/tracker.rb
knapsack-1.13.2 lib/knapsack/config/tracker.rb
knapsack-1.13.1 lib/knapsack/config/tracker.rb