Build Status

##SnippeterOnSteroids ####by JSON team.

 {
   "JSON_team": {
     "member": {
       "name": "Dariusz Gafka",
       "github_acc": "<b><a href="https://github.com/dgafka">dgafka</a></b>"
     },
     "member": {
       "name": "Daniel Banecki",
       "github_acc": "<b><a href="https://github.com/Dejniel">Dejniel</a></b>"
     },
     "member": {
       "name": "Dawid Zawadzki",
       "github_acc": "<b><a href="https://github.com/ghost717">ghost717</a></b>"
     },
     "member": {
       "name": "Roman Józwiak",
       "github_acc": "<b><a href="https://github.com/gruchanet">gruchanet</a></b>"
     }
   }
 }
  • Ruby version: 2.1.1

  • Rails ver. 4.1.1

Used gems

Previously

  • Generic syntax highlighter

    gem 'pygments.rb', '0.5.4'
  • Markdown parser "Redcarpet is Ruby library for Markdown processing that smells like butterflies and popcorn."

    gem 'redcarpet', '3.1.1'
  • Rails integration with Sass"

    gem 'sass-rails', '~> 4.0.1'
  • Bootstrap - front-end framework

    gem 'bootstrap-sass', '~> 3.1.1'
  • Nice bootstrap template generator

    gem 'bootstrap-generators', '~> 3.1.1'
  • CSS Animation

    gem 'animate-scss' # gem 'animate-rails'
  • Paginator

    gem 'will_paginate', '~> 3.0.5'
    gem 'bootstrap-will_paginate', '~> 0.0.10'
  • Filter scopes

    gem 'has_scope', '~> 0.5.1'
  • Combobox overlay

    gem 'select2-rails', '~> 3.5.4'
  • Simplier form syntax

    gem 'simple_form', '~> 3.0.1'

New gems

  • Authentication system for GitHub

    gem 'omniauth-github', '1.1.1'
  • "A thin and fast web server"

    gem 'thin'

For testing purposes

  • Friendly testing framework

    gem 'rspec-rails'
  • Testing tool for simulating user interaction with website

    gem 'capybara', '~> 2.2.1'
  • Automatic & easier definition loading

    gem 'factory_girl_rails', '~> 4.4.1'
  • Database cleaner

    gem 'database_cleaner'
  • Selenium driver (for automatic tests)

    gem 'selenium-webdriver', '~> 2.41.0'
  • Helper for Select2 dropdown

    gem 'capybara-select2'

Features

Previously

CORE FEATURE
  • Coloful syntax depending on chosen syntax
Except standard features included in gems I added few additional features
  • Clickable table rows, which act as a link to certain snippet

  • Possibility to input TAB character in snippet form

  • Pagination with infinite scrolling

  • Simple search engine

  • Secured combobox

  • Responsive layout

  • Snippet preview with smooth scrolling

  • Form validation

  • My buttons :)

New features

  • Application deeply tested (87 examples)!

  • User account system - using a provider authentication, saves some informations to database

  • Authentication system - you cannot edit/delete someones else snippet

  • EVERYWHERE Avatars from GitHub EVERYWHERE

  • Searching snippets by user - Search engine extension

  • Still Responsive!

Thats all FOLKS!