summaryrefslogtreecommitdiff
path: root/mixlib-authentication.gemspec
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-11-10 13:01:54 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2015-11-10 13:18:58 -0800
commit30c4b4362fa167b15fe7450874899c42354d1cc5 (patch)
tree79a33e998d2b6f4d5cf47c9dd810295db9b275b3 /mixlib-authentication.gemspec
parent191937fd60a5f4646acbf4d35c52c7f22b7b4f7b (diff)
downloadmixlib-authentication-30c4b4362fa167b15fe7450874899c42354d1cc5.tar.gz
Add version.rb
Diffstat (limited to 'mixlib-authentication.gemspec')
-rw-r--r--mixlib-authentication.gemspec10
1 files changed, 5 insertions, 5 deletions
diff --git a/mixlib-authentication.gemspec b/mixlib-authentication.gemspec
index 03997d3..1be03a0 100644
--- a/mixlib-authentication.gemspec
+++ b/mixlib-authentication.gemspec
@@ -1,8 +1,9 @@
-MIXLIB_AUTHN_VERSION = '1.3.0'
+$:.unshift(File.dirname(__FILE__) + '/lib')
+require 'mixlib/authentication/version'
Gem::Specification.new do |s|
s.name = "mixlib-authentication"
- s.version = MIXLIB_AUTHN_VERSION
+ s.version = Mixlib::Authentication::VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "LICENSE", 'NOTICE']
@@ -11,14 +12,13 @@ Gem::Specification.new do |s|
s.author = "Opscode, Inc."
s.email = "info@opscode.com"
s.homepage = "http://www.opscode.com"
-
+
# Uncomment this to add a dependency
s.add_dependency "mixlib-log"
-
+
s.require_path = 'lib'
s.files = %w(LICENSE README.rdoc Gemfile Rakefile NOTICE) + Dir.glob("*.gemspec") +
Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
%w(rspec-core rspec-expectations rspec-mocks).each { |gem| s.add_dependency gem, "~> 3.2" }
end
-