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-1.13.0 lib/knapsack/config/tracker.rb
knapsack-1.12.2 lib/knapsack/config/tracker.rb
knapsack-1.12.1 lib/knapsack/config/tracker.rb
knapsack-1.12.0 lib/knapsack/config/tracker.rb
knapsack-1.11.1 lib/knapsack/config/tracker.rb
knapsack-1.11.0 lib/knapsack/config/tracker.rb
knapsack-1.10.0 lib/knapsack/config/tracker.rb
knapsack-1.9.0 lib/knapsack/config/tracker.rb
knapsack-1.8.0 lib/knapsack/config/tracker.rb
knapsack-1.7.0 lib/knapsack/config/tracker.rb
knapsack-1.6.1 lib/knapsack/config/tracker.rb
knapsack-1.6.0 lib/knapsack/config/tracker.rb
knapsack-1.5.1 lib/knapsack/config/tracker.rb
knapsack-1.5.0 lib/knapsack/config/tracker.rb
knapsack-1.4.1 lib/knapsack/config/tracker.rb
knapsack-1.4.0 lib/knapsack/config/tracker.rb
knapsack-1.3.4 lib/knapsack/config/tracker.rb
knapsack-1.3.3 lib/knapsack/config/tracker.rb
knapsack-1.3.1 lib/knapsack/config/tracker.rb