-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
. upgraded to padrino 0.11.1 / sinatra-simple-navigation 3.6.0
- Loading branch information
Showing
15 changed files
with
204 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
:orm: none | ||
:test: none | ||
:mock: none | ||
:script: none | ||
:renderer: haml | ||
:stylesheet: none | ||
:namespace: Padrino2 | ||
:migration_format: number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
.sass-cache | ||
.components | ||
.DS_Store | ||
log/**/* | ||
tmp/**/* | ||
bin/* | ||
vendor/gems/* | ||
!vendor/gems/cache/ | ||
.sass-cache/* | ||
db/*.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,36 @@ | ||
source :rubygems | ||
source 'https://rubygems.org' | ||
|
||
# Distribute your app as a gem | ||
# gemspec | ||
|
||
# Server requirements | ||
# gem 'thin' # or mongrel | ||
# gem 'trinidad', :platform => 'jruby' | ||
|
||
# Optional JSON codec (faster performance) | ||
# gem 'oj' | ||
|
||
# Project requirements | ||
gem 'rake' | ||
gem 'rack-flash' | ||
gem 'thin' # or mongrel | ||
|
||
# Component requirements | ||
gem 'haml' | ||
gem 'sass' | ||
|
||
# Test requirements | ||
|
||
# Padrino | ||
gem 'padrino', '0.9.29' | ||
# Padrino Stable Gem | ||
gem 'padrino', '0.11.1' | ||
|
||
# Or Padrino Edge | ||
# gem 'padrino', :github => 'padrino/padrino-framework' | ||
|
||
# Or Individual Gems | ||
# %w(core gen helpers cache mailer admin).each do |g| | ||
# gem 'padrino-' + g, '0.11.1' | ||
# end | ||
|
||
|
||
gem 'sinatra-simple-navigation', "3.3.4", :require => 'sinatra/simple-navigation' | ||
gem 'sinatra-simple-navigation', '3.6.0', :require => 'sinatra/simple-navigation' | ||
gem 'i18n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
require 'bundler/setup' | ||
require 'padrino-core/cli/rake' | ||
|
||
PadrinoTasks.init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
SimpleNavigationApp.controller do | ||
|
||
get '/' do | ||
render 'index' | ||
end | ||
|
||
get '/:all' do | ||
get '/*' do | ||
render 'index' | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
require ::File.dirname(__FILE__) + '/config/boot.rb' | ||
run Padrino.application | ||
#!/usr/bin/env rackup | ||
# encoding: utf-8 | ||
|
||
# This file can be used to start Padrino, | ||
# just execute it from the command line. | ||
|
||
require File.expand_path("../config/boot.rb", __FILE__) | ||
|
||
run Padrino.application |
Oops, something went wrong.