bwkfanboy 0.1.2 → 0.1.3

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/test/test_fetch.rb CHANGED
@@ -28,7 +28,7 @@ class TestFetch < MiniTest::Unit::TestCase
28
28
  r = Bwkfanboy::Utils.cmd_run("echo #{@tpath}semis/bwk.html | #{cmd CMD}")
29
29
  assert_equal(0, r[0])
30
30
  # MD5 (html/bwk.html) = c8259a358dd7261a79b226985d3e8753
31
- assert_equal(Digest::MD5.hexdigest(r[2]), 'c8259a358dd7261a79b226985d3e8753')
31
+ assert_equal(Digest::MD5.hexdigest(r[2]), '00cc906c59c0eb11c3eaa8166dab729f')
32
32
  end
33
33
 
34
34
  end
data/test/test_parse.rb CHANGED
@@ -27,6 +27,6 @@ class TestParse < MiniTest::Unit::TestCase
27
27
  r = Bwkfanboy::Utils.cmd_run("#{cmd CMD} #{@tpath}plugins/bwk.rb < #{@tpath}semis/bwk.html")
28
28
  assert_equal(0, r[0])
29
29
  # bin/bwkfanboy_parse test/plugins/bwk.rb < test/semis/bwk.html | md5
30
- assert_equal('87127bb148b15e03adaee51f8ca839e2', Digest::MD5.hexdigest(r[2]))
30
+ assert_equal('371fb5a5c5b5519b5eff085df2d31e18', Digest::MD5.hexdigest(r[2]))
31
31
  end
32
32
  end
data/test/test_server.rb CHANGED
@@ -36,11 +36,11 @@ class TestServer < MiniTest::Unit::TestCase
36
36
  r = ''
37
37
  open("http://#{ADDR}:#{@port}/?p=bwk") { |f| r = f.read }
38
38
  # wget -q -O - 127.0.0.1:9042/\?p=bwk | md5
39
- assert_equal('d547f81d2e05ff11713cd3b5472b161a', Digest::MD5.hexdigest(r))
39
+ assert_equal('64186fac2c52e5a969ad5675b9cc95ed', Digest::MD5.hexdigest(r))
40
40
 
41
41
  r = ''
42
42
  open("http://#{ADDR}:#{@port}/?p=quora&o=foo") { |f| r = f.read }
43
43
  # wget -q -O - '127.0.0.1:9042/\?p=quora&o=foo' | md5
44
- assert_equal('5f8631bb3191287b776b413b016b84d2', Digest::MD5.hexdigest(r))
44
+ assert_equal('815d7e06285e74bff2e564e80aa75a4c', Digest::MD5.hexdigest(r))
45
45
  end
46
46
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
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: 2010-10-15 00:00:00 +03:00
17
+ date: 2010-10-29 00:00:00 +03:00
18
18
  default_executable: bwkfanboy
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -118,6 +118,8 @@ files:
118
118
  - test/semis/bwk.html
119
119
  - test/semis/bwk.json
120
120
  - test/semis/quora.html
121
+ - test/semis/links.txt
122
+ - test/semis/Rakefile
121
123
  - test/test_fetch.rb
122
124
  - test/test_parse.rb
123
125
  - test/xml-clean.sh