From b2fabe5931680031ba2f4f62b82ce16cafde1c30 Mon Sep 17 00:00:00 2001 From: Peter Souter Date: Fri, 24 Mar 2017 11:17:14 +0000 Subject: [PATCH] Fixes a few spelling mistakes --- lib/string_ext.rb | 2 +- scripts/Ubuntu.rb | 2 +- spec/ssh_scan/string_ext_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/string_ext.rb b/lib/string_ext.rb index 05f60a22..580e657a 100644 --- a/lib/string_ext.rb +++ b/lib/string_ext.rb @@ -17,7 +17,7 @@ def ip_addr? IPAddr.new(self) # Using ArgumentError instead of IPAddr::InvalidAddressError - # for 1.9.3 backward compatability + # for 1.9.3 backward compatibility rescue ArgumentError return false end diff --git a/scripts/Ubuntu.rb b/scripts/Ubuntu.rb index 82ba5dd8..230cced9 100755 --- a/scripts/Ubuntu.rb +++ b/scripts/Ubuntu.rb @@ -22,7 +22,7 @@ "5.10" => "breezy", "6.04" => "dapper", "6.10" => "edgy", - "7.04" => "fiesty", + "7.04" => "feisty", "7.10" => "gutsy", "8.04" => "hardy", "8.10" => "intrepid", diff --git a/spec/ssh_scan/string_ext_spec.rb b/spec/ssh_scan/string_ext_spec.rb index 627eb3c4..471170d2 100644 --- a/spec/ssh_scan/string_ext_spec.rb +++ b/spec/ssh_scan/string_ext_spec.rb @@ -39,7 +39,7 @@ end end - context "when resolving a DNS name into IP adress" do + context "when resolving a DNS name into IP address" do testing_host = "localhost" it "should load all the attributes properly" do expected_result = "::1"