Permalink
Browse files

Release ApacheLogRegex 0.1.0

  • Loading branch information...
1 parent 3564c48 commit 4fa372cff8ca0ab839d2922b0e566cf845df9472 @weppos committed Feb 13, 2009
Showing with 5 additions and 6 deletions.
  1. +2 −3 CHANGELOG.rdoc
  2. +1 −1 lib/apache_log_regex/version.rb
  3. +2 −2 test/apache_log_regex_test.rb
View
@@ -1,6 +1,5 @@
= Changelog
+== Release 0.1.0
-== master
-
-* Initial public release.
+* Initial public release based on Apache::LogRegex 1.4.
@@ -17,7 +17,7 @@ class ApacheLogRegex
module Version #:nodoc:
MAJOR = 0
- MINOR = 0
+ MINOR = 1
TINY = 0
STRING = [MAJOR, MINOR, TINY].join('.')
@@ -73,7 +73,7 @@ def test_parse_line_with_slash_quote_in_referer
assert_match_expected_hash(expected, results)
end
- def test_parse_line_returns_nil_on_invalid_format
+ def test_parse_line_should_return_nil_on_invalid_format
results = @parser.parse('foobar')
assert_nil(results)
end
@@ -89,7 +89,7 @@ def test_stricparse_line
assert_equal(@parser.parse(testcase), @parser.parse!(testcase))
end
- def test_stricparse_line_raises_on_invalid_format
+ def test_stricparse_line_should_raise_on_invalid_format
error = assert_raise(ApacheLogRegex::ParseError) { results = @parser.parse!('foobar') }
assert_match(/Invalid format/, error.message)
end

0 comments on commit 4fa372c

Please sign in to comment.