brightbox 2.3.1 → 2.3.2

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/bin/brightbox CHANGED
@@ -234,7 +234,7 @@ unless Rake::Task.task_defined?("db:check:config")
234
234
  # depend :remote, :command, "brightbox"
235
235
  #
236
236
  # Gem with a source (such as github)
237
- # depend :remote, :gem, "tmm1-amqp", ">=0.6.0", "http://gems.github.com"
237
+ # depend :remote, :gem, "tmm1-amqp", ">=0.6.0", :source => "http://gems.github.com"
238
238
  #
239
239
  # Specify your specific Rails version if it is not vendored
240
240
  # depend :remote, :gem, "rails", "=2.2.2"
@@ -26,8 +26,8 @@ namespace :gems do
26
26
  install_gem("brightbox-server-tools", ::Version)
27
27
  end
28
28
 
29
- def install_gem(gem, version, source = nil)
30
- source_arg = source.nil? ? "" : "--source #{source}"
29
+ def install_gem(gem, version, options = nil)
30
+ source_arg = options && options[:source] ? "--source #{options[:source]}" : ""
31
31
  sudo %Q{sh -c "
32
32
  gem spec #{gem} --version '#{version}' 2>/dev/null|egrep -q '^name:' ||
33
33
  sudo gem install --no-ri --no-rdoc --version '#{version}' #{source_arg} #{gem}"
@@ -1,5 +1,5 @@
1
1
  module Brightbox
2
- VERSION = "2.3.1"
2
+ VERSION = "2.3.2"
3
3
  end
4
4
  # Set global scope version so that OptionParser picks it up.
5
5
  ::Version = Brightbox::VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Leach
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-02-16 00:00:00 +00:00
14
+ date: 2009-02-24 00:00:00 +00:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -36,22 +36,22 @@ files:
36
36
  - LICENSE
37
37
  - Rakefile
38
38
  - brightbox-gemspec.rb
39
+ - lib/brightbox/maintenance.rb
39
40
  - lib/brightbox/passenger.rb
40
- - lib/brightbox/recipes/deploy.rb
41
- - lib/brightbox/recipes/shared_assets.rb
42
- - lib/brightbox/recipes/helpers.rb
43
- - lib/brightbox/recipes/database.rb
44
- - lib/brightbox/recipes/variables.rb
45
- - lib/brightbox/recipes/gems.rb
46
41
  - lib/brightbox/recipes/callbacks.rb
47
- - lib/brightbox/recipes/deploy/passenger.rb
48
- - lib/brightbox/recipes/deploy/mongrel.rb
49
- - lib/brightbox/recipes/configure/passenger.rb
50
42
  - lib/brightbox/recipes/configure/mongrel.rb
43
+ - lib/brightbox/recipes/configure/passenger.rb
51
44
  - lib/brightbox/recipes/configure.rb
45
+ - lib/brightbox/recipes/database.rb
46
+ - lib/brightbox/recipes/deploy/mongrel.rb
47
+ - lib/brightbox/recipes/deploy/passenger.rb
48
+ - lib/brightbox/recipes/deploy.rb
49
+ - lib/brightbox/recipes/gems.rb
50
+ - lib/brightbox/recipes/helpers.rb
51
+ - lib/brightbox/recipes/shared_assets.rb
52
+ - lib/brightbox/recipes/variables.rb
52
53
  - lib/brightbox/recipes.rb
53
54
  - lib/brightbox/version.rb
54
- - lib/brightbox/maintenance.rb
55
55
  - bin/brightbox
56
56
  has_rdoc: false
57
57
  homepage: http://wiki.brightbox.co.uk/docs:thebrightboxgem