pstuteville-scrubyt 0.4.31 → 0.5.0

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.
Files changed (462) hide show
  1. data/Rakefile +23 -23
  2. data/VERSION +1 -1
  3. metadata +20 -500
  4. data/examples/README.txt +0 -1
  5. data/examples/events/delta/input.html +0 -682
  6. data/examples/events/delta/test.rb +0 -16
  7. data/examples/misc/auto_regex/input.html +0 -22
  8. data/examples/misc/auto_regex/test.rb +0 -14
  9. data/examples/misc/compound_example/advanced/test.rb +0 -11
  10. data/examples/misc/compound_example/advanced/tricky_compound.html +0 -9
  11. data/examples/misc/compound_example/regexp/regexp_compound.html +0 -17
  12. data/examples/misc/compound_example/regexp/test.rb +0 -11
  13. data/examples/misc/compound_example/simple/compound.html +0 -5
  14. data/examples/misc/compound_example/simple/test.rb +0 -11
  15. data/examples/misc/detail_page/detailpage.html +0 -6
  16. data/examples/misc/detail_page/index.html +0 -9
  17. data/examples/misc/detail_page/test.rb +0 -17
  18. data/examples/misc/google/test.rb +0 -39
  19. data/examples/misc/identical_examples/data_extractor_export.rb +0 -12
  20. data/examples/misc/identical_examples/input.html +0 -16
  21. data/examples/misc/identical_examples/test.rb +0 -15
  22. data/examples/misc/immediate_attribute_extraction/data_extractor_export.rb +0 -10
  23. data/examples/misc/immediate_attribute_extraction/input.html +0 -16
  24. data/examples/misc/immediate_attribute_extraction/test.rb +0 -14
  25. data/examples/misc/multiple_examples/input.html +0 -7
  26. data/examples/misc/multiple_examples/test.rb +0 -22
  27. data/examples/misc/on_click_next/next_page_link.rb +0 -42
  28. data/examples/misc/on_click_next/page_1.html +0 -10
  29. data/examples/misc/on_click_next/page_2.html +0 -10
  30. data/examples/misc/on_click_next/page_3.html +0 -7
  31. data/examples/misc/rubycorner/test.rb +0 -29
  32. data/examples/misc/rubyforge_login/test.rb +0 -30
  33. data/examples/misc/tables/ambigous_records/input.html +0 -17
  34. data/examples/misc/tables/ambigous_records/test.rb +0 -37
  35. data/examples/misc/tables/another_plain_table/input.html +0 -15
  36. data/examples/misc/tables/another_plain_table/test.rb +0 -25
  37. data/examples/misc/tables/complex_table/input.html +0 -45
  38. data/examples/misc/tables/complex_table/test.rb +0 -30
  39. data/examples/misc/tables/grab_rows/input.html +0 -20
  40. data/examples/misc/tables/grab_rows/test.rb +0 -30
  41. data/examples/misc/tables/plain_table/input.html +0 -39
  42. data/examples/misc/tables/plain_table/test.rb +0 -35
  43. data/examples/misc/tables/plain_table_morepages/2.html +0 -38
  44. data/examples/misc/tables/plain_table_morepages/3.html +0 -33
  45. data/examples/misc/tables/plain_table_morepages/input.html +0 -40
  46. data/examples/misc/tables/plain_table_morepages/test.rb +0 -32
  47. data/examples/misc/tables/plain_table_morepages_with_image/2.html +0 -40
  48. data/examples/misc/tables/plain_table_morepages_with_image/3.html +0 -33
  49. data/examples/misc/tables/plain_table_morepages_with_image/images/right_arrow.png +0 -0
  50. data/examples/misc/tables/plain_table_morepages_with_image/input.html +0 -42
  51. data/examples/misc/tables/plain_table_morepages_with_image/test.rb +0 -32
  52. data/examples/misc/tables/test_select_indices/input.html +0 -46
  53. data/examples/misc/tables/test_select_indices/test.rb +0 -55
  54. data/examples/misc/xpath_example_type/input.html +0 -15
  55. data/examples/misc/xpath_example_type/test.rb +0 -18
  56. data/examples/misc/yahoo_finance/test.rb +0 -26
  57. data/examples/social/blog_comment/test.rb +0 -27
  58. data/examples/social/del.icio.us/test.rb +0 -22
  59. data/examples/social/digg/test.rb +0 -37
  60. data/examples/social/dzone/test.rb +0 -28
  61. data/examples/social/linkedin/linkedin.rb +0 -23
  62. data/examples/social/reddit/test.rb +0 -23
  63. data/examples/tones_extractor_export.rb +0 -23
  64. data/examples/webshops/amazon-online/test.rb +0 -34
  65. data/examples/webshops/amazon/002-8212888-3924065.html +0 -5311
  66. data/examples/webshops/amazon/002-8212888-3924065_files/0130796034.jpg +0 -0
  67. data/examples/webshops/amazon/002-8212888-3924065_files/020161622X.jpg +0 -0
  68. data/examples/webshops/amazon/002-8212888-3924065_files/0321223675.jpg +0 -0
  69. data/examples/webshops/amazon/002-8212888-3924065_files/0465067107.jpg +0 -0
  70. data/examples/webshops/amazon/002-8212888-3924065_files/0470069155.jpg +0 -0
  71. data/examples/webshops/amazon/002-8212888-3924065_files/0470081201.jpg +0 -0
  72. data/examples/webshops/amazon/002-8212888-3924065_files/0596005253.jpg +0 -0
  73. data/examples/webshops/amazon/002-8212888-3924065_files/0596101325.jpg +0 -0
  74. data/examples/webshops/amazon/002-8212888-3924065_files/0596523696.jpg +0 -0
  75. data/examples/webshops/amazon/002-8212888-3924065_files/0672328844.jpg +0 -0
  76. data/examples/webshops/amazon/002-8212888-3924065_files/0764596861.jpg +0 -0
  77. data/examples/webshops/amazon/002-8212888-3924065_files/0974514055.jpg +0 -0
  78. data/examples/webshops/amazon/002-8212888-3924065_files/0976694069.jpg +0 -0
  79. data/examples/webshops/amazon/002-8212888-3924065_files/0977616606.jpg +0 -0
  80. data/examples/webshops/amazon/002-8212888-3924065_files/0977616614.jpg +0 -0
  81. data/examples/webshops/amazon/002-8212888-3924065_files/0977616630.jpg +0 -0
  82. data/examples/webshops/amazon/002-8212888-3924065_files/1590597362.jpg +0 -0
  83. data/examples/webshops/amazon/002-8212888-3924065_files/1594480060.jpg +0 -0
  84. data/examples/webshops/amazon/002-8212888-3924065_files/1932394699.jpg +0 -0
  85. data/examples/webshops/amazon/002-8212888-3924065_files/2841772101.jpg +0 -0
  86. data/examples/webshops/amazon/002-8212888-3924065_files/amzn-logo-118w.gif +0 -0
  87. data/examples/webshops/amazon/002-8212888-3924065_files/askville-adwidget-bullet.gif +0 -0
  88. data/examples/webshops/amazon/002-8212888-3924065_files/askville-logo-sm-adwidget-white-bg.gif +0 -0
  89. data/examples/webshops/amazon/002-8212888-3924065_files/book_display_on_website-icon.gif +0 -0
  90. data/examples/webshops/amazon/002-8212888-3924065_files/btn-inactive-no-ns.gif +0 -0
  91. data/examples/webshops/amazon/002-8212888-3924065_files/btn-inactive-no.gif +0 -0
  92. data/examples/webshops/amazon/002-8212888-3924065_files/btn-inactive-yes-ns.gif +0 -0
  93. data/examples/webshops/amazon/002-8212888-3924065_files/btn-inactive-yes.gif +0 -0
  94. data/examples/webshops/amazon/002-8212888-3924065_files/btn-no-tiny.gif +0 -0
  95. data/examples/webshops/amazon/002-8212888-3924065_files/btn-yes-tiny.gif +0 -0
  96. data/examples/webshops/amazon/002-8212888-3924065_files/buybox-button-find-gifts-a.gif +0 -0
  97. data/examples/webshops/amazon/002-8212888-3924065_files/c7y_badge_rn_1.gif +0 -0
  98. data/examples/webshops/amazon/002-8212888-3924065_files/cap-a9-3.gif +0 -0
  99. data/examples/webshops/amazon/002-8212888-3924065_files/drop-down-icon-small-arrow.gif +0 -0
  100. data/examples/webshops/amazon/002-8212888-3924065_files/endcap-a9-go-2.gif +0 -0
  101. data/examples/webshops/amazon/002-8212888-3924065_files/gb-open-new.gif +0 -0
  102. data/examples/webshops/amazon/002-8212888-3924065_files/gc-logo-popover-a.gif +0 -0
  103. data/examples/webshops/amazon/002-8212888-3924065_files/gift-cert-roto-pop-a.gif +0 -0
  104. data/examples/webshops/amazon/002-8212888-3924065_files/go-button-books.gif +0 -0
  105. data/examples/webshops/amazon/002-8212888-3924065_files/go-button.gif +0 -0
  106. data/examples/webshops/amazon/002-8212888-3924065_files/go-orange-trans.gif +0 -0
  107. data/examples/webshops/amazon/002-8212888-3924065_files/go_button_photo.gif +0 -0
  108. data/examples/webshops/amazon/002-8212888-3924065_files/logo-off.gif +0 -0
  109. data/examples/webshops/amazon/002-8212888-3924065_files/n2CoreLibs-events-18134.js +0 -1407
  110. data/examples/webshops/amazon/002-8212888-3924065_files/n2CoreLibs-n2v1-57871.css +0 -364
  111. data/examples/webshops/amazon/002-8212888-3924065_files/n2CoreLibs-simplePopover-41153.js +0 -749
  112. data/examples/webshops/amazon/002-8212888-3924065_files/n2CoreLibs-utilities-25439.js +0 -1608
  113. data/examples/webshops/amazon/002-8212888-3924065_files/orange-arrow.gif +0 -0
  114. data/examples/webshops/amazon/002-8212888-3924065_files/orange-arrow_002.gif +0 -0
  115. data/examples/webshops/amazon/002-8212888-3924065_files/popover-blurb.gif +0 -0
  116. data/examples/webshops/amazon/002-8212888-3924065_files/powered-by-a9.gif +0 -0
  117. data/examples/webshops/amazon/002-8212888-3924065_files/stars-3-5.gif +0 -0
  118. data/examples/webshops/amazon/002-8212888-3924065_files/stars-4-0.gif +0 -0
  119. data/examples/webshops/amazon/002-8212888-3924065_files/stars-4-5.gif +0 -0
  120. data/examples/webshops/amazon/002-8212888-3924065_files/stars-5-0.gif +0 -0
  121. data/examples/webshops/amazon/002-8212888-3924065_files/tagline-adwidget.gif +0 -0
  122. data/examples/webshops/amazon/002-8212888-3924065_files/topnav-cart.gif +0 -0
  123. data/examples/webshops/amazon/002-8212888-3924065_files/transparent-pixel.gif +0 -0
  124. data/examples/webshops/amazon/002-8212888-3924065_files/transparent-pixel_002.gif +0 -0
  125. data/examples/webshops/amazon/test.rb +0 -27
  126. data/examples/webshops/barnes_and_noble/test.rb +0 -32
  127. data/examples/webshops/barnes_offline/barnes_and_noble.html +0 -115
  128. data/examples/webshops/barnes_offline/barnes_and_noble_files/10964080.gif +0 -0
  129. data/examples/webshops/barnes_offline/barnes_and_noble_files/10999676.gif +0 -0
  130. data/examples/webshops/barnes_offline/barnes_and_noble_files/11018492.gif +0 -0
  131. data/examples/webshops/barnes_offline/barnes_and_noble_files/11656534.gif +0 -0
  132. data/examples/webshops/barnes_offline/barnes_and_noble_files/11985045.gif +0 -0
  133. data/examples/webshops/barnes_offline/barnes_and_noble_files/12052378.gif +0 -0
  134. data/examples/webshops/barnes_offline/barnes_and_noble_files/12138286.gif +0 -0
  135. data/examples/webshops/barnes_offline/barnes_and_noble_files/12533212.gif +0 -0
  136. data/examples/webshops/barnes_offline/barnes_and_noble_files/12533268.gif +0 -0
  137. data/examples/webshops/barnes_offline/barnes_and_noble_files/9583392.gif +0 -0
  138. data/examples/webshops/barnes_offline/barnes_and_noble_files/SearchProduct.css +0 -626
  139. data/examples/webshops/barnes_offline/barnes_and_noble_files/admin3_gtpointup.gif +0 -0
  140. data/examples/webshops/barnes_offline/barnes_and_noble_files/admin_aboutshipping.gif +0 -0
  141. data/examples/webshops/barnes_offline/barnes_and_noble_files/admin_account.gif +0 -0
  142. data/examples/webshops/barnes_offline/barnes_and_noble_files/admin_colon.gif +0 -0
  143. data/examples/webshops/barnes_offline/barnes_and_noble_files/admin_giftreminder.gif +0 -0
  144. data/examples/webshops/barnes_offline/barnes_and_noble_files/admin_help.gif +0 -0
  145. data/examples/webshops/barnes_offline/barnes_and_noble_files/admin_orderstatus.gif +0 -0
  146. data/examples/webshops/barnes_offline/barnes_and_noble_files/admin_wishlist.gif +0 -0
  147. data/examples/webshops/barnes_offline/barnes_and_noble_files/bg.gif +0 -0
  148. data/examples/webshops/barnes_offline/barnes_and_noble_files/btnGoGrn.gif +0 -0
  149. data/examples/webshops/barnes_offline/barnes_and_noble_files/cleardot.gif +0 -0
  150. data/examples/webshops/barnes_offline/barnes_and_noble_files/cleardot_002.gif +0 -0
  151. data/examples/webshops/barnes_offline/barnes_and_noble_files/dot4.gif +0 -0
  152. data/examples/webshops/barnes_offline/barnes_and_noble_files/dotGold20.gif +0 -0
  153. data/examples/webshops/barnes_offline/barnes_and_noble_files/hdCantFind.gif +0 -0
  154. data/examples/webshops/barnes_offline/barnes_and_noble_files/hdSearchResults.gif +0 -0
  155. data/examples/webshops/barnes_offline/barnes_and_noble_files/hgg_tab_home_cold.gif +0 -0
  156. data/examples/webshops/barnes_offline/barnes_and_noble_files/hgg_tab_toy_cold.gif +0 -0
  157. data/examples/webshops/barnes_offline/barnes_and_noble_files/iframeKMP.js +0 -172
  158. data/examples/webshops/barnes_offline/barnes_and_noble_files/kmp_iframe_cds2.html +0 -25
  159. data/examples/webshops/barnes_offline/barnes_and_noble_files/kmp_iframe_cds2_data/070226_mc_lnav_search.gif +0 -0
  160. data/examples/webshops/barnes_offline/barnes_and_noble_files/kmp_iframe_cds2_data/XmlUtil.js +0 -199
  161. data/examples/webshops/barnes_offline/barnes_and_noble_files/kmp_iframe_cds2_data/XslStyleSheet.js +0 -1
  162. data/examples/webshops/barnes_offline/barnes_and_noble_files/kmp_iframe_cds2_data/kmp_gen.css +0 -81
  163. data/examples/webshops/barnes_offline/barnes_and_noble_files/kmp_iframe_cds2_data/product-preview-core.js +0 -337
  164. data/examples/webshops/barnes_offline/barnes_and_noble_files/kmp_iframe_cds2_data/product-preview.css +0 -36
  165. data/examples/webshops/barnes_offline/barnes_and_noble_files/kmp_iframe_cds2_data/productpreview.js +0 -11
  166. data/examples/webshops/barnes_offline/barnes_and_noble_files/linePagination.gif +0 -0
  167. data/examples/webshops/barnes_offline/barnes_and_noble_files/logo_bn05.gif +0 -0
  168. data/examples/webshops/barnes_offline/barnes_and_noble_files/navbar.js +0 -34
  169. data/examples/webshops/barnes_offline/barnes_and_noble_files/navbar_06.css +0 -136
  170. data/examples/webshops/barnes_offline/barnes_and_noble_files/popup_open.js +0 -116
  171. data/examples/webshops/barnes_offline/barnes_and_noble_files/qsearch3_vline_dots.gif +0 -0
  172. data/examples/webshops/barnes_offline/barnes_and_noble_files/qsearch4_search.gif +0 -0
  173. data/examples/webshops/barnes_offline/barnes_and_noble_files/qsearch_AdvSearch.jpg +0 -0
  174. data/examples/webshops/barnes_offline/barnes_and_noble_files/subnav_colon.gif +0 -0
  175. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_Bookclubs_cold.gif +0 -0
  176. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_bnjr_cold.gif +0 -0
  177. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_books_hot.gif +0 -0
  178. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_dvd_cold.gif +0 -0
  179. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_giftcards_cold.gif +0 -0
  180. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_home_cold.gif +0 -0
  181. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_member_cc_cold.gif +0 -0
  182. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_music_cold.gif +0 -0
  183. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_pipe.gif +0 -0
  184. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_textbooksonly_cold.gif +0 -0
  185. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_usedoop_cold.gif +0 -0
  186. data/examples/webshops/barnes_offline/barnes_and_noble_files/tab_videogames_cold.gif +0 -0
  187. data/examples/webshops/barnes_offline/barnes_and_noble_files/toppromo3_rule.gif +0 -0
  188. data/examples/webshops/barnes_offline/barnes_and_noble_files/toppromo_fastfree05.gif +0 -0
  189. data/examples/webshops/barnes_offline/barnes_and_noble_files/vcart_btn_checkout.gif +0 -0
  190. data/examples/webshops/barnes_offline/barnes_and_noble_files/vcart_icon_cart.gif +0 -0
  191. data/examples/webshops/barnes_offline/barnes_and_noble_files/vcart_topbot_rule.gif +0 -0
  192. data/examples/webshops/barnes_offline/barnes_and_noble_files/visualcart_prodid.js +0 -401
  193. data/examples/webshops/barnes_offline/test.rb +0 -30
  194. data/examples/webshops/buydig/2_files/03AA1BB9089A4A6A92CF23F280D664EB.jpg +0 -0
  195. data/examples/webshops/buydig/2_files/1008.gif +0 -0
  196. data/examples/webshops/buydig/2_files/1013.gif +0 -0
  197. data/examples/webshops/buydig/2_files/1020.gif +0 -0
  198. data/examples/webshops/buydig/2_files/106CF2FB84B446518397517C3E6D5AD8.jpg +0 -0
  199. data/examples/webshops/buydig/2_files/13-www.gif +0 -0
  200. data/examples/webshops/buydig/2_files/1E9BB2E56AB145FC9D6EF952703AF476.jpg +0 -0
  201. data/examples/webshops/buydig/2_files/1FCDFBE85CDB4D429EC2C8CB24D20457.jpg +0 -0
  202. data/examples/webshops/buydig/2_files/1pix.gif +0 -0
  203. data/examples/webshops/buydig/2_files/2014.gif +0 -0
  204. data/examples/webshops/buydig/2_files/2089.gif +0 -0
  205. data/examples/webshops/buydig/2_files/24992_medal.gif +0 -0
  206. data/examples/webshops/buydig/2_files/24BBCBA1397F4DDCBBBBE8456D6D6E5B.jpg +0 -0
  207. data/examples/webshops/buydig/2_files/281F8A6019B140F38DFD45EB7B69B0FB.jpg +0 -0
  208. data/examples/webshops/buydig/2_files/2975F866CB2149F7ACBC559C8E24E304.jpg +0 -0
  209. data/examples/webshops/buydig/2_files/316FC9256DC9460ABC3C5ECAF6C60286.jpg +0 -0
  210. data/examples/webshops/buydig/2_files/50569327D8B94252B95E449AE470E505.jpg +0 -0
  211. data/examples/webshops/buydig/2_files/519CDAB404FA4543B76B5F281468ACBF.jpg +0 -0
  212. data/examples/webshops/buydig/2_files/57D6146419A647BA89C96AF0B5CAB03C.jpg +0 -0
  213. data/examples/webshops/buydig/2_files/58E3F988E184448B8C0A59874AE123A8.jpg +0 -0
  214. data/examples/webshops/buydig/2_files/5E5B10197A4E4C9B9ECCD6309DBE4C54.jpg +0 -0
  215. data/examples/webshops/buydig/2_files/609A249177D04065B37B9161CB0BC92D.jpg +0 -0
  216. data/examples/webshops/buydig/2_files/676CEE8E53C2445982E991871B4DF613.jpg +0 -0
  217. data/examples/webshops/buydig/2_files/712BA08FAB524A31A76ABB9E2009FF8E.jpg +0 -0
  218. data/examples/webshops/buydig/2_files/734BD08D7A5049339393166491D09D21.jpg +0 -0
  219. data/examples/webshops/buydig/2_files/751E72B7003343248497FE6905F80787.jpg +0 -0
  220. data/examples/webshops/buydig/2_files/76493D4F02F14EF7B5886510604C7BB4.jpg +0 -0
  221. data/examples/webshops/buydig/2_files/79521E251278486DB29529C60C9D012A.jpg +0 -0
  222. data/examples/webshops/buydig/2_files/9C9AF82AC3B54BDC8C705278B50FDFD6.jpg +0 -0
  223. data/examples/webshops/buydig/2_files/BC3FD8307B9948FDB7EEF156D8629C37.jpg +0 -0
  224. data/examples/webshops/buydig/2_files/C0DD4574765047D1836F505E69DC8AE5.jpg +0 -0
  225. data/examples/webshops/buydig/2_files/C143F48515274A44B04F4B3E46306BD2.jpg +0 -0
  226. data/examples/webshops/buydig/2_files/C6B02E88F729464699DB275D140F4563.jpg +0 -0
  227. data/examples/webshops/buydig/2_files/CE334D6206DB4FA9AFDF339AEF0AF50F.jpg +0 -0
  228. data/examples/webshops/buydig/2_files/D66AE0DC865A4021AB300ED3A0C4CD11.jpg +0 -0
  229. data/examples/webshops/buydig/2_files/DEA2EC2093DC474D96B651068576DAE5.jpg +0 -0
  230. data/examples/webshops/buydig/2_files/F547677D83844042BF13A4BE6523BB50.jpg +0 -0
  231. data/examples/webshops/buydig/2_files/Rbbbonlineseal.gif +0 -0
  232. data/examples/webshops/buydig/2_files/TopSellers_bottom.gif +0 -0
  233. data/examples/webshops/buydig/2_files/TopSellers_ttl.gif +0 -0
  234. data/examples/webshops/buydig/2_files/addToFavorites_ttl.gif +0 -0
  235. data/examples/webshops/buydig/2_files/banner_CorporateSales.gif +0 -0
  236. data/examples/webshops/buydig/2_files/banner_Shipping.gif +0 -0
  237. data/examples/webshops/buydig/2_files/bizratehonoree.gif +0 -0
  238. data/examples/webshops/buydig/2_files/btn_submit.gif +0 -0
  239. data/examples/webshops/buydig/2_files/checkFlash.js +0 -110
  240. data/examples/webshops/buydig/2_files/checkFlash2.js +0 -109
  241. data/examples/webshops/buydig/2_files/cnetcertified.gif +0 -0
  242. data/examples/webshops/buydig/2_files/credPriceGrabber.gif +0 -0
  243. data/examples/webshops/buydig/2_files/credShopping.gif +0 -0
  244. data/examples/webshops/buydig/2_files/credential_paypal.gif +0 -0
  245. data/examples/webshops/buydig/2_files/credentials.gif +0 -0
  246. data/examples/webshops/buydig/2_files/dealtime.gif +0 -0
  247. data/examples/webshops/buydig/2_files/dvxstyle.css +0 -754
  248. data/examples/webshops/buydig/2_files/footer_021306_1_v1.gif +0 -0
  249. data/examples/webshops/buydig/2_files/func.js +0 -132
  250. data/examples/webshops/buydig/2_files/getseal +0 -1
  251. data/examples/webshops/buydig/2_files/help.gif +0 -0
  252. data/examples/webshops/buydig/2_files/home.gif +0 -0
  253. data/examples/webshops/buydig/2_files/java.js +0 -155
  254. data/examples/webshops/buydig/2_files/leftnv_help.gif +0 -0
  255. data/examples/webshops/buydig/2_files/logo.gif +0 -0
  256. data/examples/webshops/buydig/2_files/logo2.gif +0 -0
  257. data/examples/webshops/buydig/2_files/logo3.gif +0 -0
  258. data/examples/webshops/buydig/2_files/main.js +0 -227
  259. data/examples/webshops/buydig/2_files/mastercard_secured.gif +0 -0
  260. data/examples/webshops/buydig/2_files/newsBox_bkg.jpg +0 -0
  261. data/examples/webshops/buydig/2_files/newsBox_bottom.jpg +0 -0
  262. data/examples/webshops/buydig/2_files/newsBox_text.gif +0 -0
  263. data/examples/webshops/buydig/2_files/newsBox_ttl.jpg +0 -0
  264. data/examples/webshops/buydig/2_files/noimage75.gif +0 -0
  265. data/examples/webshops/buydig/2_files/orangeleftfrmbtm.gif +0 -0
  266. data/examples/webshops/buydig/2_files/pixel153.gif +0 -0
  267. data/examples/webshops/buydig/2_files/rightnv_bottom.gif +0 -0
  268. data/examples/webshops/buydig/2_files/search_btn_off.gif +0 -0
  269. data/examples/webshops/buydig/2_files/search_c1.gif +0 -0
  270. data/examples/webshops/buydig/2_files/search_c2.gif +0 -0
  271. data/examples/webshops/buydig/2_files/search_c3.gif +0 -0
  272. data/examples/webshops/buydig/2_files/search_c4.gif +0 -0
  273. data/examples/webshops/buydig/2_files/search_down.gif +0 -0
  274. data/examples/webshops/buydig/2_files/search_left.gif +0 -0
  275. data/examples/webshops/buydig/2_files/search_right.gif +0 -0
  276. data/examples/webshops/buydig/2_files/search_top.gif +0 -0
  277. data/examples/webshops/buydig/2_files/siteLinks_bottom.gif +0 -0
  278. data/examples/webshops/buydig/2_files/siteLinks_bullet.gif +0 -0
  279. data/examples/webshops/buydig/2_files/siteLinks_ttl.gif +0 -0
  280. data/examples/webshops/buydig/2_files/spacer.gif +0 -0
  281. data/examples/webshops/buydig/2_files/style.js +0 -45
  282. data/examples/webshops/buydig/2_files/styles.html +0 -33
  283. data/examples/webshops/buydig/2_files/track_orders.jpg +0 -0
  284. data/examples/webshops/buydig/2_files/urchin +0 -534
  285. data/examples/webshops/buydig/2_files/verified_by_visa.gif +0 -0
  286. data/examples/webshops/buydig/2_files/welcome.gif +0 -0
  287. data/examples/webshops/buydig/2_files/welcome_ttl.gif +0 -0
  288. data/examples/webshops/buydig/2_files/yahoologo.gif +0 -0
  289. data/examples/webshops/buydig/input.html +0 -1194
  290. data/examples/webshops/buydig/test.rb +0 -31
  291. data/examples/webshops/ebay/test.rb +0 -32
  292. data/examples/webshops/finewines_offline/_finewines.html +0 -1739
  293. data/examples/webshops/finewines_offline/_finewines_cut.html +0 -371
  294. data/examples/webshops/finewines_offline/_finewines_files/011064.jpg +0 -0
  295. data/examples/webshops/finewines_offline/_finewines_files/012674.jpg +0 -0
  296. data/examples/webshops/finewines_offline/_finewines_files/013268.jpg +0 -0
  297. data/examples/webshops/finewines_offline/_finewines_files/013300.jpg +0 -0
  298. data/examples/webshops/finewines_offline/_finewines_files/013409.jpg +0 -0
  299. data/examples/webshops/finewines_offline/_finewines_files/014340.jpg +0 -0
  300. data/examples/webshops/finewines_offline/_finewines_files/015073.jpg +0 -0
  301. data/examples/webshops/finewines_offline/_finewines_files/015255.jpg +0 -0
  302. data/examples/webshops/finewines_offline/_finewines_files/015479.jpg +0 -0
  303. data/examples/webshops/finewines_offline/_finewines_files/015487.jpg +0 -0
  304. data/examples/webshops/finewines_offline/_finewines_files/017038.jpg +0 -0
  305. data/examples/webshops/finewines_offline/_finewines_files/017129.jpg +0 -0
  306. data/examples/webshops/finewines_offline/_finewines_files/017145.jpg +0 -0
  307. data/examples/webshops/finewines_offline/_finewines_files/017152.jpg +0 -0
  308. data/examples/webshops/finewines_offline/_finewines_files/017285.jpg +0 -0
  309. data/examples/webshops/finewines_offline/_finewines_files/017392.jpg +0 -0
  310. data/examples/webshops/finewines_offline/_finewines_files/017400.jpg +0 -0
  311. data/examples/webshops/finewines_offline/_finewines_files/019778.jpg +0 -0
  312. data/examples/webshops/finewines_offline/_finewines_files/019786.jpg +0 -0
  313. data/examples/webshops/finewines_offline/_finewines_files/020503.jpg +0 -0
  314. data/examples/webshops/finewines_offline/_finewines_files/021253.jpg +0 -0
  315. data/examples/webshops/finewines_offline/_finewines_files/021279.jpg +0 -0
  316. data/examples/webshops/finewines_offline/_finewines_files/021337.jpg +0 -0
  317. data/examples/webshops/finewines_offline/_finewines_files/021352.jpg +0 -0
  318. data/examples/webshops/finewines_offline/_finewines_files/023002.jpg +0 -0
  319. data/examples/webshops/finewines_offline/_finewines_files/023135.jpg +0 -0
  320. data/examples/webshops/finewines_offline/_finewines_files/023143.jpg +0 -0
  321. data/examples/webshops/finewines_offline/_finewines_files/023788.jpg +0 -0
  322. data/examples/webshops/finewines_offline/_finewines_files/024166.jpg +0 -0
  323. data/examples/webshops/finewines_offline/_finewines_files/024182.jpg +0 -0
  324. data/examples/webshops/finewines_offline/_finewines_files/024216.jpg +0 -0
  325. data/examples/webshops/finewines_offline/_finewines_files/027268.jpg +0 -0
  326. data/examples/webshops/finewines_offline/_finewines_files/027516.jpg +0 -0
  327. data/examples/webshops/finewines_offline/_finewines_files/027862.jpg +0 -0
  328. data/examples/webshops/finewines_offline/_finewines_files/028118.jpg +0 -0
  329. data/examples/webshops/finewines_offline/_finewines_files/028936.jpg +0 -0
  330. data/examples/webshops/finewines_offline/_finewines_files/033894.jpg +0 -0
  331. data/examples/webshops/finewines_offline/_finewines_files/033902.jpg +0 -0
  332. data/examples/webshops/finewines_offline/_finewines_files/033910.jpg +0 -0
  333. data/examples/webshops/finewines_offline/_finewines_files/033936.jpg +0 -0
  334. data/examples/webshops/finewines_offline/_finewines_files/033944.jpg +0 -0
  335. data/examples/webshops/finewines_offline/_finewines_files/033951.jpg +0 -0
  336. data/examples/webshops/finewines_offline/_finewines_files/034553.jpg +0 -0
  337. data/examples/webshops/finewines_offline/_finewines_files/034561.jpg +0 -0
  338. data/examples/webshops/finewines_offline/_finewines_files/232439.jpg +0 -0
  339. data/examples/webshops/finewines_offline/_finewines_files/237834.jpg +0 -0
  340. data/examples/webshops/finewines_offline/_finewines_files/268359.jpg +0 -0
  341. data/examples/webshops/finewines_offline/_finewines_files/289082.jpg +0 -0
  342. data/examples/webshops/finewines_offline/_finewines_files/331603.jpg +0 -0
  343. data/examples/webshops/finewines_offline/_finewines_files/369686.jpg +0 -0
  344. data/examples/webshops/finewines_offline/_finewines_files/420257.jpg +0 -0
  345. data/examples/webshops/finewines_offline/_finewines_files/422014.jpg +0 -0
  346. data/examples/webshops/finewines_offline/_finewines_files/460410.jpg +0 -0
  347. data/examples/webshops/finewines_offline/_finewines_files/480533.jpg +0 -0
  348. data/examples/webshops/finewines_offline/_finewines_files/556795.jpg +0 -0
  349. data/examples/webshops/finewines_offline/_finewines_files/597054.jpg +0 -0
  350. data/examples/webshops/finewines_offline/_finewines_files/650606.jpg +0 -0
  351. data/examples/webshops/finewines_offline/_finewines_files/652628.jpg +0 -0
  352. data/examples/webshops/finewines_offline/_finewines_files/653790.jpg +0 -0
  353. data/examples/webshops/finewines_offline/_finewines_files/658450.jpg +0 -0
  354. data/examples/webshops/finewines_offline/_finewines_files/660027.jpg +0 -0
  355. data/examples/webshops/finewines_offline/_finewines_files/660951.jpg +0 -0
  356. data/examples/webshops/finewines_offline/_finewines_files/684514.jpg +0 -0
  357. data/examples/webshops/finewines_offline/_finewines_files/685131.jpg +0 -0
  358. data/examples/webshops/finewines_offline/_finewines_files/686865.jpg +0 -0
  359. data/examples/webshops/finewines_offline/_finewines_files/699330.jpg +0 -0
  360. data/examples/webshops/finewines_offline/_finewines_files/703017.jpg +0 -0
  361. data/examples/webshops/finewines_offline/_finewines_files/703140.jpg +0 -0
  362. data/examples/webshops/finewines_offline/_finewines_files/703850.jpg +0 -0
  363. data/examples/webshops/finewines_offline/_finewines_files/717306.jpg +0 -0
  364. data/examples/webshops/finewines_offline/_finewines_files/900274.jpg +0 -0
  365. data/examples/webshops/finewines_offline/_finewines_files/938225.jpg +0 -0
  366. data/examples/webshops/finewines_offline/_finewines_files/947440.jpg +0 -0
  367. data/examples/webshops/finewines_offline/_finewines_files/951319.jpg +0 -0
  368. data/examples/webshops/finewines_offline/_finewines_files/967893.jpg +0 -0
  369. data/examples/webshops/finewines_offline/_finewines_files/981407.jpg +0 -0
  370. data/examples/webshops/finewines_offline/_finewines_files/981613.jpg +0 -0
  371. data/examples/webshops/finewines_offline/_finewines_files/982421.jpg +0 -0
  372. data/examples/webshops/finewines_offline/_finewines_files/985598.jpg +0 -0
  373. data/examples/webshops/finewines_offline/_finewines_files/986737.jpg +0 -0
  374. data/examples/webshops/finewines_offline/_finewines_files/987503.jpg +0 -0
  375. data/examples/webshops/finewines_offline/_finewines_files/992800.jpg +0 -0
  376. data/examples/webshops/finewines_offline/_finewines_files/VintageslogoEN.gif +0 -0
  377. data/examples/webshops/finewines_offline/_finewines_files/blanc-up.gif +0 -0
  378. data/examples/webshops/finewines_offline/_finewines_files/btn_vintages_latest.gif +0 -0
  379. data/examples/webshops/finewines_offline/_finewines_files/cc_en.gif +0 -0
  380. data/examples/webshops/finewines_offline/_finewines_files/common.js +0 -860
  381. data/examples/webshops/finewines_offline/_finewines_files/drink.gif +0 -0
  382. data/examples/webshops/finewines_offline/_finewines_files/drinkhold.gif +0 -0
  383. data/examples/webshops/finewines_offline/_finewines_files/ec_en.gif +0 -0
  384. data/examples/webshops/finewines_offline/_finewines_files/ev_en.gif +0 -0
  385. data/examples/webshops/finewines_offline/_finewines_files/hold.gif +0 -0
  386. data/examples/webshops/finewines_offline/_finewines_files/index-wines-features.jpg +0 -0
  387. data/examples/webshops/finewines_offline/_finewines_files/indexSTYLE.css +0 -398
  388. data/examples/webshops/finewines_offline/_finewines_files/keyword_search.gif +0 -0
  389. data/examples/webshops/finewines_offline/_finewines_files/mm_menu.js +0 -1
  390. data/examples/webshops/finewines_offline/_finewines_files/nr_en.gif +0 -0
  391. data/examples/webshops/finewines_offline/_finewines_files/ontario_en.gif +0 -0
  392. data/examples/webshops/finewines_offline/_finewines_files/popup.js +0 -81
  393. data/examples/webshops/finewines_offline/_finewines_files/releases_nav.js +0 -229
  394. data/examples/webshops/finewines_offline/_finewines_files/so_en.gif +0 -0
  395. data/examples/webshops/finewines_offline/_finewines_files/spacer.gif +0 -0
  396. data/examples/webshops/finewines_offline/_finewines_files/top.gif +0 -0
  397. data/examples/webshops/finewines_offline/_finewines_files/urchin.js +0 -576
  398. data/examples/webshops/finewines_offline/_finewines_files/wom_en.gif +0 -0
  399. data/examples/webshops/finewines_offline/test.rb +0 -30
  400. data/examples/webshops/us1camera/1_files/1pix.gif +0 -0
  401. data/examples/webshops/us1camera/1_files/1pix_002.gif +0 -0
  402. data/examples/webshops/us1camera/1_files/CnetCertified.gif +0 -0
  403. data/examples/webshops/us1camera/1_files/CyberSource.gif +0 -0
  404. data/examples/webshops/us1camera/1_files/Images50.gif +0 -0
  405. data/examples/webshops/us1camera/1_files/Images50_002.gif +0 -0
  406. data/examples/webshops/us1camera/1_files/Images50_003.gif +0 -0
  407. data/examples/webshops/us1camera/1_files/Images50_004.gif +0 -0
  408. data/examples/webshops/us1camera/1_files/Images50_005.gif +0 -0
  409. data/examples/webshops/us1camera/1_files/Images50_006.gif +0 -0
  410. data/examples/webshops/us1camera/1_files/PriceGrabber.gif +0 -0
  411. data/examples/webshops/us1camera/1_files/QSearch.gif +0 -0
  412. data/examples/webshops/us1camera/1_files/ban-m.jpg +0 -0
  413. data/examples/webshops/us1camera/1_files/banner1.bin +0 -0
  414. data/examples/webshops/us1camera/1_files/banner3.bin +0 -0
  415. data/examples/webshops/us1camera/1_files/block1.jpg +0 -0
  416. data/examples/webshops/us1camera/1_files/block2.jpg +0 -0
  417. data/examples/webshops/us1camera/1_files/block3.jpg +0 -0
  418. data/examples/webshops/us1camera/1_files/block4.jpg +0 -0
  419. data/examples/webshops/us1camera/1_files/block5.jpg +0 -0
  420. data/examples/webshops/us1camera/1_files/block6.jpg +0 -0
  421. data/examples/webshops/us1camera/1_files/bos.js +0 -280
  422. data/examples/webshops/us1camera/1_files/box1.jpg +0 -0
  423. data/examples/webshops/us1camera/1_files/box2.jpg +0 -0
  424. data/examples/webshops/us1camera/1_files/box3.jpg +0 -0
  425. data/examples/webshops/us1camera/1_files/box4.jpg +0 -0
  426. data/examples/webshops/us1camera/1_files/dot.jpg +0 -0
  427. data/examples/webshops/us1camera/1_files/eDevix.gif +0 -0
  428. data/examples/webshops/us1camera/1_files/electronics1.jpg +0 -0
  429. data/examples/webshops/us1camera/1_files/getseal +0 -1
  430. data/examples/webshops/us1camera/1_files/pride.jpg +0 -0
  431. data/examples/webshops/us1camera/1_files/search.jpg +0 -0
  432. data/examples/webshops/us1camera/1_files/sidebutton.jpg +0 -0
  433. data/examples/webshops/us1camera/1_files/sslroilogic.js +0 -49
  434. data/examples/webshops/us1camera/1_files/style.css +0 -1
  435. data/examples/webshops/us1camera/1_files/tl.html +0 -2
  436. data/examples/webshops/us1camera/input.html +0 -548
  437. data/examples/webshops/us1camera/test.rb +0 -37
  438. data/pkg/scrubyt-0.4.31.gem +0 -0
  439. data/resources/allison/LICENSE +0 -184
  440. data/resources/allison/README +0 -37
  441. data/resources/allison/allison.css +0 -301
  442. data/resources/allison/allison.gif +0 -0
  443. data/resources/allison/allison.js +0 -307
  444. data/resources/allison/allison.rb +0 -287
  445. data/resources/allison/cache/BODY +0 -588
  446. data/resources/allison/cache/CLASS_INDEX +0 -4
  447. data/resources/allison/cache/CLASS_PAGE +0 -1
  448. data/resources/allison/cache/FILE_INDEX +0 -4
  449. data/resources/allison/cache/FILE_PAGE +0 -1
  450. data/resources/allison/cache/FONTS +0 -1
  451. data/resources/allison/cache/FR_INDEX_BODY +0 -1
  452. data/resources/allison/cache/IMGPATH +0 -1
  453. data/resources/allison/cache/INDEX +0 -1
  454. data/resources/allison/cache/JAVASCRIPT +0 -307
  455. data/resources/allison/cache/METHOD_INDEX +0 -4
  456. data/resources/allison/cache/METHOD_LIST +0 -1
  457. data/resources/allison/cache/SRC_PAGE +0 -1
  458. data/resources/allison/cache/STYLE +0 -323
  459. data/resources/allison/cache/URL +0 -1
  460. data/scrubyt.gemspec +0 -609
  461. data/todo/backlog.txt +0 -73
  462. data/todo/scenario_ideas.txt +0 -19
