capistrano-devops 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +35 -0
- data/Rakefile +1 -0
- data/capistrano-devops.gemspec +22 -0
- data/lib/capistrano-devops.rb +0 -0
- data/lib/capistrano/devops.rb +7 -0
- data/lib/capistrano/devops/base.rb +6 -0
- data/lib/capistrano/devops/papertrail.rb +1 -0
- data/lib/capistrano/devops/postgresql.rb +1 -0
- data/lib/capistrano/devops/rainbows.rb +1 -0
- data/lib/capistrano/devops/ssh.rb +1 -0
- data/lib/capistrano/devops/templates/rainbows.erb +14 -0
- data/lib/capistrano/devops/templates/rainbows_init.erb +84 -0
- data/lib/capistrano/devops/utilities.rb +1 -0
- data/lib/capistrano/devops/version.rb +5 -0
- data/lib/capistrano/tasks/papertrail.rake +50 -0
- data/lib/capistrano/tasks/postgresql.rake +9 -0
- data/lib/capistrano/tasks/rainbows.rake +33 -0
- data/lib/capistrano/tasks/set_rails_env.rake +5 -0
- data/lib/capistrano/tasks/ssh.rake +17 -0
- data/lib/capistrano/tasks/utilities.rake +31 -0
- data/sample_app/.gitignore +16 -0
- data/sample_app/Capfile +30 -0
- data/sample_app/Gemfile +54 -0
- data/sample_app/Gemfile.lock +185 -0
- data/sample_app/README.rdoc +28 -0
- data/sample_app/Rakefile +6 -0
- data/sample_app/Vagrantfile +59 -0
- data/sample_app/app/assets/images/.keep +0 -0
- data/sample_app/app/assets/javascripts/application.js +16 -0
- data/sample_app/app/assets/stylesheets/application.css +13 -0
- data/sample_app/app/controllers/application_controller.rb +5 -0
- data/sample_app/app/controllers/concerns/.keep +0 -0
- data/sample_app/app/helpers/application_helper.rb +2 -0
- data/sample_app/app/mailers/.keep +0 -0
- data/sample_app/app/models/.keep +0 -0
- data/sample_app/app/models/concerns/.keep +0 -0
- data/sample_app/app/views/layouts/application.html.erb +14 -0
- data/sample_app/bin/bundle +3 -0
- data/sample_app/bin/rails +4 -0
- data/sample_app/bin/rake +4 -0
- data/sample_app/config.ru +4 -0
- data/sample_app/config/application.rb +23 -0
- data/sample_app/config/boot.rb +4 -0
- data/sample_app/config/database.yml +25 -0
- data/sample_app/config/deploy.rb +60 -0
- data/sample_app/config/deploy/production.rb +49 -0
- data/sample_app/config/environment.rb +5 -0
- data/sample_app/config/environments/development.rb +29 -0
- data/sample_app/config/environments/production.rb +80 -0
- data/sample_app/config/environments/test.rb +36 -0
- data/sample_app/config/initializers/backtrace_silencers.rb +7 -0
- data/sample_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/sample_app/config/initializers/inflections.rb +16 -0
- data/sample_app/config/initializers/mime_types.rb +5 -0
- data/sample_app/config/initializers/secret_token.rb +12 -0
- data/sample_app/config/initializers/session_store.rb +3 -0
- data/sample_app/config/initializers/wrap_parameters.rb +14 -0
- data/sample_app/config/locales/en.yml +23 -0
- data/sample_app/config/routes.rb +56 -0
- data/sample_app/db/seeds.rb +7 -0
- data/sample_app/lib/assets/.keep +0 -0
- data/sample_app/lib/tasks/.keep +0 -0
- data/sample_app/log/.keep +0 -0
- data/sample_app/public/404.html +58 -0
- data/sample_app/public/422.html +58 -0
- data/sample_app/public/500.html +57 -0
- data/sample_app/public/favicon.ico +0 -0
- data/sample_app/public/robots.txt +5 -0
- data/sample_app/test/controllers/.keep +0 -0
- data/sample_app/test/fixtures/.keep +0 -0
- data/sample_app/test/helpers/.keep +0 -0
- data/sample_app/test/integration/.keep +0 -0
- data/sample_app/test/mailers/.keep +0 -0
- data/sample_app/test/models/.keep +0 -0
- data/sample_app/test/test_helper.rb +15 -0
- data/sample_app/vendor/assets/javascripts/.keep +0 -0
- data/sample_app/vendor/assets/stylesheets/.keep +0 -0
- metadata +152 -0
@@ -0,0 +1,7 @@
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
+
#
|
4
|
+
# Examples:
|
5
|
+
#
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
ENV["RAILS_ENV"] ||= "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
ActiveRecord::Migration.check_pending!
|
7
|
+
|
8
|
+
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
9
|
+
#
|
10
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
11
|
+
# -- they do not yet inherit this setting
|
12
|
+
fixtures :all
|
13
|
+
|
14
|
+
# Add more helper methods to be used by all tests here...
|
15
|
+
end
|
File without changes
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-devops
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- tristan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-11-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: capistrano
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: capistrano-bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: yay
|
42
|
+
email:
|
43
|
+
- tristan.gomez@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- .gitignore
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- capistrano-devops.gemspec
|
54
|
+
- lib/capistrano-devops.rb
|
55
|
+
- lib/capistrano/devops.rb
|
56
|
+
- lib/capistrano/devops/base.rb
|
57
|
+
- lib/capistrano/devops/papertrail.rb
|
58
|
+
- lib/capistrano/devops/postgresql.rb
|
59
|
+
- lib/capistrano/devops/rainbows.rb
|
60
|
+
- lib/capistrano/devops/ssh.rb
|
61
|
+
- lib/capistrano/devops/templates/rainbows.erb
|
62
|
+
- lib/capistrano/devops/templates/rainbows_init.erb
|
63
|
+
- lib/capistrano/devops/utilities.rb
|
64
|
+
- lib/capistrano/devops/version.rb
|
65
|
+
- lib/capistrano/tasks/papertrail.rake
|
66
|
+
- lib/capistrano/tasks/postgresql.rake
|
67
|
+
- lib/capistrano/tasks/rainbows.rake
|
68
|
+
- lib/capistrano/tasks/set_rails_env.rake
|
69
|
+
- lib/capistrano/tasks/ssh.rake
|
70
|
+
- lib/capistrano/tasks/utilities.rake
|
71
|
+
- sample_app/.gitignore
|
72
|
+
- sample_app/Capfile
|
73
|
+
- sample_app/Gemfile
|
74
|
+
- sample_app/Gemfile.lock
|
75
|
+
- sample_app/README.rdoc
|
76
|
+
- sample_app/Rakefile
|
77
|
+
- sample_app/Vagrantfile
|
78
|
+
- sample_app/app/assets/images/.keep
|
79
|
+
- sample_app/app/assets/javascripts/application.js
|
80
|
+
- sample_app/app/assets/stylesheets/application.css
|
81
|
+
- sample_app/app/controllers/application_controller.rb
|
82
|
+
- sample_app/app/controllers/concerns/.keep
|
83
|
+
- sample_app/app/helpers/application_helper.rb
|
84
|
+
- sample_app/app/mailers/.keep
|
85
|
+
- sample_app/app/models/.keep
|
86
|
+
- sample_app/app/models/concerns/.keep
|
87
|
+
- sample_app/app/views/layouts/application.html.erb
|
88
|
+
- sample_app/bin/bundle
|
89
|
+
- sample_app/bin/rails
|
90
|
+
- sample_app/bin/rake
|
91
|
+
- sample_app/config.ru
|
92
|
+
- sample_app/config/application.rb
|
93
|
+
- sample_app/config/boot.rb
|
94
|
+
- sample_app/config/database.yml
|
95
|
+
- sample_app/config/deploy.rb
|
96
|
+
- sample_app/config/deploy/production.rb
|
97
|
+
- sample_app/config/environment.rb
|
98
|
+
- sample_app/config/environments/development.rb
|
99
|
+
- sample_app/config/environments/production.rb
|
100
|
+
- sample_app/config/environments/test.rb
|
101
|
+
- sample_app/config/initializers/backtrace_silencers.rb
|
102
|
+
- sample_app/config/initializers/filter_parameter_logging.rb
|
103
|
+
- sample_app/config/initializers/inflections.rb
|
104
|
+
- sample_app/config/initializers/mime_types.rb
|
105
|
+
- sample_app/config/initializers/secret_token.rb
|
106
|
+
- sample_app/config/initializers/session_store.rb
|
107
|
+
- sample_app/config/initializers/wrap_parameters.rb
|
108
|
+
- sample_app/config/locales/en.yml
|
109
|
+
- sample_app/config/routes.rb
|
110
|
+
- sample_app/db/seeds.rb
|
111
|
+
- sample_app/lib/assets/.keep
|
112
|
+
- sample_app/lib/tasks/.keep
|
113
|
+
- sample_app/log/.keep
|
114
|
+
- sample_app/public/404.html
|
115
|
+
- sample_app/public/422.html
|
116
|
+
- sample_app/public/500.html
|
117
|
+
- sample_app/public/favicon.ico
|
118
|
+
- sample_app/public/robots.txt
|
119
|
+
- sample_app/test/controllers/.keep
|
120
|
+
- sample_app/test/fixtures/.keep
|
121
|
+
- sample_app/test/helpers/.keep
|
122
|
+
- sample_app/test/integration/.keep
|
123
|
+
- sample_app/test/mailers/.keep
|
124
|
+
- sample_app/test/models/.keep
|
125
|
+
- sample_app/test/test_helper.rb
|
126
|
+
- sample_app/vendor/assets/javascripts/.keep
|
127
|
+
- sample_app/vendor/assets/stylesheets/.keep
|
128
|
+
homepage: ''
|
129
|
+
licenses:
|
130
|
+
- MIT
|
131
|
+
metadata: {}
|
132
|
+
post_install_message:
|
133
|
+
rdoc_options: []
|
134
|
+
require_paths:
|
135
|
+
- lib
|
136
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
requirements: []
|
147
|
+
rubyforge_project:
|
148
|
+
rubygems_version: 2.0.3
|
149
|
+
signing_key:
|
150
|
+
specification_version: 4
|
151
|
+
summary: yay
|
152
|
+
test_files: []
|