Ignore new 'ruby-version' dot files.
Add more generic query function.