sinatra-static-bp 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -2
- data/lib/skeleton/Gemfile +13 -15
- data/lib/skeleton/README.md.erb +1 -1
- data/lib/skeleton/Rakefile +2 -1
- data/lib/skeleton/app.rb +0 -6
- data/lib/skeleton/config/deploy.rb +1 -1
- metadata +4 -2
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# sinatra-static-bp
|
2
2
|
|
3
|
-
> Boilerplate
|
4
|
-
|
3
|
+
> Boilerplate for simple static ruby applications.
|
4
|
+
Amazon S3 deploy with complete assets management.
|
5
5
|
|
6
6
|
## Usage
|
7
7
|
|
data/lib/skeleton/Gemfile
CHANGED
@@ -1,21 +1,19 @@
|
|
1
|
-
source
|
2
|
-
ruby
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
ruby '1.9.3'
|
3
3
|
|
4
|
-
gem
|
5
|
-
gem
|
4
|
+
gem 'sinatra', :require => 'sinatra/base'
|
5
|
+
gem 'sinatra-assetpack',
|
6
6
|
:git => 'git://github.com/hooktstudios/sinatra-assetpack.git',
|
7
|
-
:require =>
|
8
|
-
gem
|
9
|
-
:require =>
|
10
|
-
gem
|
11
|
-
|
12
|
-
|
13
|
-
gem
|
14
|
-
gem "rack"
|
15
|
-
gem "sass"
|
7
|
+
:require => 'sinatra/assetpack'
|
8
|
+
gem 'sinatra-advanced-routes',
|
9
|
+
:require => 'sinatra/advanced_routes'
|
10
|
+
gem 'sinatra-export'
|
11
|
+
gem 'rake'
|
12
|
+
gem 'rack'
|
13
|
+
gem 'sass'
|
16
14
|
|
17
15
|
group :deploy do
|
18
|
-
gem
|
19
|
-
gem
|
16
|
+
gem 'capistrano'
|
17
|
+
gem 's3-static-site',
|
20
18
|
:git => 'git://github.com/hooktstudios/s3-static-site.git'
|
21
19
|
end
|
data/lib/skeleton/README.md.erb
CHANGED
@@ -10,7 +10,7 @@ Very simple website for <%= project_name %>.
|
|
10
10
|
|
11
11
|
## Deploying
|
12
12
|
|
13
|
-
To deploy (if you dare) configure the
|
13
|
+
To deploy (if you dare) configure the required s3 crendentials in `config/s3.yml`, then use capistrano.
|
14
14
|
|
15
15
|
cap [dev|www] deploy
|
16
16
|
|
data/lib/skeleton/Rakefile
CHANGED
data/lib/skeleton/app.rb
CHANGED
@@ -7,6 +7,6 @@ set :s3, YAML::load( File.open( File.expand_path( '../s3.yml', __FILE__ ) ) )
|
|
7
7
|
|
8
8
|
before 'deploy' do
|
9
9
|
run_locally "rm -rf public/*"
|
10
|
-
run_locally "export RACK_ENV=production && bundle exec
|
10
|
+
run_locally "export RACK_ENV=production && bundle exec rake sinatra:export"
|
11
11
|
run_locally "export RACK_ENV=production && bundle exec rake assetpack:build"
|
12
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-static-bp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,8 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2013-01-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description: Boilerplate
|
14
|
+
description: Boilerplate for simple static ruby applications. Amazon S3 deploy with
|
15
|
+
complete assets management.
|
15
16
|
email: jeanphilippe.doyle@hooktstudios.com
|
16
17
|
executables:
|
17
18
|
- sinatra-static-bp
|
@@ -57,3 +58,4 @@ signing_key:
|
|
57
58
|
specification_version: 3
|
58
59
|
summary: sinatra-static-bp
|
59
60
|
test_files: []
|
61
|
+
has_rdoc:
|