Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
jedfoster committed Oct 19, 2012
1 parent da6b6dc commit 6e90d87
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 28 deletions.
15 changes: 8 additions & 7 deletions Gemfile
@@ -1,15 +1,16 @@
source 'http://rubygems.org'

gem 'sinatra'
gem 'sinatra-partial'
gem 'thin'
gem 'jammit'

gem 'sass'
gem 'compass'
gem 'sinatra-partial'
gem 'stipe'

gem 'bourbon-compass'
gem 'rake'
gem 'jammit'
gem 'susy'
gem 'sassy-buttons'
gem 'breakpoint'
gem 'singularitygs'
gem 'sassy-buttons'
gem 'singularitygs'
gem 'stipe'
gem 'susy'
2 changes: 0 additions & 2 deletions Gemfile.lock
Expand Up @@ -28,7 +28,6 @@ GEM
rack (1.4.1)
rack-protection (1.2.0)
rack
rake (0.9.2.2)
sass (3.2.1)
sassy-buttons (0.1.4)
compass (>= 0.12.2)
Expand Down Expand Up @@ -68,7 +67,6 @@ DEPENDENCIES
breakpoint
compass
jammit
rake
sass
sassy-buttons
sinatra
Expand Down
32 changes: 13 additions & 19 deletions sassmeister.rb
@@ -1,28 +1,31 @@
# Those little ditties that Sinara needs to make the magic happen
# -----------------------------------------------------------------------
require 'rubygems'
require 'sass'
require 'compass'
require 'stipe'
require 'bourbon-compass'
require 'susy'
require 'sassy-buttons'
require 'breakpoint'
require 'singularitygs'

# If you're using bundler, you will need to add this
require 'bundler/setup'

require 'sinatra'
require 'sinatra/partial'

require 'sass'
require 'compass'

require 'bourbon-compass'
require 'breakpoint'
require 'sassy-buttons'
require 'singularitygs'
require 'stipe'
require 'susy'


set :partial_template_engine, :erb


helpers do
include ERB::Util
alias_method :code, :html_escape


# From: http://rubyquicktips.com/post/2625525454/random-array-item
class Array
def random
Expand All @@ -42,16 +45,6 @@ def random
"susy" => 'susy',
}

# configure do
# Compass.add_project_configuration(File.join(Sinatra::Application.root, 'config.rb'))
# end

# # at a minimum, the main sass file must reside within the ./views directory. here, we create a ./views/stylesheets directory where all of the sass files can safely reside.
# get '/stylesheets/:name.css' do
# content_type 'text/css', :charset => 'utf-8'
# scss(:"../sass/#{params[:name]}", Compass.sass_engine_options )
# end


get '/' do
@plugins = plugins
Expand Down Expand Up @@ -84,6 +77,7 @@ def random
end
end


get '/thankyou' do
erb :thankyou
end

0 comments on commit 6e90d87

Please sign in to comment.