lib/qed/utils.rb in qed-2.9.1 vs lib/qed/utils.rb in qed-2.9.2
- old
+ new
@@ -2,11 +2,11 @@
# Glob pattern used to search for project's root directory.
ROOT_PATTERN = '{.ruby*,.git/,.hg/,_darcs/}'
# Glob pattern for standard config file.
- CONFIG_PATTERN = '{etc/qed.rb,config/qed.rb,Qedfile,.qed}'
+ CONFIG_PATTERN = '{.qed,etc/qed.rb,config/qed.rb,Qedfile}'
# Home directory.
HOME = File.expand_path('~')
#
@@ -19,10 +19,10 @@
load_rc unless ENV['norc']
end
#
def load_rc
- rc_file= File.join(root, '.rubyrc')
+ rc_file = File.join(root, '.rubyrc')
if File.exist?(rc_file)
begin
require 'rc/api'
RC.profile_switch 'qed', '-p', '--profile'
RC.configure 'qed' do |config|