capones_recipes 1.15.0 → 1.15.1
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/.gitignore +1 -0
- data/lib/capones_recipes/tasks/rails/console.rb +0 -16
- data/lib/capones_recipes/version.rb +1 -1
- metadata +4 -4
data/.gitignore
CHANGED
@@ -15,22 +15,6 @@ Capistrano::Configuration.instance.load do
|
|
15
15
|
run_with_tty server, %W( script/dbconsole #{rails_env} )
|
16
16
|
end
|
17
17
|
|
18
|
-
set :rake_cmd do
|
19
|
-
rails_env = fetch(:rails_env, "production")
|
20
|
-
"cd #{current_path} && rake RAILS_ENV=#{rails_env}"
|
21
|
-
end
|
22
|
-
|
23
|
-
# FIXME run on only one server?
|
24
|
-
desc "task=command runs rake 'command' on application servers"
|
25
|
-
task :rake, :roles => [:app] do
|
26
|
-
if ENV['task']
|
27
|
-
run "#{rake_cmd} #{ENV['task']}"
|
28
|
-
else
|
29
|
-
# FIXME use logger instead of warn?
|
30
|
-
warn "USAGE: cap rails:rake task=..."
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
18
|
def run_with_tty server, cmd
|
35
19
|
# looks like total pizdets
|
36
20
|
command = []
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capones_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 41
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 15
|
9
|
-
-
|
10
|
-
version: 1.15.
|
9
|
+
- 1
|
10
|
+
version: 1.15.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek (CyT)
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-02-
|
19
|
+
date: 2012-02-15 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: capistrano
|