table_beet 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +107 -0
- data/Rakefile +1 -0
- data/bin/table_beet +5 -0
- data/lib/table_beet/cli.rb +47 -0
- data/lib/table_beet/formatters/base_formatter.rb +10 -0
- data/lib/table_beet/formatters/html_formatter.rb +58 -0
- data/lib/table_beet/formatters/html_template/data/css/font-awesome-ie7.min.css +22 -0
- data/lib/table_beet/formatters/html_template/data/css/groundwork-ie.css +52 -0
- data/lib/table_beet/formatters/html_template/data/css/groundwork.css +5802 -0
- data/lib/table_beet/formatters/html_template/data/css/no-svg.css +1 -0
- data/lib/table_beet/formatters/html_template/data/css/placeholder_polyfill.css +32 -0
- data/lib/table_beet/formatters/html_template/data/favicon.ico +0 -0
- data/lib/table_beet/formatters/html_template/data/font/FontAwesome.otf +0 -0
- data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.eot +0 -0
- data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.svg +284 -0
- data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.ttf +0 -0
- data/lib/table_beet/formatters/html_template/data/font/fontawesome-webfont.woff +0 -0
- data/lib/table_beet/formatters/html_template/data/images/black_linen_v2.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/groundwork-logo.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/groundwork-logo.svg +1 -0
- data/lib/table_beet/formatters/html_template/data/images/kitchen-sink.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-1.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-2.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-3.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-4.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/layout-5.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/bullets.jpg +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/left-arrow.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/loading.gif +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/mask-black.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/pause-black.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/right-arrow.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/rotator-black.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/orbit/timer-black.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/500px-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/500px-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/500px.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/500px.svg +62 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/aboutme.svg +42 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/adn-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/adn-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/adn.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/adn.svg +14 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/android-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/android-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/android.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/android.svg +30 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/apple-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/apple-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/apple.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/apple.svg +19 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/behance-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/behance-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/behance.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/behance.svg +48 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/bitbucket.svg +36 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/blogger.svg +22 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/coderwall.svg +21 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/creativecloud.svg +48 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dribbble.svg +28 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/dropbox.svg +73 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/evernote.svg +62 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/facebook.svg +15 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/fairheadcreative.svg +24 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/flickr.svg +14 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/foursquare.svg +43 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/git-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/git-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/git.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/git.svg +22 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/github-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/github-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/github.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/github.svg +38 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/goodreads.svg +38 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplay.svg +24 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/googleplus.svg +52 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/html5-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/html5-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/html5.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/html5.svg +29 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/icloud.svg +26 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/instagram.svg +166 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/lastfm.svg +44 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/linkedin.svg +28 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mail-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mail-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mail.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mail.svg +27 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mercurial.svg +22 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/mixi.svg +32 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/msn-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/msn-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/msn.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/msn.svg +44 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/orkut.svg +23 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/picasa.svg +48 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pinterest.svg +42 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/pocketapp.svg +38 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/quora-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/quora-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/quora.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/quora.svg +20 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rdio.svg +18 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/renren-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/renren-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/renren.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/renren.svg +79 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rss-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rss-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rss.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/rss.svg +18 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skitch.svg +24 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skype-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skype-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skype.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/skype.svg +25 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/soundcloud.svg +60 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/spotify.svg +38 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stackoverflow.svg +32 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/stumbleupon.svg +22 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/svn-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/svn-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/svn.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/svn.svg +25 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tent-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tent-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tent.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tent.svg +16 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tripadvisor.svg +30 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/tumblr.svg +16 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/twitter.svg +24 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/vimeo.svg +20 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/weibo.svg +54 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/windows-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/windows-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/windows.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/windows.svg +26 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/wordpress.svg +50 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/xing-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/xing-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/xing.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/xing.svg +16 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/yelp.svg +54 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youtube.svg +106 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/youversion.svg +54 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply-m.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply-s.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply.png +0 -0
- data/lib/table_beet/formatters/html_template/data/images/social-icons/zerply.svg +20 -0
- data/lib/table_beet/formatters/html_template/data/js/coffee/groundwork.coffee +207 -0
- data/lib/table_beet/formatters/html_template/data/js/groundwork.js +847 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/boxsizing.htc +501 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/html5shiv.js +299 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/html5shiv.min.js +8 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/jquery-1.8.2.min.js +2 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/modernizr-2.6.2.min.js +4 -0
- data/lib/table_beet/formatters/html_template/data/js/libs/placeholder_polyfill.jquery.js +212 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.modals.coffee +162 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.popover.coffee +198 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.popover.js +10 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveTables.coffee +56 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveTables.js +10 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveText.coffee +32 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.responsiveText.js +10 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.tooltip.coffee +121 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/coffee/jquery.tooltip.js +10 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.modals.js +185 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.orbit-1.4.0.js +919 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.popover.js +206 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.responsiveTables.js +63 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.responsiveText.js +45 -0
- data/lib/table_beet/formatters/html_template/data/js/plugins/jquery.tooltip.js +118 -0
- data/lib/table_beet/formatters/html_template/data/scss/_buttons.scss +178 -0
- data/lib/table_beet/formatters/html_template/data/scss/_callouts.scss +51 -0
- data/lib/table_beet/formatters/html_template/data/scss/_font-awesome.scss +534 -0
- data/lib/table_beet/formatters/html_template/data/scss/_forms.scss +164 -0
- data/lib/table_beet/formatters/html_template/data/scss/_global.scss +31 -0
- data/lib/table_beet/formatters/html_template/data/scss/_grid.scss +384 -0
- data/lib/table_beet/formatters/html_template/data/scss/_layout.scss +78 -0
- data/lib/table_beet/formatters/html_template/data/scss/_messages.scss +59 -0
- data/lib/table_beet/formatters/html_template/data/scss/_mixins.scss +197 -0
- data/lib/table_beet/formatters/html_template/data/scss/_mobile-reset.scss +11 -0
- data/lib/table_beet/formatters/html_template/data/scss/_modals.scss +101 -0
- data/lib/table_beet/formatters/html_template/data/scss/_navigation.scss +284 -0
- data/lib/table_beet/formatters/html_template/data/scss/_orbit.scss +239 -0
- data/lib/table_beet/formatters/html_template/data/scss/_popovers.scss +10 -0
- data/lib/table_beet/formatters/html_template/data/scss/_reset.scss +77 -0
- data/lib/table_beet/formatters/html_template/data/scss/_responsive.scss +293 -0
- data/lib/table_beet/formatters/html_template/data/scss/_social-icons.scss +92 -0
- data/lib/table_beet/formatters/html_template/data/scss/_tables.scss +80 -0
- data/lib/table_beet/formatters/html_template/data/scss/_tabs.scss +137 -0
- data/lib/table_beet/formatters/html_template/data/scss/_tooltips.scss +161 -0
- data/lib/table_beet/formatters/html_template/data/scss/_typography.scss +263 -0
- data/lib/table_beet/formatters/html_template/data/scss/_ui-elements.scss +10 -0
- data/lib/table_beet/formatters/html_template/data/scss/_variables.scss +134 -0
- data/lib/table_beet/formatters/html_template/data/scss/_webfonts.scss +19 -0
- data/lib/table_beet/formatters/html_template/data/scss/groundwork-ie.scss +64 -0
- data/lib/table_beet/formatters/html_template/data/scss/groundwork.scss +37 -0
- data/lib/table_beet/formatters/html_template/data/scss/no-svg.scss +69 -0
- data/lib/table_beet/formatters/html_template/index.erb +118 -0
- data/lib/table_beet/formatters/text_formatter.rb +17 -0
- data/lib/table_beet/formatters.rb +3 -0
- data/lib/table_beet/loader.rb +37 -0
- data/lib/table_beet/reporter.rb +30 -0
- data/lib/table_beet/runner.rb +23 -0
- data/lib/table_beet/step.rb +26 -0
- data/lib/table_beet/version.rb +3 -0
- data/lib/table_beet/world.rb +38 -0
- data/lib/table_beet.rb +10 -0
- data/table_beet.gemspec +24 -0
- metadata +450 -0
@@ -0,0 +1,134 @@
|
|
1
|
+
///////////////////////
|
2
|
+
// settings //
|
3
|
+
///////////////////////
|
4
|
+
$max-width: 1200px; // max container width (i.e. - 960px)
|
5
|
+
$gutter: 10px; // gutter spacing
|
6
|
+
|
7
|
+
|
8
|
+
// base styles
|
9
|
+
$background-color: #ffffff;
|
10
|
+
$font-color: #2b2b2d;
|
11
|
+
$font-size: 14px;
|
12
|
+
$font-family: Helvetica, Arial, Geneva, sans-serif;
|
13
|
+
$link-color: #489AC1;
|
14
|
+
$link-active: #198D98;
|
15
|
+
$selection-color: $font-color;
|
16
|
+
$selection-text: #ffffff;
|
17
|
+
$border-color: #dddddd;
|
18
|
+
$button-color: #1DABB8;
|
19
|
+
$button-active: #198D98;
|
20
|
+
$button-text: #ffffff;
|
21
|
+
$button-active-text: #ffffff;
|
22
|
+
$error-color: #A40400;
|
23
|
+
$warning-color: #FF971E;
|
24
|
+
$success-color: #5FB40E;
|
25
|
+
$radius: 4px;
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
///////////////////////
|
31
|
+
// fractions //
|
32
|
+
///////////////////////
|
33
|
+
|
34
|
+
// wholes
|
35
|
+
$one-whole: 100%;
|
36
|
+
|
37
|
+
// halves
|
38
|
+
$one-half: 50%;
|
39
|
+
$two-halves: $one-whole;
|
40
|
+
|
41
|
+
// thirds
|
42
|
+
$one-third: 33.3333333333333%;
|
43
|
+
$two-thirds: 66.6666666666666%;
|
44
|
+
$three-thirds: $one-whole;
|
45
|
+
|
46
|
+
// fourths
|
47
|
+
$one-fourth: 25%;
|
48
|
+
$two-fourths: $one-half;
|
49
|
+
$three-fourths: 75%;
|
50
|
+
$four-fourths: $one-whole;
|
51
|
+
|
52
|
+
// fifths
|
53
|
+
$one-fifth: 20%;
|
54
|
+
$two-fifths: 40%;
|
55
|
+
$three-fifths: 60%;
|
56
|
+
$four-fifths: 80%;
|
57
|
+
$five-fifths: $one-whole;
|
58
|
+
|
59
|
+
// sixths
|
60
|
+
$one-sixth: 16.666666666667%;
|
61
|
+
$two-sixths: $one-third;
|
62
|
+
$three-sixths: $one-half;
|
63
|
+
$four-sixths: $two-thirds;
|
64
|
+
$five-sixths: 83.333333333333%;
|
65
|
+
$six-sixths: $one-whole;
|
66
|
+
|
67
|
+
// sevenths
|
68
|
+
$one-seventh: 14.285714285714%;
|
69
|
+
$two-sevenths: 28.571428571429%;
|
70
|
+
$three-sevenths: 42.857142857143%;
|
71
|
+
$four-sevenths: 57.142857142857%;
|
72
|
+
$five-sevenths: 71.428571428571%;
|
73
|
+
$six-sevenths: 85.714285714286%;
|
74
|
+
$seven-sevenths: $one-whole;
|
75
|
+
|
76
|
+
// eighths
|
77
|
+
$one-eighth: 12.5%;
|
78
|
+
$two-eighths: $one-fourth;
|
79
|
+
$three-eighths: 37.5%;
|
80
|
+
$four-eighths: $one-half;
|
81
|
+
$five-eighths: 62.5%;
|
82
|
+
$six-eighths: $three-fourths;
|
83
|
+
$seven-eighths: 87.5%;
|
84
|
+
$eight-eighths: $one-whole;
|
85
|
+
|
86
|
+
// ninths
|
87
|
+
$one-ninth: 11.111111111111%;
|
88
|
+
$two-ninths: 22.222222222222%;
|
89
|
+
$three-ninths: $one-third;
|
90
|
+
$four-ninths: 44.444444444444%;
|
91
|
+
$five-ninths: 55.555555555556%;
|
92
|
+
$six-ninths: $two-thirds;
|
93
|
+
$seven-ninths: 77.777777777778%;
|
94
|
+
$eight-ninths: 88.888888888889%;
|
95
|
+
$nine-ninths: $one-whole;
|
96
|
+
|
97
|
+
// tenths
|
98
|
+
$one-tenth: 10%;
|
99
|
+
$two-tenths: $one-fifth;
|
100
|
+
$three-tenths: 30%;
|
101
|
+
$four-tenths: $two-fifths;
|
102
|
+
$five-tenths: $one-half;
|
103
|
+
$six-tenths: $three-fifths;
|
104
|
+
$seven-tenths: 70%;
|
105
|
+
$eight-tenths: $four-fifths;
|
106
|
+
$nine-tenths: 90%;
|
107
|
+
$ten-tenths: $one-whole;
|
108
|
+
|
109
|
+
// elevenths
|
110
|
+
$one-eleventh: 9.090909090909%;
|
111
|
+
$two-elevenths: 18.181818181818%;
|
112
|
+
$three-elevenths: 27.272727272727%;
|
113
|
+
$four-elevenths: 36.363636363636%;
|
114
|
+
$five-elevenths: 45.454545454545%;
|
115
|
+
$six-elevenths: 54.545454545455%;
|
116
|
+
$seven-elevenths: 63.636363636364%;
|
117
|
+
$eight-elevenths: 72.727272727273%;
|
118
|
+
$nine-elevenths: 81.818181818182%;
|
119
|
+
$ten-elevenths: 90.909090909091%;
|
120
|
+
$eleven-elevenths: $one-whole;
|
121
|
+
|
122
|
+
// twelfths
|
123
|
+
$one-twelfth: 8.33333333333333%;
|
124
|
+
$two-twelfths: $one-sixth;
|
125
|
+
$three-twelfths: $one-fourth;
|
126
|
+
$four-twelfths: $one-third;
|
127
|
+
$five-twelfths: 41.6666666666667%;
|
128
|
+
$six-twelfths: $one-half;
|
129
|
+
$seven-twelfths: 58.3333333333333%;
|
130
|
+
$eight-twelfths: $two-thirds;
|
131
|
+
$nine-twelfths: $three-fourths;
|
132
|
+
$ten-twelfths: $five-sixths;
|
133
|
+
$eleven-twelfths: 91.6666666666666%;
|
134
|
+
$twelve-twelfths: $one-whole;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// ===================================
|
2
|
+
// GroundworkCSS Web Fonts
|
3
|
+
// ===================================
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
@font-face {
|
9
|
+
font-family: 'Average Sans';
|
10
|
+
font-style: normal;
|
11
|
+
font-weight: 400;
|
12
|
+
src: url(http://themes.googleusercontent.com/static/fonts/averagesans/v1/dnU3R-5A_43y5bIyLztPsXZ2MAKAc2x4R1uOSeegc5U.eot);
|
13
|
+
src: local('Average Sans'),
|
14
|
+
local('AverageSans-Regular'),
|
15
|
+
url(http://themes.googleusercontent.com/static/fonts/averagesans/v1/dnU3R-5A_43y5bIyLztPsXZ2MAKAc2x4R1uOSeegc5U.eot) format('embedded-opentype'),
|
16
|
+
url(http://themes.googleusercontent.com/static/fonts/averagesans/v1/dnU3R-5A_43y5bIyLztPsXhCUOGz7vYGh680lGh-uXM.woff) format('woff'),
|
17
|
+
url(http://themes.googleusercontent.com/static/fonts/averagesans/v1/dnU3R-5A_43y5bIyLztPsZS3E-kSBmtLoNJPDtbj2Pk.ttf) format('truetype');
|
18
|
+
|
19
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
// =============================================
|
2
|
+
// IE hacks by Gary Hepting
|
3
|
+
// Last Updated:2013-2-2
|
4
|
+
// =============================================
|
5
|
+
|
6
|
+
// variables & mixins
|
7
|
+
@import "variables";
|
8
|
+
@import "mixins";
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
html {
|
13
|
+
&.lt-ie9 {
|
14
|
+
min-width:$max-width !important;
|
15
|
+
body {
|
16
|
+
width:auto !important;
|
17
|
+
}
|
18
|
+
.container {
|
19
|
+
width:auto !important;
|
20
|
+
}
|
21
|
+
// forms
|
22
|
+
input, select, textarea {
|
23
|
+
&:focus {
|
24
|
+
border-color:$button-active;
|
25
|
+
}
|
26
|
+
&[type=checkbox], &[type=radio] {
|
27
|
+
padding:0;
|
28
|
+
background:none;
|
29
|
+
border:none;
|
30
|
+
display:inline-block;
|
31
|
+
width:auto !important;
|
32
|
+
height:auto !important;
|
33
|
+
@include rounded(0);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
// custom select box
|
37
|
+
span.select {
|
38
|
+
&:after {
|
39
|
+
display:none;
|
40
|
+
}
|
41
|
+
select {
|
42
|
+
padding:0;
|
43
|
+
height:2.1em;
|
44
|
+
vertical-align:top;
|
45
|
+
&:focus {
|
46
|
+
border:1px solid $button-active;
|
47
|
+
@include drop-shadow(#fff, 0, 0, 0);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
// modals
|
52
|
+
div.modal {
|
53
|
+
.close, .fullscreen {
|
54
|
+
padding:6px 7px;
|
55
|
+
top:2px;
|
56
|
+
right:2px;
|
57
|
+
}
|
58
|
+
.fullscreen {
|
59
|
+
right:auto;
|
60
|
+
left:2px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/* =============================================
|
2
|
+
* GroundworkCSS by Gary Hepting
|
3
|
+
* Last Updated:2013-1-28
|
4
|
+
* ===========================================*/
|
5
|
+
|
6
|
+
// variables & mixins
|
7
|
+
@import "variables";
|
8
|
+
@import "mixins";
|
9
|
+
|
10
|
+
// set the stage
|
11
|
+
@import "reset";
|
12
|
+
@import "global";
|
13
|
+
|
14
|
+
// webfonts
|
15
|
+
@import "webfonts";
|
16
|
+
|
17
|
+
// components
|
18
|
+
@import "grid";
|
19
|
+
@import "typography";
|
20
|
+
@import "buttons";
|
21
|
+
@import "forms";
|
22
|
+
@import "navigation";
|
23
|
+
@import "tabs";
|
24
|
+
@import "ui-elements";
|
25
|
+
@import "tables";
|
26
|
+
@import "font-awesome";
|
27
|
+
@import "social-icons";
|
28
|
+
@import "tooltips";
|
29
|
+
@import "popovers";
|
30
|
+
@import "modals";
|
31
|
+
@import "orbit";
|
32
|
+
|
33
|
+
// helper classes
|
34
|
+
@import "layout";
|
35
|
+
|
36
|
+
// responsive adjustments
|
37
|
+
@import "responsive";
|
@@ -0,0 +1,69 @@
|
|
1
|
+
// =============================================
|
2
|
+
// Fallbacks for non-SVG support by Gary Hepting
|
3
|
+
// Last Updated:2013-2-15
|
4
|
+
// =============================================
|
5
|
+
|
6
|
+
// variables & mixins
|
7
|
+
@import "variables";
|
8
|
+
@import "mixins";
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
.social-icon {
|
13
|
+
width:48px;
|
14
|
+
height:48px;
|
15
|
+
&.aboutme { @include data-image("social-icons/aboutme.png"); }
|
16
|
+
&.adn { @include data-image("social-icons/adn.png"); }
|
17
|
+
&.android { @include data-image("social-icons/android.png"); }
|
18
|
+
&.apple { @include data-image("social-icons/apple.png"); }
|
19
|
+
&.behance { @include data-image("social-icons/behance.png"); }
|
20
|
+
&.bitbucket { @include data-image("social-icons/bitbucket.png"); }
|
21
|
+
&.coderwall { @include data-image("social-icons/coderwall.png"); }
|
22
|
+
&.creativecloud { @include data-image("social-icons/creativecloud.png"); }
|
23
|
+
&.dribbble { @include data-image("social-icons/dribbble.png"); }
|
24
|
+
&.dropbox { @include data-image("social-icons/dropbox.png"); }
|
25
|
+
&.evernote { @include data-image("social-icons/evernote.png"); }
|
26
|
+
&.facebook { @include data-image("social-icons/facebook.png"); }
|
27
|
+
&.flickr { @include data-image("social-icons/flickr.png"); }
|
28
|
+
&.foursquare { @include data-image("social-icons/foursquare.png"); }
|
29
|
+
&.git { @include data-image("social-icons/git.png"); }
|
30
|
+
&.github { @include data-image("social-icons/github.png"); }
|
31
|
+
&.googleplay { @include data-image("social-icons/googleplay.png"); }
|
32
|
+
&.googleplus { @include data-image("social-icons/googleplus.png"); }
|
33
|
+
&.html5 { @include data-image("social-icons/html5.png"); }
|
34
|
+
&.icloud { @include data-image("social-icons/icloud.png"); }
|
35
|
+
&.instagram { @include data-image("social-icons/instagram.png"); }
|
36
|
+
&.lastfm { @include data-image("social-icons/lastfm.png"); }
|
37
|
+
&.linkedin { @include data-image("social-icons/linkedin.png"); }
|
38
|
+
&.mail { @include data-image("social-icons/mail.png"); }
|
39
|
+
&.mixi { @include data-image("social-icons/mixi.png"); }
|
40
|
+
&.msn { @include data-image("social-icons/msn.png"); }
|
41
|
+
&.pinterest { @include data-image("social-icons/pinterest.png"); }
|
42
|
+
&.pocket { @include data-image("social-icons/pocketapp.png"); }
|
43
|
+
&.quora { @include data-image("social-icons/quora.png"); }
|
44
|
+
&.orkut { @include data-image("social-icons/orkut.png"); }
|
45
|
+
&.mercurial { @include data-image("social-icons/mercurial.png"); }
|
46
|
+
&.rdio { @include data-image("social-icons/rdio.png"); }
|
47
|
+
&.renren { @include data-image("social-icons/renren.png"); }
|
48
|
+
&.rss { @include data-image("social-icons/rss.png"); }
|
49
|
+
&.skitch { @include data-image("social-icons/skitch.png"); }
|
50
|
+
&.skype { @include data-image("social-icons/skype.png"); }
|
51
|
+
&.soundcloud { @include data-image("social-icons/soundcloud.png"); }
|
52
|
+
&.spotify { @include data-image("social-icons/spotify.png"); }
|
53
|
+
&.stackoverflow { @include data-image("social-icons/stackoverflow.png"); }
|
54
|
+
&.stumbleupon { @include data-image("social-icons/stumbleupon.png"); }
|
55
|
+
&.svn { @include data-image("social-icons/svn.png"); }
|
56
|
+
&.tent { @include data-image("social-icons/tent.png"); }
|
57
|
+
&.tripadvisor { @include data-image("social-icons/tripadvisor.png"); }
|
58
|
+
&.tumblr { @include data-image("social-icons/tumblr.png"); }
|
59
|
+
&.twitter { @include data-image("social-icons/twitter.png"); }
|
60
|
+
&.vimeo { @include data-image("social-icons/vimeo.png"); }
|
61
|
+
&.weibo { @include data-image("social-icons/weibo.png"); }
|
62
|
+
&.windows { @include data-image("social-icons/windows.png"); }
|
63
|
+
&.wordpress { @include data-image("social-icons/wordpress.png"); }
|
64
|
+
&.xing { @include data-image("social-icons/xing.png"); }
|
65
|
+
&.yelp { @include data-image("social-icons/yelp.png"); }
|
66
|
+
&.youtube { @include data-image("social-icons/youtube.png"); }
|
67
|
+
&.youversion { @include data-image("social-icons/youversion.png"); }
|
68
|
+
&.zerply { @include data-image("social-icons/zerply.png"); }
|
69
|
+
}
|
@@ -0,0 +1,118 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
4
|
+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
5
|
+
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
6
|
+
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
|
7
|
+
<head>
|
8
|
+
<meta charset="utf-8">
|
9
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
|
11
|
+
<title>TableBeet ♥ List of step</title>
|
12
|
+
<!-- Modernizr -->
|
13
|
+
<script src="./js/libs/modernizr-2.6.2.min.js"></script>
|
14
|
+
<!-- jQuery -->
|
15
|
+
<script type="text/javascript" src="./js/libs/jquery-1.8.2.min.js"></script>
|
16
|
+
<!-- GroundworkCSS -->
|
17
|
+
<link type="text/css" rel="stylesheet" href="./css/groundwork.css">
|
18
|
+
<!--[if IE]>
|
19
|
+
<link type="text/css" rel="stylesheet" href="./css/groundwork-ie.css">
|
20
|
+
<![endif]-->
|
21
|
+
<!--[if lt IE 9]>
|
22
|
+
<script type="text/javascript" src="./js/libs/html5shiv.min.js"></script>
|
23
|
+
<![endif]-->
|
24
|
+
<!--[if IE 7]>
|
25
|
+
<link type="text/css" rel="stylesheet" href="./css/font-awesome-ie7.min.css">
|
26
|
+
<![endif]-->
|
27
|
+
<script type="text/javascript">
|
28
|
+
// fallback if SVG unsupported
|
29
|
+
Modernizr.load({
|
30
|
+
test: Modernizr.svg,
|
31
|
+
nope: './css/no-svg.css'
|
32
|
+
});
|
33
|
+
// polyfill for HTML5 placeholders
|
34
|
+
Modernizr.load({
|
35
|
+
test: Modernizr.input.placeholder,
|
36
|
+
nope: [
|
37
|
+
'./css/placeholder_polyfill.css',
|
38
|
+
'./js/libs/placeholder_polyfill.jquery.js'
|
39
|
+
]
|
40
|
+
});
|
41
|
+
</script>
|
42
|
+
</head>
|
43
|
+
<body>
|
44
|
+
<header>
|
45
|
+
<div class="container">
|
46
|
+
<div class="align-left">
|
47
|
+
<h1>TableBeet</h1>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
</header>
|
51
|
+
<div class="container">
|
52
|
+
|
53
|
+
<article class="row">
|
54
|
+
<aside class="one fourth padded border-right">
|
55
|
+
<h1><i class="icon-list-ul"></i> Scopes</h1>
|
56
|
+
<ul class="list">
|
57
|
+
<% scopes.keys.each do |scope_name| %>
|
58
|
+
<li class="big"><a href="#<%= ERB::Util.h(scope_name) %>"><%= ERB::Util.h(scope_name) %></a></li>
|
59
|
+
<% end %>
|
60
|
+
</ul>
|
61
|
+
</aside>
|
62
|
+
<section class="three fourths padded">
|
63
|
+
<h1><i class="icon-th-large"></i> Step list</h1>
|
64
|
+
|
65
|
+
<% scopes.each do |scope, steps| %>
|
66
|
+
<div class="row">
|
67
|
+
<div class="padded">
|
68
|
+
<h2><i class="icon-caret-right"></i> <a name="<%= ERB::Util.h(scope) %>"><%= ERB::Util.h(scope) %></a></h2>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
<table>
|
72
|
+
<thead>
|
73
|
+
<tr>
|
74
|
+
<th>Step name</th>
|
75
|
+
<td>Defined file (with line number)</td>
|
76
|
+
</tr>
|
77
|
+
</thead>
|
78
|
+
<tbody>
|
79
|
+
<% steps.each do |step| %>
|
80
|
+
<tr>
|
81
|
+
<th class="step_name"><%= ERB::Util.h(step.name) %></th>
|
82
|
+
<td>
|
83
|
+
<p><a href="#modal-<%= step.id %>">
|
84
|
+
<i class="icon-book"></i> <%= ERB::Util.h(step.location) %>
|
85
|
+
</a></p>
|
86
|
+
<div id="modal-<%= step.id %>" class="modal">
|
87
|
+
<big><pre><%= step.source %></pre></big>
|
88
|
+
</div>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<% end %>
|
92
|
+
</tbody>
|
93
|
+
</table>
|
94
|
+
<% end %>
|
95
|
+
|
96
|
+
</section>
|
97
|
+
</article>
|
98
|
+
|
99
|
+
<footer class="footer row">
|
100
|
+
<div class="one half align-left">
|
101
|
+
<p>© 2013 Wataru MIYAGUNI.</p>
|
102
|
+
</div>
|
103
|
+
<div class="one half align-right">
|
104
|
+
<p>Powered by <a href="http://groundwork.sidereel.com/">GroundworkCSS</a></p>
|
105
|
+
</div>
|
106
|
+
</footer>
|
107
|
+
</div>
|
108
|
+
<!-- scripts -->
|
109
|
+
<script type="text/javascript" src="./js/plugins/jquery.orbit-1.4.0.js"></script>
|
110
|
+
<script type="text/javascript" src="./js/groundwork.js"></script>
|
111
|
+
<script type="text/javascript">
|
112
|
+
$('th.step_name').each(function() {
|
113
|
+
var decoration = $(this).text().replace(/(:[\w]+)/g, function() { return "<code>" + RegExp.$1 + "</code>"; });
|
114
|
+
$(this).html(decoration);
|
115
|
+
});
|
116
|
+
</script>
|
117
|
+
</body>
|
118
|
+
</html>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'table_beet/formatters/base_formatter.rb'
|
2
|
+
|
3
|
+
module TableBeet
|
4
|
+
module Formatters
|
5
|
+
class TextFormatter < BaseFormatter
|
6
|
+
def flush
|
7
|
+
@scopes.each do |name, steps|
|
8
|
+
puts name
|
9
|
+
steps.each do |step|
|
10
|
+
puts "- #{step.name}\tfile://#{step.file}:#{step.lineno}"
|
11
|
+
end
|
12
|
+
puts
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
require 'pathname'
|
2
|
+
|
3
|
+
module TableBeet
|
4
|
+
class Loader
|
5
|
+
def initialize(config = {})
|
6
|
+
@suffix = config[:suffix] || '_steps.rb'
|
7
|
+
@directory = config[:path] || './spec'
|
8
|
+
end
|
9
|
+
|
10
|
+
#
|
11
|
+
# @return Integer Size of loaded file
|
12
|
+
#
|
13
|
+
def load
|
14
|
+
# https://github.com/jnicklas/turnip#where-to-place-steps
|
15
|
+
paths.each { |f| Kernel.load f, true }
|
16
|
+
paths.length
|
17
|
+
end
|
18
|
+
|
19
|
+
def paths
|
20
|
+
Pathname.glob(pattern)
|
21
|
+
end
|
22
|
+
|
23
|
+
def display_pattern
|
24
|
+
pattern
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def glob
|
30
|
+
'**/*' + @suffix
|
31
|
+
end
|
32
|
+
|
33
|
+
def pattern
|
34
|
+
File.join(@directory, glob)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'table_beet/world'
|
2
|
+
require 'table_beet/formatters/text_formatter'
|
3
|
+
require 'table_beet/formatters/html_formatter'
|
4
|
+
|
5
|
+
module TableBeet
|
6
|
+
class Reporter
|
7
|
+
#
|
8
|
+
# @param [Hash] config
|
9
|
+
# :format => [Symbol] Output format
|
10
|
+
# :t or :text is plain text
|
11
|
+
# otherwise HTML
|
12
|
+
#
|
13
|
+
# :output => [String] Directory to output'
|
14
|
+
#
|
15
|
+
def self.build(config = {})
|
16
|
+
type = config[:format]
|
17
|
+
output = config[:output] || './stepdoc'
|
18
|
+
formatter(type).new(TableBeet::World.scopes, output).flush
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.formatter(type)
|
22
|
+
case type
|
23
|
+
when :t, :text
|
24
|
+
TableBeet::Formatters::TextFormatter
|
25
|
+
else
|
26
|
+
TableBeet::Formatters::HTMLFormatter
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'table_beet/reporter'
|
2
|
+
require 'table_beet/loader'
|
3
|
+
|
4
|
+
module TableBeet
|
5
|
+
class Runner
|
6
|
+
def initialize(config = {})
|
7
|
+
@config = config
|
8
|
+
end
|
9
|
+
|
10
|
+
def run
|
11
|
+
loader = TableBeet::Loader.new(@config)
|
12
|
+
number_of_load = loader.load
|
13
|
+
|
14
|
+
# TOOD logger..?
|
15
|
+
if number_of_load.zero?
|
16
|
+
puts "[warn] There are no loaded file with specified option."
|
17
|
+
puts " finder => #{loader.display_pattern}"
|
18
|
+
end
|
19
|
+
|
20
|
+
TableBeet::Reporter.build(@config)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require 'method_source'
|
3
|
+
|
4
|
+
module TableBeet
|
5
|
+
class Step
|
6
|
+
attr_reader :name, :file, :lineno
|
7
|
+
|
8
|
+
def initialize(method)
|
9
|
+
@method = method
|
10
|
+
@name = method.name.to_s
|
11
|
+
@file, @lineno = method.source_location
|
12
|
+
end
|
13
|
+
|
14
|
+
def id
|
15
|
+
@method.hash
|
16
|
+
end
|
17
|
+
|
18
|
+
def source
|
19
|
+
@method.comment + @method.source
|
20
|
+
end
|
21
|
+
|
22
|
+
def location
|
23
|
+
File.expand_path(@file) + ":" + @lineno.to_s
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'turnip'
|
2
|
+
|
3
|
+
module TableBeet
|
4
|
+
class World
|
5
|
+
#
|
6
|
+
# @return [Hash] The hash that { scope name => Array of ::TableBeet:Step }
|
7
|
+
#
|
8
|
+
def self.scopes
|
9
|
+
scopes = Hash.new {|hash, key| hash[key] = []}
|
10
|
+
|
11
|
+
RSpec.configuration.include_or_extend_modules.each do |_, mod, tags|
|
12
|
+
space = Space.new(mod)
|
13
|
+
step_names = space.define_steps
|
14
|
+
next if step_names.empty?
|
15
|
+
|
16
|
+
scope_name = tags.keys.first
|
17
|
+
|
18
|
+
step_names.each do |name|
|
19
|
+
scopes[scope_name] << Step.new(space.method(name))
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
scopes
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
class Space
|
29
|
+
def initialize(mod)
|
30
|
+
extend(mod)
|
31
|
+
end
|
32
|
+
|
33
|
+
def define_steps
|
34
|
+
methods.grep(/^match: (?<name>.+)/) { $~[:name] }
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/lib/table_beet.rb
ADDED
data/table_beet.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'table_beet/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "table_beet"
|
8
|
+
gem.version = TableBeet::VERSION
|
9
|
+
gem.authors = ["Wataru MIYAGUNI"]
|
10
|
+
gem.email = ["gonngo@gmail.com"]
|
11
|
+
gem.description = %q{Reference generator for Turnip steps of exists}
|
12
|
+
gem.summary = %q{Reference generator for Turnip steps of exists}
|
13
|
+
gem.homepage = "https://github.com/gongo/table_beet"
|
14
|
+
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ["lib"]
|
19
|
+
|
20
|
+
gem.add_dependency 'turnip'
|
21
|
+
gem.add_dependency 'slop'
|
22
|
+
gem.add_dependency 'method_source'
|
23
|
+
gem.add_development_dependency 'debugger'
|
24
|
+
end
|