vlad 2.6.2 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8a5793f2b19c438f21fb0cee23ef3639434435389e88cd9b331a729f17422df1
4
+ data.tar.gz: 62a789ec7bf6819cb563b0307e922808b2ff84f9b583903a7bc6acd7a5b2adb0
5
+ SHA512:
6
+ metadata.gz: 9746e3ea1bd0aa1e0fcedfa6e2dda745227cc672b2e42518098743df1f37b6e2e74a7814ac6a69e70221a14064a0fe41b993ef902402db2cfad568ae2e030ede
7
+ data.tar.gz: 37d9aa1537effd76ed3f534461d8ba344eb9b7de84338328609fba0e916558dd1b44581366ee12ebfbdc942a5349e10eda37f1d852749c0e9eb56d28cf8cfbeb
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,34 @@
1
+ === 2.7.1 / 2020-12-23
2
+
3
+ * 1 bug fix:
4
+
5
+ * Bumped rake dependency. (nearapogee)
6
+
7
+ === 2.7.0 / 2016-06-13
8
+
9
+ * 1 minor enhancement:
10
+
11
+ * Allowed files in shared_paths. (arr-dev)
12
+
13
+ === 2.6.5 / 2015-06-25
14
+
15
+ * 2 bug fixes:
16
+
17
+ * Updated dependency for rake-remote-task 2.3+.
18
+ * Use #send to access private set methods. (drbrain)
19
+
20
+ === 2.6.4 / 2015-01-27
21
+
22
+ * 1 bug fix:
23
+
24
+ * Removed dead rubyforge setting in Rakefile
25
+
26
+ === 2.6.3 / 2014-01-07
27
+
28
+ * 1 bug fix:
29
+
30
+ * Fixed String.cleanup to deal with wonky rake task descriptions. (shunwen)
31
+
1
32
  === 2.6.2 / 2013-08-19
2
33
 
3
34
  * 1 minor enhancement:
data/README.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  = Vlad the Deployer by the Ruby Hit Squad
2
2
 
3
- home :: http://rubyhitsquad.com/
3
+ home :: https://github.com/seattlerb/vlad
4
4
  code :: https://github.com/seattlerb/vlad
5
5
  rdoc :: http://docs.seattlerb.org/vlad
6
6
 
@@ -26,7 +26,7 @@ Impale your application on the heartless spike of the Deployer.
26
26
  * Mix and match local and remote tasks.
27
27
  * Compatible with all of your tab completion shell script rake-tastic goodness.
28
28
  * Ships with tests that actually pass in 0.028 seconds!
29
- * Does NOT support Windows right now (we think). Coming soon in 1.2.
29
+ * Does NOT support Windows right now (we think).
30
30
 
31
31
  == SYNOPSIS
32
32
 
data/Rakefile CHANGED
@@ -9,14 +9,12 @@ Hoe.plugin :isolate
9
9
  Hoe.add_include_dirs "../../rake-remote_task/dev/lib"
10
10
 
11
11
  Hoe.spec 'vlad' do
12
- self.rubyforge_name = 'hitsquad'
13
-
14
12
  developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
15
13
  developer 'Eric Hodel', 'drbrain@segment7.net'
16
14
  developer 'Wilson Bilkovich', 'wilson@supremetyrant.com'
17
15
 
18
- dependency 'rake', ['>= 0.8', '< 11.0']
19
- dependency 'rake-remote_task', '~> 2.1'
16
+ dependency 'rake' , ['>= 0.8', '< 15.0']
17
+ dependency 'rake-remote_task', '~> 2.3'
20
18
 
21
19
  multiruby_skip << "rubinius"
