vmbuilder_plugins 0.1.0 → 0.1.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.
@@ -3,3 +3,7 @@
3
3
  * 1 major enhancement
4
4
  * Birthday!
5
5
 
6
+ == 0.1.1 / 2007-05-05
7
+
8
+ * Applied patch - remove incorrect directory check in 'su_put'.
9
+
data/README.txt CHANGED
@@ -1,6 +1,7 @@
1
1
  vmbuilder_plugins
2
2
  http://rubyforge.org/projects/vmbuilder
3
- neil@aldur.co.uk
3
+ neil |at| aldur.co.uk
4
+ Neil Wilson
4
5
 
5
6
  == DESCRIPTION:
6
7
 
@@ -28,6 +29,10 @@ Look at the rdoc for each module for a full run down of the features
28
29
 
29
30
  * sudo gem install vmbuilder_plugins
30
31
 
32
+ == ACKNOWLEDGMENTS:
33
+
34
+ My grateful thanks to Ruby community for its help and assistance.
35
+
31
36
  == LICENCE:
32
37
 
33
38
  Capistrano Plugins - abstracted from the vmbuilder project
data/Rakefile CHANGED
@@ -3,7 +3,7 @@
3
3
  require 'rubygems'
4
4
  require 'hoe'
5
5
 
6
- Hoe.new('vmbuilder_plugins', '0.1.0') do |p|
6
+ Hoe.new('vmbuilder_plugins', '0.1.1') do |p|
7
7
  p.rubyforge_name = 'vmbuilder'
8
8
  p.summary = 'Gem, Std, and Apt Capistrano plugins'
9
9
  p.author = 'Neil Wilson'
@@ -11,7 +11,7 @@ Hoe.new('vmbuilder_plugins', '0.1.0') do |p|
11
11
  p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
12
12
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
13
13
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
14
- p.extra_deps << ['capistrano', '>=1.3.0']
14
+ p.extra_deps << ['capistrano', '~> 1.4']
15
15
  end
16
16
 
17
17
  # vim: ft=ruby:
@@ -28,16 +28,17 @@ module Gem
28
28
  # * installs all required dependencies automatically.
29
29
  #
30
30
  GEM_INSTALL="gem install -y --no-rdoc --no-ri"
31
+ GEM_UPDATE=GEM_INSTALL.sub("install", "update")
31
32
 
32
33
  # Upgrade the *gem* system to the latest version. Runs via *sudo*
33
34
  def update_system
34
- send(run_method, "gem update --system")
35
+ send(run_method, "#{GEM_UPDATE} --system")
35
36
  end
36
37
 
37
38
  # Updates all the installed gems to the latest version. Runs via *sudo*.
38
39
  # Don't use this command if any of the gems require a version selection.
39
40
  def upgrade
40
- send(run_method, "gem update --no-rdoc --no-ri")
41
+ send(run_method, GEM_UPDATE)
41
42
  end
42
43
 
43
44
  # Removes old versions of gems from installation area.
@@ -60,7 +60,7 @@ module Std
60
60
  # +options+ are as for *put*
61
61
  #
62
62
  def su_put(data, destination, temporary_area='/tmp', options={})
63
- temporary_area = File.join(temporary_area,File.basename(destination)) if File.directory?(temporary_area)
63
+ temporary_area = File.join(temporary_area,File.basename(destination))
64
64
  put(data, temporary_area, options)
65
65
  send run_method, <<-CMD
66
66
  sh -c "install -m#{sprintf("%3o",options[:mode]||0755)} #{temporary_area} #{destination} &&
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0.8
2
+ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: vmbuilder_plugins
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.0
7
- date: 2007-01-16 00:00:00 +00:00
6
+ version: 0.1.1
7
+ date: 2007-05-05 00:00:00 +01:00
8
8
  summary: Gem, Std, and Apt Capistrano plugins
9
9
  require_paths:
10
10
  - lib
@@ -57,9 +57,9 @@ dependencies:
57
57
  version_requirement:
58
58
  version_requirements: !ruby/object:Gem::Version::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
- version: 1.3.0
62
+ version: "1.4"
63
63
  version:
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: hoe
@@ -68,5 +68,5 @@ dependencies:
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: 1.1.7
71
+ version: 1.2.0
72
72
  version: