robotdana / leftovers

Find unused ruby methods and constants and etc
MIT License
81 stars 4 forks source link

SLIM support #10

Closed veganstraightedge closed 2 years ago

veganstraightedge commented 2 years ago

Thanks for making this gem! 🎉

I'm trying to get into our team's repo, but we use .slim templates.

Is there a way to configure leftovers to also analyze our SLIM views?

robotdana commented 2 years ago

hi, i've not used slim before, but as long as the gem has a way to return ruby code rather than just rendered text, it should be doable.

if you'd like to make a PR, you'll need something equivalent to this file for haml: https://github.com/robotdana/leftovers/blob/main/lib/leftovers/haml.rb use that ::Leftovers::SLIM.precompile method here: https://github.com/robotdana/leftovers/blob/main/lib/leftovers/file.rb plus tweaks to add slim_paths to the config in https://github.com/robotdana/leftovers/blob/main/lib/leftovers/config.rb and https://github.com/robotdana/leftovers/blob/main/lib/leftovers/merged_config.rb

otherwise i'll get to it when i get to it

veganstraightedge commented 2 years ago

Thank you! We'll look into creating a PR. 🎉

veganstraightedge commented 2 years ago

Hi Dana. I'm starting to work on a PR for adding SLIM support. But before making any changes, I'm having a slew of tests fail. I was wondering if you are seeing these failures locally too?

ruby -v ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-darwin21]

macoS 12.1 (21C52)

My steps:

  1. Fork and clone your repo
  2. Run bin/setup
  3. bundle exec rake spec
[snip]
Finished in 6.23 seconds (files took 0.46145 seconds to load)
359 examples, 124 failures

It looks like they're all the same Failure/Error:

1) rspec gem with method calls using be_ 
   Failure/Error: require requirable

   NameError:
     uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState
   # ./lib/leftovers.rb:150:in `require'
   # ./lib/leftovers.rb:150:in `block in try_require_cache'
   # ./lib/leftovers.rb:148:in `fetch'
   # ./lib/leftovers.rb:148:in `try_require_cache'
   # ./lib/leftovers.rb:129:in `try_require'
   # ./lib/leftovers/merged_config.rb:28:in `block in <<'
   # ./lib/leftovers/merged_config.rb:27:in `each'
   # ./lib/leftovers/merged_config.rb:27:in `<<'
   # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config'
   # ./lib/leftovers/merged_config.rb:99:in `each'
   # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config'
   # ./lib/leftovers/merged_config.rb:16:in `initialize'
   # ./lib/leftovers.rb:47:in `new'
   # ./lib/leftovers.rb:47:in `config'
   # ./spec/config/rspec_spec.rb:14:in `block (2 levels) in <top (required)>'
