Permalink
Browse files

Fix grammar in install.rb

  • Loading branch information...
maxim committed Oct 11, 2010
1 parent fd697ec commit 1fae8d9d6dd998cd92c9c2954762aa4189b236c3
Showing with 6 additions and 6 deletions.
  1. +6 −6 install.rb
View
@@ -2,12 +2,12 @@
require 'ftools'
-# keep everything inside fo this scope
+# keep everything in this scope
class InstallOpenIdActiveRecordStore
def initialize
show_banner
- check_system_cosistency
+ check_system_consistency
copy_migration_files
end
@@ -23,7 +23,7 @@ def target
File.join([here, '..', '..', '..', 'db', 'migrate'])
end
- def validate_file_existance(file)
+ def validate_file_existence(file)
abort "File not found: #{target}" unless File.exist? file
end
@@ -33,9 +33,9 @@ def show_banner
'
end
- def check_system_cosistency
- validate_file_existance(target)
- sources.each { |file| validate_file_existance(file) }
+ def check_system_consistency
+ validate_file_existence(target)
+ sources.each { |file| validate_file_existence(file) }
end
def copy_migration_files

0 comments on commit 1fae8d9

Please sign in to comment.