Skip to content
Browse files

Fix version number

  • Loading branch information...
1 parent 690d6ef commit 997995812c1818c646ad8d0d55f1d45ae77610a5 @juliensobrier committed Dec 14, 2011
Showing with 5 additions and 5 deletions.
  1. +1 −1 README.rdoc
  2. +1 −1 VERSION
  3. +3 −3 test/test_google-safe-browsing-lookup.rb
View
2 README.rdoc
@@ -1,6 +1,6 @@
= google-safe-browsing-lookup
-Google Safe Brosing Lookup library for Ruby.
+Google Safe Browsing Lookup library for Ruby.
If you need to check less than 10,000 URLs a day against the Google Safe Browsing v2 API (http://code.google.com/apis/safebrowsing/), you can use the Lookup API (http://code.google.com/apis/safebrowsing/lookup_guide.html) as a lighter alternative to the more complex API (http://code.google.com/apis/safebrowsing/developers_guide_v2.html).
View
2 VERSION
@@ -1 +1 @@
-0.1
+0.1.0
View
6 test/test_google-safe-browsing-lookup.rb
@@ -19,7 +19,7 @@ class TestGoogleSafeBrowsingLookup < Test::Unit::TestCase
should "create a hash URL => 'ok'" do
results = @mock.ok(['http://www.google.com/', 'http://www.google.org/'])
- assert_equal 2, results.length, "Number of keys should match number of URLs"
+ assert_equal 2, results.length, "Number of keys should match number of URLs"
assert_equal 'ok', results['http://www.google.com/'], "ok should be returned"
assert_equal 'ok', results['http://www.google.org/'], "ok should be returned"
end
@@ -29,8 +29,8 @@ class TestGoogleSafeBrowsingLookup < Test::Unit::TestCase
results = @mock.parse(['http://www.google.com/', 'http://www.google.org/'], response)
- assert_equal 2, results.length, "Number of keys should match number of URLs"
- assert_equal 'ok', results['http://www.google.com/'], "ok should be returned"
+ assert_equal 2, results.length, "Number of keys should match number of URLs"
+ assert_equal 'ok', results['http://www.google.com/'], "ok should be returned"
assert_equal 'phishing', results['http://www.google.org/'], "phishing should be returned"
end

0 comments on commit 9979958

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