smoke 0.0.3 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. data/LICENSE +20 -0
  2. data/README.markdown +101 -0
  3. data/Rakefile +53 -4
  4. data/VERSION.yml +4 -0
  5. data/examples/web_search_joined.rb +25 -0
  6. data/examples/yql_web_search.rb +11 -0
  7. data/lib/core_ext/hash.rb +20 -0
  8. data/lib/core_ext/string.rb +6 -0
  9. data/lib/smoke.rb +103 -3
  10. data/lib/smoke/cache.rb +56 -0
  11. data/lib/smoke/origin.rb +251 -0
  12. data/lib/smoke/request.rb +57 -0
  13. data/lib/smoke/source/data.rb +39 -0
  14. data/lib/smoke/source/feed.rb +24 -0
  15. data/lib/smoke/source/join.rb +33 -0
  16. data/lib/smoke/source/yql.rb +85 -0
  17. data/rdoc/classes/Smoke.html +260 -0
  18. data/rdoc/classes/Smoke/Origin.html +340 -0
  19. data/rdoc/classes/Smoke/Source/Data.html +126 -0
  20. data/rdoc/classes/Smoke/Source/Feed.html +117 -0
  21. data/rdoc/classes/Smoke/Source/YQL.html +223 -0
  22. data/rdoc/created.rid +1 -0
  23. data/rdoc/files/README_markdown.html +180 -0
  24. data/rdoc/files/lib/core_ext/hash_rb.html +49 -0
  25. data/rdoc/files/lib/smoke/origin_rb.html +49 -0
  26. data/rdoc/files/lib/smoke/request_rb.html +49 -0
  27. data/rdoc/files/lib/smoke/source/data_rb.html +49 -0
  28. data/rdoc/files/lib/smoke/source/feed_rb.html +49 -0
  29. data/rdoc/files/lib/smoke/source/join_rb.html +49 -0
  30. data/rdoc/files/lib/smoke/source/yql_rb.html +49 -0
  31. data/rdoc/files/lib/smoke_rb.html +65 -0
  32. data/rdoc/fr_class_index.html +21 -0
  33. data/rdoc/fr_file_index.html +28 -0
  34. data/rdoc/fr_method_index.html +4459 -0
  35. data/rdoc/index.html +15 -0
  36. data/rdoc/rdoc-style.css +319 -0
  37. data/spec/core_ext/hash_spec.rb +25 -0
  38. data/spec/smoke/cache_spec.rb +75 -0
  39. data/spec/smoke/origin_spec.rb +220 -0
  40. data/spec/smoke/request_spec.rb +49 -0
  41. data/spec/smoke/shared_spec.rb +182 -0
  42. data/spec/smoke/source/data_spec.rb +65 -0
  43. data/spec/smoke/source/feed_spec.rb +49 -0
  44. data/spec/smoke/source/join_spec.rb +53 -0
  45. data/spec/smoke/source/yql_spec.rb +111 -0
  46. data/spec/smoke_spec.rb +51 -0
  47. data/spec/spec.opts +1 -0
  48. data/spec/spec_helper.rb +17 -0
  49. data/spec/supports/amc_pacer.json.yql +10 -0
  50. data/spec/supports/datatables.yql +12 -0
  51. data/spec/supports/flickr-photo.json +7 -0
  52. data/spec/supports/gzip_response.txt +0 -0
  53. data/spec/supports/search-web.json.yql +12 -0
  54. data/spec/supports/search-web.xml.yql +83 -0
  55. data/spec/supports/slashdot.xml +98 -0
  56. data/spec/supports/test_source.rb +10 -0
  57. metadata +144 -67
  58. data/History.txt +0 -13
  59. data/License.txt +0 -21
  60. data/Manifest.txt +0 -44
  61. data/README.txt +0 -3
  62. data/bin/smoke +0 -41
  63. data/bin/smoked +0 -43
  64. data/config/hoe.rb +0 -70
  65. data/config/requirements.rb +0 -17
  66. data/contrib/processors/smoke/remote_port_status_check_processor.rb +0 -10
  67. data/contrib/processors/smoke/system_load_processor.rb +0 -52
  68. data/contrib/signals/smoke/remote_port_status_check.rb +0 -39
  69. data/contrib/signals/smoke/system_load.rb +0 -23
  70. data/lib/smoke/client.rb +0 -50
  71. data/lib/smoke/client/connection.rb +0 -44
  72. data/lib/smoke/client/signal_runner.rb +0 -40
  73. data/lib/smoke/client/version.rb +0 -11
  74. data/lib/smoke/server.rb +0 -18
  75. data/lib/smoke/server/signal_handler.rb +0 -64
  76. data/lib/smoke/server/signal_router.rb +0 -38
  77. data/lib/smoke/server/version.rb +0 -11
  78. data/lib/smoke/signal.rb +0 -19
  79. data/lib/smoke/signal_processor.rb +0 -29
  80. data/lib/smoke/version.rb +0 -9
  81. data/log/debug.log +0 -0
  82. data/log/development.log +0 -0
  83. data/log/production.log +0 -0
  84. data/log/server.log +0 -0
  85. data/log/test.log +0 -0
  86. data/script/destroy +0 -14
  87. data/script/generate +0 -14
  88. data/script/txt2html +0 -74
  89. data/setup.rb +0 -1585
  90. data/tasks/deployment.rake +0 -35
  91. data/tasks/environment.rake +0 -7
  92. data/tasks/website.rake +0 -17
  93. data/test/test_helper.rb +0 -2
  94. data/test/test_server.rb +0 -11
  95. data/website/index.html +0 -87
  96. data/website/index.txt +0 -29
  97. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  98. data/website/stylesheets/screen.css +0 -138
  99. data/website/template.rhtml +0 -48
