├── .bundle └── config ├── .gitignore ├── .rvmrc ├── Gemfile ├── Gemfile.lock ├── README.md ├── Rakefile ├── app.rb ├── config.ru ├── helpers ├── helper1.rb └── init.rb ├── models ├── init.rb ├── picture.rb └── user.rb ├── public ├── css │ └── main.css └── favicon.ico ├── routes ├── admin.rb ├── init.rb └── user.rb ├── sinatra-template ├── .bundle │ └── config ├── Gemfile ├── Gemfile.lock ├── Rakefile └── helpers │ ├── helper1.rb │ └── init.rb ├── test ├── acceptance │ ├── acceptance_helper.rb │ └── home_test.rb ├── models │ └── user_test.rb ├── routes │ └── user_test.rb └── test_helper.rb └── views ├── index.erb ├── layout.erb └── my_partial.erb /.bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_WITHOUT: production:staging 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | doc 2 | .yardoc 3 | tags 4 | -------------------------------------------------------------------------------- /.rvmrc: -------------------------------------------------------------------------------- 1 | rvm ruby-1.9.3-p125@sinatra-template --create 2 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/Rakefile -------------------------------------------------------------------------------- /app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/app.rb -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/config.ru -------------------------------------------------------------------------------- /helpers/helper1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/helpers/helper1.rb -------------------------------------------------------------------------------- /helpers/init.rb: -------------------------------------------------------------------------------- 1 | require_relative 'helper1' 2 | -------------------------------------------------------------------------------- /models/init.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/models/init.rb -------------------------------------------------------------------------------- /models/picture.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/models/user.rb -------------------------------------------------------------------------------- /public/css/main.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /routes/admin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/routes/admin.rb -------------------------------------------------------------------------------- /routes/init.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/routes/init.rb -------------------------------------------------------------------------------- /routes/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/routes/user.rb -------------------------------------------------------------------------------- /sinatra-template/.bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_WITHOUT: production:staging 3 | -------------------------------------------------------------------------------- /sinatra-template/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/sinatra-template/Gemfile -------------------------------------------------------------------------------- /sinatra-template/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/sinatra-template/Gemfile.lock -------------------------------------------------------------------------------- /sinatra-template/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/sinatra-template/Rakefile -------------------------------------------------------------------------------- /sinatra-template/helpers/helper1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/sinatra-template/helpers/helper1.rb -------------------------------------------------------------------------------- /sinatra-template/helpers/init.rb: -------------------------------------------------------------------------------- 1 | require_relative 'helper1' 2 | -------------------------------------------------------------------------------- /test/acceptance/acceptance_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/test/acceptance/acceptance_helper.rb -------------------------------------------------------------------------------- /test/acceptance/home_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/test/acceptance/home_test.rb -------------------------------------------------------------------------------- /test/models/user_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/test/models/user_test.rb -------------------------------------------------------------------------------- /test/routes/user_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/test/routes/user_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- 1 | ENV['RACK_ENV'] = 'test' 2 | -------------------------------------------------------------------------------- /views/index.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/views/index.erb -------------------------------------------------------------------------------- /views/layout.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oren/sinatra-template/HEAD/views/layout.erb -------------------------------------------------------------------------------- /views/my_partial.erb: -------------------------------------------------------------------------------- 1 | I am a partial 2 | --------------------------------------------------------------------------------