Permalink
Browse files

Merge pull request #1 from ctshryock/dependancies

Update how dependancies are determined
  • Loading branch information...
2 parents 97ba977 + e2cb5ba commit 11f6134231d794f16d3171b3511349aadc08ca71 @smith smith committed Sep 28, 2011
Showing with 5 additions and 6 deletions.
  1. +3 −2 capistrano-chef.gemspec
  2. +2 −4 lib/capistrano/chef/version.rb
View
@@ -4,7 +4,7 @@ require "capistrano/chef/version"
Gem::Specification.new do |s|
s.name = "capistrano-chef"
- s.version = Capistrano::Chef::VERSION
+ s.version = CapistranoChef::VERSION.dup
s.platform = Gem::Platform::RUBY
s.license = 'MIT'
s.authors = ['Nathan L Smith']
@@ -19,5 +19,6 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.requirements = ['capistrano ~> 2.8.0', 'chef ~> 0.10.4']
+ s.add_dependency 'capistrano', '~> 2.8.0'
+ s.add_dependency 'chef', '~> 0.10.4'
end
@@ -1,5 +1,3 @@
-require 'capistrano'
-
-class Capistrano::Chef
- VERSION = '0.0.1'
+module CapistranoChef
+ VERSION = '0.0.1'.freeze
end

0 comments on commit 11f6134

Please sign in to comment.