ruby-net-nntp 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +16 -1
- data/lib/net/nntp/version.rb +5 -0
- data/lib/net/nntp.rb +1 -1
- data/lib/net/nntp_article.rb +5 -1
- metadata +4 -2
data/CHANGELOG
CHANGED
@@ -1,4 +1,19 @@
|
|
1
|
-
2007-06-28
|
1
|
+
2007-06-28 17:02 +0200 Anton 'tony' Bangratz <anton.bangratz@gmail.com> (650cf04a9829 [tip])
|
2
|
+
|
3
|
+
* lib/net/nntp.rb, lib/net/nntp_article.rb:
|
4
|
+
fixed bug in article overview parser
|
5
|
+
|
6
|
+
2007-06-28 14:58 +0200 Anton 'tony' Bangratz <anton.bangratz@gmail.com> (8e4738703032)
|
7
|
+
|
8
|
+
* .hgtags:
|
9
|
+
Added tag release-0.0.3 for changeset 215be61f9524
|
10
|
+
|
11
|
+
2007-06-28 14:57 +0200 Anton 'tony' Bangratz <anton.bangratz@gmail.com> (215be61f9524 [release-0.0.3])
|
12
|
+
|
13
|
+
* Rakefile:
|
14
|
+
fixed version usage for Pallet task
|
15
|
+
|
16
|
+
2007-06-28 14:52 +0200 Anton 'tony' Bangratz <anton.bangratz@gmail.com> (96257e85a815)
|
2
17
|
|
3
18
|
* lib/net/nntp.rb, tags:
|
4
19
|
branch merge from tests, added documentation, added nntp.close
|
data/lib/net/nntp.rb
CHANGED
@@ -5,11 +5,11 @@ require 'thread'
|
|
5
5
|
require 'timeout' # :nodoc:
|
6
6
|
require 'net/nntp_group'
|
7
7
|
require 'net/nntp_article'
|
8
|
+
require 'net/nntp/version.rb'
|
8
9
|
|
9
10
|
|
10
11
|
module Net
|
11
12
|
class NNTP
|
12
|
-
VERSION = "0.0.3"
|
13
13
|
include Timeout # :nodoc:
|
14
14
|
|
15
15
|
# Error to indicate that NNTP Command failed gracefully
|
data/lib/net/nntp_article.rb
CHANGED
@@ -9,7 +9,11 @@ module Net
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def overview_format=(format)
|
12
|
-
|
12
|
+
if Array === format
|
13
|
+
@overview_format = format
|
14
|
+
else
|
15
|
+
@overview_format = Net::NNTP.parse_overview_format format
|
16
|
+
end
|
13
17
|
end
|
14
18
|
|
15
19
|
def overview(over)
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ruby-net-nntp
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
6
|
+
version: 0.0.4
|
7
7
|
date: 2007-06-28 00:00:00 +02:00
|
8
8
|
summary: Net::XXX style NNTP Library for easy access.
|
9
9
|
require_paths:
|
@@ -30,8 +30,10 @@ authors:
|
|
30
30
|
- Anton Bangratz
|
31
31
|
files:
|
32
32
|
- lib/net
|
33
|
-
- lib/net/nntp_article.rb
|
34
33
|
- lib/net/nntp_group.rb
|
34
|
+
- lib/net/nntp_article.rb
|
35
|
+
- lib/net/nntp
|
36
|
+
- lib/net/nntp/version.rb
|
35
37
|
- lib/net/nntp.rb
|
36
38
|
- test/functional
|
37
39
|
- test/functional/test_nntp.rb
|