uberspacify 0.9.1 → 0.9.2
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/uberspacify/base.rb +7 -7
- data/lib/uberspacify/version.rb +1 -1
- metadata +3 -2
data/README.md
CHANGED
|
@@ -28,13 +28,13 @@ If you are using Rails' asset pipeline, add this line to your `Capfile`:
|
|
|
28
28
|
load 'deploy/assets'
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Now, you need to add a few lines regarding your Uberspace to your `config/deploy.rb`.
|
|
31
|
+
Now, you need to add a few lines regarding your Uberspace to your `config/deploy.rb`. If you haven't used Capistrano previously, it is safe to overwrite it and copy, paste & adapt the following:
|
|
32
32
|
|
|
33
33
|
```ruby
|
|
34
34
|
# include uberspacify base recipes
|
|
35
35
|
require 'uberspacify/base'
|
|
36
36
|
|
|
37
|
-
#
|
|
37
|
+
# comment this if you don't use MySQL
|
|
38
38
|
require 'uberspacify/mysql'
|
|
39
39
|
|
|
40
40
|
# the Uberspace server you are on
|
data/lib/uberspacify/base.rb
CHANGED
|
@@ -34,13 +34,13 @@ Capistrano::Configuration.instance.load do
|
|
|
34
34
|
default_run_options[:pty] = true
|
|
35
35
|
|
|
36
36
|
# callbacks
|
|
37
|
-
before 'deploy:setup',
|
|
38
|
-
before 'deploy:setup',
|
|
39
|
-
after 'deploy:setup',
|
|
40
|
-
after 'deploy:setup',
|
|
41
|
-
after 'deploy:setup',
|
|
42
|
-
|
|
43
|
-
after 'deploy',
|
|
37
|
+
before 'deploy:setup', 'rvm:install_rvm'
|
|
38
|
+
before 'deploy:setup', 'rvm:install_ruby'
|
|
39
|
+
after 'deploy:setup', 'uberspace:setup_svscan'
|
|
40
|
+
after 'deploy:setup', 'daemontools:setup_daemon'
|
|
41
|
+
after 'deploy:setup', 'apache:setup_reverse_proxy'
|
|
42
|
+
before 'deploy:finalize_update', 'deploy:symlink_shared'
|
|
43
|
+
after 'deploy', 'deploy:cleanup'
|
|
44
44
|
|
|
45
45
|
# custom recipes
|
|
46
46
|
namespace :uberspace do
|
data/lib/uberspacify/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: uberspacify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-11-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|
|
@@ -167,3 +167,4 @@ specification_version: 3
|
|
|
167
167
|
summary: Uberspacify helps you deploy a Ruby on Rails app on Uberspace, a popular
|
|
168
168
|
German shared hosting provider.
|
|
169
169
|
test_files: []
|
|
170
|
+
has_rdoc:
|