@@ -0,0 +1,51 @@
1
+ require File.join(File.dirname(__FILE__), "spec_helper.rb")
2
+
3
+ describe Smoke do
4
+ before :all do
5
+ @source_a = TestSource.source :a
6
+ @source_b = TestSource.source :b
7
+ end
8
+
9
+ describe "active sources" do
10
+ it "should allow access to sources via an array accessor" do
11
+ Smoke[:a].should be_an_instance_of(Smoke::Origin)
12
+ end
13
+
14
+ it "should be able to be renamed" do
15
+ Smoke.rename(:a => :b)
16
+ Smoke[:a].should be_nil
17
+ Smoke[:b].should be_an_instance_of(Smoke::Origin)
18
+ end
19
+
20
+ it "should change its name property after being renamed" do
21
+ Smoke[:b].name.should == "b"
22
+ end
23
+ end
24
+
25
+ describe "configuration" do
26
+ it "should be configurable" do
27
+ Smoke.should respond_to(:configure)
28
+ end
29
+
30
+ it "should be accessible" do
31
+ Smoke.should respond_to(:config)
32
+ end
33
+
34
+ it "should take a block and be retrievable" do
35
+ Smoke.configure {|c| c[:spec] = true }
36
+ Smoke.config[:spec].should be_true
37
+ end
38
+
39
+ describe "default configurations" do
40
+ it "should have at least one default configuration" do
41
+ Smoke.config.keys.should_not be_empty
42
+ end
43
+
44
+ it "should allow overwriting default configurations" do
45
+ key = :user_agent
46
+ Smoke.configure {|c| c[key] = "Smoke, dude" }
47
+ Smoke.config[key].should == "Smoke, dude"
48
+ end
49
+ end
50
+ end
51
+ end
data/spec/spec.opts ADDED
@@ -0,0 +1 @@
1
+ -c
@@ -0,0 +1,17 @@
1
+ require 'rubygems'
2
+ require 'spec'
3
+ require 'fake_web'
4
+
5
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'smoke')
6
+
7
+ SPEC_DIR = File.dirname(__FILE__) unless defined? SPEC_DIR
8
+ $:<< SPEC_DIR
9
+
10
+ # Don't allow real web requests during specs!
11
+ FakeWeb.allow_net_connect = false
12
+
13
+ require 'supports/test_source.rb'
14
+
15
+ Smoke.configure do |c|
16
+ c[:enable_logging] = false
17
+ end
@@ -0,0 +1,10 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Mon, 10 Aug 2009 01:32:37 GMT
3
+ P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
4
+ Access-Control-Allow-Origin: *
5
+ Cache-Control: no-cache, private
6
+ Content-Length: 1193
7
+ Connection: close
8
+ Content-Type: application/json;charset=utf-8
9
+
10
+ {"query":{"count":"10","created":"2009-08-10T01:32:37Z","lang":"en-US","updated":"2009-08-10T01:32:37Z","uri":"http://query.yahooapis.com/v1/yql?q=SELECT+url+FROM+search.images+WHERE+query+%3D+%27amc+pacer%27","diagnostics":{"publiclyCallable":"true","url":{"execution-time":"222","content":"http://boss.yahooapis.com/ysearch/images/v1/amc%20pacer?format=xml&start=0&count=10"},"user-time":"225","service-time":"222","build-version":"2579"},"results":{"result":[{"url":"http://www.carrera.no/images/AMC_Pacer_01.jpg"},{"url":"http://static.flickr.com/116/308140444_549b19d604.jpg"},{"url":"http://static.flickr.com/2132/2594281582_9ea9829b46.jpg"},{"url":"http://brennerworld.blogware.com/BlogEntries/BurgerPacer.jpg"},{"url":"http://www.stationwagon.com/gallery/pictures/19xx_AMC_Pacer_limo.jpg"},{"url":"http://www.stationwagon.com/gallery/pictures/1978_AMC_Pacer.jpg"},{"url":"http://www.shorey.net/Auto/American/AMC/1975%20AMC%20Pacer_2.jpg"},{"url":"http://www.allsportauto.com/photoautre5/amc/pacer/1976_amc_pacer_15_m.jpg"},{"url":"http://www.productioncars.com/send_file.php/amc_pacer_wagon_1980.jpg"},{"url":"http://www.productioncars.com/send_file.php/amc_pacer_maroon_1975.jpg"}]}}}
@@ -0,0 +1,12 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Wed, 24 Jun 2009 06:14:01 GMT
3
+ P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
4
+ Cache-Control: no-cache, private
5
+ Pragma: no-cache
6
+ Expires: Thu, 01 Jan 1970 00:00:00 GMT
7
+ Access-Control-Allow-Origin: *
8
+ Content-Length: 955
9
+ Connection: close
10
+ Content-Type: application/json;charset=utf-8
11
+
12
+ {"query":{"count":"1","created":"2009-06-24T06:14:01Z","lang":"en-US","updated":"2009-06-24T06:14:01Z","uri":"http://query.yahooapis.com/v1/yql?q=SELECT+*+FROM+github.repo+WHERE+id+%3D+%27benschwarz%27+AND+repo+%3D+%27smoke%27","diagnostics":{"publiclyCallable":"true","url":[{"execution-time":"1","content":"http://datatables.org/alltables.env"},{"execution-time":"3","content":"http://www.datatables.org/github/github.repo.xml"},{"execution-time":"369","content":"http://github.com/api/v2/xml/repos/show/benschwarz/smoke"}],"user-time":"428","service-time":"373","build-version":"1949"},"results":{"repository":{"watchers":{"type":"integer","content":"17"},"open-issues":{"type":"integer","content":"0"},"description":null,"owner":"benschwarz","name":"smoke","private":{"type":"boolean","content":"false"},"url":"http://github.com/benschwarz/smoke","fork":{"type":"boolean","content":"false"},"forks":{"type":"integer","content":"1"},"homepage":null}}}}
@@ -0,0 +1,7 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Mon, 1 Jan 2000 01:00:00 GMT
3
+ Vary: Accept-Encoding
4
+ Connection: close
5
+ Content-Type: text/plain; charset=utf-8
6
+
7
+ {"photos":{"page":1, "pages":1, "perpage":100, "total":"2", "photo":[{"id":"3443335843", "owner":"36821533@N00", "secret":"5a15f0bfb9", "server":"3305", "farm":4, "title":"How I roll", "ispublic":1, "isfriend":0, "isfamily":0}, {"id":"3345220961", "owner":"36821533@N00", "secret":"a1dd2b9eca", "server":"3581", "farm":4, "title":"My desk", "ispublic":1, "isfriend":0, "isfamily":0}]}, "stat":"ok"}
Binary file
@@ -0,0 +1,12 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Wed, 24 Jun 2009 06:27:25 GMT
3
+ P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
4
+ Cache-Control: no-cache, private
5
+ Pragma: no-cache
6
+ Expires: Thu, 01 Jan 1970 00:00:00 GMT
7
+ Access-Control-Allow-Origin: *
8
+ Content-Length: 6986
9
+ Connection: close
10
+ Content-Type: application/json;charset=utf-8
11
+
12
+ {"query":{"count":"10","created":"2009-06-24T06:27:25Z","lang":"en-US","updated":"2009-06-24T06:27:25Z","uri":"http://query.yahooapis.com/v1/yql?q=SELECT+*+FROM+search.web+WHERE+query+%3D+%27ruby%27","diagnostics":{"publiclyCallable":"true","url":{"execution-time":"41","content":"http://boss.yahooapis.com/ysearch/web/v1/ruby?format=xml&start=0&count=10"},"user-time":"43","service-time":"41","build-version":"1949"},"results":{"result":[{"abstract":"For the programming language, see <b>Ruby<\/b> (programming language) <b>...<\/b> The <b>ruby<\/b> is considered one of the four precious stones, together with the <b>...<\/b>","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=116cnla88/**http%3A//en.wikipedia.org/wiki/Ruby","date":"2009/06/17","dispurl":"<b>en.wikipedia.org<\/b>/wiki/<b>Ruby<\/b>","size":"72719","title":"<b>Ruby<\/b> - Wikipedia, the free encyclopedia","url":"http://en.wikipedia.org/wiki/Ruby"},{"abstract":"<b>Ruby<\/b> originated in Japan during the mid-1990s and was initially developed and <b>...<\/b> <b>Ruby<\/b> supports multiple programming paradigms, including functional, object <b>...<\/b>","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=11tsuk1oo/**http%3A//en.wikipedia.org/wiki/Ruby_(programming_language)","date":"2009/06/17","dispurl":"<b>en.wikipedia.org<\/b>/wiki/<wbr><b>Ruby<\/b>_(programming_language)","size":"131489","title":"<b>Ruby<\/b> (programming language) - Wikipedia, the free encyclopedia","url":"http://en.wikipedia.org/wiki/Ruby_(programming_language)"},{"abstract":"\"<b>Ruby<\/b> on Rails is a breakthrough in lowering the barriers of entry to programming. <b>...<\/b> \"Before <b>Ruby<\/b> on Rails, web programming required a lot of verbiage, steps <b>...<\/b>","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=10sqpm4qa/**http%3A//rubyonrails.org/","date":"2009/06/23","dispurl":"<b>rubyonrails.org<\/b>","size":"11882","title":"<b>Ruby<\/b> on Rails","url":"http://rubyonrails.org/"},{"abstract":null,"clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=110v0kjjt/**http%3A//www.ruby-lang.org/en","date":"2009/06/22","dispurl":"www.<b>ruby-lang.org<\/b>/en","size":"12140","title":"<b>Ruby<\/b> Programming Language","url":"http://www.ruby-lang.org/en"},{"abstract":"Premier 1940s restaurant. Shooby Dooby down to <b>Ruby's<\/b> for authentic 1940's fun.","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=10qvjehb6/**http%3A//www.rubys.com/","date":"2009/06/22","dispurl":"www.<b>rubys.com<\/b>","size":"529321","title":"<b>Ruby's<\/b>","url":"http://www.rubys.com/"},{"abstract":"<b>Ruby<\/b> is a very popular open-source language which lends itself especially well <b>...<\/b> Educational sites where you can learn how to program using <b>Ruby<\/b>. <b>...<\/b>","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=115aqsp4l/**http%3A//developer.yahoo.com/ruby/","date":"2009/06/20","dispurl":"<b>developer.yahoo.com<\/b>/<b>ruby<\/b>","size":"21787","title":"<b>Ruby<\/b> Developer Center - Yahoo! Developer Network","url":"http://developer.yahoo.com/ruby/"},{"abstract":"<b>ruby<\/b> n. , pl. -bies . A deep red, translucent variety of the mineral corundum, highly valued as a precious stone <b>...<\/b> red of fine-quality <b>ruby<\/b> is the result of <b>...<\/b>","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=116gndgit/**http%3A//www.answers.com/topic/ruby","date":"2009/06/12","dispurl":"www.<b>answers.com<\/b>/topic/<b>ruby<\/b>","size":"134619","title":"<b>ruby<\/b>: Definition from Answers.com","url":"http://www.answers.com/topic/ruby"},{"abstract":"An on-line copy of the first edition of the book Programming <b>Ruby<\/b>, by Dave Thomas. <b>...<\/b> 10 Things Every Java Programmer Should Know About <b>Ruby<\/b> <b>...<\/b>","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=10tjnj1v2/**http%3A//www.ruby-doc.org/","date":"2009/06/09","dispurl":"www.<b>ruby-doc.org<\/b>","size":"13955","title":"[<b>Ruby<\/b>-Doc.org: Documenting the <b>Ruby<\/b> Language]","url":"http://www.ruby-doc.org/"},{"abstract":"And red is also the colour of the <b>ruby<\/b>, the king of the gemstones. <b>...<\/b> For a long time India was regarded as the <b>ruby's<\/b> classical country of origin. <b>...<\/b>","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=11pea0sti/**http%3A//www.gemstone.org/gem-by-gem/english/ruby.html","date":"2008/09/23","dispurl":"www.<b>gemstone.org<\/b>/gem-by-gem/<wbr>english/<b>ruby<\/b>.html","size":"52995","title":"<b>Ruby<\/b> - english","url":"http://www.gemstone.org/gem-by-gem/english/ruby.html"},{"abstract":"<b>...<\/b> <b>Ruby<\/b> Developer Center, where you'll find all the information and tools you need <b>...<\/b> The <b>Ruby<\/b>-on-Rails community offers a mailing list, wiki, IRC, bug <b>...<\/b>","clickurl":"http://lrd.yahooapis.com/_ylc=X3oDMTQ4OXVuMmxlBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA3NIUWREMGdlQXUwVE8yTXdKVFg0T0dKYzBqSE1sRXBCeDAwQUFmU1I-/SIG=114fkbio4/**http%3A//developers.sun.com/ruby/","date":"2009/06/13","dispurl":"<b>developers.sun.com<\/b>/<b>ruby<\/b>","size":"23151","title":"<b>Ruby<\/b> Developer Center - Sun Developer Network (SDN)","url":"http://developers.sun.com/ruby/"}]}}}
@@ -0,0 +1,83 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Wed, 24 Jun 2009 06:18:07 GMT
3
+ P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
4
+ Cache-Control: no-cache
5
+ Pragma: no-cache
6
+ Expires: Thu, 01 Jan 1970 00:00:00 GMT
7
+ Access-Control-Allow-Origin: *
8
+ Connection: close
9
+ Transfer-Encoding: chunked
10
+ Content-Type: text/xml;charset=utf-8
11
+
12
+ <?xml version="1.0" encoding="UTF-8"?>
13
+ <query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" yahoo:count="10" yahoo:created="2009-06-24T06:18:08Z" yahoo:lang="en-US" yahoo:updated="2009-06-24T06:18:08Z" yahoo:uri="http://query.yahooapis.com/v1/yql?q=SELECT+*+FROM+search.web+WHERE+query+%3D+%27ruby%27"><diagnostics><publiclyCallable>true</publiclyCallable><url execution-time="314"><![CDATA[http://boss.yahooapis.com/ysearch/web/v1/ruby?format=xml&start=0&count=10]]></url><user-time>316</user-time><service-time>314</service-time><build-version>1949</build-version></diagnostics><results><result xmlns="http://www.inktomi.com/">
14
+ <abstract><![CDATA[For the programming language, see <b>Ruby</b> (programming language) <b>...</b> The <b>ruby</b> is considered one of the four precious stones, together with the <b>...</b>]]></abstract>
15
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=116cnla88/**http%3A//en.wikipedia.org/wiki/Ruby</clickurl>
16
+ <date>2009/06/17</date>
17
+ <dispurl><![CDATA[<b>en.wikipedia.org</b>/wiki/<b>Ruby</b>]]></dispurl>
18
+ <size>72719</size>
19
+ <title><![CDATA[<b>Ruby</b> - Wikipedia, the free encyclopedia]]></title>
20
+ <url>http://en.wikipedia.org/wiki/Ruby</url></result><result xmlns="http://www.inktomi.com/">
21
+ <abstract><![CDATA[<b>Ruby</b> originated in Japan during the mid-1990s and was initially developed and <b>...</b> <b>Ruby</b> supports multiple programming paradigms, including functional, object <b>...</b>]]></abstract>
22
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=11tsuk1oo/**http%3A//en.wikipedia.org/wiki/Ruby_(programming_language)</clickurl>
23
+ <date>2009/06/17</date>
24
+ <dispurl><![CDATA[<b>en.wikipedia.org</b>/wiki/<wbr><b>Ruby</b>_(programming_language)]]></dispurl>
25
+ <size>131489</size>
26
+ <title><![CDATA[<b>Ruby</b> (programming language) - Wikipedia, the free encyclopedia]]></title>
27
+ <url>http://en.wikipedia.org/wiki/Ruby_(programming_language)</url></result><result xmlns="http://www.inktomi.com/">
28
+ <abstract><![CDATA["<b>Ruby</b> on Rails is a breakthrough in lowering the barriers of entry to programming. <b>...</b> "Before <b>Ruby</b> on Rails, web programming required a lot of verbiage, steps <b>...</b>]]></abstract>
29
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=10sqpm4qa/**http%3A//rubyonrails.org/</clickurl>
30
+ <date>2009/06/23</date>
31
+ <dispurl><![CDATA[<b>rubyonrails.org</b>]]></dispurl>
32
+ <size>11882</size>
33
+ <title><![CDATA[<b>Ruby</b> on Rails]]></title>
34
+ <url>http://rubyonrails.org/</url></result><result xmlns="http://www.inktomi.com/"><abstract/>
35
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=110v0kjjt/**http%3A//www.ruby-lang.org/en</clickurl>
36
+ <date>2009/06/22</date>
37
+ <dispurl><![CDATA[www.<b>ruby-lang.org</b>/en]]></dispurl>
38
+ <size>12140</size>
39
+ <title><![CDATA[<b>Ruby</b> Programming Language]]></title>
40
+ <url>http://www.ruby-lang.org/en</url></result><result xmlns="http://www.inktomi.com/">
41
+ <abstract><![CDATA[Premier 1940s restaurant. Shooby Dooby down to <b>Ruby's</b> for authentic 1940's fun.]]></abstract>
42
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=10qvjehb6/**http%3A//www.rubys.com/</clickurl>
43
+ <date>2009/06/22</date>
44
+ <dispurl><![CDATA[www.<b>rubys.com</b>]]></dispurl>
45
+ <size>529321</size>
46
+ <title><![CDATA[<b>Ruby's</b>]]></title>
47
+ <url>http://www.rubys.com/</url></result><result xmlns="http://www.inktomi.com/">
48
+ <abstract><![CDATA[<b>Ruby</b> is a very popular open-source language which lends itself especially well <b>...</b> Educational sites where you can learn how to program using <b>Ruby</b>. <b>...</b>]]></abstract>
49
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=115aqsp4l/**http%3A//developer.yahoo.com/ruby/</clickurl>
50
+ <date>2009/06/20</date>
51
+ <dispurl><![CDATA[<b>developer.yahoo.com</b>/<b>ruby</b>]]></dispurl>
52
+ <size>21787</size>
53
+ <title><![CDATA[<b>Ruby</b> Developer Center - Yahoo! Developer Network]]></title>
54
+ <url>http://developer.yahoo.com/ruby/</url></result><result xmlns="http://www.inktomi.com/">
55
+ <abstract><![CDATA[<b>ruby</b> n. , pl. -bies . A deep red, translucent variety of the mineral corundum, highly valued as a precious stone <b>...</b> red of fine-quality <b>ruby</b> is the result of <b>...</b>]]></abstract>
56
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=116gndgit/**http%3A//www.answers.com/topic/ruby</clickurl>
57
+ <date>2009/06/12</date>
58
+ <dispurl><![CDATA[www.<b>answers.com</b>/topic/<b>ruby</b>]]></dispurl>
59
+ <size>134619</size>
60
+ <title><![CDATA[<b>ruby</b>: Definition from Answers.com]]></title>
61
+ <url>http://www.answers.com/topic/ruby</url></result><result xmlns="http://www.inktomi.com/">
62
+ <abstract><![CDATA[An on-line copy of the first edition of the book Programming <b>Ruby</b>, by Dave Thomas. <b>...</b> 10 Things Every Java Programmer Should Know About <b>Ruby</b> <b>...</b>]]></abstract>
63
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=10tjnj1v2/**http%3A//www.ruby-doc.org/</clickurl>
64
+ <date>2009/06/09</date>
65
+ <dispurl><![CDATA[www.<b>ruby-doc.org</b>]]></dispurl>
66
+ <size>13955</size>
67
+ <title><![CDATA[[<b>Ruby</b>-Doc.org: Documenting the <b>Ruby</b> Language]]]></title>
68
+ <url>http://www.ruby-doc.org/</url></result><result xmlns="http://www.inktomi.com/">
69
+ <abstract><![CDATA[And red is also the colour of the <b>ruby</b>, the king of the gemstones. <b>...</b> For a long time India was regarded as the <b>ruby's</b> classical country of origin. <b>...</b>]]></abstract>
70
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=11pea0sti/**http%3A//www.gemstone.org/gem-by-gem/english/ruby.html</clickurl>
71
+ <date>2008/09/23</date>
72
+ <dispurl><![CDATA[www.<b>gemstone.org</b>/gem-by-gem/<wbr>english/<b>ruby</b>.html]]></dispurl>
73
+ <size>52995</size>
74
+ <title><![CDATA[<b>Ruby</b> - english]]></title>
75
+ <url>http://www.gemstone.org/gem-by-gem/english/ruby.html</url></result><result xmlns="http://www.inktomi.com/">
76
+ <abstract><![CDATA[<b>...</b> <b>Ruby</b> Developer Center, where you'll find all the information and tools you need <b>...</b> The <b>Ruby</b>-on-Rails community offers a mailing list, wiki, IRC, bug <b>...</b>]]></abstract>
77
+ <clickurl>http://lrd.yahooapis.com/_ylc=X3oDMTQ4NHZqZ2gzBF9TAzIwMjMxNTI3MDIEYXBwaWQDb0pfTWdwbklrWW5CMWhTZnFUZEd5TkouTXNxZlNMQmkEY2xpZW50A2Jvc3MEc2VydmljZQNCT1NTBHNsawN0aXRsZQRzcmNwdmlkA1VQczBUa2dlQXUxOHRFZGhZczFXUG1KbTBqSE1sRXBCeFI4QUR0a0o-/SIG=114fkbio4/**http%3A//developers.sun.com/ruby/</clickurl>
78
+ <date>2009/06/13</date>
79
+ <dispurl><![CDATA[<b>developers.sun.com</b>/<b>ruby</b>]]></dispurl>
80
+ <size>23151</size>
81
+ <title><![CDATA[<b>Ruby</b> Developer Center - Sun Developer Network (SDN)]]></title>
82
+ <url>http://developers.sun.com/ruby/</url></result></results></query><!-- total: 318 -->
83
+ <!-- yqlengine1.pipes.sp1.yahoo.com uncompressed/chunked Tue Jun 23 23:18:07 PDT 2009 -->
@@ -0,0 +1,98 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
3
+
4
+ <channel>
5
+ <title>Slashdot</title>
6
+ <link>http://slashdot.org/</link>
7
+ <description>News for nerds, stuff that matters</description>
8
+ </channel>
9
+
10
+ <image>
11
+ <title>Slashdot</title>
12
+ <url>http://s.fsdn.com/sd/topics/topicslashdot.gif</url>
13
+ <link>http://slashdot.org/</link>
14
+ </image>
15
+
16
+ <item>
17
+ <title>North Korea Launches "Communication Satellite" Rocket</title>
18
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/Z3_sEVEWN44/article.pl</link>
19
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/ugeT-w-dcRANVSAFjeOyE1xWxLI/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/ugeT-w-dcRANVSAFjeOyE1xWxLI/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/Z3_sEVEWN44" height="1" width="1"/&gt;</description><feedburner:origLink>http://news.slashdot.org/article.pl?sid=09/04/05/0412228&amp;from=rss</feedburner:origLink></item>
20
+
21
+ <item>
22
+ <title>ARM &amp;mdash; Heretic In the Church of Intel, Moore's Law</title>
23
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/42oa4dK6FBQ/article.pl</link>
24
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/-1rxhXXhRQs2R45k9UK8rJWMt9Q/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/-1rxhXXhRQs2R45k9UK8rJWMt9Q/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/42oa4dK6FBQ" height="1" width="1"/&gt;</description><feedburner:origLink>http://hardware.slashdot.org/article.pl?sid=09/04/05/0029211&amp;from=rss</feedburner:origLink></item>
25
+
26
+ <item>
27
+ <title>Chrome EULA Reserves the Right To Filter Your Web</title>
28
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/t2Uoe2155P4/article.pl</link>
29
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/gaBNiJYktga6sDLVL-L_B8QcQSQ/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/gaBNiJYktga6sDLVL-L_B8QcQSQ/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/t2Uoe2155P4" height="1" width="1"/&gt;</description><feedburner:origLink>http://yro.slashdot.org/article.pl?sid=09/04/04/234208&amp;from=rss</feedburner:origLink></item>
30
+
31
+ <item>
32
+ <title>No More OpenMoko Phone</title>
33
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/S8Zom-mjrXI/article.pl</link>
34
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/XmLlMqiqRgwLFenKrFBWy9FX3dM/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/XmLlMqiqRgwLFenKrFBWy9FX3dM/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/S8Zom-mjrXI" height="1" width="1"/&gt;</description><feedburner:origLink>http://mobile.slashdot.org/article.pl?sid=09/04/04/228240&amp;from=rss</feedburner:origLink></item>
35
+
36
+ <item>
37
+ <title>Appeals Court Rules Against Google On Keyword Ads</title>
38
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/F5DuPJgp4mQ/article.pl</link>
39
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/rb4-68iQKt_C2O8gqGhtzeQi_zg/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/rb4-68iQKt_C2O8gqGhtzeQi_zg/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/F5DuPJgp4mQ" height="1" width="1"/&gt;</description><feedburner:origLink>http://news.slashdot.org/article.pl?sid=09/04/04/1921236&amp;from=rss</feedburner:origLink></item>
40
+
41
+ <item>
42
+ <title>Data Center Raid About Unpaid Telco Fees</title>
43
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/x2UyC_yoJfI/article.pl</link>
44
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/LBMosQrByLSE1GaPWCTQFMMj89U/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/LBMosQrByLSE1GaPWCTQFMMj89U/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/x2UyC_yoJfI" height="1" width="1"/&gt;</description><feedburner:origLink>http://tech.slashdot.org/article.pl?sid=09/04/04/2013200&amp;from=rss</feedburner:origLink></item>
45
+
46
+ <item>
47
+ <title>Coders, Your Days Are Numbered</title>
48
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/-GRV3zWRuiw/article.pl</link>
49
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/5UqLl0mY9ffxMo0vcTYa0IMOtkc/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/5UqLl0mY9ffxMo0vcTYa0IMOtkc/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/-GRV3zWRuiw" height="1" width="1"/&gt;</description><feedburner:origLink>http://developers.slashdot.org/article.pl?sid=09/04/04/1829239&amp;from=rss</feedburner:origLink></item>
50
+
51
+ <item>
52
+ <title>Windows 95 Almost Autodetected Floppy Disks</title>
53
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/jJCf0ijBdMk/article.pl</link>
54
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/02X9J3MmiaEwC1jWu-QnPzUCbb4/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/02X9J3MmiaEwC1jWu-QnPzUCbb4/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/jJCf0ijBdMk" height="1" width="1"/&gt;</description><feedburner:origLink>http://tech.slashdot.org/article.pl?sid=09/04/04/1717242&amp;from=rss</feedburner:origLink></item>
55
+
56
+ <item>
57
+ <title>Three Mile Island Memories</title>
58
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/xgHoPPdzAYY/article.pl</link>
59
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/Nwh7dkc8KT3AMVpZ-iavrb__tYY/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/Nwh7dkc8KT3AMVpZ-iavrb__tYY/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/xgHoPPdzAYY" height="1" width="1"/&gt;</description><feedburner:origLink>http://hardware.slashdot.org/article.pl?sid=09/04/04/1638249&amp;from=rss</feedburner:origLink></item>
60
+
61
+ <item>
62
+ <title>Phoenix Police Seize PCs of a Blogger Critical of the Department</title>
63
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/d2SEMDC96bI/article.pl</link>
64
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/TF64ggWHYGbTBgOmofPtcLVvDak/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/TF64ggWHYGbTBgOmofPtcLVvDak/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/d2SEMDC96bI" height="1" width="1"/&gt;</description><feedburner:origLink>http://yro.slashdot.org/article.pl?sid=09/04/04/1515239&amp;from=rss</feedburner:origLink></item>
65
+
66
+ <item>
67
+ <title>How Do I Put an Invention Into the Public Domain?</title>
68
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/Oq13ubPpSTs/article.pl</link>
69
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/DNJ7S7mvI0w3P6BVeVSkGNeGoQs/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/DNJ7S7mvI0w3P6BVeVSkGNeGoQs/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/Oq13ubPpSTs" height="1" width="1"/&gt;</description><feedburner:origLink>http://ask.slashdot.org/article.pl?sid=09/04/04/1338228&amp;from=rss</feedburner:origLink></item>
70
+
71
+ <item>
72
+ <title>Engineering Students Build Robotic Foosball Players</title>
73
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/a4G1EaJNg2s/article.pl</link>
74
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/Mz26LXLorHJ5MpbbhRA6lCCMwfU/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/Mz26LXLorHJ5MpbbhRA6lCCMwfU/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/a4G1EaJNg2s" height="1" width="1"/&gt;</description><feedburner:origLink>http://hardware.slashdot.org/article.pl?sid=09/04/04/1218214&amp;from=rss</feedburner:origLink></item>
75
+
76
+ <item>
77
+ <title>Believing In Medical Treatments That Don't Work</title>
78
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/gRePAK3sAgg/article.pl</link>
79
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/3hNpVvBfXOSJginuGNBpL8zy7ds/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/3hNpVvBfXOSJginuGNBpL8zy7ds/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/gRePAK3sAgg" height="1" width="1"/&gt;</description><feedburner:origLink>http://science.slashdot.org/article.pl?sid=09/04/04/042214&amp;from=rss</feedburner:origLink></item>
80
+
81
+ <item>
82
+ <title>Larrabee ISA Revealed</title>
83
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/v8S7f-QWjNM/article.pl</link>
84
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/3sEwn7Bdo_bLx-U2E5ukBxv7FLE/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/3sEwn7Bdo_bLx-U2E5ukBxv7FLE/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/v8S7f-QWjNM" height="1" width="1"/&gt;</description><feedburner:origLink>http://tech.slashdot.org/article.pl?sid=09/04/04/035224&amp;from=rss</feedburner:origLink></item>
85
+
86
+ <item>
87
+ <title>Large Ice Shelf Expected To Break From Antarctica</title>
88
+ <link>http://rss.slashdot.org/~r/Slashdot/slashdot/to/~3/zMkhhpLF0BM/article.pl</link>
89
+ <description>&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~at/3MFDbhb2EPCc5gsAPrcN3Afp8jM/a"&gt;&lt;img src="http://feedads.googleadservices.com/~at/3MFDbhb2EPCc5gsAPrcN3Afp8jM/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds2.feedburner.com/~r/Slashdot/slashdot/to/~4/zMkhhpLF0BM" height="1" width="1"/&gt;</description><feedburner:origLink>http://news.slashdot.org/article.pl?sid=09/04/04/028249&amp;from=rss</feedburner:origLink></item>
90
+
91
+ <textinput>
92
+ <title>Search Slashdot</title>
93
+ <description>Search Slashdot stories</description>
94
+ <name>query</name>
95
+ <link>http://slashdot.org/search.pl</link>
96
+ </textinput>
97
+
98
+ </rdf:RDF>
@@ -0,0 +1,10 @@
1
+ module TestSource
2
+ def self.source(name, &block)
3
+ source = Smoke::Origin.new(name, &block)
4
+ source.items = [
5
+ {:head => "Animal: Platypus", :name => "Peter"},
6
+ {:head => "Animal: Kangaroo", :name => "Kelly"}
7
+ ]
8
+ return source
9
+ end
10
+ end
metadata CHANGED
@@ -1,83 +1,148 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smoke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
- - Craig R Webster
7
+ - Ben Schwarz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-01 00:00:00 +01:00
12
+ date: 2009-08-27 00:00:00 +10:00
13
13
  default_executable:
14
- dependencies: []
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: simple-rss
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - "="
22
+ - !ruby/object:Gem::Version
23
+ version: "1.2"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: json
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.1.3
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: fakeweb
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.2.5
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: crack
47
+ type: :runtime
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "="
52
+ - !ruby/object:Gem::Version
53
+ version: 0.1.1
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: moneta
57
+ type: :runtime
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "="
62
+ - !ruby/object:Gem::Version
63
+ version: 0.6.0
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: rest-client
67
+ type: :runtime
68
+ version_requirement:
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "="
72
+ - !ruby/object:Gem::Version
73
+ version: 1.0.3
74
+ version:
75
+ description:
76
+ email: ben.schwarz@gmail.com
77
+ executables: []
15
78
 
16
- description: A simple framework for reporting to a central server. What is reported and how it is handled is passed off to plugins called Smoke Signals that are defined by the user.
17
- email:
18
- - craig@barkingiguana.com
19
- executables:
20
- - smoke
21
- - smoked
22
79
  extensions: []
23
80
 
24
81
  extra_rdoc_files:
25
- - History.txt
26
- - License.txt
27
- - Manifest.txt
28
- - README.txt
29
- - website/index.txt
82
+ - LICENSE
83
+ - README.markdown
30
84
  files:
31
- - History.txt
32
- - License.txt
33
- - Manifest.txt
34
- - README.txt
85
+ - LICENSE
86
+ - README.markdown
35
87
  - Rakefile
36
- - bin/smoke
37
- - bin/smoked
38
- - config/hoe.rb
39
- - config/requirements.rb
40
- - contrib/processors/smoke/remote_port_status_check_processor.rb
41
- - contrib/processors/smoke/system_load_processor.rb
42
- - contrib/signals/smoke/remote_port_status_check.rb
43
- - contrib/signals/smoke/system_load.rb
88
+ - VERSION.yml
89
+ - lib/core_ext/hash.rb
90
+ - lib/core_ext/string.rb
44
91
  - lib/smoke.rb
45
- - lib/smoke/client.rb
46
- - lib/smoke/client/connection.rb
47
- - lib/smoke/client/signal_runner.rb
48
- - lib/smoke/client/version.rb
49
- - lib/smoke/server.rb
50
- - lib/smoke/server/signal_handler.rb
51
- - lib/smoke/server/signal_router.rb
52
- - lib/smoke/server/version.rb
53
- - lib/smoke/signal.rb
54
- - lib/smoke/signal_processor.rb
55
- - lib/smoke/version.rb
56
- - log/debug.log
57
- - log/development.log
58
- - log/production.log
59
- - log/server.log
60
- - log/test.log
61
- - script/destroy
62
- - script/generate
63
- - script/txt2html
64
- - setup.rb
65
- - tasks/deployment.rake
66
- - tasks/environment.rake
67
- - tasks/website.rake
68
- - test/test_helper.rb
69
- - test/test_server.rb
70
- - website/index.html
71
- - website/index.txt
72
- - website/javascripts/rounded_corners_lite.inc.js
73
- - website/stylesheets/screen.css
74
- - website/template.rhtml
75
- has_rdoc: true
76
- homepage: http://smoke.rubyforge.org
92
+ - lib/smoke/cache.rb
93
+ - lib/smoke/origin.rb
94
+ - lib/smoke/request.rb
95
+ - lib/smoke/source/data.rb
96
+ - lib/smoke/source/feed.rb
97
+ - lib/smoke/source/join.rb
98
+ - lib/smoke/source/yql.rb
99
+ - rdoc/classes/Smoke.html
100
+ - rdoc/classes/Smoke/Origin.html
101
+ - rdoc/classes/Smoke/Source/Data.html
102
+ - rdoc/classes/Smoke/Source/Feed.html
103
+ - rdoc/classes/Smoke/Source/YQL.html
104
+ - rdoc/created.rid
105
+ - rdoc/files/README_markdown.html
106
+ - rdoc/files/lib/core_ext/hash_rb.html
107
+ - rdoc/files/lib/smoke/origin_rb.html
108
+ - rdoc/files/lib/smoke/request_rb.html
109
+ - rdoc/files/lib/smoke/source/data_rb.html
110
+ - rdoc/files/lib/smoke/source/feed_rb.html
111
+ - rdoc/files/lib/smoke/source/join_rb.html
112
+ - rdoc/files/lib/smoke/source/yql_rb.html
113
+ - rdoc/files/lib/smoke_rb.html
114
+ - rdoc/fr_class_index.html
115
+ - rdoc/fr_file_index.html
116
+ - rdoc/fr_method_index.html
117
+ - rdoc/index.html
118
+ - rdoc/rdoc-style.css
119
+ - spec/core_ext/hash_spec.rb
120
+ - spec/smoke/cache_spec.rb
121
+ - spec/smoke/origin_spec.rb
122
+ - spec/smoke/request_spec.rb
123
+ - spec/smoke/shared_spec.rb
124
+ - spec/smoke/source/data_spec.rb
125
+ - spec/smoke/source/feed_spec.rb
126
+ - spec/smoke/source/join_spec.rb
127
+ - spec/smoke/source/yql_spec.rb
128
+ - spec/smoke_spec.rb
129
+ - spec/spec.opts
130
+ - spec/spec_helper.rb
131
+ - spec/supports/amc_pacer.json.yql
132
+ - spec/supports/datatables.yql
133
+ - spec/supports/flickr-photo.json
134
+ - spec/supports/gzip_response.txt
135
+ - spec/supports/search-web.json.yql
136
+ - spec/supports/search-web.xml.yql
137
+ - spec/supports/slashdot.xml
138
+ - spec/supports/test_source.rb
139
+ has_rdoc: false
140
+ homepage: http://github.com/benschwarz/smoke
141
+ licenses: []
142
+
77
143
  post_install_message:
78
144
  rdoc_options:
79
- - --main
80
- - README.txt
145
+ - --charset=UTF-8
81
146
  require_paths:
82
147
  - lib
83
148
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -94,11 +159,23 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
159
  version:
95
160
  requirements: []
96
161
 
97
- rubyforge_project: smoke
98
- rubygems_version: 1.0.1
162
+ rubyforge_project:
163
+ rubygems_version: 1.3.2
99
164
  signing_key:
100
- specification_version: 2
101
- summary: A simple framework for reporting to a central server. What is reported and how it is handled is passed off to plugins called Smoke Signals that are defined by the user.
165
+ specification_version: 3
166
+ summary: smoke is a DSL that allows you to take data from YQL, RSS / Atom
102
167
  test_files:
103
- - test/test_helper.rb
104
- - test/test_server.rb
168
+ - spec/core_ext/hash_spec.rb
169
+ - spec/smoke/cache_spec.rb
170
+ - spec/smoke/origin_spec.rb
171
+ - spec/smoke/request_spec.rb
172
+ - spec/smoke/shared_spec.rb
173
+ - spec/smoke/source/data_spec.rb
174
+ - spec/smoke/source/feed_spec.rb
175
+ - spec/smoke/source/join_spec.rb
176
+ - spec/smoke/source/yql_spec.rb
177
+ - spec/smoke_spec.rb
178
+ - spec/spec_helper.rb
179
+ - spec/supports/test_source.rb
180
+ - examples/web_search_joined.rb
181
+ - examples/yql_web_search.rb