sinatra-static-bp 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/certs/j15e.pem +20 -0
- data/lib/skeleton/Gemfile +2 -0
- data/lib/skeleton/README.md.erb +1 -1
- data/lib/skeleton/app.rb +14 -12
- data/lib/skeleton/config/deploy.rb +2 -1
- data/lib/skeleton/views/index.erb +13 -0
- metadata +35 -6
- metadata.gz.sig +0 -0
data.tar.gz.sig
ADDED
Binary file
|
data/certs/j15e.pem
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDRjCCAi6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBJMRswGQYDVQQDDBJqZWFu
|
3
|
+
cGhpbGlwcGUuZG95bGUxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT
|
4
|
+
8ixkARkWA2NvbTAeFw0xMzAzMTEyMjM5MjNaFw0xNDAzMTEyMjM5MjNaMEkxGzAZ
|
5
|
+
BgNVBAMMEmplYW5waGlsaXBwZS5kb3lsZTEVMBMGCgmSJomT8ixkARkWBWdtYWls
|
6
|
+
MRMwEQYKCZImiZPyLGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
|
7
|
+
CgKCAQEApQtzOyMoi48Pc0BRF++BXc2ulECpOypwYqnzIdbE5+iLownixYB3KkKm
|
8
|
+
VxIlo9pYWIp5JR+Uphv/P9vKJAIjfldtlus6o8xFT0HujXyEMMbFMGHH01PvDYkx
|
9
|
+
vnMw5O6YVdtbsKvjknB4JOcOmxQAeXBunLBJk0huOLALlDW38UZF3AKNVPpR+Gst
|
10
|
+
gTZCIAPq22wB9I0HYfyCitjrMVK4jTHgjPjNNQn4BhuhkqEWr5JkVtipGCUFyl45
|
11
|
+
2ISskOPckLW/qwCq4vyjVK6JIZb2Ei9DHtip44u7KjFEX5QdvHyu81xatMmtKvYn
|
12
|
+
WWKZ/2HCdWRRiPSuHmBR/QlMlUN69QIDAQABozkwNzAJBgNVHRMEAjAAMB0GA1Ud
|
13
|
+
DgQWBBQk1vhL7od7qZLEfBssQNqzht1wwDALBgNVHQ8EBAMCBLAwDQYJKoZIhvcN
|
14
|
+
AQEFBQADggEBADglXYkTD1Btadr2ehKDOSATfLVeh9ThwZ6PeKP8bPWKOrHPbTN8
|
15
|
+
Aandvv6g6samg7p/viRwsE29MTAcfqCdFp8v35ase2PyiXrJ0QJP7r3CBo+nwGVO
|
16
|
+
hybD84/vTA9CSBaFX2Xtj0dC5o6eW6/vWoVeJUcMNX/O/r8lRWn24WhFkEzW9n1R
|
17
|
+
2CVeZs78AXWTyU0l0dyswpav0AczXg4UK3Y2M9oYyBmdfem6m614SOrOFBIGjmF4
|
18
|
+
kzgF4O2OL+8O23we4E1LvfRn5gV77Dij6s9V4HHzMBuLwnNb8T+6lOnUWbtiIddD
|
19
|
+
e8c8i7PlrzhVJ/8sXUJsCkyE8d2MyRyjlxM=
|
20
|
+
-----END CERTIFICATE-----
|
data/lib/skeleton/Gemfile
CHANGED
data/lib/skeleton/README.md.erb
CHANGED
@@ -12,7 +12,7 @@ Very simple website for <%= project_name %>.
|
|
12
12
|
|
13
13
|
To deploy (if you dare) configure the required s3 crendentials in `config/s3.yml`, then use capistrano.
|
14
14
|
|
15
|
-
cap [
|
15
|
+
cap [development|production] deploy
|
16
16
|
|
17
17
|
http://dev.<%= project_name %>.com.s3-website-us-east-1.amazonaws.com
|
18
18
|
http://www.<%= project_name %>.com.s3-website-us-east-1.amazonaws.com
|
data/lib/skeleton/app.rb
CHANGED
@@ -8,21 +8,23 @@ class App < Sinatra::Base
|
|
8
8
|
set :root, File.dirname(__FILE__)
|
9
9
|
register Sinatra::AdvancedRoutes
|
10
10
|
register Sinatra::AssetPack
|
11
|
+
register Sinatra::Reloader if development?
|
11
12
|
|
12
13
|
assets {
|
13
|
-
serve '/',
|
14
|
-
serve '/fonts',
|
15
|
-
serve '/js',
|
16
|
-
serve '/css',
|
17
|
-
serve '/img',
|
14
|
+
serve '/', from: 'assets/public'
|
15
|
+
serve '/fonts', from: 'assets/fonts'
|
16
|
+
serve '/js', from: 'assets/js'
|
17
|
+
serve '/css', from: 'assets/css'
|
18
|
+
serve '/img', from: 'assets/img'
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
# Specify your assets packages
|
21
|
+
# js :app, '/js/app.js', [
|
22
|
+
# '/js/vendor/jquery.js',
|
23
|
+
# '/js/main.js'
|
24
|
+
# ]
|
25
|
+
# css :app, '/css/application.css', [
|
26
|
+
# '/css/styles.css',
|
27
|
+
# ]
|
26
28
|
|
27
29
|
js_compression :jsmin # Optional
|
28
30
|
css_compression :simple # Optional
|
@@ -6,7 +6,8 @@ set :default_stage, 'development'
|
|
6
6
|
set :s3, YAML::load( File.open( File.expand_path( '../s3.yml', __FILE__ ) ) )
|
7
7
|
|
8
8
|
before 'deploy' do
|
9
|
-
run_locally "rm -rf public
|
9
|
+
run_locally "rm -rf ./public"
|
10
|
+
run_locally "mkdir public"
|
10
11
|
run_locally "export RACK_ENV=production && bundle exec rake sinatra:export"
|
11
12
|
run_locally "export RACK_ENV=production && bundle exec rake assetpack:build"
|
12
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,42 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-static-bp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jean-Philippe Doyle
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
|
-
cert_chain:
|
11
|
+
cert_chain:
|
12
|
+
- !binary |-
|
13
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURSakNDQWk2Z0F3SUJB
|
14
|
+
Z0lCQURBTkJna3Foa2lHOXcw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Q3cVpMRWZC
|
30
|
+
c3NRTnF6aHQxd3dEQUxCZ05WSFE4RUJBTUNCTEF3RFFZSktvWklodmNOCkFR
|
31
|
+
RUZCUUFEZ2dFQkFEZ2xYWWtURDFCdGFkcjJlaEtET1NBVGZMVmVoOVRod1o2
|
32
|
+
UGVLUDhiUFdLT3JIUGJUTjgKQWFuZHZ2Nmc2c2FtZzdwL3ZpUndzRTI5TVRB
|
33
|
+
Y2ZxQ2RGcDh2MzVhc2UyUHlpWHJKMFFKUDdyM0NCbytud0dWTwpoeWJEODQv
|
34
|
+
dlRBOUNTQmFGWDJYdGowZEM1bzZlVzYvdldvVmVKVWNNTlgvTy9yOGxSV24y
|
35
|
+
NFdoRmtFelc5bjFSCjJDVmVaczc4QVhXVHlVMGwwZHlzd3BhdjBBY3pYZzRV
|
36
|
+
SzNZMk05b1l5Qm1kZmVtNm02MTRTT3JPRkJJR2ptRjQKa3pnRjRPMk9MKzhP
|
37
|
+
MjN3ZTRFMUx2ZlJuNWdWNzdEaWo2czlWNEhIek1CdUx3bk5iOFQrNmxPblVX
|
38
|
+
YnRpSWRkRAplOGM4aTdQbHJ6aFZKLzhzWFVKc0NreUU4ZDJNeVJ5amx4TT0K
|
39
|
+
LS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
|
12
40
|
date: 2013-01-03 00:00:00.000000000 Z
|
13
41
|
dependencies: []
|
14
42
|
description: Boilerplate for simple static ruby applications. Amazon S3 deploy with
|
@@ -30,6 +58,8 @@ files:
|
|
30
58
|
- lib/skeleton/Gemfile
|
31
59
|
- lib/skeleton/Rakefile
|
32
60
|
- lib/skeleton/README.md.erb
|
61
|
+
- lib/skeleton/views/index.erb
|
62
|
+
- certs/j15e.pem
|
33
63
|
- LICENSE
|
34
64
|
- README.md
|
35
65
|
- bin/sinatra-static-bp
|
@@ -40,22 +70,21 @@ rdoc_options: []
|
|
40
70
|
require_paths:
|
41
71
|
- lib
|
42
72
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
43
74
|
requirements:
|
44
75
|
- - ! '>='
|
45
76
|
- !ruby/object:Gem::Version
|
46
77
|
version: '0'
|
47
|
-
none: false
|
48
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
49
80
|
requirements:
|
50
81
|
- - ! '>='
|
51
82
|
- !ruby/object:Gem::Version
|
52
83
|
version: '0'
|
53
|
-
none: false
|
54
84
|
requirements: []
|
55
85
|
rubyforge_project:
|
56
|
-
rubygems_version: 1.8.
|
86
|
+
rubygems_version: 1.8.25
|
57
87
|
signing_key:
|
58
88
|
specification_version: 3
|
59
89
|
summary: sinatra-static-bp
|
60
90
|
test_files: []
|
61
|
-
has_rdoc:
|
metadata.gz.sig
ADDED
Binary file
|