Sha256: f0f1d61375e4200cafa55e5f41b73dc435b7915688694ef37851c030e8123151

Contents?: true

Size: 349 Bytes

Versions: 10

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module DeprecationToolkit
  module Behaviors
    class Record
      extend ReadWriteHelper

      def self.trigger(test, collector, _)
        deprecation_file = recorded_deprecations_path(test)

        write(deprecation_file, test_name(test) => collector.deprecations_without_stacktrace)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
deprecation_toolkit-2.2.0 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-2.1.0 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-2.0.4 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-2.0.3 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-2.0.2 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-2.0.1 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-2.0.0 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-1.5.1 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-1.5.0 lib/deprecation_toolkit/behaviors/record.rb
deprecation_toolkit-1.4.0 lib/deprecation_toolkit/behaviors/record.rb