Skip to content

Commit

Permalink
update gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ipc103 committed Sep 15, 2015
0 parents commit cf57b54
Show file tree
Hide file tree
Showing 17 changed files with 66 additions and 0 deletions.
Empty file added .gitignore
Empty file.
5 changes: 5 additions & 0 deletions .learn
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tags:
- tag1
languages:
- language1
resources: 0
3 changes: 3 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--color
--format documentation
--require spec_helper
17 changes: 17 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# A sample Gemfile
source "https://rubygems.org"

# gem "rails"

gem 'sinatra'
gem 'rake'
gem 'thin'
gem 'shotgun'
gem 'pry'
gem 'require_all'

group :test do
gem 'rspec'
gem 'capybara'
gem 'rack-test'
end
7 changes: 7 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#Learn.co Educational Content License

Copyright (c) 2015 Flatiron School, Inc

The Flatiron School, Inc. owns this Educational Content. However, the Flatiron School supports the development and availability of educational materials in the public domain. Therefore, the Flatiron School grants Users of the Flatiron Educational Content set forth in this repository certain rights to reuse, build upon and share such Educational Content subject to the terms of the Educational Content License set forth [here](http://learn.co/content-license) (http://learn.co/content-license). You must read carefully the terms and conditions contained in the Educational Content License as such terms govern access to and use of the Educational Content.

Flatiron School is willing to allow you access to and use of the Educational Content only on the condition that you accept all of the terms and conditions contained in the Educational Content License set forth [here](http://learn.co/content-license) (http://learn.co/content-license). By accessing and/or using the Educational Content, you are agreeing to all of the terms and conditions contained in the Educational Content License. If you do not agree to any or all of the terms of the Educational Content License, you are prohibited from accessing, reviewing or using in any way the Educational Content.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
tags:
languages:
resources:
---

# Sinatra Views Lab
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ENV["SINATRA_ENV"] ||= "development"

require_relative './config/environment'

# Type `rake -T` on your command line to see the available rake tasks.

task :console do
Pry.start
end
4 changes: 4 additions & 0 deletions app.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require './config/environment'

class App < Sinatra::Base
end
3 changes: 3 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require './config/environment'

run App
6 changes: 6 additions & 0 deletions config/environment.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ENV['SINATRA_ENV'] ||= "development"

require 'bundler/setup'
Bundler.require(:default, ENV['SINATRA_ENV'])

require './app'
Empty file added models/.keep
Empty file.
Empty file added public/images/.keep
Empty file.
Empty file added public/javascripts/.keep
Empty file.
Empty file added public/stylesheets/.keep
Empty file.
Empty file added spec/sinatra_views_lab_spec.rb
Empty file.
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require_relative '../config/environment.rb'

RSpec.configure do |config|

end
Empty file added views/.keep
Empty file.

0 comments on commit cf57b54

Please sign in to comment.