link-checker 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (348) hide show
  1. data/.rvmrc +81 -0
  2. data/Gemfile +12 -0
  3. data/Gemfile.lock +56 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.md +15 -0
  6. data/Rakefile +29 -0
  7. data/VERSION +1 -0
  8. data/bin/check-links +8 -0
  9. data/lib/link_checker.rb +80 -0
  10. data/link-checker.gemspec +404 -0
  11. data/spec/link-checker_spec.rb +92 -0
  12. data/spec/spec_helper.rb +4 -0
  13. data/spec/test-site/.gitignore +12 -0
  14. data/spec/test-site/.powrc +5 -0
  15. data/spec/test-site/.rbenv-version +1 -0
  16. data/spec/test-site/.rvmrc +1 -0
  17. data/spec/test-site/.slugignore +3 -0
  18. data/spec/test-site/.themes/classic/sass/_base.scss +5 -0
  19. data/spec/test-site/.themes/classic/sass/_partials.scss +8 -0
  20. data/spec/test-site/.themes/classic/sass/base/_layout.scss +192 -0
  21. data/spec/test-site/.themes/classic/sass/base/_solarized.scss +46 -0
  22. data/spec/test-site/.themes/classic/sass/base/_theme.scss +86 -0
  23. data/spec/test-site/.themes/classic/sass/base/_typography.scss +161 -0
  24. data/spec/test-site/.themes/classic/sass/base/_utilities.scss +28 -0
  25. data/spec/test-site/.themes/classic/sass/custom/_colors.scss +43 -0
  26. data/spec/test-site/.themes/classic/sass/custom/_fonts.scss +10 -0
  27. data/spec/test-site/.themes/classic/sass/custom/_layout.scss +21 -0
  28. data/spec/test-site/.themes/classic/sass/custom/_styles.scss +2 -0
  29. data/spec/test-site/.themes/classic/sass/partials/_archive.scss +72 -0
  30. data/spec/test-site/.themes/classic/sass/partials/_blog.scss +141 -0
  31. data/spec/test-site/.themes/classic/sass/partials/_footer.scss +19 -0
  32. data/spec/test-site/.themes/classic/sass/partials/_header.scss +18 -0
  33. data/spec/test-site/.themes/classic/sass/partials/_navigation.scss +137 -0
  34. data/spec/test-site/.themes/classic/sass/partials/_sharing.scss +8 -0
  35. data/spec/test-site/.themes/classic/sass/partials/_sidebar.scss +5 -0
  36. data/spec/test-site/.themes/classic/sass/partials/_syntax.scss +253 -0
  37. data/spec/test-site/.themes/classic/sass/partials/sidebar/_base.scss +106 -0
  38. data/spec/test-site/.themes/classic/sass/partials/sidebar/_delicious.scss +4 -0
  39. data/spec/test-site/.themes/classic/sass/partials/sidebar/_googleplus.scss +26 -0
  40. data/spec/test-site/.themes/classic/sass/partials/sidebar/_pinboard.scss +12 -0
  41. data/spec/test-site/.themes/classic/sass/partials/sidebar/_twitter.scss +34 -0
  42. data/spec/test-site/.themes/classic/sass/screen.scss +10 -0
  43. data/spec/test-site/.themes/classic/source/_includes/after_footer.html +5 -0
  44. data/spec/test-site/.themes/classic/source/_includes/archive_post.html +8 -0
  45. data/spec/test-site/.themes/classic/source/_includes/article.html +28 -0
  46. data/spec/test-site/.themes/classic/source/_includes/asides/delicious.html +8 -0
  47. data/spec/test-site/.themes/classic/source/_includes/asides/github.html +30 -0
  48. data/spec/test-site/.themes/classic/source/_includes/asides/googleplus.html +11 -0
  49. data/spec/test-site/.themes/classic/source/_includes/asides/pinboard.html +19 -0
  50. data/spec/test-site/.themes/classic/source/_includes/asides/recent_posts.html +10 -0
  51. data/spec/test-site/.themes/classic/source/_includes/asides/twitter.html +19 -0
  52. data/spec/test-site/.themes/classic/source/_includes/custom/after_footer.html +3 -0
  53. data/spec/test-site/.themes/classic/source/_includes/custom/asides/about.html +4 -0
  54. data/spec/test-site/.themes/classic/source/_includes/custom/category_feed.xml +27 -0
  55. data/spec/test-site/.themes/classic/source/_includes/custom/footer.html +4 -0
  56. data/spec/test-site/.themes/classic/source/_includes/custom/head.html +3 -0
  57. data/spec/test-site/.themes/classic/source/_includes/custom/header.html +6 -0
  58. data/spec/test-site/.themes/classic/source/_includes/custom/navigation.html +4 -0
  59. data/spec/test-site/.themes/classic/source/_includes/disqus.html +21 -0
  60. data/spec/test-site/.themes/classic/source/_includes/facebook_like.html +10 -0
  61. data/spec/test-site/.themes/classic/source/_includes/footer.html +1 -0
  62. data/spec/test-site/.themes/classic/source/_includes/google_analytics.html +13 -0
  63. data/spec/test-site/.themes/classic/source/_includes/google_plus_one.html +9 -0
  64. data/spec/test-site/.themes/classic/source/_includes/head.html +29 -0
  65. data/spec/test-site/.themes/classic/source/_includes/header.html +1 -0
  66. data/spec/test-site/.themes/classic/source/_includes/navigation.html +15 -0
  67. data/spec/test-site/.themes/classic/source/_includes/post/author.html +8 -0
  68. data/spec/test-site/.themes/classic/source/_includes/post/categories.html +10 -0
  69. data/spec/test-site/.themes/classic/source/_includes/post/date.html +15 -0
  70. data/spec/test-site/.themes/classic/source/_includes/post/disqus_thread.html +1 -0
  71. data/spec/test-site/.themes/classic/source/_includes/post/sharing.html +11 -0
  72. data/spec/test-site/.themes/classic/source/_includes/twitter_sharing.html +11 -0
  73. data/spec/test-site/.themes/classic/source/_layouts/category_index.html +17 -0
  74. data/spec/test-site/.themes/classic/source/_layouts/default.html +14 -0
  75. data/spec/test-site/.themes/classic/source/_layouts/page.html +42 -0
  76. data/spec/test-site/.themes/classic/source/_layouts/post.html +43 -0
  77. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/background.png +0 -0
  78. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
  79. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/divider.png +0 -0
  80. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
  81. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
  82. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
  83. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
  84. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
  85. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
  86. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
  87. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
  88. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/playButton.png +0 -0
  89. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
  90. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
  91. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
  92. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
  93. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
  94. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
  95. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
  96. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
  97. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/display/background.png +0 -0
  98. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/display/bufferIcon.png +0 -0
  99. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/display/muteIcon.png +0 -0
  100. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/display/playIcon.png +0 -0
  101. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/dock/button.png +0 -0
  102. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/glow.xml +115 -0
  103. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/item.png +0 -0
  104. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/itemOver.png +0 -0
  105. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
  106. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
  107. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
  108. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
  109. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
  110. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
  111. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
  112. data/spec/test-site/.themes/classic/source/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
  113. data/spec/test-site/.themes/classic/source/assets/jwplayer/player.swf +0 -0
  114. data/spec/test-site/.themes/classic/source/atom.xml +27 -0
  115. data/spec/test-site/.themes/classic/source/blog/archives/index.html +18 -0
  116. data/spec/test-site/.themes/classic/source/favicon.png +0 -0
  117. data/spec/test-site/.themes/classic/source/images/bird_32_gray.png +0 -0
  118. data/spec/test-site/.themes/classic/source/images/bird_32_gray_fail.png +0 -0
  119. data/spec/test-site/.themes/classic/source/images/code_bg.png +0 -0
  120. data/spec/test-site/.themes/classic/source/images/dotted-border.png +0 -0
  121. data/spec/test-site/.themes/classic/source/images/email.png +0 -0
  122. data/spec/test-site/.themes/classic/source/images/line-tile.png +0 -0
  123. data/spec/test-site/.themes/classic/source/images/noise.png +0 -0
  124. data/spec/test-site/.themes/classic/source/images/rss.png +0 -0
  125. data/spec/test-site/.themes/classic/source/images/search.png +0 -0
  126. data/spec/test-site/.themes/classic/source/index.html +29 -0
  127. data/spec/test-site/.themes/classic/source/javascripts/ender.js +45 -0
  128. data/spec/test-site/.themes/classic/source/javascripts/github.js +37 -0
  129. data/spec/test-site/.themes/classic/source/javascripts/libs/ender.js +1497 -0
  130. data/spec/test-site/.themes/classic/source/javascripts/libs/jXHR.js +85 -0
  131. data/spec/test-site/.themes/classic/source/javascripts/libs/swfobject-dynamic.js +298 -0
  132. data/spec/test-site/.themes/classic/source/javascripts/modernizr-2.0.js +5 -0
  133. data/spec/test-site/.themes/classic/source/javascripts/octopress.js +161 -0
  134. data/spec/test-site/.themes/classic/source/javascripts/pinboard.js +56 -0
  135. data/spec/test-site/.themes/classic/source/javascripts/twitter.js +78 -0
  136. data/spec/test-site/CHANGELOG.markdown +29 -0
  137. data/spec/test-site/Gemfile +18 -0
  138. data/spec/test-site/Gemfile.lock +69 -0
  139. data/spec/test-site/README.markdown +36 -0
  140. data/spec/test-site/Rakefile +379 -0
  141. data/spec/test-site/_config.yml +99 -0
  142. data/spec/test-site/config.rb +16 -0
  143. data/spec/test-site/config.ru +25 -0
  144. data/spec/test-site/plugins/backtick_code_block.rb +43 -0
  145. data/spec/test-site/plugins/blockquote.rb +83 -0
  146. data/spec/test-site/plugins/category_generator.rb +174 -0
  147. data/spec/test-site/plugins/code_block.rb +98 -0
  148. data/spec/test-site/plugins/date.rb +98 -0
  149. data/spec/test-site/plugins/gist_tag.rb +100 -0
  150. data/spec/test-site/plugins/haml.rb +24 -0
  151. data/spec/test-site/plugins/image_tag.rb +50 -0
  152. data/spec/test-site/plugins/include_array.rb +58 -0
  153. data/spec/test-site/plugins/include_code.rb +73 -0
  154. data/spec/test-site/plugins/jsfiddle.rb +40 -0
  155. data/spec/test-site/plugins/octopress_filters.rb +135 -0
  156. data/spec/test-site/plugins/pagination.rb +121 -0
  157. data/spec/test-site/plugins/post_filters.rb +176 -0
  158. data/spec/test-site/plugins/preview_unpublished.rb +48 -0
  159. data/spec/test-site/plugins/pullquote.rb +45 -0
  160. data/spec/test-site/plugins/pygments_code.rb +41 -0
  161. data/spec/test-site/plugins/raw.rb +40 -0
  162. data/spec/test-site/plugins/render_partial.rb +69 -0
  163. data/spec/test-site/plugins/rubypants.rb +489 -0
  164. data/spec/test-site/plugins/sitemap_generator.rb +312 -0
  165. data/spec/test-site/plugins/titlecase.rb +36 -0
  166. data/spec/test-site/plugins/video_tag.rb +47 -0
  167. data/spec/test-site/public/assets/jwplayer/glow/controlbar/background.png +0 -0
  168. data/spec/test-site/public/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
  169. data/spec/test-site/public/assets/jwplayer/glow/controlbar/divider.png +0 -0
  170. data/spec/test-site/public/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
  171. data/spec/test-site/public/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
  172. data/spec/test-site/public/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
  173. data/spec/test-site/public/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
  174. data/spec/test-site/public/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
  175. data/spec/test-site/public/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
  176. data/spec/test-site/public/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
  177. data/spec/test-site/public/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
  178. data/spec/test-site/public/assets/jwplayer/glow/controlbar/playButton.png +0 -0
  179. data/spec/test-site/public/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
  180. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
  181. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
  182. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
  183. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
  184. data/spec/test-site/public/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
  185. data/spec/test-site/public/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
  186. data/spec/test-site/public/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
  187. data/spec/test-site/public/assets/jwplayer/glow/display/background.png +0 -0
  188. data/spec/test-site/public/assets/jwplayer/glow/display/bufferIcon.png +0 -0
  189. data/spec/test-site/public/assets/jwplayer/glow/display/muteIcon.png +0 -0
  190. data/spec/test-site/public/assets/jwplayer/glow/display/playIcon.png +0 -0
  191. data/spec/test-site/public/assets/jwplayer/glow/dock/button.png +0 -0
  192. data/spec/test-site/public/assets/jwplayer/glow/glow.xml +115 -0
  193. data/spec/test-site/public/assets/jwplayer/glow/playlist/item.png +0 -0
  194. data/spec/test-site/public/assets/jwplayer/glow/playlist/itemOver.png +0 -0
  195. data/spec/test-site/public/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
  196. data/spec/test-site/public/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
  197. data/spec/test-site/public/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
  198. data/spec/test-site/public/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
  199. data/spec/test-site/public/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
  200. data/spec/test-site/public/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
  201. data/spec/test-site/public/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
  202. data/spec/test-site/public/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
  203. data/spec/test-site/public/assets/jwplayer/player.swf +0 -0
  204. data/spec/test-site/public/atom.xml +27 -0
  205. data/spec/test-site/public/blog/2012/10/02/a-list-of-links/index.html +196 -0
  206. data/spec/test-site/public/blog/archives/index.html +149 -0
  207. data/spec/test-site/public/favicon.png +0 -0
  208. data/spec/test-site/public/images/bird_32_gray.png +0 -0
  209. data/spec/test-site/public/images/bird_32_gray_fail.png +0 -0
  210. data/spec/test-site/public/images/code_bg.png +0 -0
  211. data/spec/test-site/public/images/dotted-border.png +0 -0
  212. data/spec/test-site/public/images/email.png +0 -0
  213. data/spec/test-site/public/images/line-tile.png +0 -0
  214. data/spec/test-site/public/images/noise.png +0 -0
  215. data/spec/test-site/public/images/rss.png +0 -0
  216. data/spec/test-site/public/images/search.png +0 -0
  217. data/spec/test-site/public/index.html +165 -0
  218. data/spec/test-site/public/javascripts/ender.js +45 -0
  219. data/spec/test-site/public/javascripts/github.js +37 -0
  220. data/spec/test-site/public/javascripts/libs/ender.js +1497 -0
  221. data/spec/test-site/public/javascripts/libs/jXHR.js +85 -0
  222. data/spec/test-site/public/javascripts/libs/swfobject-dynamic.js +298 -0
  223. data/spec/test-site/public/javascripts/modernizr-2.0.js +5 -0
  224. data/spec/test-site/public/javascripts/octopress.js +161 -0
  225. data/spec/test-site/public/javascripts/pinboard.js +56 -0
  226. data/spec/test-site/public/javascripts/twitter.js +78 -0
  227. data/spec/test-site/public/sitemap.xml +15 -0
  228. data/spec/test-site/public/stylesheets/screen.css +1 -0
  229. data/spec/test-site/sass/_base.scss +5 -0
  230. data/spec/test-site/sass/_partials.scss +8 -0
  231. data/spec/test-site/sass/base/_layout.scss +192 -0
  232. data/spec/test-site/sass/base/_solarized.scss +46 -0
  233. data/spec/test-site/sass/base/_theme.scss +86 -0
  234. data/spec/test-site/sass/base/_typography.scss +161 -0
  235. data/spec/test-site/sass/base/_utilities.scss +28 -0
  236. data/spec/test-site/sass/custom/_colors.scss +43 -0
  237. data/spec/test-site/sass/custom/_fonts.scss +10 -0
  238. data/spec/test-site/sass/custom/_layout.scss +21 -0
  239. data/spec/test-site/sass/custom/_styles.scss +2 -0
  240. data/spec/test-site/sass/partials/_archive.scss +72 -0
  241. data/spec/test-site/sass/partials/_blog.scss +141 -0
  242. data/spec/test-site/sass/partials/_footer.scss +19 -0
  243. data/spec/test-site/sass/partials/_header.scss +18 -0
  244. data/spec/test-site/sass/partials/_navigation.scss +137 -0
  245. data/spec/test-site/sass/partials/_sharing.scss +8 -0
  246. data/spec/test-site/sass/partials/_sidebar.scss +5 -0
  247. data/spec/test-site/sass/partials/_syntax.scss +253 -0
  248. data/spec/test-site/sass/partials/sidebar/_base.scss +106 -0
  249. data/spec/test-site/sass/partials/sidebar/_delicious.scss +4 -0
  250. data/spec/test-site/sass/partials/sidebar/_googleplus.scss +26 -0
  251. data/spec/test-site/sass/partials/sidebar/_pinboard.scss +12 -0
  252. data/spec/test-site/sass/partials/sidebar/_twitter.scss +34 -0
  253. data/spec/test-site/sass/screen.scss +10 -0
  254. data/spec/test-site/source/_includes/after_footer.html +5 -0
  255. data/spec/test-site/source/_includes/archive_post.html +8 -0
  256. data/spec/test-site/source/_includes/article.html +28 -0
  257. data/spec/test-site/source/_includes/asides/delicious.html +8 -0
  258. data/spec/test-site/source/_includes/asides/github.html +30 -0
  259. data/spec/test-site/source/_includes/asides/googleplus.html +11 -0
  260. data/spec/test-site/source/_includes/asides/pinboard.html +19 -0
  261. data/spec/test-site/source/_includes/asides/recent_posts.html +10 -0
  262. data/spec/test-site/source/_includes/asides/twitter.html +19 -0
  263. data/spec/test-site/source/_includes/custom/after_footer.html +3 -0
  264. data/spec/test-site/source/_includes/custom/asides/about.html +4 -0
  265. data/spec/test-site/source/_includes/custom/category_feed.xml +27 -0
  266. data/spec/test-site/source/_includes/custom/footer.html +4 -0
  267. data/spec/test-site/source/_includes/custom/head.html +3 -0
  268. data/spec/test-site/source/_includes/custom/header.html +6 -0
  269. data/spec/test-site/source/_includes/custom/navigation.html +4 -0
  270. data/spec/test-site/source/_includes/disqus.html +21 -0
  271. data/spec/test-site/source/_includes/facebook_like.html +10 -0
  272. data/spec/test-site/source/_includes/footer.html +1 -0
  273. data/spec/test-site/source/_includes/google_analytics.html +13 -0
  274. data/spec/test-site/source/_includes/google_plus_one.html +9 -0
  275. data/spec/test-site/source/_includes/head.html +29 -0
  276. data/spec/test-site/source/_includes/header.html +1 -0
  277. data/spec/test-site/source/_includes/navigation.html +15 -0
  278. data/spec/test-site/source/_includes/post/author.html +8 -0
  279. data/spec/test-site/source/_includes/post/categories.html +10 -0
  280. data/spec/test-site/source/_includes/post/date.html +15 -0
  281. data/spec/test-site/source/_includes/post/disqus_thread.html +1 -0
  282. data/spec/test-site/source/_includes/post/sharing.html +11 -0
  283. data/spec/test-site/source/_includes/twitter_sharing.html +11 -0
  284. data/spec/test-site/source/_layouts/category_index.html +17 -0
  285. data/spec/test-site/source/_layouts/default.html +14 -0
  286. data/spec/test-site/source/_layouts/page.html +42 -0
  287. data/spec/test-site/source/_layouts/post.html +43 -0
  288. data/spec/test-site/source/_posts/2012-10-02-a-list-of-links.markdown +11 -0
  289. data/spec/test-site/source/assets/jwplayer/glow/controlbar/background.png +0 -0
  290. data/spec/test-site/source/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
  291. data/spec/test-site/source/assets/jwplayer/glow/controlbar/divider.png +0 -0
  292. data/spec/test-site/source/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
  293. data/spec/test-site/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
  294. data/spec/test-site/source/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
  295. data/spec/test-site/source/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
  296. data/spec/test-site/source/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
  297. data/spec/test-site/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
  298. data/spec/test-site/source/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
  299. data/spec/test-site/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
  300. data/spec/test-site/source/assets/jwplayer/glow/controlbar/playButton.png +0 -0
  301. data/spec/test-site/source/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
  302. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
  303. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
  304. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
  305. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
  306. data/spec/test-site/source/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
  307. data/spec/test-site/source/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
  308. data/spec/test-site/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
  309. data/spec/test-site/source/assets/jwplayer/glow/display/background.png +0 -0
  310. data/spec/test-site/source/assets/jwplayer/glow/display/bufferIcon.png +0 -0
  311. data/spec/test-site/source/assets/jwplayer/glow/display/muteIcon.png +0 -0
  312. data/spec/test-site/source/assets/jwplayer/glow/display/playIcon.png +0 -0
  313. data/spec/test-site/source/assets/jwplayer/glow/dock/button.png +0 -0
  314. data/spec/test-site/source/assets/jwplayer/glow/glow.xml +115 -0
  315. data/spec/test-site/source/assets/jwplayer/glow/playlist/item.png +0 -0
  316. data/spec/test-site/source/assets/jwplayer/glow/playlist/itemOver.png +0 -0
  317. data/spec/test-site/source/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
  318. data/spec/test-site/source/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
  319. data/spec/test-site/source/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
  320. data/spec/test-site/source/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
  321. data/spec/test-site/source/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
  322. data/spec/test-site/source/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
  323. data/spec/test-site/source/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
  324. data/spec/test-site/source/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
  325. data/spec/test-site/source/assets/jwplayer/player.swf +0 -0
  326. data/spec/test-site/source/atom.xml +27 -0
  327. data/spec/test-site/source/blog/archives/index.html +18 -0
  328. data/spec/test-site/source/favicon.png +0 -0
  329. data/spec/test-site/source/images/bird_32_gray.png +0 -0
  330. data/spec/test-site/source/images/bird_32_gray_fail.png +0 -0
  331. data/spec/test-site/source/images/code_bg.png +0 -0
  332. data/spec/test-site/source/images/dotted-border.png +0 -0
  333. data/spec/test-site/source/images/email.png +0 -0
  334. data/spec/test-site/source/images/line-tile.png +0 -0
  335. data/spec/test-site/source/images/noise.png +0 -0
  336. data/spec/test-site/source/images/rss.png +0 -0
  337. data/spec/test-site/source/images/search.png +0 -0
  338. data/spec/test-site/source/index.html +29 -0
  339. data/spec/test-site/source/javascripts/ender.js +45 -0
  340. data/spec/test-site/source/javascripts/github.js +37 -0
  341. data/spec/test-site/source/javascripts/libs/ender.js +1497 -0
  342. data/spec/test-site/source/javascripts/libs/jXHR.js +85 -0
  343. data/spec/test-site/source/javascripts/libs/swfobject-dynamic.js +298 -0
  344. data/spec/test-site/source/javascripts/modernizr-2.0.js +5 -0
  345. data/spec/test-site/source/javascripts/octopress.js +161 -0
  346. data/spec/test-site/source/javascripts/pinboard.js +56 -0
  347. data/spec/test-site/source/javascripts/twitter.js +78 -0
  348. metadata +475 -0
