oneblackbear-obbistrano 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. data/obbistrano.gemspec +17 -3
  2. metadata +1 -1
data/obbistrano.gemspec CHANGED
@@ -2,9 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.0.4"
5
+ s.version = "1.0.5"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.date = Time.now
8
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
9
  s.description = %q{An extension to Capistrano to allow deploys to Slicehost for One Black Bear}
9
10
  s.email = %q{ross@oneblackbear.com}
10
11
  s.files = ["README.textile", "obbistrano.gemspec"]
@@ -12,6 +13,19 @@ Gem::Specification.new do |s|
12
13
  s.homepage = %q{http://github.com/oneblackbear/obbistrano}
13
14
  s.rubygems_version = %q{1.3.0}
14
15
  s.summary = %q{Adds extra namespaces to Capistrano to allow simple setup, deploys and maintenance.}
15
- s.add_dependency('capistrano', '>= 2.5')
16
- s.add_dependency('activeresource', '>= 2')
16
+ if s.respond_to? :specification_version then
17
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
18
+ s.specification_version = 2
19
+
20
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
21
+ s.add_runtime_dependency(%q<capistrano>, [">= 2.5"])
22
+ s.add_runtime_dependency(%q<activeresource>, [">= 2"])
23
+ else
24
+ s.add_dependency(%q<capistrano>, [">= 2.5"])
25
+ s.add_dependency(%q<activeresource>, [">= 2"])
26
+ end
27
+ else
28
+ s.add_dependency(%q<capistrano>, [">= 2.5"])
29
+ s.add_dependency(%q<activeresource>, [">= 2"])
30
+ end
17
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oneblackbear-obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley