diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-10 13:01:54 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-10 13:18:58 -0800 |
commit | 30c4b4362fa167b15fe7450874899c42354d1cc5 (patch) | |
tree | 79a33e998d2b6f4d5cf47c9dd810295db9b275b3 | |
parent | 191937fd60a5f4646acbf4d35c52c7f22b7b4f7b (diff) | |
download | mixlib-authentication-30c4b4362fa167b15fe7450874899c42354d1cc5.tar.gz |
Add version.rb
-rw-r--r-- | lib/mixlib/authentication/version.rb | 21 | ||||
-rw-r--r-- | mixlib-authentication.gemspec | 10 |
2 files changed, 26 insertions, 5 deletions
diff --git a/lib/mixlib/authentication/version.rb b/lib/mixlib/authentication/version.rb new file mode 100644 index 0000000..f761b49 --- /dev/null +++ b/lib/mixlib/authentication/version.rb @@ -0,0 +1,21 @@ +# Copyright:: Copyright (c) 2010-2015 Chef Software, Inc. +# License:: Apache License, Version 2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +module Mixlib + module Authentication + VERSION = '1.3.0' + end +end 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 - |