Sha256: dfdebe86d6d288f718005d0887ea61684b35601701b53da3266bfe947209aaf5

Contents?: true

Size: 487 Bytes

Versions: 12

Compression:

Stored size: 487 Bytes

Contents

#!/usr/bin/env ruby

method_cache_busters = `script/list_method_cache_busters.sh`.split("\n").map(&:chomp)

if method_cache_busters.any?
  puts "=" * 80
  puts "Found #{method_cache_busters.size} new constructs that bust the method cache."
  puts "These should be eliminated or added to the `ignores` file."
  puts
  puts "For more information, see https://charlie.bz/blog/things-that-clear-rubys-method-cache"
  puts
  puts method_cache_busters.join("\n")
  puts "=" * 80
  exit(1)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-1.1.0.alpha2 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-1.1.0.alpha1 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-1.0.0 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-1.0.0.alpha1 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-0.8.0 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-0.8.0.alpha3 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-0.8.0.alpha2 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-0.8.0.alpha1 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-0.7.1 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-0.7.0 rspec-core/upstream/script/prevent_runtime_method_cache_busters
opal-rspec-0.7.0.rc.2 rspec-core/upstream/script/prevent_runtime_method_cache_busters