Skip to content
This repository
Browse code

Active Resource typos.

  • Loading branch information...
commit 48841dd6aebd41cfab66f719f3d6896e172d7b9f 1 parent 86c15d8
R.T. Lechow authored March 03, 2011 fxn committed March 05, 2011
4  activeresource/lib/active_resource/base.rb
@@ -522,9 +522,9 @@ def timeout
522 522
       #
523 523
       # * <tt>:key</tt> - An OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
524 524
       # * <tt>:cert</tt> - An OpenSSL::X509::Certificate object as client certificate
525  
-      # * <tt>:ca_file</tt> - Path to a CA certification file in PEM format. The file can contrain several CA certificates.
  525
+      # * <tt>:ca_file</tt> - Path to a CA certification file in PEM format. The file can contain several CA certificates.
526 526
       # * <tt>:ca_path</tt> - Path of a CA certification directory containing certifications in PEM format.
527  
-      # * <tt>:verify_mode</tt> - Flags for server the certification verification at begining of SSL/TLS session. (OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER is acceptable)
  527
+      # * <tt>:verify_mode</tt> - Flags for server the certification verification at beginning of SSL/TLS session. (OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER is acceptable)
528 528
       # * <tt>:verify_callback</tt> - The verify callback for the server certification verification.
529 529
       # * <tt>:verify_depth</tt> - The maximum depth for the certificate chain verification.
530 530
       # * <tt>:cert_store</tt> - OpenSSL::X509::Store to verify peer certificate.
2  activeresource/test/cases/base_test.rb
@@ -876,7 +876,7 @@ def test_delete_with_410_gone
876 876
   end
877 877
 
878 878
   ########################################################################
879  
-  # Tests the more miscelaneous helper methods
  879
+  # Tests the more miscellaneous helper methods
880 880
   ########################################################################
881 881
   def test_exists
882 882
     # Class method.
2  activeresource/test/cases/validations_test.rb
@@ -3,7 +3,7 @@
3 3
 require 'active_support/core_ext/hash/conversions'
4 4
 
5 5
 # The validations are tested thoroughly under ActiveModel::Validations
6  
-# This test case simply makes sur that they are all accessible by
  6
+# This test case simply makes sure that they are all accessible by
7 7
 # Active Resource objects.
8 8
 class ValidationsTest < ActiveModel::TestCase
9 9
   VALID_PROJECT_HASH = { :name => "My Project", :description => "A project" }
2  activeresource/test/connection_test.rb
@@ -44,7 +44,7 @@ def test_handle_response
44 44
     # 401 is an unauthorized request
45 45
     assert_response_raises ActiveResource::UnauthorizedAccess, 401
46 46
 
47  
-    # 403 is a forbidden requst (and authorizing will not help)
  47
+    # 403 is a forbidden request (and authorizing will not help)
48 48
     assert_response_raises ActiveResource::ForbiddenAccess, 403
49 49
 
50 50
     # 404 is a missing resource.
2  activeresource/test/fixtures/address.rb
... ...
@@ -1,4 +1,4 @@
1  
-# turns everyting into the same object
  1
+# turns everything into the same object
2 2
 class AddressXMLFormatter
3 3
   include ActiveResource::Formats::XmlFormat
4 4
 

0 notes on commit 48841dd

Please sign in to comment.
Something went wrong with that request. Please try again.