magic_recipes 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/magic_recipes/postgresql.rb +1 -0
- data/lib/magic_recipes/rvm.rb +8 -1
- metadata +17 -27
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7ad7ae7167f3661d445216692316afe5cba23f7b
|
4
|
+
data.tar.gz: 05d9a88790493b30f2d4ba02ee345bccf60e8474
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8e9a4e4eb637544a3eb5c08111781749f711b52ef271b442b5a83178abb490f38becced4d9a3fd5eb8c7cbd0ce344b53b942d55d605a1875b3fe2629fbec47c4
|
7
|
+
data.tar.gz: e5d3e826b1f8ef3bbd8dadff26e0c9b1b3efc6ebb8a8d951fbfde4f3828f69b57a702c682c7e1c5bdbd59eeb60c6fd0342ab73eb9d44350d0a3844198bbe0a6b
|
@@ -92,6 +92,7 @@ module MagicRecipes
|
|
92
92
|
desc "Generate the database.yml configuration file."
|
93
93
|
task :setup, roles: :app do
|
94
94
|
run "#{sudo if use_sudo} mkdir -p #{shared_path}/config"
|
95
|
+
run "#{sudo if use_sudo} chmod -R 777 #{shared_path}/config"
|
95
96
|
template "postgresql.yml.erb", "#{shared_path}/config/postgres_#{rails_env}.yml"
|
96
97
|
end
|
97
98
|
after "deploy:setup", "postgresql:setup"
|
data/lib/magic_recipes/rvm.rb
CHANGED
@@ -27,7 +27,7 @@ module MagicRecipes
|
|
27
27
|
# set :rvm_install_ruby_params, '--1.9' # for jruby/rbx default to 1.9 mode
|
28
28
|
# before 'deploy:setup', 'rvm:install_rvm' # install RVM
|
29
29
|
# before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset, or:
|
30
|
-
|
30
|
+
before 'deploy:setup', 'rvm:create_gemset' # only create gemset
|
31
31
|
|
32
32
|
|
33
33
|
set_default :rails_env, 'production'
|
@@ -57,6 +57,13 @@ module MagicRecipes
|
|
57
57
|
set :bundle_dir, "#{rvm_path}/gems/#{rvm_ruby_string}"
|
58
58
|
set :bundle_flags, "--deployment --verbose"
|
59
59
|
|
60
|
+
namespace :rvm do
|
61
|
+
desc "Create gemset"
|
62
|
+
rvm_task :create_gemset do
|
63
|
+
run "#{rvm_cmd} --create"
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
60
67
|
# eof
|
61
68
|
|
62
69
|
end
|
metadata
CHANGED
@@ -1,78 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magic_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.13
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- torsten wetzel
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-05-04 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 3.2.6
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: 3.2.6
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: capistrano
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rvm-capistrano
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rspec-rails
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
description: Our capistrano recipes for nginx, passenger, thin, private_pub, .. include
|
@@ -153,26 +144,25 @@ files:
|
|
153
144
|
homepage: http://berlinmagic.com
|
154
145
|
licenses:
|
155
146
|
- MIT
|
147
|
+
metadata: {}
|
156
148
|
post_install_message:
|
157
149
|
rdoc_options: []
|
158
150
|
require_paths:
|
159
151
|
- lib
|
160
152
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
153
|
requirements:
|
163
|
-
- -
|
154
|
+
- - '>='
|
164
155
|
- !ruby/object:Gem::Version
|
165
156
|
version: '0'
|
166
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
-
none: false
|
168
158
|
requirements:
|
169
|
-
- -
|
159
|
+
- - '>='
|
170
160
|
- !ruby/object:Gem::Version
|
171
161
|
version: '0'
|
172
162
|
requirements: []
|
173
163
|
rubyforge_project:
|
174
|
-
rubygems_version: 1.
|
164
|
+
rubygems_version: 2.1.11
|
175
165
|
signing_key:
|
176
|
-
specification_version:
|
166
|
+
specification_version: 4
|
177
167
|
summary: MagicRecipes .. some capistrano recipes for our deployment.
|
178
168
|
test_files: []
|