vlad-merb 2.0.0 → 2.1.0
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/.hgignore +7 -0
- data/.hgtags +1 -0
- data/History.txt +6 -0
- data/Manifest.txt +2 -0
- data/Rakefile +6 -0
- data/lib/vlad/merb.rb +3 -3
- metadata +40 -36
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
data/.hgignore
ADDED
data/.hgtags
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
6659dd239f5b75cb90fb481124d4218b74785592 rel-2.0.0
|
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/Rakefile
CHANGED
@@ -3,10 +3,16 @@
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'hoe'
|
5
5
|
|
6
|
+
Hoe.plugin :hg
|
7
|
+
|
6
8
|
Hoe.spec 'vlad-merb' do
|
7
9
|
self.rubyforge_name = 'hitsquad'
|
8
10
|
developer('Kevin R. Bullock', 'kbullock@ringworld.org')
|
9
11
|
extra_deps << ['vlad', '~> 2.0']
|
12
|
+
clean_globs << '.yardoc'
|
13
|
+
self.hg_release_tag_prefix = 'v'
|
14
|
+
rdoc_locations <<
|
15
|
+
"rubyforge.org:/var/www/gforge-projects/hitsquad/#{remote_rdoc_dir}"
|
10
16
|
end
|
11
17
|
|
12
18
|
# vim: syntax=ruby
|
data/lib/vlad/merb.rb
CHANGED
@@ -2,7 +2,7 @@ require 'vlad'
|
|
2
2
|
|
3
3
|
module Vlad
|
4
4
|
module Merb
|
5
|
-
VERSION = '2.
|
5
|
+
VERSION = '2.1.0' #:nodoc:
|
6
6
|
|
7
7
|
# Runs +cmd+ using sudo if the +:merb_use_sudo+ variable is set.
|
8
8
|
def self.maybe_sudo(cmd)
|
@@ -45,12 +45,12 @@ namespace :vlad do
|
|
45
45
|
cmd << " --cluster-nodes #{merb_servers}"
|
46
46
|
cmd << " --user #{merb_user}" if merb_user
|
47
47
|
cmd << " --group #{merb_group}" if merb_group
|
48
|
-
Vlad::Merb.maybe_sudo cmd
|
48
|
+
Vlad::Merb.maybe_sudo %(sh -c '#{cmd}')
|
49
49
|
end
|
50
50
|
|
51
51
|
desc "Stop the app servers"
|
52
52
|
remote_task :stop_app, :roles => :app do
|
53
53
|
cmd = "#{merb_command} -m #{current_path} -K all"
|
54
|
-
Vlad::Merb.maybe_sudo cmd
|
54
|
+
Vlad::Merb.maybe_sudo %(sh -c '#{cmd}')
|
55
55
|
end
|
56
56
|
end
|
metadata
CHANGED
@@ -1,58 +1,54 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vlad-merb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 11
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 2.1.0
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Kevin R. Bullock
|
8
14
|
autorequire:
|
9
15
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
- |
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDOjCCAiKgAwIBAgIBADANBgkqhkiG9w0BAQUFADBDMREwDwYDVQQDDAhrYnVs
|
14
|
-
bG9jazEZMBcGCgmSJomT8ixkARkWCXJpbmd3b3JsZDETMBEGCgmSJomT8ixkARkW
|
15
|
-
A29yZzAeFw0wOTA4MjAwNDEwMjdaFw0xMDA4MjAwNDEwMjdaMEMxETAPBgNVBAMM
|
16
|
-
CGtidWxsb2NrMRkwFwYKCZImiZPyLGQBGRYJcmluZ3dvcmxkMRMwEQYKCZImiZPy
|
17
|
-
LGQBGRYDb3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvNCKfA7a
|
18
|
-
TB9FzMq44OB7OMyqMVQd5tidOup6qGnOugrsGxtnj5sb9hhVqgpd1AsplKePq6/4
|
19
|
-
mhTX/C8/CxCc1N7K+GLnxdW3nzz/wIluDp8mP1u7gJjrzLu149FGBW5s5crB79e6
|
20
|
-
lKk8cFaz/7ghSSlZpDgEGxdZQZeqBnbVX2+WyBrK6yYBv1pwlotkxLjg8zP1a02m
|
21
|
-
cJrTt0kj83CJ4cMwtkCEb0aBAbnvMGfjobdew3auWaTBRutVc4lY+2H7HOIIi/Vn
|
22
|
-
1xr6lDMzlf9RwRPO85W0Hq7K0yLfr1Uzafc1/jWPlSfvpG9zDnxsToEKpGDRYv5Y
|
23
|
-
T2Pdplh2Vaf3rwIDAQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
|
24
|
-
HQ4EFgQU0vF/SuWG8e+ZlAeaE16N+RhcQzYwDQYJKoZIhvcNAQEFBQADggEBAC2g
|
25
|
-
1R3O0O5H3z/JuY/tI3Og8vjheSfkAMZbof+7MHnz3Svx0zd0MxW1KQ734COeZh4+
|
26
|
-
OdRHsKhcduPQFfcCSbWrzMQ8vJ4b4Un96uInX/kyrpyF/Z4M/TrxIacMce8CqQxv
|
27
|
-
zCylQ9qzAd2b2/+kqy5LN4yMmCE/PuUY/5erRAlSBjEuStLXveW5v8iTW8Pv9ImM
|
28
|
-
G30TVf5a1GnF5TXqUhsJqZSzJoxcvAh7/xvD02AjkK7GtHf3cagv7Xc9aoWwhJFQ
|
29
|
-
Ra/Gve3n6G11qNpHFh/Ga4M1qkyetuRhdSXiYBM6sxwT6Hkm2scPjIzCHgUfI0rK
|
30
|
-
5V3Udl4ET3bsEOJ+8xs=
|
31
|
-
-----END CERTIFICATE-----
|
16
|
+
cert_chain: []
|
32
17
|
|
33
|
-
date:
|
18
|
+
date: 2012-11-12 00:00:00 -06:00
|
34
19
|
default_executable:
|
35
20
|
dependencies:
|
36
21
|
- !ruby/object:Gem::Dependency
|
37
22
|
name: vlad
|
38
|
-
|
39
|
-
|
40
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
41
26
|
requirements:
|
42
27
|
- - ~>
|
43
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 0
|
44
33
|
version: "2.0"
|
45
|
-
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
46
36
|
- !ruby/object:Gem::Dependency
|
47
37
|
name: hoe
|
48
|
-
|
49
|
-
|
50
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
51
41
|
requirements:
|
52
42
|
- - ">="
|
53
43
|
- !ruby/object:Gem::Version
|
54
|
-
|
55
|
-
|
44
|
+
hash: 47
|
45
|
+
segments:
|
46
|
+
- 2
|
47
|
+
- 8
|
48
|
+
- 0
|
49
|
+
version: 2.8.0
|
50
|
+
type: :development
|
51
|
+
version_requirements: *id002
|
56
52
|
description: |-
|
57
53
|
Merb support for Vlad. Prior to 2.0.0, Vlad included support to make vlad:start
|
58
54
|
and vlad:stop work with Merb; this plugin adds Merb support back in, and makes
|
@@ -69,6 +65,8 @@ extra_rdoc_files:
|
|
69
65
|
- README.txt
|
70
66
|
files:
|
71
67
|
- .autotest
|
68
|
+
- .hgignore
|
69
|
+
- .hgtags
|
72
70
|
- History.txt
|
73
71
|
- Manifest.txt
|
74
72
|
- README.txt
|
@@ -86,21 +84,27 @@ rdoc_options:
|
|
86
84
|
require_paths:
|
87
85
|
- lib
|
88
86
|
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
89
88
|
requirements:
|
90
89
|
- - ">="
|
91
90
|
- !ruby/object:Gem::Version
|
91
|
+
hash: 3
|
92
|
+
segments:
|
93
|
+
- 0
|
92
94
|
version: "0"
|
93
|
-
version:
|
94
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
95
97
|
requirements:
|
96
98
|
- - ">="
|
97
99
|
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
98
103
|
version: "0"
|
99
|
-
version:
|
100
104
|
requirements: []
|
101
105
|
|
102
106
|
rubyforge_project: hitsquad
|
103
|
-
rubygems_version: 1.3.
|
107
|
+
rubygems_version: 1.3.7
|
104
108
|
signing_key:
|
105
109
|
specification_version: 3
|
106
110
|
summary: Merb support for Vlad
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|