22
20
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  This tutorial has been adapted from [Deploying Merb with Vlad](http://effectif.com/articles/deploying-merb-with-vlad) by [Graham Ashton](http://effectif.com "Effectif Development").
4
4
 
5
- You've built your Merb app, and you want to get it running on your web server. You could use Capistrano, but if you prefer the simple things in life you might find that [Vlad](http://rubyhitsquad.com/Vlad_the_Deployer.html "Vlad the Deployer") is a better fit.
5
+ You've built your Merb app, and you want to get it running on your web server. You could use Capistrano, but if you prefer the simple things in life you might find that [Vlad](http://docs.seattlerb.org/vlad/ "Vlad the Deployer") is a better fit.
6
6
 
7
7
  This is a Merb version of the [Deploying Sinatra with Vlad](deploying-sinatra-with-vlad "Deploying Sinatra with Vlad") article that I wrote yesterday. There are big similarities to that article, but in this one we also look at how to restart Merb automatically after the code has been deployed.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  This tutorial has been adapted from [Deploying Sinatra with Vlad](http://effectif.com/articles/deploying-sinatra-with-vlad) by [Graham Ashton](http://effectif.com "Effectif Development").
4
4
 
5
- So you've just written a nice new [Sinatra application](http://www.sinatrarb.com/ "Sinatra"), and you want to get it running on your web server. How hard can it be? Well with [Vlad the Deployer](http://rubyhitsquad.com/Vlad_the_Deployer.html "Vlad the Deployer"), it's actually rather easy.
5
+ So you've just written a nice new [Sinatra application](http://www.sinatrarb.com/ "Sinatra"), and you want to get it running on your web server. How hard can it be? Well with [Vlad the Deployer](http://docs.seattlerb.org/vlad/ "Vlad the Deployer"), it's actually rather easy.
6
6
 
7
7
  ## Creating a sample application
8
8
 
@@ -8,7 +8,7 @@ $TESTING ||= false
8
8
  # Vlad the Deployer - Pragmatic application deployment automation,
9
9
  # without mercy.
10
10
  #
11
- # Please read doco/getting_started.txt or http://rubyhitsquad.com/
11
+ # Please read doco/getting_started.txt or http://docs.seattlerb.org/vlad/
12
12
  #
13
13
  # === Basic scenario:
14
14
  #
@@ -21,7 +21,7 @@ module Vlad
21
21
 
22
22
  ##
23
23
  # This is the version of Vlad you are running.
24
- VERSION = "2.6.2"
24
+ VERSION = "2.7.1"
25
25
 
26
26
  ##
27
27
  # Loads tasks file +tasks_file+ and various recipe styles as a hash
@@ -80,7 +80,7 @@ class String #:nodoc:
80
80
  if ENV['FULL'] then
81
81
  gsub(/\s+/, ' ').strip
82
82
  else
83
- self[/\A.*?\./]
83
+ self.gsub(/(\n|\s)+/, ' ')[/\A.*?(\.|\z)/]
84
84
  end
85
85
  end
86
86
  end
@@ -45,15 +45,14 @@ namespace :vlad do
45
45
  dirs << scm_path unless skip_scm
46
46
  dirs += shared_paths.keys.map { |d| File.join(shared_path, d) }
47
47
  dirs += ancillary_dir
48
- dirs = dirs.join(' ')
49
48
 
50
49
  commands = []
51
50
 
52
51
  commands << "umask #{umask}" if umask
53
- commands << "mkdir -p #{dirs}"
52
+ dirs.each { |dir| commands << "[ -f #{dir} ] || mkdir -p #{dir}" }
54
53
 
55
- commands << "chown #{perm_owner} #{dirs}" if perm_owner
56
- commands << "chgrp #{perm_group} #{dirs}" if perm_group
54
+ commands << "chown #{perm_owner} #{dirs.join(' ')}" if perm_owner
55
+ commands << "chgrp #{perm_group} #{dirs.join(' ')}" if perm_group
57
56
 
58
57
  run commands.join(' && ')
59
58
  end
@@ -4,6 +4,8 @@ class Vlad::Subversion
4
4
  set :svn_cmd, "svn"
5
5
  set :revision, "HEAD"
6
6
 
7
+ public :source, :svn_cmd, :revision
8
+
7
9
  ##
8
10
  # Returns the command that will check out +revision+ from the repository
9
11
  # into directory +destination+
@@ -67,9 +67,9 @@ class TestVlad < Rake::TestCase
67
67
 
68
68
  def test_initialize
69
69
  @rake.set_defaults # ensure these three are virginal
70
- assert_raises(Rake::ConfigurationError) { @rake.repository }
71
- assert_raises(Rake::ConfigurationError) { @rake.deploy_to }
72
- assert_raises(Rake::ConfigurationError) { @rake.domain }
70
+ assert_raises(Rake::ConfigurationError) { @rake.send(:repository) }
71
+ assert_raises(Rake::ConfigurationError) { @rake.send(:deploy_to) }
72
+ assert_raises(Rake::ConfigurationError) { @rake.send(:domain) }
73
73
  end
74
74
 
75
75
  def test_role
@@ -160,20 +160,20 @@ class TestVlad < Rake::TestCase
160
160
 
161
161
  def test_set
162
162
  set :win, 5
163
- assert_equal 5, @rake.win
163
+ assert_equal 5, @rake.send(:win)
164
164
  end
165
165
 
166
166
  def test_set_lazy_block_evaluation
167
167
  set(:lose) { raise "lose" }
168
- assert_raises(RuntimeError) { @rake.lose }
168
+ assert_raises(RuntimeError) { @rake.send(:lose) }
169
169
  end
170
170
 
171
171
  def test_set_with_block
172
172
  x = 1
173
173
  set(:win) { x += 2 }
174
174
 
175
- assert_equal 3, @rake.win
176
- assert_equal 3, @rake.win
175
+ assert_equal 3, @rake.send(:win)
176
+ assert_equal 3, @rake.send(:win)
177
177
  end
178
178
 
179
179
  def test_set_with_reference
@@ -183,7 +183,7 @@ class TestVlad < Rake::TestCase
183
183
  set(:var_three) { 5 }
184
184
  end
185
185
 
186
- assert_equal 5, @rake.var_one
186
+ assert_equal 5, @rake.send(:var_one)
187
187
  end
188
188
 
189
189
  def test_set_with_block_and_value
@@ -195,7 +195,7 @@ class TestVlad < Rake::TestCase
195
195
 
196
196
  def test_set_with_nil
197
197
  set(:win, nil)
198
- assert_equal nil, @rake.win
198
+ assert_nil @rake.send(:win)
199
199
  end
200
200
 
201
201
  def test_set_with_reserved_name
@@ -206,4 +206,3 @@ class TestVlad < Rake::TestCase
206
206
  $TESTING = true
207
207
  end
208
208
  end
209
-
metadata CHANGED
@@ -1,26 +1,20 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: vlad
3
- version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease:
6
- segments:
7
- - 2
8
- - 6
9
- - 2
10
- version: 2.6.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.7.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Ryan Davis
14
8
  - Eric Hodel
15
9
  - Wilson Bilkovich
16
- autorequire:
10
+ autorequire:
17
11
  bindir: bin
18
- cert_chain:
12
+ cert_chain:
19
13
  - |
20
14
  -----BEGIN CERTIFICATE-----
21
- MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
15
+ MIIDPjCCAiagAwIBAgIBBTANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
22
16
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
23
- GRYDY29tMB4XDTA5MDMwNjE4NTMxNVoXDTEwMDMwNjE4NTMxNVowRTETMBEGA1UE
17
+ GRYDY29tMB4XDTIwMTIyMjIwMzgzMFoXDTIxMTIyMjIwMzgzMFowRTETMBEGA1UE
24
18
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ix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LQlY25rDcCy9bLnD7R0UK3ONqpwvsI5I7x5X
30
+ ZIMXR0a9/DG+55mawwdGzCQobDKiSNLK89KK7OcNTALKU0DfgdTkktdgKchzKHqZ
31
+ d/AHw/kcnU6iuMUoJEcGiJd4gVCTn1l3cDcIvxakGslCA88Jubw0Sqatan0TnC9g
32
+ KToW560QIey7SPfHWduzFJnV
39
33
  -----END CERTIFICATE-----
40
-
41
- date: 2013-08-19 00:00:00 Z
42
- dependencies:
43
- - !ruby/object:Gem::Dependency
34
+ date: 2020-12-23 00:00:00.000000000 Z
35
+ dependencies:
36
+ - !ruby/object:Gem::Dependency
44
37
  name: rake
45
- prerelease: false
46
- requirement: &id001 !ruby/object:Gem::Requirement
47
- none: false
48
- requirements:
38
+ requirement: !ruby/object:Gem::Requirement
39
+ requirements:
49
40
  - - ">="
50
- - !ruby/object:Gem::Version
51
- hash: 27
52
- segments:
53
- - 0
54
- - 8
55
- version: "0.8"
56
- - - <
57
- - !ruby/object:Gem::Version
58
- hash: 39
59
- segments:
60
- - 11
61
- - 0
62
- version: "11.0"
41
+ - !ruby/object:Gem::Version
42
+ version: '0.8'
43
+ - - "<"
44
+ - !ruby/object:Gem::Version
45
+ version: '15.0'
63
46
  type: :runtime
64
- version_requirements: *id001
65
- - !ruby/object:Gem::Dependency
66
- name: rake-remote_task
67
47
  prerelease: false
68
- requirement: &id002 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 1
74
- segments:
75
- - 2
76
- - 1
77
- version: "2.1"
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0.8'
53
+ - - "<"
54
+ - !ruby/object:Gem::Version
55
+ version: '15.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake-remote_task
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '2.3'
78
63
  type: :runtime
79
- version_requirements: *id002
80
- - !ruby/object:Gem::Dependency
81
- name: minitest
82
64
  prerelease: false
83
- requirement: &id003 !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- hash: 31
89
- segments:
90
- - 5
91
- - 0
92
- version: "5.0"
93
- type: :development
94
- version_requirements: *id003
95
- - !ruby/object:Gem::Dependency
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '2.3'
70
+ - !ruby/object:Gem::Dependency
96
71
  name: rdoc
97
- prerelease: false
98
- requirement: &id004 !ruby/object:Gem::Requirement
99
- none: false
100
- requirements:
101
- - - ~>
102
- - !ruby/object:Gem::Version
103
- hash: 27
104
- segments:
105
- - 4
106
- - 0
107
- version: "4.0"
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '4.0'
77
+ - - "<"
78
+ - !ruby/object:Gem::Version
79
+ version: '7'
108
80
  type: :development
109
- version_requirements: *id004
110
- - !ruby/object:Gem::Dependency
111
- name: hoe
112
81
  prerelease: false
113
- requirement: &id005 !ruby/object:Gem::Requirement
114
- none: false
115
- requirements:
116
- - - ~>
117
- - !ruby/object:Gem::Version
118
- hash: 9
119
- segments:
120
- - 3
121
- - 7
122
- version: "3.7"
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '4.0'
87
+ - - "<"
88
+ - !ruby/object:Gem::Version
89
+ version: '7'
90
+ - !ruby/object:Gem::Dependency
91
+ name: hoe
92
+ requirement: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.22'
123
97
  type: :development
124
- version_requirements: *id005
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.22'
125
104
  description: |-
126
105
  Vlad the Deployer is pragmatic application deployment automation,
127
106
  without mercy. Much like Capistrano, but with 1/10th the
128
107
  complexity. Vlad integrates seamlessly with Rake, and uses familiar
129
108
  and standard tools like ssh and rsync.
130
-
109
+
131
110
  Impale your application on the heartless spike of the Deployer.
132
- email:
111
+ email:
133
112
  - ryand-ruby@zenspider.com
134
113
  - drbrain@segment7.net
135
114
  - wilson@supremetyrant.com
136
115
  executables: []
137
-
138
116
  extensions: []
139
-
140
- extra_rdoc_files:
117
+ extra_rdoc_files:
141
118
  - History.txt
142
119
  - Manifest.txt
143
120
  - README.txt
@@ -149,8 +126,8 @@ extra_rdoc_files:
149
126
  - doco/migration.txt
150
127
  - doco/perforce.txt
151
128
  - doco/variables.txt
152
- files:
153
- - .autotest
129
+ files:
130
+ - ".autotest"
154
131
  - History.txt
155
132
  - Manifest.txt
156
133
  - README.txt
@@ -173,41 +150,32 @@ files:
173
150
  - test/test_vlad.rb
174
151
  - test/test_vlad_subversion.rb
175
152
  - vladdemo.sh
176
- - .gemtest
177
- homepage: http://rubyhitsquad.com/
178
- licenses:
153
+ homepage: https://github.com/seattlerb/vlad
154
+ licenses:
179
155
  - MIT
180
- post_install_message:
181
- rdoc_options:
182
- - --main
156
+ metadata:
157
+ homepage_uri: https://github.com/seattlerb/vlad
158
+ source_code_uri: https://github.com/seattlerb/vlad
159
+ post_install_message:
160
+ rdoc_options:
161
+ - "--main"
183
162
  - README.txt
184
- require_paths:
163
+ require_paths:
185
164
  - lib
186
- required_ruby_version: !ruby/object:Gem::Requirement
187
- none: false
188
- requirements:
165
+ required_ruby_version: !ruby/object:Gem::Requirement
166
+ requirements:
189
167
  - - ">="
190
- - !ruby/object:Gem::Version
191
- hash: 3
192
- segments:
193
- - 0
194
- version: "0"
195
- required_rubygems_version: !ruby/object:Gem::Requirement
196
- none: false
197
- requirements:
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ required_rubygems_version: !ruby/object:Gem::Requirement
171
+ requirements:
198
172
  - - ">="
199
- - !ruby/object:Gem::Version
200
- hash: 3
201
- segments:
202
- - 0
203
- version: "0"
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
204
175
  requirements: []
205
-
206
- rubyforge_project: hitsquad
207
- rubygems_version: 1.8.25
208
- signing_key:
209
- specification_version: 3
210
- summary: Vlad the Deployer is pragmatic application deployment automation, without mercy
211
- test_files:
212
- - test/test_vlad.rb
213
- - test/test_vlad_subversion.rb
176
+ rubygems_version: 3.1.4
177
+ signing_key:
178
+ specification_version: 4
179
+ summary: Vlad the Deployer is pragmatic application deployment automation, without
180
+ mercy
181
+ test_files: []
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes