rumination 0.15 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rumination/tasks/deploy.rake +18 -18
- data/lib/rumination/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5a826f5ac3110df580e4d615cfa76341bdb3fad
|
4
|
+
data.tar.gz: ee05a8ad71d89b32109f26166a01ec281a2f4870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bec46a86c23c5f101c12db69cd75ab17101a0562187dab408beab6fd4725aed4a8a7e345791354a924cf201cafbd6d71d3f39da801c311b7643be2c7887807ff
|
7
|
+
data.tar.gz: 4b786763d91b6649e90f1398efce19d4c3d64797f7bfc07874eb02ee70bcf257779fc6b2238a7b7a366ecdfcee32f297a2c0effc28887325dbaee10a9d3f8a21
|
@@ -3,6 +3,24 @@ require "rumination/deploy"
|
|
3
3
|
module DeployTasks
|
4
4
|
extend Rake::DSL
|
5
5
|
|
6
|
+
class << self
|
7
|
+
def app_container_name
|
8
|
+
Rumination::Deploy.app_container_name
|
9
|
+
end
|
10
|
+
|
11
|
+
def app_container_full_name
|
12
|
+
Rumination::Deploy.app_container_full_name
|
13
|
+
end
|
14
|
+
|
15
|
+
def bootstrap_db_task
|
16
|
+
if defined?(ActiveRecord)
|
17
|
+
%w[deploy:bootstrap:db:active_record]
|
18
|
+
else
|
19
|
+
[]
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
6
24
|
task :deploy => "deploy:default"
|
7
25
|
|
8
26
|
namespace :deploy do
|
@@ -115,22 +133,4 @@ module DeployTasks
|
|
115
133
|
end
|
116
134
|
end
|
117
135
|
end
|
118
|
-
|
119
|
-
class << self
|
120
|
-
def app_container_name
|
121
|
-
Rumination::Deploy.app_container_name
|
122
|
-
end
|
123
|
-
|
124
|
-
def app_container_full_name
|
125
|
-
Rumination::Deploy.app_container_full_name
|
126
|
-
end
|
127
|
-
|
128
|
-
def bootstrap_db_task
|
129
|
-
if defined?(ActiveRecord)
|
130
|
-
%w[deploy:bootstrap:db:active_record]
|
131
|
-
else
|
132
|
-
[]
|
133
|
-
end
|
134
|
-
end
|
135
|
-
end
|
136
136
|
end
|
data/lib/rumination/version.rb
CHANGED