turboladen / tailor

A RubyGem that allows for checking standard styling of Ruby files.
146 stars 18 forks source link

Fix to detect camelCaseMethods inside classes or modules. #125

Closed jasonku closed 11 years ago

jasonku commented 11 years ago

Addresses https://github.com/turboladen/tailor/issues/121

turboladen commented 11 years ago

Awesome--thanks a ton for this. Just curious: do the tests pass locally for you? It looks like they're failing on travis, but it sure doesn't seem like the failures are related to your changes at all.

jasonku commented 11 years ago

I have 2 failures on my working copy:

Finished in 41.56 seconds
818 examples, 2 failures, 15 pending

Failed examples:

rspec ./spec/functional/configuration_spec.rb:36 # Config File files aren't given at runtime.tailor does not exist sets file_sets[:default].file_list to the files in lib/**/*.rb
rspec ./spec/functional/configuration_spec.rb:61 # Config File files aren't given at runtime.tailor defines the default file set and another file set creates the default file set