@@ -1,37 +0,0 @@
1
- $:.unshift File.join(File.dirname(__FILE__), '../../..//lib')
2
-
3
- require 'scrubyt'
4
-
5
- #Example of:
6
- # Yet another webshop scenario
7
- # - extract the name and the price of all the items,
8
- # as well as the url pointing to the item image.
9
- # - narrow the result set by using the ensure_absence_of_ancestor_node constraint
10
- #
11
- #Goal: For every webshop item on the page, extract it's name and it's price
12
- # and the url of the image. To achieve the last one, use a combination
13
- # of an image pattern and an attribute pattern.
14
- # Since the heuristics matches also some unneeded things, lock those
15
- # out by observing the source and going for a constraint - concreely
16
- # ensure_absence_of_ancestor_node. The constraint uses a list of attribute
17
- # values
18
- #
19
- #Solution: Specify the examples as usual. After running the extractor for the
20
- # first time, we can observe that the wrongly matched results are inside
21
- # an <a> tag which has a 'class' attribute with values either srNewCat
22
- # or srNewMfg - use this fact to distinguish the relevant results.
23
- camera_data = Scrubyt::Extractor.define do
24
- #Perform the action(s)
25
- fetch File.join(File.dirname(__FILE__), "input.html")
26
- #Construct the wrapper
27
- item do
28
- image "1_files/Images50.gif" do
29
- image_src "src", :type => :attribute
30
- end
31
- item_name "Canon EOS 20D SLR Digital Camera (Lens sold separately)"
32
- price "$1,123.77"
33
- end.ensure_absence_of_ancestor_node :a, :class => ['srNewCat', 'srNewMfg']
34
- end
35
-
36
- camera_data.to_xml.write($stdout, 1)
37
- Scrubyt::ResultDumper.print_statistics(camera_data)
Binary file
@@ -1,184 +0,0 @@
1
- Academic Free License (AFL) v. 3.0
2
-
3
- This Academic Free License (the "License") applies to any original work
4
- of authorship (the "Original Work") whose owner (the "Licensor") has
5
- placed the following licensing notice adjacent to the copyright notice
6
- for the Original Work:
7
-
8
- Licensed under the Academic Free License version 3.0
9
-
10
- 1) Grant of Copyright License. Licensor grants You a worldwide,
11
- royalty-free, non-exclusive, sublicensable license, for the duration of
12
- the copyright, to do the following:
13
-
14
- a) to reproduce the Original Work in copies, either alone or as part of
15
- a collective work;
16
-
17
- b) to translate, adapt, alter, transform, modify, or arrange the
18
- Original Work, thereby creating derivative works ("Derivative Works")
19
- based upon the Original Work;
20
-
21
- c) to distribute or communicate copies of the Original Work and
22
- Derivative Works to the public, under any license of your choice that
23
- does not contradict the terms and conditions, including Licensor's
24
- reserved rights and remedies, in this Academic Free License;
25
-
26
- d) to perform the Original Work publicly; and
27
-
28
- e) to display the Original Work publicly.
29
-
30
- 2) Grant of Patent License. Licensor grants You a worldwide,
31
- royalty-free, non-exclusive, sublicensable license, under patent claims
32
- owned or controlled by the Licensor that are embodied in the Original
33
- Work as furnished by the Licensor, for the duration of the patents, to
34
- make, use, sell, offer for sale, have made, and import the Original Work
35
- and Derivative Works.
36
-
37
- 3) Grant of Source Code License. The term "Source Code" means the
38
- preferred form of the Original Work for making modifications to it and
39
- all available documentation describing how to modify the Original Work.
40
- Licensor agrees to provide a machine-readable copy of the Source Code of
41
- the Original Work along with each copy of the Original Work that
42
- Licensor distributes. Licensor reserves the right to satisfy this
43
- obligation by placing a machine-readable copy of the Source Code in an
44
- information repository reasonably calculated to permit inexpensive and
45
- convenient access by You for as long as Licensor continues to distribute
46
- the Original Work.
47
-
48
- 4) Exclusions From License Grant. Neither the names of Licensor, nor the
49
- names of any contributors to the Original Work, nor any of their
50
- trademarks or service marks, may be used to endorse or promote products
51
- derived from this Original Work without express prior permission of the
52
- Licensor. Except as expressly stated herein, nothing in this License
53
- grants any license to Licensor's trademarks, copyrights, patents, trade
54
- secrets or any other intellectual property. No patent license is granted
55
- to make, use, sell, offer for sale, have made, or import embodiments of
56
- any patent claims other than the licensed claims defined in Section 2.
57
- No license is granted to the trademarks of Licensor even if such marks
58
- are included in the Original Work. Nothing in this License shall be
59
- interpreted to prohibit Licensor from licensing under terms different
60
- from this License any Original Work that Licensor otherwise would have a
61
- right to license.
62
-
63
- 5) External Deployment. The term "External Deployment" means the use,
64
- distribution, or communication of the Original Work or Derivative Works
65
- in any way such that the Original Work or Derivative Works may be used
66
- by anyone other than You, whether those works are distributed or
67
- communicated to those persons or made available as an application
68
- intended for use over a network. As an express condition for the grants
69
- of license hereunder, You must treat any External Deployment by You of
70
- the Original Work or a Derivative Work as a distribution under section
71
- 1(c).
72
-
73
- 6) Attribution Rights. You must retain, in the Source Code of any
74
- Derivative Works that You create, all copyright, patent, or trademark
75
- notices from the Source Code of the Original Work, as well as any
76
- notices of licensing and any descriptive text identified therein as an
77
- "Attribution Notice." You must cause the Source Code for any Derivative
78
- Works that You create to carry a prominent Attribution Notice reasonably
79
- calculated to inform recipients that You have modified the Original
80
- Work.
81
-
82
- 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants
83
- that the copyright in and to the Original Work and the patent rights
84
- granted herein by Licensor are owned by the Licensor or are sublicensed
85
- to You under the terms of this License with the permission of the
86
- contributor(s) of those copyrights and patent rights. Except as
87
- expressly stated in the immediately preceding sentence, the Original
88
- Work is provided under this License on an "AS IS" BASIS and WITHOUT
89
- WARRANTY, either express or implied, including, without limitation, the
90
- warranties of non-infringement, merchantability or fitness for a
91
- particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL
92
- WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential
93
- part of this License. No license to the Original Work is granted by this
94
- License except under this disclaimer.
95
-
96
- 8) Limitation of Liability. Under no circumstances and under no legal
97
- theory, whether in tort (including negligence), contract, or otherwise,
98
- shall the Licensor be liable to anyone for any indirect, special,
99
- incidental, or consequential damages of any character arising as a
100
- result of this License or the use of the Original Work including,
101
- without limitation, damages for loss of goodwill, work stoppage,
102
- computer failure or malfunction, or any and all other commercial damages
103
- or losses. This limitation of liability shall not apply to the extent
104
- applicable law prohibits such limitation.
105
-
106
- 9) Acceptance and Termination. If, at any time, You expressly assented
107
- to this License, that assent indicates your clear and irrevocable
108
- acceptance of this License and all of its terms and conditions. If You
109
- distribute or communicate copies of the Original Work or a Derivative
110
- Work, You must make a reasonable effort under the circumstances to
111
- obtain the express assent of recipients to the terms of this License.
112
- This License conditions your rights to undertake the activities listed
113
- in Section 1, including your right to create Derivative Works based upon
114
- the Original Work, and doing so without honoring these terms and
115
- conditions is prohibited by copyright law and international treaty.
116
- Nothing in this License is intended to affect copyright exceptions and
117
- limitations (including "fair use" or "fair dealing"). This License shall
118
- terminate immediately and You may no longer exercise any of the rights
119
- granted to You by this License upon your failure to honor the conditions
120
- in Section 1(c).
121
-
122
- 10) Termination for Patent Action. This License shall terminate
123
- automatically and You may no longer exercise any of the rights granted
124
- to You by this License as of the date You commence an action, including
125
- a cross-claim or counterclaim, against Licensor or any licensee alleging
126
- that the Original Work infringes a patent. This termination provision
127
- shall not apply for an action alleging patent infringement by
128
- combinations of the Original Work with other software or hardware.
129
-
130
- 11) Jurisdiction, Venue and Governing Law. Any action or suit relating
131
- to this License may be brought only in the courts of a jurisdiction
132
- wherein the Licensor resides or in which Licensor conducts its primary
133
- business, and under the laws of that jurisdiction excluding its
134
- conflict-of-law provisions. The application of the United Nations
135
- Convention on Contracts for the International Sale of Goods is expressly
136
- excluded. Any use of the Original Work outside the scope of this License
137
- or after its termination shall be subject to the requirements and
138
- penalties of copyright or patent law in the appropriate jurisdiction.
139
- This section shall survive the termination of this License.
140
-
141
- 12) Attorneys' Fees. In any action to enforce the terms of this License
142
- or seeking damages relating thereto, the prevailing party shall be
143
- entitled to recover its costs and expenses, including, without
144
- limitation, reasonable attorneys' fees and costs incurred in connection
145
- with such action, including any appeal of such action. This section
146
- shall survive the termination of this License.
147
-
148
- 13) Miscellaneous. If any provision of this License is held to be
149
- unenforceable, such provision shall be reformed only to the extent
150
- necessary to make it enforceable.
151
-
152
- 14) Definition of "You" in This License. "You" throughout this License,
153
- whether in upper or lower case, means an individual or a legal entity
154
- exercising rights under, and complying with all of the terms of, this
155
- License. For legal entities, "You" includes any entity that controls, is
156
- controlled by, or is under common control with you. For purposes of this
157
- definition, "control" means (i) the power, direct or indirect, to cause
158
- the direction or management of such entity, whether by contract or
159
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
160
- outstanding shares, or (iii) beneficial ownership of such entity.
161
-
162
- 15) Right to Use. You may use the Original Work in all ways not
163
- otherwise restricted or conditioned by this License or by law, and
164
- Licensor promises not to interfere with or be responsible for such uses
165
- by You.
166
-
167
- 16) Modification of This License. This License is Copyright (c) 2005
168
- Lawrence Rosen. Permission is granted to copy, distribute, or
169
- communicate this License without modification. Nothing in this License
170
- permits You to modify this License as applied to the Original Work or to
171
- Derivative Works. However, You may modify the text of this License and
172
- copy, distribute or communicate your modified version (the "Modified
173
- License") and apply it to other original works of authorship subject to
174
- the following conditions: (i) You may not indicate in any way that your
175
- Modified License is the "Academic Free License" or "AFL" and you may not
176
- use those names in the name of your Modified License; (ii) You must
177
- replace the notice specified in the first paragraph above with the
178
- notice "Licensed under <insert your license name here>" or with a notice
179
- of your own that is not confusingly similar to the notice in this
180
- License; and (iii) You may not claim that your original works are open
181
- source software unless your Modified License has been approved by Open
182
- Source Initiative (OSI) and You comply with its license review and
183
- certification process.
184
-
@@ -1,37 +0,0 @@
1
-
2
- COPYRIGHT
3
-
4
- Allison template for RDoc, copyright 2006 Cloudburst, LLC (see the LICENSE file)
5
-
6
- DETAILED DOCUMENTATION
7
-
8
- http://blog.evanweaver.com/articles/2006/06/02/allison
9
-
10
- QUICKSTART
11
-
12
- The best way to use the template is to set up a Rake task for your Ruby project or Rails app:
13
- in Rakefile
14
-
15
- require 'rake/rdoctask'
16
-
17
- Rake::RDocTask.new do |rdoc|
18
- files = ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb',
19
- 'doc/**/*.rdoc', 'test/*.rb']
20
- rdoc.rdoc_files.add(files)
21
- rdoc.main = "README" # page to start on
22
- rdoc.title = "My App's Documentation"
23
- rdoc.template = "/path/to/allison/allison.rb"
24
- rdoc.rdoc_dir = 'doc' # rdoc output folder
25
- rdoc.options << '--line-numbers' << '--inline-source'
26
- end
27
-
28
- Then you can run rake rdoc to invoke the task and everything will be super awesome.
29
-
30
- Note, pop-up source view is not supported. You have to use --inline-source.
31
-
32
- CHANGELOG
33
-
34
- 2.2 how come "require_gem" isn't called "activate_gem", since that's what it does. bah.
35
- 2.1 hack to make gem versioning work
36
- 2. caching in order to remove Markaby dependency
37
- 1. first release
@@ -1,301 +0,0 @@
1
-
2
- /* Stylesheet for Allison RDoc template */
3
- /* Copyright 2006 Cloudburst LLC */
4
-
5
- /* default styles */
6
-
7
- * {
8
- margin: 0
9
- padding: 0
10
- border: none
11
- }
12
-
13
- a {
14
- color: @bright_pink = "#E5366F"
15
- font-weight: bold
16
- text-decoration: none
17
- }
18
-
19
- a:hover {
20
- text-decoration: underline
21
- } a:visited {
22
- font-weight: normal
23
- }
24
-
25
- html, body {
26
- color: @body_color = "#270f2b"
27
- font: 1em helvetica, verdana, sans
28
- background-color: @background_pink = "#faf6fa"
29
- text-align: center
30
- margin: 0
31
- padding: 0
32
- }
33
-
34
- p, ul, ol, li {
35
- line-height: @lh = "1.4em"
36
- margin: .4em
37
- } p {
38
- margin: @lh
39
- } h1 {
40
- margin-top: .4em
41
- } #item_name {
42
- margin-top: -.4em
43
- }
44
-
45
- h2 {
46
- font-size: 2em
47
- margin-top: 1em
48
- margin-right: -1em
49
- }
50
-
51
-
52
- /* center everything */
53
-
54
- #container {
55
- margin: 20px auto 0 auto
56
- width: @width = 900
57
- text-align: left
58
- }
59
-
60
-
61
- @buffer = 10
62
-
63
- /* header stuff */
64
-
65
- #header {
66
- padding: @buffer
67
- padding-top: 0
68
- width: @width - @buffer * 2
69
- height: @d= 91 - @buffer * 2
70
- _height: @d + @buffer
71
- margin-bottom: 25px
72
- vertical-align: baseline
73
- background: url('data:image/gif;base64,%allison.gif%') no-repeat top right
74
- background-color: @red_purple = "#6e2640"
75
- overflow: hidden
76
- } .curve {
77
- background-color: @red_purple
78
- margin: 0
79
- padding: 0
80
- height: 1px
81
- overflow: hidden /* again, ie problem */
82
- }
83
-
84
- def curve(div_id, curve_array, width); s = ""; curve_array.length.times {|n| s += "\n##{div_id}#{curve_array.length - 1 - n}{border-left: #{curve_array[n]}px solid #{@background_pink}; border-right: #{curve_array[n]}px solid #{@background_pink}; width: #{width - curve_array[n]*2}px; _width: #{width - 20}px; }"}; s; end
85
- @curves = [0, 1, 1, 1, 2, 2, 3, 4, 5, 7, 10]
86
-
87
- curve("preheader_curve_", @curves, @width)
88
-
89
- #header h1 {
90
- color: @white = "#fff"
91
- font-size: 3em
92
- margin: 0
93
- } #header p {
94
- margin: 0
95
- padding: 0
96
- padding-left: 3px
97
- color: @white
98
- } #header a {
99
- color: @white
100
- text-decoration: none
101
- font-weight: bold
102
- }
103
-
104
- /* basic layout and navigation bars */
105
-
106
- #left {
107
- background-color: @deep_purple = "#411948"
108
- width: @left_width = 220
109
- float: left
110
- _width: @left_width - @buffer * 2
111
- } #left a {
112
- line-height: 1.2em
113
- } #left div.curve {
114
- float: left
115
- background-color: @deep_purple
116
- }
117
-
118
- /* navigation bar colors and text styles */
119
-
120
- .navigation {
121
- width: @left_width - @buffer * 4
122
- margin: @buffer
123
- padding: @buffer
124
- text-align: left
125
- background-color: @background_pink
126
- overflow: hidden
127
- } .navigation a, {
128
- margin-left: @buffer
129
- } .navigation h3 {
130
- font-weight: bold
131
- margin-bottom: 5px
132
- } .dark {
133
- background-color: @gray_purple = "#B99AB8"
134
- } .dark a, .dark span {
135
- color: @white
136
- margin-left: @buffer
137
- } span.bpink {
138
- color: @bright_pink
139
- font-weight: bold
140
- margin-left: @buffer
141
- } span.bpink a, .dark span a {
142
- margin-left: 0
143
- } #spacer {
144
- background-color: @background_pink
145
- height: @buffer * 3
146
- display: none
147
- }
148
-
149
- #content {
150
- padding: @content_padding = 20
151
- width: @width - @left_width - @content_padding * 2
152
- background-color: @background_pink
153
- float: left
154
- }
155
-
156
- .clear {
157
- clear: both
158
- }
159
-
160
- #footer {
161
- margin: 0 auto
162
- text-align: right
163
- background-color: @background_pink
164
- font-size: .8em
165
- padding: @buffer
166
- } #footer a {
167
- font-weight: normal
168
- color: @gray_purple
169
- }
170
-
171
- /* for that dumb redirect index page I can't avoid */
172
-
173
- #redirect {
174
- text-align: center
175
- } #redirect a {
176
- color: @deep_purple
177
- }
178
-
179
- /* tables */
180
-
181
- table {
182
- width: @width - @left_width - @buffer * 8
183
- border-collapse: collapse
184
- }
185
- td, th {
186
- background-color: @background_pink
187
- text-align: left
188
- padding-left: @td = @buffer / 2
189
- padding-right: @td
190
- padding-top: @td
191
- line-height: 1.2em
192
- } th {
193
- color: @white
194
- background-color: @red_purple
195
- } th.description {
196
- text-align: center
197
- } td.highlight {
198
- color: @bright_pink
199
- } td.first, th.first {
200
- background-color: @red_purple
201
- }
202
-
203
-
204
- /* method details */
205
-
206
- div.a_method {
207
- background: @red_purple
208
- padding-left: @buffer
209
- margin-left: @buffer * 2 + 2
210
- } div.a_method h3 {
211
- color: @bright_pink
212
- } div.a_method div {
213
- background: @background_pink
214
- padding-left: @buffer
215
- } div.a_method a.small {
216
- font-size: .1em
217
- line-height: .1em
218
- } div.a_method p {
219
- margin: .6em
220
- margin-left: @lh
221
- }
222
-
223
- div.section_spacer {
224
- height: 0
225
- margin-top: @buffer * 2
226
- }
227
-
228
-
229
- /* index includes on the navigation bar */
230
-
231
- div.index a {
232
- font-size: .8em
233
- } #method {
234
- display: none
235
- } #file, #class {
236
- display: block
237
- } div.list_header {
238
- float: left
239
- } div.list_header_link {
240
- float: right
241
- padding-top: 3px
242
- } div.list_header_link a {
243
- font-weight: normal
244
- } #method_wrapper {
245
- margin-bottom: 0
246
- }
247
-
248
- .index label {
249
- font-size: 0.8em
250
- } .index form input {
251
- width: @left_width - @buffer * 11
252
- } .index form {
253
- margin-bottom: @buffer
254
- }
255
-
256
- curve("left_curve_", @curves.reverse, @left_width)
257
-
258
- ol, ul {
259
- margin-left: @buffer * 5
260
- } ul {
261
- list-style-type: square
262
- }
263
-
264
- p.source_link a {
265
- text-align: right
266
- font-weight: normal
267
- } div.source {
268
- display: none
269
- } pre {
270
- color: black
271
- font-weight: normal
272
- font-family: Courier, Courier New, monospace
273
- font-size: .8em
274
- padding: @buffer
275
- margin-left: @buffer * 2
276
- overflow: auto
277
- /* next 4 lines because IE sucks */
278
- _position: relative
279
- _width: @width - @left_width - (@buffer * 11 + 3)
280
- _overflow-x:scroll
281
- _overflow-y:visible
282
- } div.source pre {
283
- margin-left: 0
284
- } p.source_link {
285
- text-align: center
286
- }
287
-
288
- /* source code highlighting */
289
-
290
- pre .ruby-value, pre .ruby-symbol {
291
- color: @blue = "#1104bb"
292
- } pre .ruby-value.str, pre .ruby-node {
293
- color: @bright_pink #red = "#d20000"
294
- } pre .ruby-ivar, pre .ruby-cvar {
295
- } pre .ruby-comment {
296
- color: @green = "#009500"
297
- } pre .ruby-constant {
298
- color: @orange = "#cd8802"
299
- } pre .ruby-keyword {
300
- color: @purple = "#8d04aa"
301
- }