Full test run output ``` [main] ~/Developer/veganstraightedge/leftovers: bundle exec rake spec /Users/shanebecker/.rbenv/versions/3.0.3/bin/ruby -I/Users/shanebecker/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.2/lib:/Users/shanebecker/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rspec-support-3.10.3/lib /Users/shanebecker/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Randomized with seed 26342 Leftovers::ConfigValidator {"$schema"=>"http://json-schema.org/draft-06/schema#", "type"=>"object", "definitions"=>{"true"=>{"enum"=>[true, "true"]}, "string"=>{"type"=>"string", "minLength"=>1}, "stringPattern"=>{"type"=>"object", "properties"=>{"match"=>{"$ref"=>"#/definitions/string"}, "matches"=>{"$ref"=>"#/definitions/string"}, "has_prefix"=>{"$ref"=>"#/definitions/string"}, "has_suffix"=>{"$ref"=>"#/definitions/string"}}, "minProperties"=>0, "additionalProperties"=>true, "allOf"=>[{"not"=>{"required"=>["match", "matches"]}}, {"not"=>{"required"=>["match", "has_prefix"]}}, {"not"=>{"required"=>["match", "has_suffix"]}}, {"not"=>{"required"=>["matches", "has_prefix"]}}, {"not"=>{"required"=>["matches", "has_suffix"]}}]}, "stringList"=>{"anyOf"=>[{"type"=>"array", "items"=>{"$ref"=>"#/definitions/string"}, "minItems"=>1}, {"$ref"=>"#/definitions/string"}]}, "name"=>{"anyOf"=>[{"$ref"=>"#/definitions/string"}, {"allOf"=>[{"$ref"=>"#/definitions/stringPattern"}, {"type"=>"object", "properties"=>{"match"=>true, "matches"=>true, "has_prefix"=>true, "has_suffix"=>true, "unless"=>{"$ref"=>"#/definitions/nameList"}}, "minProperties"=>1, "additionalProperties"=>false}]}]}, "nameList"=>{"anyOf"=>[{"type"=>"array", "items"=>{"$ref"=>"#/definitions/name"}, "minItems"=>1}, {"$ref"=>"#/definitions/name"}]}, "argumentPosition"=>{"anyOf"=>[{"$ref"=>"#/definitions/string"}, {"type"=>"integer", "minimum"=>0}, {"$ref"=>"#/definitions/name"}]}, "argumentPositionList"=>{"anyOf"=>[{"$ref"=>"#/definitions/argumentPosition"}, {"type"=>"array", "items"=>{"$ref"=>"#/definitions/argumentPosition"}, "minItems"=>1}]}, "valueType"=>{"type"=>"string", "enum"=>["String", "Symbol", "Integer", "Float", "Array", "Hash", "Proc"]}, "valueTypeList"=>{"anyOf"=>[{"$ref"=>"#/definitions/valueType"}, {"type"=>"array", "items"=>{"$ref"=>"#/definitions/valueType"}, "minItems"=>1}]}, "hasValue"=>{"anyOf"=>[{"type"=>"string"}, {"type"=>"integer"}, {"type"=>"number"}, {"type"=>"boolean"}, {"type"=>"null"}, {"allOf"=>[{"$ref"=>"#/definitions/stringPattern"}, {"type"=>"object", "properties"=>{"match"=>true, "matches"=>true, "has_prefix"=>true, "has_suffix"=>true, "at"=>{"$ref"=>"#/definitions/argumentPositionList"}, "has_value"=>{"$ref"=>"#/definitions/hasValueList"}, "has_receiver"=>{"$ref"=>"#/definitions/hasValueList"}, "type"=>{"$ref"=>"#/definitions/valueTypeList"}, "unless"=>{"$ref"=>"#/definitions/hasValueList"}}, "minProperties"=>1, "additionalProperties"=>false, "allOf"=>[{"not"=>{"required"=>["match", "at"]}}, {"not"=>{"required"=>["match", "has_value"]}}, {"not"=>{"required"=>["match", "type"]}}, {"not"=>{"required"=>["matches", "at"]}}, {"not"=>{"required"=>["matches", "has_value"]}}, {"not"=>{"required"=>["matches", "type"]}}, {"not"=>{"required"=>["has_prefix", "at"]}}, {"not"=>{"required"=>["has_prefix", "has_value"]}}, {"not"=>{"required"=>["has_prefix", "type"]}}, {"not"=>{"required"=>["has_suffix", "at"]}}, {"not"=>{"required"=>["has_suffix", "has_value"]}}, {"not"=>{"required"=>["has_suffix", "type"]}}, {"not"=>{"required"=>["at", "type"]}}, {"not"=>{"required"=>["has_value", "type"]}}]}]}]}, "hasValueList"=>{"anyOf"=>[{"$ref"=>"#/definitions/hasValue"}, {"type"=>"array", "items"=>{"$ref"=>"#/definitions/hasValue"}, "minItems"=>1}]}, "hasArgument"=>{"anyOf"=>[{"$ref"=>"#/definitions/string"}, {"type"=>"integer", "minimum"=>0}, {"type"=>"object", "properties"=>{"at"=>{"$ref"=>"#/definitions/argumentPositionList"}, "has_value"=>{"$ref"=>"#/definitions/hasValueList"}, "unless"=>{"$ref"=>"#/definitions/hasArgumentList"}}, "minProperties"=>1, "additionalProperties"=>false, "allOf"=>[{"not"=>{"required"=>["has_argument", "has_arguments"]}}]}]}, "hasArgumentList"=>{"anyOf"=>[{"$ref"=>"#/definitions/hasArgument"}, {"type"=>"array", "items"=>{"$ref"=>"#/definitions/hasArgument"}, "minItems"=>1}]}, "rulePattern"=>{"type"=>"object", "properties"=>{"name"=>{"$ref"=>"#/definitions/nameList"}, "names"=>{"$ref"=>"#/definitions/nameList"}, "path"=>{"$ref"=>"#/definitions/stringList"}, "paths"=>{"$ref"=>"#/definitions/stringList"}, "has_argument"=>{"$ref"=>"#/definitions/hasArgumentList"}, "has_arguments"=>{"$ref"=>"#/definitions/hasArgumentList"}, "has_receiver"=>{"$ref"=>"#/definitions/hasValueList"}}, "minProperties"=>1, "allOf"=>[{"not"=>{"required"=>["name", "names"]}}, {"not"=>{"required"=>["path", "paths"]}}, {"not"=>{"required"=>["has_argument", "has_arguments"]}}]}, "transformProperties"=>{"type"=>"object", "properties"=>{"original"=>{"$ref"=>"#/definitions/true"}, "pluralize"=>{"$ref"=>"#/definitions/true"}, "singularize"=>{"$ref"=>"#/definitions/true"}, "camelize"=>{"$ref"=>"#/definitions/true"}, "camelcase"=>{"$ref"=>"#/definitions/true"}, "underscore"=>{"$ref"=>"#/definitions/true"}, "titleize"=>{"$ref"=>"#/definitions/true"}, "titlecase"=>{"$ref"=>"#/definitions/true"}, "demodulize"=>{"$ref"=>"#/definitions/true"}, "deconstantize"=>{"$ref"=>"#/definitions/true"}, "parameterize"=>{"$ref"=>"#/definitions/true"}, "downcase"=>{"$ref"=>"#/definitions/true"}, "upcase"=>{"$ref"=>"#/definitions/true"}, "capitalize"=>{"$ref"=>"#/definitions/true"}, "swapcase"=>{"$ref"=>"#/definitions/true"}, "add_prefix"=>{"$ref"=>"#/definitions/actionList"}, "add_suffix"=>{"$ref"=>"#/definitions/actionList"}, "split"=>{"$ref"=>"#/definitions/string"}, "delete_prefix"=>{"$ref"=>"#/definitions/string"}, "delete_suffix"=>{"$ref"=>"#/definitions/string"}, "delete_before"=>{"$ref"=>"#/definitions/string"}, "delete_after"=>{"$ref"=>"#/definitions/string"}}}, "transform"=>{"anyOf"=>[{"type"=>"string", "enum"=>["original", "pluralize", "singularize", "camelize", "camelcase", "underscore", "titleize", "titlecase", "demodulize", "deconstantize", "parameterize", "downcase", "upcase", "capitalize", "swapcase"]}, {"allOf"=>[{"$ref"=>"#/definitions/transformProperties"}, {"type"=>"object", "properties"=>{"original"=>true, "pluralize"=>true, "singularize"=>true, "camelize"=>true, "camelcase"=>true, "underscore"=>true, "titleize"=>true, "titlecase"=>true, "demodulize"=>true, "deconstantize"=>true, "parameterize"=>true, "downcase"=>true, "upcase"=>true, "capitalize"=>true, "swapcase"=>true, "add_prefix"=>true, "add_suffix"=>true, "split"=>true, "delete_prefix"=>true, "delete_suffix"=>true, "delete_before"=>true, "delete_after"=>true}, "additionalProperties"=>false}]}]}, "transformList"=>{"anyOf"=>[{"$ref"=>"#/definitions/transform"}, {"type"=>"array", "items"=>{"$ref"=>"#/definitions/transform"}, "minItems"=>1}]}, "keyword"=>{"anyOf"=>[{"$ref"=>"#/definitions/name"}]}, "keywordList"=>{"anyOf"=>[{"$ref"=>"#/definitions/keyword"}, {"type"=>"array", "items"=>{"$ref"=>"#/definitions/keyword"}, "minItems"=>1}]}, "action"=>{"anyOf"=>[{"$ref"=>"#/definitions/string"}, {"type"=>"integer", "minimum"=>0}, {"allOf"=>[{"$ref"=>"#/definitions/transformProperties"}, {"type"=>"object", "properties"=>{"argument"=>{"$ref"=>"#/definitions/argumentPositionList"}, "arguments"=>{"$ref"=>"#/definitions/argumentPositionList"}, "keyword"=>{"$ref"=>"#/definitions/keywordList"}, "keywords"=>{"$ref"=>"#/definitions/keywordList"}, "itself"=>{"$ref"=>"#/definitions/true"}, "value"=>{"$ref"=>"#/definitions/string"}, "nested"=>{"$ref"=>"#/definitions/actionList"}, "recursive"=>{"$ref"=>"#/definitions/true"}, "transforms"=>{"$ref"=>"#/definitions/transformList"}, "pluralize"=>true, "singularize"=>true, "camelize"=>true, "camelcase"=>true, "underscore"=>true, "titleize"=>true, "titlecase"=>true, "demodulize"=>true, "deconstantize"=>true, "parameterize"=>true, "downcase"=>true, "upcase"=>true, "capitalize"=>true, "swapcase"=>true, "add_prefix"=>true, "add_suffix"=>true, "split"=>true, "delete_prefix"=>true, "delete_suffix"=>true, "delete_before"=>true, "delete_after"=>true}, "additionalProperties"=>false, "allOf"=>[{"not"=>{"required"=>["keyword", "keywords"]}}, {"not"=>{"required"=>["argument", "arguments"]}}, {"anyOf"=>[{"required"=>["argument"]}, {"required"=>["arguments"]}, {"required"=>["keyword"]}, {"required"=>["keywords"]}, {"required"=>["itself"]}, {"required"=>["value"]}]}]}]}]}, "actionList"=>{"anyOf"=>[{"$ref"=>"#/definitions/action"}, {"type"=>"array", "items"=>{"$ref"=>"#/definitions/action"}, "minItems"=>1}]}, "dynamicAction"=>{"type"=>"object", "properties"=>{"call"=>{"$ref"=>"#/definitions/actionList"}, "calls"=>{"$ref"=>"#/definitions/actionList"}, "define"=>{"$ref"=>"#/definitions/actionList"}, "defines"=>{"$ref"=>"#/definitions/actionList"}}, "additionalProperties"=>true, "minProperties"=>1, "allOf"=>[{"not"=>{"required"=>["call", "calls"]}}, {"not"=>{"required"=>["define", "defines"]}}, {"anyOf"=>[{"required"=>["call"]}, {"required"=>["calls"]}, {"required"=>["define"]}, {"required"=>["defines"]}]}]}, "ruleMatcherList"=>{"anyOf"=>[{"type"=>"array", "items"=>{"$ref"=>"#/definitions/ruleMatcher"}, "minItems"=>1}, {"$ref"=>"#/definitions/ruleMatcher"}]}, "ruleMatcher"=>{"allOf"=>[{"$ref"=>"#/definitions/rulePattern"}, {"anyOf"=>[{"required"=>["name"]}, {"required"=>["names"]}, {"required"=>["path"]}, {"required"=>["paths"]}, {"required"=>["has_argument"]}, {"required"=>["has_arguments"]}, {"required"=>["has_receiver"]}, {"required"=>["unless"]}]}, {"type"=>"object", "properties"=>{"name"=>true, "names"=>true, "path"=>true, "paths"=>true, "has_argument"=>true, "has_arguments"=>true, "has_receiver"=>true, "unless"=>{"$ref"=>"#/definitions/ruleMatcherList"}}, "additionalProperties"=>false, "minProperties"=>1}]}, "dynamic"=>{"allOf"=>[{"$ref"=>"#/definitions/rulePattern"}, {"$ref"=>"#/definitions/dynamicAction"}, {"anyOf"=>[{"required"=>["name"]}, {"required"=>["names"]}, {"required"=>["path"]}, {"required"=>["paths"]}, {"required"=>["has_argument"]}, {"required"=>["has_arguments"]}, {"required"=>["has_receiver"]}, {"required"=>["unless"]}]}, {"type"=>"object", "properties"=>{"name"=>true, "names"=>true, "path"=>true, "paths"=>true, "has_argument"=>true, "has_arguments"=>true, "has_receiver"=>true, "unless"=>{"$ref"=>"#/definitions/ruleMatcherList"}, "call"=>true, "calls"=>true, "define"=>true, "defines"=>true}, "additionalProperties"=>false, "minProperties"=>1}]}, "dynamicList"=>{"anyOf"=>[{"type"=>"array", "items"=>{"$ref"=>"#/definitions/dynamic"}, "minItems"=>1}, {"$ref"=>"#/definitions/dynamic"}]}, "keepTestOnly"=>{"anyOf"=>[{"$ref"=>"#/definitions/string"}, {"allOf"=>[{"$ref"=>"#/definitions/stringPattern"}, {"$ref"=>"#/definitions/rulePattern"}, {"type"=>"object", "properties"=>{"name"=>true, "names"=>true, "has_prefix"=>true, "has_suffix"=>true, "matches"=>true, "path"=>true, "paths"=>true, "has_argument"=>true, "has_arguments"=>true, "has_receiver"=>true, "unless"=>{"$ref"=>"#/definitions/keepTestOnlyList"}}, "additionalProperties"=>false, "minProperties"=>1}]}]}, "keepTestOnlyList"=>{"anyOf"=>[{"type"=>"array", "items"=>{"$ref"=>"#/definitions/keepTestOnly"}, "minItems"=>1}, {"$ref"=>"#/definitions/keepTestOnly"}]}}, "properties"=>{"include_paths"=>{"$ref"=>"#/definitions/stringList"}, "exclude_paths"=>{"$ref"=>"#/definitions/stringList"}, "test_paths"=>{"$ref"=>"#/definitions/stringList"}, "haml_paths"=>{"$ref"=>"#/definitions/stringList"}, "erb_paths"=>{"$ref"=>"#/definitions/stringList"}, "requires"=>{"$ref"=>"#/definitions/stringList"}, "gems"=>{"$ref"=>"#/definitions/stringList"}, "keep"=>{"$ref"=>"#/definitions/keepTestOnlyList"}, "test_only"=>{"$ref"=>"#/definitions/keepTestOnlyList"}, "dynamic"=>{"$ref"=>"#/definitions/dynamicList"}}} validates itself gems can validate graphql default config can validate activemodel default config can validate rack default config can validate guard default config can validate activejob default config can validate rollbar default config can validate okcomputer default config can validate builder default config can validate attr_encrypted default config can validate flipper default config can validate actionview default config can validate pry default config can validate datagrid default config can validate will_paginate default config can validate rspec default config can validate simplecov default config can validate parser default config can validate capistrano default config can validate activerecord default config can validate rake default config can validate actionmailer default config can validate redcarpet default config can validate actionpack default config can validate audited default config can validate jbuilder default config can validate selenium-webdriver default config can validate actioncable default config can validate sidekiq default config can validate rails default config can validate haml default config can validate ruby default config can validate activesupport default config Leftovers::DefinitionSet to_s has multiple names rspec gem with method calls using be_ example at ./spec/config/rspec_spec.rb:28 (FAILED - 1) with method calls using have_ example at ./spec/config/rspec_spec.rb:37 (FAILED - 2) with method calls using receive_messages example at ./spec/config/rspec_spec.rb:46 (FAILED - 3) audited gem with unless example at ./spec/config/audited_spec.rb:47 (FAILED - 4) with only:/except: example at ./spec/config/audited_spec.rb:53 (FAILED - 5) with associated_with example at ./spec/config/audited_spec.rb:35 (FAILED - 6) with if example at ./spec/config/audited_spec.rb:41 (FAILED - 7) with current_user_method= example at ./spec/config/audited_spec.rb:26 (FAILED - 8) Leftovers::FileCollector with alias arguments example at ./spec/file_collector/literal_spec.rb:245 (FAILED - 9) with multiple inline comment allows for non alpha methods is expected to have no definitions and have calls :[], :[]=, :**, :!, :~, :+@, :-@, :*, :/, :%, :+, :-, :>>, :<<, :&, :^, :|, :<=, :<, :>, :>=, :<=>, :==, :===, :!=, :=~, and :!~ with cvar calls using ||= example at ./spec/file_collector/literal_spec.rb:179 (FAILED - 10) with inline comment calls example at ./spec/file_collector/literal_spec.rb:315 (FAILED - 11) with gvar calls using &&= example at ./spec/file_collector/literal_spec.rb:149 (FAILED - 12) with gvar calls example at ./spec/file_collector/literal_spec.rb:155 (FAILED - 13) with method calls using &&= example at ./spec/file_collector/literal_spec.rb:83 (FAILED - 14) with method calls using ||= example at ./spec/file_collector/literal_spec.rb:77 (FAILED - 15) with ivar calls using &&= example at ./spec/file_collector/literal_spec.rb:113 (FAILED - 16) with method calls using *= example at ./spec/file_collector/literal_spec.rb:71 (FAILED - 17) with cvar calls example at ./spec/file_collector/literal_spec.rb:191 (FAILED - 18) with class definitions and constant calls to the inheritance class example at ./spec/file_collector/literal_spec.rb:215 (FAILED - 19) with gvar calls using += example at ./spec/file_collector/literal_spec.rb:131 (FAILED - 20) with inline comment test has only test definitions (FAILED - 21) with ivar calls using ||= example at ./spec/file_collector/literal_spec.rb:107 (FAILED - 22) with ivar definitions example at ./spec/file_collector/literal_spec.rb:89 (FAILED - 23) with method calls in optional arguments example at ./spec/file_collector/literal_spec.rb:29 (FAILED - 24) with constant assignment example at ./spec/file_collector/literal_spec.rb:227 (FAILED - 25) with ivar calls using += example at ./spec/file_collector/literal_spec.rb:95 (FAILED - 26) with gvar calls using ||= example at ./spec/file_collector/literal_spec.rb:143 (FAILED - 27) with inline comment allows is expected to have no definitions and have no calls with syntax errors has an error message with method calls that match a previously defined lvar example at ./spec/file_collector/literal_spec.rb:35 (FAILED - 28) with module definitions example at ./spec/file_collector/literal_spec.rb:221 (FAILED - 29) with class definitions example at ./spec/file_collector/literal_spec.rb:209 (FAILED - 30) with method calls that match a previously defined lvar in a different context example at ./spec/file_collector/literal_spec.rb:197 (FAILED - 31) with cvar calls using &&= example at ./spec/file_collector/literal_spec.rb:185 (FAILED - 32) with method calls block pass example at ./spec/file_collector/literal_spec.rb:53 (FAILED - 33) with lazy method calls example at ./spec/file_collector/literal_spec.rb:251 (FAILED - 34) with constant references example at ./spec/file_collector/literal_spec.rb:203 (FAILED - 35) with inline comment calls for constants example at ./spec/file_collector/literal_spec.rb:334 (FAILED - 36) with method calls using += example at ./spec/file_collector/literal_spec.rb:65 (FAILED - 37) with gvar definitions example at ./spec/file_collector/literal_spec.rb:125 (FAILED - 38) with method calls in hash values example at ./spec/file_collector/literal_spec.rb:233 (FAILED - 39) with used in scope as calls is expected to have no definitions and have calls :A and :B with cvar calls using *= example at ./spec/file_collector/literal_spec.rb:173 (FAILED - 40) with cvar calls using += example at ./spec/file_collector/literal_spec.rb:167 (FAILED - 41) with gvar calls using *= example at ./spec/file_collector/literal_spec.rb:137 (FAILED - 42) with method calls using Symbol#to_proc example at ./spec/file_collector/literal_spec.rb:41 (FAILED - 43) with cvar definitions example at ./spec/file_collector/literal_spec.rb:161 (FAILED - 44) with inline comment allows for constants example at ./spec/file_collector/literal_spec.rb:353 (FAILED - 45) with ivar calls using *= example at ./spec/file_collector/literal_spec.rb:101 (FAILED - 46) with ivar calls example at ./spec/file_collector/literal_spec.rb:119 (FAILED - 47) with method calls using = example at ./spec/file_collector/literal_spec.rb:59 (FAILED - 48) with def method example at ./spec/file_collector/literal_spec.rb:23 (FAILED - 49) Leftovers::FileCollector with haml files example at ./spec/file_collector/haml_spec.rb:34 (FAILED - 50) with haml files with ruby blocks example at ./spec/file_collector/haml_spec.rb:107 (FAILED - 51) with haml files with echoed whitespace-significant blocks example at ./spec/file_collector/haml_spec.rb:151 (FAILED - 52) with invalid haml files outputs an error and collects nothing (FAILED - 53) with unavailable haml gem raises an error (FAILED - 54) with haml files with whitespace-significant blocks example at ./spec/file_collector/haml_spec.rb:136 (FAILED - 55) with haml files with hidden scripts example at ./spec/file_collector/haml_spec.rb:82 (FAILED - 56) with haml files string interpolation example at ./spec/file_collector/haml_spec.rb:92 (FAILED - 57) with haml files with dynamic attributes example at ./spec/file_collector/haml_spec.rb:121 (FAILED - 58) ruby and stdlib with method definitions using attr_reader example at ./spec/config/ruby_spec.rb:29 (FAILED - 59) with instance_variable_get example at ./spec/config/ruby_spec.rb:80 (FAILED - 60) with dynamic comment test only example at ./spec/config/ruby_spec.rb:120 (FAILED - 61) when alias_method arguments aren't symbols example at ./spec/config/ruby_spec.rb:145 (FAILED - 62) with method calls using send with strings example at ./spec/config/ruby_spec.rb:47 (FAILED - 63) with method definitions using attr_accessor example at ./spec/config/ruby_spec.rb:35 (FAILED - 64) with define_method example at ./spec/config/ruby_spec.rb:104 (FAILED - 65) with a processing error raises an error with the filename of the file being checked (FAILED - 66) with multiple inline comment allows example at ./spec/config/ruby_spec.rb:200 (FAILED - 67) with class_variable_get example at ./spec/config/ruby_spec.rb:86 (FAILED - 68) with alias_method arguments example at ./spec/config/ruby_spec.rb:130 (FAILED - 69) when alias_method arguments are sends example at ./spec/config/ruby_spec.rb:155 (FAILED - 70) with dynamic comment allows example at ./spec/config/ruby_spec.rb:112 (FAILED - 71) with instance_variable_set example at ./spec/config/ruby_spec.rb:92 (FAILED - 72) with method calls using send with lvars example at ./spec/config/ruby_spec.rb:53 (FAILED - 73) with class_variable_set example at ./spec/config/ruby_spec.rb:98 (FAILED - 74) with # leftovers:call # without any name example at ./spec/config/ruby_spec.rb:183 (FAILED - 75) with method definitions using attr_writer example at ./spec/config/ruby_spec.rb:41 (FAILED - 76) with method calls using send with methods example at ./spec/config/ruby_spec.rb:64 (FAILED - 77) with method calls using send example at ./spec/config/ruby_spec.rb:23 (FAILED - 78) with method calls using send with interpolated lvars example at ./spec/config/ruby_spec.rb:74 (FAILED - 79) Leftovers::MergedConfig new only tries loading rspec once can work without bundler << can report when requiring handles clearing memoization (FAILED - 80) or's correctly Leftovers::FileCollector with erb files when comments example at ./spec/file_collector/erb_spec.rb:80 (FAILED - 81) with erb files example at ./spec/file_collector/erb_spec.rb:34 (FAILED - 82) with erb files when newline trimmed example at ./spec/file_collector/erb_spec.rb:49 (FAILED - 83) with erb files when block begins example at ./spec/file_collector/erb_spec.rb:64 (FAILED - 84) Leftovers::FileCollector with find has_argument with any positional argument is expected to have no definitions and have calls :kw1 and :my_method with find has_argument with only value type at any position is expected to have no definitions and have calls :lol, :foo, and :my_method with constant specific hash assignment keys is expected to have definitions :STRING_TRANSFORMS and have calls :downcase and :upcase with nested with specific, non-string-symbol position is expected to have no definitions and have calls :flow and :whatever with nested hash assignment values is expected to have definitions :STRING_TRANSFORMS and have calls :downcase and :upcase with upcase is expected to have no definitions and have calls :my_method and :UPCASE with position and keyword is expected to have no definitions and have calls :my_method, :value_1, and :value_3 with constant hash assignment keys with has_suffix but with an array assigned is expected to have definitions :STRING_TRANSFORMS and have no calls with find has_argument with an index array is expected to have no definitions and have calls :bar, :baz, and :my_method with defines matching keep is expected to have no definitions and have calls :my_method with constant assignment values with freeze is expected to have definitions :STRING_TRANSFORMS and have calls :downcase, :upcase, and :freeze with recursive hash assignment values is expected to have definitions :STRING_TRANSFORMS and have calls :downcase, :upcase, and :swapcase with recursive hash assignment values and keywords is expected to have definitions :STRING_TRANSFORMS and have calls :downcase, :upcase, :swapcase, :body, :title, :properties, :each, :then, :and, :finally, and :process with nested with non-string-symbol position is expected to have no definitions and have calls :flow and :whatever with pluralize example at ./spec/file_collector/custom_config_spec.rb:60 (FAILED - 85) with add_suffix argument with a non-string suffix is expected to have no definitions and have calls :my_method and :baz with shortcut keyword arguments defines is expected to have definitions :method and have calls :my_method with constant assignment to something we can't process when frozen is expected to have definitions :STRING_TRANSFORMS and have calls :freeze with underscore example at ./spec/file_collector/custom_config_spec.rb:136 (FAILED - 86) with has_argument with Array type is expected to have no definitions and have calls :yes and :my_method with has_argument with Float type is expected to have no definitions and have calls :yes and :my_method with constant assignment to something we can't process is expected to have definitions :STRING_TRANSFORMS and have no calls with names unless names is expected to have no definitions and have calls :my_magic_call, :non_magic_call, and :my_method_one with find has_argument with an index is expected to have no definitions and have calls :bar, :baz, and :my_method with collect rest kwargs is expected to have no definitions and have calls :my_method, :my_value, and :my_keyword_value with constant hash assignment keys is expected to have definitions :STRING_TRANSFORMS and have calls :downcase and :upcase with add_prefix argument with an index when the value is not a symbol is expected to have no definitions and have calls :call_foo, :call_bar, :baz, and :my_method with singularize example at ./spec/file_collector/custom_config_spec.rb:78 (FAILED - 87) with recursive has_receiver is expected to have no definitions and have calls :Caller, :Leftovers, :new, and :yes with defines matching test_only sometimes is expected to have non test definitions :whatever and have test only definitions :method and have calls :my_method with capitalize is expected to have no definitions and have calls :my_method and :Capitalize with add_suffix position argument is expected to have no definitions and have calls :my_method and :barxbaz with nested with specific, missing keyword is expected to have no definitions and have calls :flow and :whatever with swapcase is expected to have no definitions and have calls :my_method, :SWAP, and :case with find has_argument with only value type is expected to have no definitions and have calls :another_method, :baz, and :my_method with matches is expected to have no definitions and have calls :my_method, :your_method, :whatever, and :whichever with constant hash assignment keys with freeze is expected to have definitions :STRING_TRANSFORMS and have calls :downcase, :upcase, and :freeze with add_prefix argument with nothing to prefix is expected to have no definitions and have calls :lol and :my_method with has_argument with Integer type is expected to have no definitions and have calls :yes and :my_method with nested with specific position is expected to have no definitions and have calls :flow, :whatever, and :method_2 with keyword argument with suffix is expected to have no definitions and have calls :my_method, :whatever, and :method with shortcut keyword arguments is expected to have no definitions and have calls :my_method and :method with add_prefix argument with an index is expected to have no definitions and have calls :foo_bar, :lol, and :my_method with has_argument with Hash type is expected to have no definitions and have calls :yes and :my_method with titleize example at ./spec/file_collector/custom_config_spec.rb:157 (FAILED - 88) with has_receiver is expected to have no definitions and have calls :Caller, :new, :yes, and :NotCaller with find has_argument with an index and value is expected to have no definitions and have calls :bar and :my_method with constant hash assignment keys with has_suffix is expected to have definitions :STRING_TRANSFORMS and have calls :downcase and :upcase with camelize example at ./spec/file_collector/custom_config_spec.rb:95 (FAILED - 89) with constant assignment values is expected to have definitions :STRING_TRANSFORMS and have calls :downcase and :upcase with delete_after and delete_before on an empty string and nil is expected to have no definitions and have calls :my_method with nested with specific, non-string-symbol keyword is expected to have no definitions and have calls :flow and :whatever with defines matching test_only in transform set is expected to have no non test definitions and have test only definitions :method and :method= and have calls :my_method with nested with non-string-symbol keyword is expected to have no definitions and have calls :flow and :whatever with match is expected to have no definitions and have calls :my_method, :your_method, :whatever, and :whichever with add_suffix with a non string value without crashing is expected to have no definitions and have calls :my_method, :lol, and :barxbaz with constant hash assignment keys but with an array assigned is expected to have definitions :STRING_TRANSFORMS and have no calls with a method to define based on a method name is expected to have definitions :my_method and have calls :def_my_method and :to_s with add_suffix argument with a suffix is expected to have no definitions and have calls :my_method and :barxbaz with has_receiver list is expected to have no definitions and have calls :Caller, :Logger, :yes2, :new, :yes, and :NotCaller with nested with specific, missing position is expected to have no definitions and have calls :flow and :whatever with find has_argument is expected to have no definitions and have calls :bar and :my_method with has_argument with String type is expected to have no definitions and have calls :yes and :my_method with defines constant assignment to something we can't process when frozen is expected to have definitions :STRING_TRANSFORMS and have calls :freeze with csend arguments is expected to have no definitions and have calls :flow and :argument with find has_argument with unless is expected to have no definitions and have calls :baz, :foo, and :my_method with has_argument with only value is expected to have no definitions and have calls :bar, :lol, and :my_method with shortcut position arguments is expected to have no definitions and have calls :my_method and :whatever with find has_argument with a mix of kw and index array acts like or is expected to have no definitions and have calls :baz, :bar, :bit, and :my_method with find has_argument with only any of value is expected to have no definitions and have calls :bar, :baz, and :my_method with parameterize example at ./spec/file_collector/custom_config_spec.rb:115 (FAILED - 90) with add_suffix position arguments is expected to have no definitions and have calls :my_method, :barxbaz, and :barxfoo with downcase is expected to have no definitions and have calls :my_method and :downcase with defines with transform set with an empty value is expected to have definitions :od and have calls :my_method with shortcut position arguments defines is expected to have definitions :whatever and have calls :my_method with position and keyword lvars is expected to have no definitions and have calls :my_method with defines matching test_only is expected to have no non test definitions and have test only definitions :method and have calls :my_method with has_argument with Symbol type is expected to have no definitions and have calls :yes and :my_method with find has_argument with only value type at any kw is expected to have no definitions and have calls :bar, :baz, and :my_method with deconstantize example at ./spec/file_collector/custom_config_spec.rb:191 (FAILED - 91) with find has_argument with a mix of kw and index array and value is expected to have no definitions and have calls :bar, :baz, and :my_method with keyword argument with prefix and suffix is expected to have no definitions and have calls :my_method, :whatever, and :method with name with any of multiple prefixes is expected to have no definitions and have calls :my_method, :your_method, :whatever, :whichever, and :their_method with keyword argument with prefix is expected to have no definitions and have calls :my_method, :whatever, and :method with affixxed methods is expected to have no definitions and have calls :test, :html, and :test_html with has_argument with keyword, position, and value is expected to have no definitions and have calls :bar, :lol, and :my_method with find has_argument with has_value name matcher is expected to have no definitions and have calls :bar and :my_method with add_suffix position argument with no value to suffix is expected to have no definitions and have calls :my_method and :bar with find has_argument with an index array at at is expected to have no definitions and have calls :bar, :baz, and :my_method with recursive hash assignment values and keywords and array is expected to have definitions :STRING_TRANSFORMS and have calls :downcase, :upcase, :swapcase, :body, :title, :properties, and :process with array values is expected to have no definitions and have calls :flow, :whatever, :method_1, and :method_2 with find has_argument with keyword and value literal param is expected to have no definitions and have calls :bar and :my_method with defines constant assignment to an empty string is expected to have definitions :STRING_TRANSFORMS and have no calls with find has_argument with an index array and value is expected to have no definitions and have calls :bar, :baz, and :my_method with ivar assignment values is expected to have definitions :@string_transforms and have calls :downcase and :upcase with find has_argument with string keys is expected to have no definitions and have calls :bar and :my_method with has_argument with multiple types is expected to have no definitions and have calls :yes, :yes2, and :my_method with demodulize example at ./spec/file_collector/custom_config_spec.rb:174 (FAILED - 92) with keep with string pattern args is expected to have definitions :this and have no calls with an activesupport modifier without activesupport required for titleize is expected to output a string ending with "Tried using the String#titleize method, but the activesupport gem was not available and/or not required\n`gem install activesupport`, and/or add `requires: 'active_support/core_ext/string'` to your .leftovers.yml\n" to stderr for underscore is expected to output a string ending with "Tried using the String#underscore method, but the activesupport gem was not available and/or not required\n`gem install activesupport`, and/or add `requires: 'active_support/core_ext/string'` to your .leftovers.yml\n" to stderr for pluralize is expected to output a string ending with "Tried using the String#pluralize method, but the activesupport gem was not available and/or not required\n`gem install activesupport`, and/or add `requires: 'active_support/core_ext/string'` to your .leftovers.yml\n" to stderr for camelize is expected to output a string ending with "Tried using the String#camelize method, but the activesupport gem was not available and/or not required\n`gem install activesupport`, and/or add `requires: 'active_support/core_ext/string'` to your .leftovers.yml\n" to stderr for parameterize is expected to output a string ending with "Tried using the String#parameterize method, but the activesupport gem was not available and/or not required\n`gem install activesupport`, and/or add `requires: 'active_support/core_ext/string'` to your .leftovers.yml\n" to stderr for demodulize is expected to output a string ending with "Tried using the String#demodulize method, but the activesupport gem was not available and/or not required\n`gem install activesupport`, and/or add `requires: 'active_support/core_ext/string'` to your .leftovers.yml\n" to stderr for singularize is expected to output a string ending with "Tried using the String#singularize method, but the activesupport gem was not available and/or not required\n`gem install activesupport`, and/or add `requires: 'active_support/core_ext/string'` to your .leftovers.yml\n" to stderr for deconstantize is expected to output a string ending with "Tried using the String#deconstantize method, but the activesupport gem was not available and/or not required\n`gem install activesupport`, and/or add `requires: 'active_support/core_ext/string'` to your .leftovers.yml\n" to stderr with find has_argument with keyword param is expected to have no definitions and have calls :bar and :my_method with names unless names when the name is unless is expected to have no definitions and have calls :my_magic_call, :non_magic_call, and :my_method_one with find has_argument with unless value is expected to have no definitions and have calls :lol and :my_method with has_argument with Proc type is expected to have no definitions and have calls :yes, :yes2, :yes3, :proc, :lambda, :Proc, :new, :my_method, and :thing with defines matching keep in transform set is expected to have no definitions and have calls :my_method Leftovers has a version number .leftovers doesn't care about using one of multiple simultaneous defined methods (FAILED - 93) doesn't think method calls in the same file are leftovers (FAILED - 94) Leftovers::AST::Node #to_sym provides a sym #name provides a name if it makes sense to do so #to_scalar_value provides a scalar value if it makes sense to do so receiver responds to receiver #proc? responds to proc? #to_s provides a string representation #scalar? responds to scalar? rails gem with method calls using a method that calls multiple keyword arguments with splat example at ./spec/config/rails_spec.rb:44 (FAILED - 95) with method calls passed in an array to a before_save if: example at ./spec/config/rails_spec.rb:62 (FAILED - 96) with hash permit args example at ./spec/config/rails_spec.rb:226 (FAILED - 97) with delegation definitions and calls when prefix is defined example at ./spec/config/rails_spec.rb:184 (FAILED - 98) with routes resource calls with array except example at ./spec/config/rails_spec.rb:166 (FAILED - 99) with attribute assignment args example at ./spec/config/rails_spec.rb:202 (FAILED - 100) with delegation definitions and calls example at ./spec/config/rails_spec.rb:178 (FAILED - 101) with method calls using a method that calls multiple methods with keyword arguments example at ./spec/config/rails_spec.rb:35 (FAILED - 102) with validations calls with inclusion hash example at ./spec/config/rails_spec.rb:312 (FAILED - 103) with method calls in namespaced route values example at ./spec/config/rails_spec.rb:86 (FAILED - 104) with method calls using a method that calls multiple methods example at ./spec/config/rails_spec.rb:26 (FAILED - 105) with hash key calls example at ./spec/config/rails_spec.rb:105 (FAILED - 106) with bang methods example at ./spec/config/rails_spec.rb:211 (FAILED - 107) with scope with 1 argument example at ./spec/config/rails_spec.rb:283 (FAILED - 108) with delegation definitions and calls when prefix is true example at ./spec/config/rails_spec.rb:193 (FAILED - 109) with deep permit args example at ./spec/config/rails_spec.rb:239 (FAILED - 110) with method calls in route root values example at ./spec/config/rails_spec.rb:80 (FAILED - 111) with scoped constant calls in class_name symbol keys example at ./spec/config/rails_spec.rb:95 (FAILED - 112) with routes controller calls example at ./spec/config/rails_spec.rb:135 (FAILED - 113) with routes resource calls with except example at ./spec/config/rails_spec.rb:155 (FAILED - 114) with method calls passed to before_save if: example at ./spec/config/rails_spec.rb:53 (FAILED - 115) with validations calls inclusion method example at ./spec/config/rails_spec.rb:301 (FAILED - 116) with non-restful route calls example at ./spec/config/rails_spec.rb:123 (FAILED - 117) with AR scope example at ./spec/config/rails_spec.rb:274 (FAILED - 118) with method calls in route values example at ./spec/config/rails_spec.rb:71 (FAILED - 119) with basic permit args example at ./spec/config/rails_spec.rb:220 (FAILED - 120) with routes resource calls example at ./spec/config/rails_spec.rb:144 (FAILED - 121) with routes scope example at ./spec/config/rails_spec.rb:257 (FAILED - 122) with rest key calls example at ./spec/config/rails_spec.rb:114 (FAILED - 123) with validation calls example at ./spec/config/rails_spec.rb:292 (FAILED - 124) Leftovers::CLI leftovers with a test method defined and unused runs with --write-todo with files with unused methods runs with --write-todo runs with --write-todo and a preexisting TODO file runs runs with --no-parallel runs with --parallel outputs the version when --version outputs the files when --dry-run with some test runs with --write-todo with tests runs with --write-todo runs runs with suppressed progress with no files outputs the files when --help doesn't generate a TODO file runs outputs the version when --version outputs no files when --dry-run with files with linked config runs with --write-todo runs Leftovers::Config .dynamic can report errors when using define and defines and call and calls can report errors when using nonexistent keys for name can report errors when using define and defines can report errors with transform dynamic dynamic can report errors when using argument and arguments can report errors for empty keep string can report errors with transform dynamic affix dynamic can report config parse errors can report errors when using call and calls can report errors when using name and names can report errors when using keyword and keywords can report errors for empty keep object can report errors when using invalid conditions can report errors with transform keys can report errors when using invalid value number for has prefix can report errors when using invalid value null for has_prefix can report errors when using nonexistent keys for calls can report errors when using nonexistent keys for defines can report errors when using invalid argument values can report errors with invalid transform values can report errors when using missing argument etc can report errors when using path and paths can report errors when using invalid value for has_value_type can report errors with invalid typo transform values can report errors when using invalid value true for has_prefix can report errors when using invalid vales for name can report errors for empty keep can report errors when using invalid value array for has_prefix can report errors when using invalid value integer for has_prefix can report errors when using invalid values array for has_value gems can load rails default config can load will_paginate default config can load activejob default config can load actionview default config can load sidekiq default config can load redcarpet default config can load actionmailer default config can load parser default config can load activesupport default config can load okcomputer default config can load flipper default config can load attr_encrypted default config can load capistrano default config can load actionpack default config can load builder default config can load guard default config can load rollbar default config can load haml default config can load selenium-webdriver default config can load jbuilder default config can load rack default config can load activerecord default config can load activemodel default config can load rspec default config can load simplecov default config can load graphql default config can load actioncable default config can load pry default config can load rake default config can load datagrid default config can load ruby default config can load audited default config Failures: 1) rspec gem with method calls using be_ Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rspec_spec.rb:14:in `block (2 levels) in ' 2) rspec gem with method calls using have_ Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rspec_spec.rb:14:in `block (2 levels) in ' 3) rspec gem with method calls using receive_messages Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rspec_spec.rb:14:in `block (2 levels) in ' 4) audited gem with unless Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/audited_spec.rb:14:in `block (2 levels) in ' 5) audited gem with only:/except: Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/audited_spec.rb:14:in `block (2 levels) in ' 6) audited gem with associated_with Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/audited_spec.rb:14:in `block (2 levels) in ' 7) audited gem with if Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/audited_spec.rb:14:in `block (2 levels) in ' 8) audited gem with current_user_method= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/audited_spec.rb:14:in `block (2 levels) in ' 9) Leftovers::FileCollector with alias arguments Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:168:in `on_alias' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:245:in `block (3 levels) in ' 10) Leftovers::FileCollector with cvar calls using ||= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:89:in `on_cvasgn' # ./lib/leftovers/file_collector.rb:120:in `on_or_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:179:in `block (3 levels) in ' 11) Leftovers::FileCollector with inline comment calls Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:74:in `on_def' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:316:in `block (3 levels) in ' 12) Leftovers::FileCollector with gvar calls using &&= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:84:in `on_gvasgn' # ./lib/leftovers/file_collector.rb:115:in `on_and_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:149:in `block (3 levels) in ' 13) Leftovers::FileCollector with gvar calls Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing puts at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:155:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 14) Leftovers::FileCollector with method calls using &&= Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing foo at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:115:in `on_and_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:83:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 15) Leftovers::FileCollector with method calls using ||= Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing foo at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:120:in `on_or_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:77:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 16) Leftovers::FileCollector with ivar calls using &&= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:79:in `on_ivasgn' # ./lib/leftovers/file_collector.rb:115:in `on_and_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:113:in `block (3 levels) in ' 17) Leftovers::FileCollector with method calls using *= Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing foo at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:110:in `on_op_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:71:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 18) Leftovers::FileCollector with cvar calls Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing puts at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:191:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 19) Leftovers::FileCollector with class definitions and constant calls to the inheritance class Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:153:in `on_class' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:215:in `block (3 levels) in ' 20) Leftovers::FileCollector with gvar calls using += Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:84:in `on_gvasgn' # ./lib/leftovers/file_collector.rb:110:in `on_op_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:131:in `block (3 levels) in ' 21) Leftovers::FileCollector with inline comment test has only test definitions Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:74:in `on_def' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:292:in `block (3 levels) in ' 22) Leftovers::FileCollector with ivar calls using ||= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:79:in `on_ivasgn' # ./lib/leftovers/file_collector.rb:120:in `on_or_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:107:in `block (3 levels) in ' 23) Leftovers::FileCollector with ivar definitions Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:79:in `on_ivasgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:89:in `block (3 levels) in ' 24) Leftovers::FileCollector with method calls in optional arguments Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:74:in `on_def' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:29:in `block (3 levels) in ' 25) Leftovers::FileCollector with constant assignment Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing new at foo.rb:1:11 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:159:in `on_casgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:227:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 26) Leftovers::FileCollector with ivar calls using += Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:79:in `on_ivasgn' # ./lib/leftovers/file_collector.rb:110:in `on_op_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:95:in `block (3 levels) in ' 27) Leftovers::FileCollector with gvar calls using ||= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:84:in `on_gvasgn' # ./lib/leftovers/file_collector.rb:120:in `on_or_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:143:in `block (3 levels) in ' 28) Leftovers::FileCollector with method calls that match a previously defined lvar Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:74:in `on_def' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:35:in `block (3 levels) in ' 29) Leftovers::FileCollector with module definitions Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:153:in `on_class' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:221:in `block (3 levels) in ' 30) Leftovers::FileCollector with class definitions Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:153:in `on_class' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:209:in `block (3 levels) in ' 31) Leftovers::FileCollector with method calls that match a previously defined lvar in a different context Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:74:in `on_def' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:197:in `block (3 levels) in ' 32) Leftovers::FileCollector with cvar calls using &&= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:89:in `on_cvasgn' # ./lib/leftovers/file_collector.rb:115:in `on_and_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:185:in `block (3 levels) in ' 33) Leftovers::FileCollector with method calls block pass Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:74:in `on_def' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:53:in `block (3 levels) in ' 34) Leftovers::FileCollector with lazy method calls Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing this at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:130:in `on_csend' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:251:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 35) Leftovers::FileCollector with constant references Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing new at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:203:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 36) Leftovers::FileCollector with inline comment calls for constants Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:160:in `on_casgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:335:in `block (3 levels) in ' 37) Leftovers::FileCollector with method calls using += Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing foo at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:110:in `on_op_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:65:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 38) Leftovers::FileCollector with gvar definitions Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:84:in `on_gvasgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:125:in `block (3 levels) in ' 39) Leftovers::FileCollector with method calls in hash values Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing this at foo.rb:1:8 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:233:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 40) Leftovers::FileCollector with cvar calls using *= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:89:in `on_cvasgn' # ./lib/leftovers/file_collector.rb:110:in `on_op_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:173:in `block (3 levels) in ' 41) Leftovers::FileCollector with cvar calls using += Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:89:in `on_cvasgn' # ./lib/leftovers/file_collector.rb:110:in `on_op_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:167:in `block (3 levels) in ' 42) Leftovers::FileCollector with gvar calls using *= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:84:in `on_gvasgn' # ./lib/leftovers/file_collector.rb:110:in `on_op_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:137:in `block (3 levels) in ' 43) Leftovers::FileCollector with method calls using Symbol#to_proc Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing array at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:125:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:41:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 44) Leftovers::FileCollector with cvar definitions Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:89:in `on_cvasgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:161:in `block (3 levels) in ' 45) Leftovers::FileCollector with inline comment allows for constants Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing OVERRIDDEN_CONSTANT at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:232:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:161:in `on_casgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:353:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 46) Leftovers::FileCollector with ivar calls using *= Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:213:in `collect_variable_assign' # ./lib/leftovers/file_collector.rb:79:in `on_ivasgn' # ./lib/leftovers/file_collector.rb:110:in `on_op_asgn' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:101:in `block (3 levels) in ' 47) Leftovers::FileCollector with ivar calls Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing puts at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:119:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 48) Leftovers::FileCollector with method calls using = Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing foo= at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:59:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 49) Leftovers::FileCollector with def method Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:74:in `on_def' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/file_collector/literal_spec.rb:8:in `block (2 levels) in ' # ./spec/file_collector/literal_spec.rb:23:in `block (3 levels) in ' 50) Leftovers::FileCollector with haml files Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:34:in `block (3 levels) in ' 51) Leftovers::FileCollector with haml files with ruby blocks Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:108:in `block (3 levels) in ' 52) Leftovers::FileCollector with haml files with echoed whitespace-significant blocks Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:152:in `block (3 levels) in ' 53) Leftovers::FileCollector with invalid haml files outputs an error and collects nothing Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:46:in `block (4 levels) in ' # ./spec/file_collector/haml_spec.rb:46:in `block (3 levels) in ' 54) Leftovers::FileCollector with unavailable haml gem raises an error Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:66:in `block (4 levels) in ' # ./spec/file_collector/haml_spec.rb:66:in `block (3 levels) in ' 55) Leftovers::FileCollector with haml files with whitespace-significant blocks Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:137:in `block (3 levels) in ' 56) Leftovers::FileCollector with haml files with hidden scripts Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:82:in `block (3 levels) in ' 57) Leftovers::FileCollector with haml files string interpolation Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:93:in `block (3 levels) in ' 58) Leftovers::FileCollector with haml files with dynamic attributes Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/haml_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/haml_spec.rb:122:in `block (3 levels) in ' 59) ruby and stdlib with method definitions using attr_reader Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing attr_reader at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:29:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 60) ruby and stdlib with instance_variable_get Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing instance_variable_get at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:80:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 61) ruby and stdlib with dynamic comment test only Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing attr_reader at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:121:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 62) ruby and stdlib when alias_method arguments aren't symbols Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing alias_method at foo.rb:3:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:145:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 63) ruby and stdlib with method calls using send with strings Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing send at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:47:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 64) ruby and stdlib with method definitions using attr_accessor Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing attr_accessor at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:35:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 65) ruby and stdlib with define_method Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing define_method at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:104:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 66) ruby and stdlib with a processing error raises an error with the filename of the file being checked Failure/Error: expect { collector }.to raise_error( Leftovers::Error, "ArgumentError: original message\nwhen processing attr_reader at foo.rb:1:0" ) expected Leftovers::Error with "ArgumentError: original message\nwhen processing attr_reader at foo.rb:1:0", got # with backtrace: # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:232:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:167:in `block (4 levels) in ' # ./spec/config/ruby_spec.rb:167:in `block (3 levels) in ' # ./spec/config/ruby_spec.rb:167:in `block (3 levels) in ' 67) ruby and stdlib with multiple inline comment allows Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing each at foo.rb:8:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:201:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 68) ruby and stdlib with class_variable_get Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing class_variable_get at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:86:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 69) ruby and stdlib with alias_method arguments Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing alias_method at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:131:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 70) ruby and stdlib when alias_method arguments are sends Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing a at foo.rb:1:13 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:125:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:155:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 71) ruby and stdlib with dynamic comment allows Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing attr_reader at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:232:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:112:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 72) ruby and stdlib with instance_variable_set Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing value at foo.rb:1:29 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:125:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:92:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 73) ruby and stdlib with method calls using send with lvars Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing foo at foo.rb:1:5 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:125:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:53:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 74) ruby and stdlib with class_variable_set Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing value at foo.rb:1:27 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:125:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:98:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 75) ruby and stdlib with # leftovers:call # without any name Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing send at foo.rb:3:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:183:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 76) ruby and stdlib with method definitions using attr_writer Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing attr_writer at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:41:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 77) ruby and stdlib with method calls using send with methods Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_collector.rb:185:in `add_definition' # ./lib/leftovers/file_collector.rb:74:in `on_def' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:64:in `block (3 levels) in ' 78) ruby and stdlib with method calls using send Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing send at foo.rb:1:0 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:23:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 79) ruby and stdlib with method calls using send with interpolated lvars Failure/Error: require requirable Leftovers::Error: NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState when processing bar at foo.rb:1:11 # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:14:in `test?' # ./lib/leftovers/file_collector.rb:175:in `test_line?' # ./lib/leftovers/file_collector.rb:230:in `collect_dynamic' # ./lib/leftovers/file_collector.rb:196:in `collect_send' # ./lib/leftovers/file_collector.rb:126:in `on_send' # ./lib/leftovers/file_collector.rb:125:in `on_send' # ./lib/leftovers/file_collector.rb:46:in `collect' # ./spec/config/ruby_spec.rb:8:in `block (2 levels) in ' # ./spec/config/ruby_spec.rb:74:in `block (3 levels) in ' # ------------------ # --- Caused by: --- # NameError: # uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' 80) Leftovers::MergedConfig << handles clearing memoization Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:26:in `block in <<' # ./lib/leftovers/merged_config.rb:26:in `each' # ./lib/leftovers/merged_config.rb:26:in `<<' # ./spec/merged_config_spec.rb:21:in `block (3 levels) in ' 81) Leftovers::FileCollector with erb files when comments Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/erb_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/erb_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/erb_spec.rb:81:in `block (3 levels) in ' 82) Leftovers::FileCollector with erb files Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/erb_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/erb_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/erb_spec.rb:35:in `block (3 levels) in ' 83) Leftovers::FileCollector with erb files when newline trimmed Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/erb_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/erb_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/erb_spec.rb:50:in `block (3 levels) in ' 84) Leftovers::FileCollector with erb files when block begins Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file.rb:18:in `ruby' # ./spec/file_collector/erb_spec.rb:25:in `block (2 levels) in ' # ./spec/file_collector/erb_spec.rb:7:in `block (2 levels) in ' # ./spec/file_collector/erb_spec.rb:65:in `block (3 levels) in ' 85) Leftovers::FileCollector with pluralize Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./spec/file_collector/custom_config_spec.rb:17:in `block (2 levels) in ' 86) Leftovers::FileCollector with underscore Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./spec/file_collector/custom_config_spec.rb:17:in `block (2 levels) in ' 87) Leftovers::FileCollector with singularize Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./spec/file_collector/custom_config_spec.rb:17:in `block (2 levels) in ' 88) Leftovers::FileCollector with titleize Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./spec/file_collector/custom_config_spec.rb:17:in `block (2 levels) in ' 89) Leftovers::FileCollector with camelize Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./spec/file_collector/custom_config_spec.rb:17:in `block (2 levels) in ' 90) Leftovers::FileCollector with parameterize Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./spec/file_collector/custom_config_spec.rb:17:in `block (2 levels) in ' 91) Leftovers::FileCollector with deconstantize Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./spec/file_collector/custom_config_spec.rb:17:in `block (2 levels) in ' 92) Leftovers::FileCollector with demodulize Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./spec/file_collector/custom_config_spec.rb:17:in `block (2 levels) in ' 93) Leftovers.leftovers doesn't care about using one of multiple simultaneous defined methods Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:26:in `block in <<' # ./lib/leftovers/merged_config.rb:26:in `each' # ./lib/leftovers/merged_config.rb:26:in `<<' # ./lib/leftovers/merged_config.rb:26:in `block in <<' # ./lib/leftovers/merged_config.rb:26:in `each' # ./lib/leftovers/merged_config.rb:26:in `<<' # ./lib/leftovers/merged_config.rb:14:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_list.rb:9:in `initialize' # ./lib/leftovers/collector.rb:22:in `new' # ./lib/leftovers/collector.rb:22:in `collect' # ./lib/leftovers.rb:60:in `leftovers' # ./spec/leftovers_spec.rb:32:in `block (3 levels) in ' 94) Leftovers.leftovers doesn't think method calls in the same file are leftovers Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./lib/leftovers/file_list.rb:9:in `initialize' # ./lib/leftovers/collector.rb:22:in `new' # ./lib/leftovers/collector.rb:22:in `collect' # ./lib/leftovers.rb:60:in `leftovers' # ./spec/leftovers_spec.rb:57:in `block (3 levels) in ' 95) rails gem with method calls using a method that calls multiple keyword arguments with splat Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 96) rails gem with method calls passed in an array to a before_save if: Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 97) rails gem with hash permit args Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 98) rails gem with delegation definitions and calls when prefix is defined Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 99) rails gem with routes resource calls with array except Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 100) rails gem with attribute assignment args Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 101) rails gem with delegation definitions and calls Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 102) rails gem with method calls using a method that calls multiple methods with keyword arguments Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 103) rails gem with validations calls with inclusion hash Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 104) rails gem with method calls in namespaced route values Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 105) rails gem with method calls using a method that calls multiple methods Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 106) rails gem with hash key calls Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 107) rails gem with bang methods Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 108) rails gem with scope with 1 argument Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 109) rails gem with delegation definitions and calls when prefix is true Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 110) rails gem with deep permit args Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 111) rails gem with method calls in route root values Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 112) rails gem with scoped constant calls in class_name symbol keys Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 113) rails gem with routes controller calls Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 114) rails gem with routes resource calls with except Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 115) rails gem with method calls passed to before_save if: Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 116) rails gem with validations calls inclusion method Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 117) rails gem with non-restful route calls Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 118) rails gem with AR scope Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 119) rails gem with method calls in route values Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 120) rails gem with basic permit args Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 121) rails gem with routes resource calls Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 122) rails gem with routes scope Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 123) rails gem with rest key calls Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' 124) rails gem with validation calls Failure/Error: require requirable NameError: uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState # ./lib/leftovers.rb:150:in `require' # ./lib/leftovers.rb:150:in `block in try_require_cache' # ./lib/leftovers.rb:148:in `fetch' # ./lib/leftovers.rb:148:in `try_require_cache' # ./lib/leftovers.rb:129:in `try_require' # ./lib/leftovers/merged_config.rb:28:in `block in <<' # ./lib/leftovers/merged_config.rb:27:in `each' # ./lib/leftovers/merged_config.rb:27:in `<<' # ./lib/leftovers/merged_config.rb:100:in `block in load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:99:in `each' # ./lib/leftovers/merged_config.rb:99:in `load_bundled_gem_config' # ./lib/leftovers/merged_config.rb:16:in `initialize' # ./lib/leftovers.rb:47:in `new' # ./lib/leftovers.rb:47:in `config' # ./spec/config/rails_spec.rb:14:in `block (2 levels) in ' Finished in 6.23 seconds (files took 0.46145 seconds to load) 359 examples, 124 failures Failed examples: rspec ./spec/config/rspec_spec.rb:28 # rspec gem with method calls using be_ rspec ./spec/config/rspec_spec.rb:37 # rspec gem with method calls using have_ rspec ./spec/config/rspec_spec.rb:46 # rspec gem with method calls using receive_messages rspec ./spec/config/audited_spec.rb:47 # audited gem with unless rspec ./spec/config/audited_spec.rb:53 # audited gem with only:/except: rspec ./spec/config/audited_spec.rb:35 # audited gem with associated_with rspec ./spec/config/audited_spec.rb:41 # audited gem with if rspec ./spec/config/audited_spec.rb:26 # audited gem with current_user_method= rspec ./spec/file_collector/literal_spec.rb:245 # Leftovers::FileCollector with alias arguments rspec ./spec/file_collector/literal_spec.rb:179 # Leftovers::FileCollector with cvar calls using ||= rspec ./spec/file_collector/literal_spec.rb:315 # Leftovers::FileCollector with inline comment calls rspec ./spec/file_collector/literal_spec.rb:149 # Leftovers::FileCollector with gvar calls using &&= rspec ./spec/file_collector/literal_spec.rb:155 # Leftovers::FileCollector with gvar calls rspec ./spec/file_collector/literal_spec.rb:83 # Leftovers::FileCollector with method calls using &&= rspec ./spec/file_collector/literal_spec.rb:77 # Leftovers::FileCollector with method calls using ||= rspec ./spec/file_collector/literal_spec.rb:113 # Leftovers::FileCollector with ivar calls using &&= rspec ./spec/file_collector/literal_spec.rb:71 # Leftovers::FileCollector with method calls using *= rspec ./spec/file_collector/literal_spec.rb:191 # Leftovers::FileCollector with cvar calls rspec ./spec/file_collector/literal_spec.rb:215 # Leftovers::FileCollector with class definitions and constant calls to the inheritance class rspec ./spec/file_collector/literal_spec.rb:131 # Leftovers::FileCollector with gvar calls using += rspec ./spec/file_collector/literal_spec.rb:291 # Leftovers::FileCollector with inline comment test has only test definitions rspec ./spec/file_collector/literal_spec.rb:107 # Leftovers::FileCollector with ivar calls using ||= rspec ./spec/file_collector/literal_spec.rb:89 # Leftovers::FileCollector with ivar definitions rspec ./spec/file_collector/literal_spec.rb:29 # Leftovers::FileCollector with method calls in optional arguments rspec ./spec/file_collector/literal_spec.rb:227 # Leftovers::FileCollector with constant assignment rspec ./spec/file_collector/literal_spec.rb:95 # Leftovers::FileCollector with ivar calls using += rspec ./spec/file_collector/literal_spec.rb:143 # Leftovers::FileCollector with gvar calls using ||= rspec ./spec/file_collector/literal_spec.rb:35 # Leftovers::FileCollector with method calls that match a previously defined lvar rspec ./spec/file_collector/literal_spec.rb:221 # Leftovers::FileCollector with module definitions rspec ./spec/file_collector/literal_spec.rb:209 # Leftovers::FileCollector with class definitions rspec ./spec/file_collector/literal_spec.rb:197 # Leftovers::FileCollector with method calls that match a previously defined lvar in a different context rspec ./spec/file_collector/literal_spec.rb:185 # Leftovers::FileCollector with cvar calls using &&= rspec ./spec/file_collector/literal_spec.rb:53 # Leftovers::FileCollector with method calls block pass rspec ./spec/file_collector/literal_spec.rb:251 # Leftovers::FileCollector with lazy method calls rspec ./spec/file_collector/literal_spec.rb:203 # Leftovers::FileCollector with constant references rspec ./spec/file_collector/literal_spec.rb:334 # Leftovers::FileCollector with inline comment calls for constants rspec ./spec/file_collector/literal_spec.rb:65 # Leftovers::FileCollector with method calls using += rspec ./spec/file_collector/literal_spec.rb:125 # Leftovers::FileCollector with gvar definitions rspec ./spec/file_collector/literal_spec.rb:233 # Leftovers::FileCollector with method calls in hash values rspec ./spec/file_collector/literal_spec.rb:173 # Leftovers::FileCollector with cvar calls using *= rspec ./spec/file_collector/literal_spec.rb:167 # Leftovers::FileCollector with cvar calls using += rspec ./spec/file_collector/literal_spec.rb:137 # Leftovers::FileCollector with gvar calls using *= rspec ./spec/file_collector/literal_spec.rb:41 # Leftovers::FileCollector with method calls using Symbol#to_proc rspec ./spec/file_collector/literal_spec.rb:161 # Leftovers::FileCollector with cvar definitions rspec ./spec/file_collector/literal_spec.rb:353 # Leftovers::FileCollector with inline comment allows for constants rspec ./spec/file_collector/literal_spec.rb:101 # Leftovers::FileCollector with ivar calls using *= rspec ./spec/file_collector/literal_spec.rb:119 # Leftovers::FileCollector with ivar calls rspec ./spec/file_collector/literal_spec.rb:59 # Leftovers::FileCollector with method calls using = rspec ./spec/file_collector/literal_spec.rb:23 # Leftovers::FileCollector with def method rspec ./spec/file_collector/haml_spec.rb:34 # Leftovers::FileCollector with haml files rspec ./spec/file_collector/haml_spec.rb:107 # Leftovers::FileCollector with haml files with ruby blocks rspec ./spec/file_collector/haml_spec.rb:151 # Leftovers::FileCollector with haml files with echoed whitespace-significant blocks rspec ./spec/file_collector/haml_spec.rb:45 # Leftovers::FileCollector with invalid haml files outputs an error and collects nothing rspec ./spec/file_collector/haml_spec.rb:65 # Leftovers::FileCollector with unavailable haml gem raises an error rspec ./spec/file_collector/haml_spec.rb:136 # Leftovers::FileCollector with haml files with whitespace-significant blocks rspec ./spec/file_collector/haml_spec.rb:82 # Leftovers::FileCollector with haml files with hidden scripts rspec ./spec/file_collector/haml_spec.rb:92 # Leftovers::FileCollector with haml files string interpolation rspec ./spec/file_collector/haml_spec.rb:121 # Leftovers::FileCollector with haml files with dynamic attributes rspec ./spec/config/ruby_spec.rb:29 # ruby and stdlib with method definitions using attr_reader rspec ./spec/config/ruby_spec.rb:80 # ruby and stdlib with instance_variable_get rspec ./spec/config/ruby_spec.rb:120 # ruby and stdlib with dynamic comment test only rspec ./spec/config/ruby_spec.rb:145 # ruby and stdlib when alias_method arguments aren't symbols rspec ./spec/config/ruby_spec.rb:47 # ruby and stdlib with method calls using send with strings rspec ./spec/config/ruby_spec.rb:35 # ruby and stdlib with method definitions using attr_accessor rspec ./spec/config/ruby_spec.rb:104 # ruby and stdlib with define_method rspec ./spec/config/ruby_spec.rb:166 # ruby and stdlib with a processing error raises an error with the filename of the file being checked rspec ./spec/config/ruby_spec.rb:200 # ruby and stdlib with multiple inline comment allows rspec ./spec/config/ruby_spec.rb:86 # ruby and stdlib with class_variable_get rspec ./spec/config/ruby_spec.rb:130 # ruby and stdlib with alias_method arguments rspec ./spec/config/ruby_spec.rb:155 # ruby and stdlib when alias_method arguments are sends rspec ./spec/config/ruby_spec.rb:112 # ruby and stdlib with dynamic comment allows rspec ./spec/config/ruby_spec.rb:92 # ruby and stdlib with instance_variable_set rspec ./spec/config/ruby_spec.rb:53 # ruby and stdlib with method calls using send with lvars rspec ./spec/config/ruby_spec.rb:98 # ruby and stdlib with class_variable_set rspec ./spec/config/ruby_spec.rb:183 # ruby and stdlib with # leftovers:call # without any name rspec ./spec/config/ruby_spec.rb:41 # ruby and stdlib with method definitions using attr_writer rspec ./spec/config/ruby_spec.rb:64 # ruby and stdlib with method calls using send with methods rspec ./spec/config/ruby_spec.rb:23 # ruby and stdlib with method calls using send rspec ./spec/config/ruby_spec.rb:74 # ruby and stdlib with method calls using send with interpolated lvars rspec ./spec/merged_config_spec.rb:9 # Leftovers::MergedConfig << handles clearing memoization rspec ./spec/file_collector/erb_spec.rb:80 # Leftovers::FileCollector with erb files when comments rspec ./spec/file_collector/erb_spec.rb:34 # Leftovers::FileCollector with erb files rspec ./spec/file_collector/erb_spec.rb:49 # Leftovers::FileCollector with erb files when newline trimmed rspec ./spec/file_collector/erb_spec.rb:64 # Leftovers::FileCollector with erb files when block begins rspec ./spec/file_collector/custom_config_spec.rb:60 # Leftovers::FileCollector with pluralize rspec ./spec/file_collector/custom_config_spec.rb:136 # Leftovers::FileCollector with underscore rspec ./spec/file_collector/custom_config_spec.rb:78 # Leftovers::FileCollector with singularize rspec ./spec/file_collector/custom_config_spec.rb:157 # Leftovers::FileCollector with titleize rspec ./spec/file_collector/custom_config_spec.rb:95 # Leftovers::FileCollector with camelize rspec ./spec/file_collector/custom_config_spec.rb:115 # Leftovers::FileCollector with parameterize rspec ./spec/file_collector/custom_config_spec.rb:191 # Leftovers::FileCollector with deconstantize rspec ./spec/file_collector/custom_config_spec.rb:174 # Leftovers::FileCollector with demodulize rspec ./spec/leftovers_spec.rb:17 # Leftovers.leftovers doesn't care about using one of multiple simultaneous defined methods rspec ./spec/leftovers_spec.rb:38 # Leftovers.leftovers doesn't think method calls in the same file are leftovers rspec ./spec/config/rails_spec.rb:44 # rails gem with method calls using a method that calls multiple keyword arguments with splat rspec ./spec/config/rails_spec.rb:62 # rails gem with method calls passed in an array to a before_save if: rspec ./spec/config/rails_spec.rb:226 # rails gem with hash permit args rspec ./spec/config/rails_spec.rb:184 # rails gem with delegation definitions and calls when prefix is defined rspec ./spec/config/rails_spec.rb:166 # rails gem with routes resource calls with array except rspec ./spec/config/rails_spec.rb:202 # rails gem with attribute assignment args rspec ./spec/config/rails_spec.rb:178 # rails gem with delegation definitions and calls rspec ./spec/config/rails_spec.rb:35 # rails gem with method calls using a method that calls multiple methods with keyword arguments rspec ./spec/config/rails_spec.rb:312 # rails gem with validations calls with inclusion hash rspec ./spec/config/rails_spec.rb:86 # rails gem with method calls in namespaced route values rspec ./spec/config/rails_spec.rb:26 # rails gem with method calls using a method that calls multiple methods rspec ./spec/config/rails_spec.rb:105 # rails gem with hash key calls rspec ./spec/config/rails_spec.rb:211 # rails gem with bang methods rspec ./spec/config/rails_spec.rb:283 # rails gem with scope with 1 argument rspec ./spec/config/rails_spec.rb:193 # rails gem with delegation definitions and calls when prefix is true rspec ./spec/config/rails_spec.rb:239 # rails gem with deep permit args rspec ./spec/config/rails_spec.rb:80 # rails gem with method calls in route root values rspec ./spec/config/rails_spec.rb:95 # rails gem with scoped constant calls in class_name symbol keys rspec ./spec/config/rails_spec.rb:135 # rails gem with routes controller calls rspec ./spec/config/rails_spec.rb:155 # rails gem with routes resource calls with except rspec ./spec/config/rails_spec.rb:53 # rails gem with method calls passed to before_save if: rspec ./spec/config/rails_spec.rb:301 # rails gem with validations calls inclusion method rspec ./spec/config/rails_spec.rb:123 # rails gem with non-restful route calls rspec ./spec/config/rails_spec.rb:274 # rails gem with AR scope rspec ./spec/config/rails_spec.rb:71 # rails gem with method calls in route values rspec ./spec/config/rails_spec.rb:220 # rails gem with basic permit args rspec ./spec/config/rails_spec.rb:144 # rails gem with routes resource calls rspec ./spec/config/rails_spec.rb:257 # rails gem with routes scope rspec ./spec/config/rails_spec.rb:114 # rails gem with rest key calls rspec ./spec/config/rails_spec.rb:292 # rails gem with validation calls Randomized with seed 26342 /Users/shanebecker/.rbenv/versions/3.0.3/bin/ruby -I/Users/shanebecker/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.2/lib:/Users/shanebecker/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rspec-support-3.10.3/lib /Users/shanebecker/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed [main] ~/Developer/veganstraightedge/leftovers: ```
robotdana commented 2 years ago

ah looks like it's incompatible with activesupport 7 i'll see if i can fix it

in the mean time, if you pin active support below 7. change leftovers.gemspec

spec.add_development_dependency 'activesupport'

to

spec.add_development_dependency 'activesupport', '< 7'

then run bundle update

veganstraightedge commented 2 years ago

Ah gotcha. Thanks!

robotdana commented 2 years ago

i think i've fixed this issue with #12, which is now published as v0.5.3

veganstraightedge commented 2 years ago

Thanks! (Also, you were right that pinning to < 7 worked as (brief!) temporary workaround.))

robotdana commented 2 years ago

thanks for doing this in #13