@@ -0,0 +1,161 @@
1
+ $blockquote: $type-border !default;
2
+ $sans: "PT Sans", "Helvetica Neue", Arial, sans-serif !default;
3
+ $serif: "PT Serif", Georgia, Times, "Times New Roman", serif !default;
4
+ $mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace !default;
5
+ $heading-font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif !default;
6
+ $header-title-font-family: $heading-font-family !default;
7
+ $header-subtitle-font-family: $heading-font-family !default;
8
+
9
+ // Fonts
10
+ .heading {
11
+ font-family: $heading-font-family;
12
+ }
13
+ .sans { font-family: $sans; }
14
+ .serif { font-family: $serif; }
15
+ .mono { font-family: $mono; }
16
+
17
+ body > header h1 {
18
+ font-size: 2.2em;
19
+ @extend .heading;
20
+ font-family: $header-title-font-family;
21
+ font-weight: normal;
22
+ line-height: 1.2em;
23
+ margin-bottom: 0.6667em;
24
+ }
25
+ body > header h2 {
26
+ font-family: $header-subtitle-font-family;
27
+ }
28
+
29
+ body {
30
+ line-height: 1.5em;
31
+ color: $text-color;
32
+ @extend .serif;
33
+ }
34
+ h1 {
35
+ font-size: 2.2em;
36
+ line-height: 1.2em;
37
+ }
38
+
39
+ @media only screen and (min-width: 992px) {
40
+ body { font-size: 1.15em; }
41
+ h1 { font-size: 2.6em; line-height: 1.2em; }
42
+ }
43
+
44
+ #{headings()}{
45
+ @extend .heading;
46
+ text-rendering: optimizelegibility;
47
+ margin-bottom: 1em;
48
+ font-weight: bold;
49
+ }
50
+ h2, section h1 {
51
+ font-size: 1.5em;
52
+ }
53
+ h3, section h2, section section h1 {
54
+ font-size: 1.3em;
55
+ }
56
+ h4, section h3, section section h2, section section section h1 {
57
+ font-size: 1em;
58
+ }
59
+ h5, section h4, section section h3 {
60
+ font-size: .9em;
61
+ }
62
+ h6, section h5, section section h4, section section section h3 {
63
+ font-size: .8em;
64
+ }
65
+ p, blockquote, ul, ol { margin-bottom: 1.5em; }
66
+
67
+ ul { list-style-type: disc;
68
+ ul { list-style-type: circle; margin-bottom: 0px;
69
+ ul { list-style-type: square; margin-bottom: 0px; }}}
70
+
71
+ ol { list-style-type: decimal;
72
+ ol { list-style-type: lower-alpha; margin-bottom: 0px;
73
+ ol { list-style-type: lower-roman; margin-bottom: 0px; }}}
74
+
75
+ ul, ol { &, ul, ol { margin-left: 1.3em; }}
76
+
77
+ strong { font-weight: bold; }
78
+
79
+ em { font-style: italic; }
80
+
81
+ sup, sub { font-size: 0.8em; position: relative; display: inline-block; }
82
+ sup { top: -.5em; }
83
+ sub { bottom: -.5em; }
84
+
85
+ q { font-style: italic;
86
+ &:before { content: "\201C"; }
87
+ &:after { content: "\201D"; }
88
+ }
89
+
90
+ em, dfn { font-style: italic; }
91
+
92
+ strong, dfn { font-weight: bold; }
93
+
94
+ del, s { text-decoration: line-through; }
95
+
96
+ abbr, acronym { border-bottom: 1px dotted; cursor: help; }
97
+
98
+ pre, code, tt { @extend .mono; }
99
+
100
+ sub, sup { line-height: 0; }
101
+
102
+ hr { margin-bottom: 0.2em; }
103
+
104
+ small { font-size: .8em; }
105
+
106
+ big { font-size: 1.2em; }
107
+
108
+ blockquote {
109
+ $bq-margin: 1.2em;
110
+ font-style: italic;
111
+ position: relative;
112
+ font-size: 1.2em;
113
+ line-height: 1.5em;
114
+ padding-left: 1em;
115
+ border-left: 4px solid rgba($text-color-light, .5);
116
+ cite {
117
+ font-style: italic;
118
+ a { color: $text-color-light !important; word-wrap: break-word; }
119
+ &:before { content: '\2014'; padding:{right: .3em; left: .3em;} color: $text-color-light; }
120
+ }
121
+ @media only screen and (min-width: 992px) {
122
+ padding-left: 1.5em;
123
+ border-left-width: 4px;
124
+ }
125
+ }
126
+
127
+ .pullquote-right:before,
128
+ .pullquote-left:before {
129
+ /* Reset metrics. */
130
+ padding: 0;
131
+ border: none;
132
+
133
+ /* Content */
134
+ content: attr(data-pullquote);
135
+
136
+ /* Pull out to the right, modular scale based margins. */
137
+ float: right;
138
+ width: 45%;
139
+ margin: .5em 0 1em 1.5em;
140
+
141
+ /* Baseline correction */
142
+ position: relative;
143
+ top: 7px;
144
+ font-size: 1.4em;
145
+ line-height: 1.45em;
146
+ }
147
+
148
+ .pullquote-left:before {
149
+ /* Make left pullquotes align properly. */
150
+ float: left;
151
+ margin: .5em 1.5em 1em 0;
152
+ }
153
+
154
+ /* @extend this to force long lines of continuous text to wrap */
155
+ .force-wrap {
156
+ white-space: -moz-pre-wrap;
157
+ white-space: -pre-wrap;
158
+ white-space: -o-pre-wrap;
159
+ white-space: pre-wrap;
160
+ word-wrap: break-word;
161
+ }
@@ -0,0 +1,28 @@
1
+ @mixin mask-image($img, $repeat: no-repeat){
2
+ @include experimental(mask-image, image-url($img), -webkit, -moz, -o, -ms);
3
+ @include experimental(mask-repeat, $repeat, -webkit, -moz, -o, -ms);
4
+ width: image-width($img);
5
+ height: image-height($img);
6
+ }
7
+
8
+ @mixin shadow-box($border: #fff .5em solid, $shadow: rgba(#000, .15) 0 1px 4px, $border-radius: .3em) {
9
+ @include border-radius($border-radius);
10
+ @include box-shadow($shadow);
11
+ @include box-sizing(border-box);
12
+ border: $border;
13
+ }
14
+
15
+ @mixin selection($bg, $color: inherit, $text-shadow: none){
16
+ * {
17
+ &::-moz-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
18
+ &::-webkit-selection { background: $bg; color: $color; text-shadow: $text-shadow; }
19
+ &::selection { background: $bg; color: $color; text-shadow: $text-shadow; }
20
+ }
21
+ }
22
+
23
+ @function text-color($color, $dark: dark, $light: light){
24
+ $text-color: ( (red($color)*299) + (green($color)*587) + (blue($color)*114) ) / 1000;
25
+ $text-color: if($text-color >= 150, $dark, $light);
26
+ @return $text-color;
27
+ }
28
+
@@ -0,0 +1,43 @@
1
+ // Here you can easily change your sites's color scheme.
2
+ // To give it a try, uncomment some of the lines below rebuild your blog, and see how it works.
3
+ // If you need a handy color picker try http://hslpicker.com
4
+
5
+ //$header-bg: #263347;
6
+ //$subtitle-color: lighten($header-bg, 58);
7
+ //$nav-bg: desaturate(lighten(#8fc17a, 18), 5);
8
+ //$nav-bg-front: image-url('noise.png');
9
+ //$nav-bg-back: linear-gradient(lighten($nav-bg, 8), $nav-bg, darken($nav-bg, 11));
10
+ //$sidebar-bg: desaturate(#eceff5, 8);
11
+ //$sidebar-link-color: saturate(#526f9a, 10);
12
+ //$sidebar-link-color-hover: darken(#7ab662, 9);
13
+ //$footer-bg: #ccc !default;
14
+ //$footer-bg-front: image-url('noise.png');
15
+ //$footer-bg-back: linear-gradient(lighten($footer-bg, 8), $footer-bg, darken($footer-bg, 11));
16
+
17
+
18
+ /* To use the light Solarized highlighting theme uncomment the following line */
19
+ //$solarized: light;
20
+
21
+ /* If you want to tweak the Solarized colors you can do that here */
22
+ //$base03: #002b36; //darkest blue
23
+ //$base02: #073642; //dark blue
24
+ //$base01: #586e75; //darkest gray
25
+ //$base00: #657b83; //dark gray
26
+ //$base0: #839496; //medium gray
27
+ //$base1: #93a1a1; //medium light gray
28
+ //$base2: #eee8d5; //cream
29
+ //$base3: #fdf6e3; //white
30
+ //$solar-yellow: #b58900;
31
+ //$solar-orange: #cb4b16;
32
+ //$solar-red: #dc322f;
33
+ //$solar-magenta: #d33682;
34
+ //$solar-violet: #6c71c4;
35
+ //$solar-blue: #268bd2;
36
+ //$solar-cyan: #2aa198;
37
+ //$solar-green: #859900;
38
+
39
+
40
+ /* Non highlighted code colors */
41
+ //$pre-bg: $base03;
42
+ //$pre-border: darken($base02, 5);
43
+ //$pre-color: $base1;
@@ -0,0 +1,10 @@
1
+ // Here you can easily change font faces which are used in your site.
2
+ // To give it a try, uncomment some of the lines below rebuild your blog, and see how it works. your sites's.
3
+ // If you love to use Web Fonts, you also need to add some lines to source/_includes/custom/head.html
4
+
5
+ //$sans: "Optima", sans-serif;
6
+ //$serif: "Baskerville", serif;
7
+ //$mono: "Courier", monospace;
8
+ //$heading-font-family: "Verdana", sans-serif;
9
+ //$header-title-font-family: "Futura", sans-serif;
10
+ //$header-subtitle-font-family: "Futura", sans-serif;
@@ -0,0 +1,21 @@
1
+ // Here you can easily change your sites's layout.
2
+ // To give it a try, uncomment some of the lines below, make changes, rebuild your blog, and see how it works.
3
+
4
+ //$header-font-size: 1em;
5
+ //$header-padding-top: 1.5em;
6
+ //$header-padding-bottom: 1.5em;
7
+
8
+ //$max-width: 1350px;
9
+ //$indented-lists: true;
10
+
11
+ // Padding used for layout margins
12
+ //$pad-min: 18px;
13
+ //$pad-narrow: 25px;
14
+ //$pad-medium: 35px;
15
+ //$pad-wide: 55px;
16
+
17
+ // Sidebar widths used in media queries
18
+ //$sidebar-width-medium: 240px;
19
+ //$sidebar-pad-medium: 15px;
20
+ //$sidebar-pad-wide: 20px;
21
+ //$sidebar-width-wide: 300px;
@@ -0,0 +1,2 @@
1
+ // This File is imported last, and will override other styles in the cascade
2
+ // Add styles here to make changes without digging in too much
@@ -0,0 +1,72 @@
1
+ #archive {
2
+ #content > div { &, > article { padding-top: 0; } }
3
+ }
4
+ #blog-archives {
5
+ article {
6
+ padding: 1em 0 1em;
7
+ position: relative;
8
+ background: $img-border bottom left repeat-x;
9
+ &:last-child {
10
+ background: none;
11
+ }
12
+ footer { padding: 0; margin: 0;}
13
+ }
14
+ h1 { color: $text-color; margin-bottom: .3em; }
15
+ h2 { display: none; }
16
+ h1 {
17
+ font-size: 1.5em;
18
+ a {
19
+ @include hover-link;
20
+ color: inherit;
21
+ &:hover { color: $link-color-hover; }
22
+ font-weight: normal;
23
+ display: inline-block;
24
+ }
25
+ }
26
+ a.category, time {
27
+ @extend .sans;
28
+ color: $text-color-light;
29
+ }
30
+ color: $text-color-light;
31
+ .entry-content { display: none; }
32
+ time {
33
+ font-size: .9em;
34
+ line-height: 1.2em;
35
+ .month, .day { display: inline-block; }
36
+ .month { text-transform: uppercase; }
37
+ }
38
+ p { margin-bottom: 1em; }
39
+ &, .entry-content { a { @include link-colors(inherit, $link-color-hover); }}
40
+ a:hover { color: $link-color-hover; }
41
+ @media only screen and (min-width: 550px) {
42
+ article { margin-left: 5em; }
43
+ h2 {
44
+ margin-bottom: .3em;
45
+ font-weight: normal;
46
+ display: inline-block;
47
+ position: relative; top: -1px;
48
+ float: left;
49
+ &:first-child { padding-top: .75em; }
50
+ }
51
+ time {
52
+ position: absolute;
53
+ text-align: right;
54
+ left: 0em;
55
+ top: 1.8em;
56
+ }
57
+ .year { display: none; }
58
+ article {
59
+ padding:{left: 4.5em; bottom: .7em;}
60
+ }
61
+ a.category {
62
+ line-height: 1.1em;
63
+ }
64
+ }
65
+ }
66
+ #content > .category {
67
+ article {
68
+ margin-left: 0;
69
+ padding-left: 6.8em;
70
+ }
71
+ .year { display: inline; }
72
+ }
@@ -0,0 +1,141 @@
1
+ article {
2
+ padding-top: 1em;
3
+ a { @extend .force-wrap; }
4
+ header {
5
+ position: relative;
6
+ padding-top: 2em;
7
+ padding-bottom: 1em;
8
+ margin-bottom: 1em;
9
+ background: $img-border bottom left repeat-x;
10
+ h1 {
11
+ margin: 0;
12
+ a { text-decoration: none;
13
+ &:hover { text-decoration: underline; } }
14
+ }
15
+ p {
16
+ font-size: .9em;
17
+ color: $text-color-light;
18
+ margin: 0;
19
+ &.meta {
20
+ @extend .sans;
21
+ text-transform: uppercase;
22
+ position: absolute; top: 0;
23
+ }
24
+ }
25
+ @media only screen and (min-width: 768px) {
26
+ margin-bottom: 1.5em;
27
+ padding-bottom: 1em;
28
+ background: $img-border bottom left repeat-x;
29
+ }
30
+ }
31
+ h2 {
32
+ padding-top: 0.8em;
33
+ background: $img-border top left repeat-x;
34
+ }
35
+ .entry-content & h2:first-child, header + h2 { padding-top: 0; }
36
+ h2:first-child, header + h2 { background: none; }
37
+ .feature {
38
+ padding-top: .5em;
39
+ margin-bottom: 1em;
40
+ padding-bottom: 1em;
41
+ background: $img-border bottom left repeat-x;
42
+ font-size: 2.0em; font-style: italic;
43
+ line-height: 1.3em;
44
+ }
45
+ img, video, .flash-video {
46
+ @extend .flex-content;
47
+ @extend .basic-alignment;
48
+ @include shadow-box;
49
+ }
50
+ video, .flash-video { margin: 0 auto 1.5em; }
51
+ video { display: block; width: 100%; }
52
+ .flash-video {
53
+ > div {
54
+ position: relative;
55
+ display: block;
56
+ padding-bottom: 56.25%;
57
+ padding-top: 1px;
58
+ height: 0;
59
+ overflow: hidden;
60
+ iframe, object, embed {
61
+ position: absolute;
62
+ top: 0;
63
+ left: 0;
64
+ width: 100%;
65
+ height: 100%;
66
+ }
67
+ }
68
+ }
69
+ > footer {
70
+ padding-bottom: 2.5em;
71
+ margin-top: 2em;
72
+ @extend .sans;
73
+ p.meta {
74
+ margin-bottom: .8em;
75
+ font-size: .85em;
76
+ clear: both;
77
+ overflow: hidden;
78
+ }
79
+ .byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
80
+ @extend .separator;
81
+ }
82
+ }
83
+
84
+ }
85
+ article + article {
86
+ .blog-index & {
87
+ background: $img-border top left repeat-x;
88
+ }
89
+ }
90
+ #content .blog-index {
91
+ padding: { top: 0; bottom: 0; }
92
+ article { padding-top: 2em; }
93
+ article header { background: none; padding-bottom: 0; }
94
+ article h1 {
95
+ font-size: 2.2em;
96
+ a { color: inherit; &:hover { color: $link-color-hover; } }
97
+ }
98
+ a[rel=full-article] {
99
+ background: darken($main-bg, 5);
100
+ display: inline-block;
101
+ padding: .4em .8em;
102
+ margin-right: .5em;
103
+ text-decoration: none;
104
+ color: mix($text-color, $text-color-light);
105
+ @extend .serif;
106
+ @include transition(background-color .5s);
107
+ &:hover {
108
+ background: $link-color-hover;
109
+ text-shadow: none;
110
+ color: $main-bg;
111
+ }
112
+ }
113
+ footer {
114
+ @extend .sans;
115
+ margin-top: 1em;
116
+ }
117
+ }
118
+
119
+ .separator {
120
+ content: "\2022 ";
121
+ padding: 0 .4em 0 .2em;
122
+ display: inline-block;
123
+ }
124
+
125
+ #content div.pagination {
126
+ text-align: center;
127
+ font-size: .95em;
128
+ position: relative;
129
+ background: $img-border top left repeat-x;
130
+ padding: {top: 1.5em; bottom: 1.5em;}
131
+ a {
132
+ text-decoration: none;
133
+ color: $text-color-light;
134
+ &.prev { position: absolute; left: 0; }
135
+ &.next { position: absolute; right: 0; }
136
+ &:hover { color: $link-color-hover; }
137
+ &[href*=archive] {
138
+ &:before, &:after { content: '\2014'; padding: 0 .3em; }
139
+ }
140
+ }
141
+ }