bwkfanboy 1.3.0 → 1.3.1
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/README.rdoc +52 -17
- data/Rakefile +18 -10
- data/doc/NEWS.rdoc +10 -0
- data/doc/README.erb +116 -0
- data/doc/README.rdoc +52 -17
- data/doc/rakefile.rb +59 -0
- data/lib/bwkfanboy/meta.rb +1 -1
- data/lib/bwkfanboy/plugins/freebsd-ports-update.rb +2 -2
- data/lib/bwkfanboy/plugins/quora.js +2 -0
- data/lib/bwkfanboy/plugins/quora.rb +1 -1
- data/test/semis/quora.html +6 -7
- data/test/test_generate.rb +1 -1
- data/test/test_server.rb +1 -1
- metadata +11 -11
data/test/test_generate.rb
CHANGED
@@ -12,7 +12,7 @@ class TestGenerate < MiniTest::Unit::TestCase
|
|
12
12
|
def test_invalid_json
|
13
13
|
r = Utils.cmd_run("echo '{\"foo\" : \"bar\"}' | #{CMD} --check")
|
14
14
|
assert_equal(1, r[0])
|
15
|
-
assert_match(/channel is missing and it is not optional/, r[1])
|
15
|
+
assert_match(/channel:? is missing and it is not optional/, r[1])
|
16
16
|
end
|
17
17
|
|
18
18
|
def test_right_json
|
data/test/test_server.rb
CHANGED
@@ -38,6 +38,6 @@ class TestServer < MiniTest::Unit::TestCase
|
|
38
38
|
open("http://#{ADDR}:#{@port}/?p=quora&o=foo") { |f| r = f.read }
|
39
39
|
# bin/bwkfanboy_server -Dd
|
40
40
|
# wget -q -O - '127.0.0.1:9042/\?p=quora&o=foo' | md5
|
41
|
-
assert_equal('
|
41
|
+
assert_equal('f0816d62c8425241609352a31b221265', Digest::MD5.hexdigest(r))
|
42
42
|
end
|
43
43
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 1.3.
|
8
|
+
- 1
|
9
|
+
version: 1.3.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alexander Gromnitsky
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-03-17 00:00:00 +02:00
|
18
18
|
default_executable: bwkfanboy
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -43,8 +43,8 @@ dependencies:
|
|
43
43
|
segments:
|
44
44
|
- 3
|
45
45
|
- 0
|
46
|
-
-
|
47
|
-
version: 3.0.
|
46
|
+
- 5
|
47
|
+
version: 3.0.5
|
48
48
|
type: :runtime
|
49
49
|
version_requirements: *id002
|
50
50
|
- !ruby/object:Gem::Dependency
|
@@ -73,8 +73,8 @@ dependencies:
|
|
73
73
|
segments:
|
74
74
|
- 2
|
75
75
|
- 0
|
76
|
-
-
|
77
|
-
version: 2.0.
|
76
|
+
- 1
|
77
|
+
version: 2.0.1
|
78
78
|
type: :runtime
|
79
79
|
version_requirements: *id004
|
80
80
|
- !ruby/object:Gem::Dependency
|
@@ -103,15 +103,13 @@ executables:
|
|
103
103
|
extensions: []
|
104
104
|
|
105
105
|
extra_rdoc_files:
|
106
|
-
- doc/LICENSE
|
107
106
|
- doc/NEWS.rdoc
|
108
|
-
- doc/README.rdoc
|
109
107
|
- doc/plugin.rdoc
|
110
108
|
- doc/bwkfanboy_fetch.rdoc
|
111
109
|
- doc/bwkfanboy_generate.rdoc
|
112
110
|
- doc/bwkfanboy_parse.rdoc
|
113
111
|
- doc/bwkfanboy_server.rdoc
|
114
|
-
- doc/
|
112
|
+
- doc/README.rdoc
|
115
113
|
files:
|
116
114
|
- README.rdoc
|
117
115
|
- Rakefile
|
@@ -122,6 +120,7 @@ files:
|
|
122
120
|
- bin/bwkfanboy_server
|
123
121
|
- doc/LICENSE
|
124
122
|
- doc/NEWS.rdoc
|
123
|
+
- doc/README.erb
|
125
124
|
- doc/README.rdoc
|
126
125
|
- doc/TODO
|
127
126
|
- doc/bwkfanboy_fetch.rdoc
|
@@ -129,6 +128,7 @@ files:
|
|
129
128
|
- doc/bwkfanboy_parse.rdoc
|
130
129
|
- doc/bwkfanboy_server.rdoc
|
131
130
|
- doc/plugin.rdoc
|
131
|
+
- doc/rakefile.rb
|
132
132
|
- lib/bwkfanboy/fetch.rb
|
133
133
|
- lib/bwkfanboy/generate.rb
|
134
134
|
- lib/bwkfanboy/meta.rb
|
@@ -197,5 +197,5 @@ summary: A converter from HTML to Atom feed that you can use to watch sites that
|
|
197
197
|
test_files:
|
198
198
|
- test/test_fetch.rb
|
199
199
|
- test/test_parse.rb
|
200
|
-
- test/test_generate.rb
|
201
200
|
- test/test_server.rb
|
201
|
+
- test/test_generate.rb
|