#------------------------------------------------------------------------- # # Copyright (c) Microsoft and contributors. All rights reserved. # # 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. #-------------------------------------------------------------------------- require 'date' require File.expand_path('../lib/azure/version', __FILE__) Gem::Specification.new do |s| s.name = 'azure' s.version = Azure::Version s.authors = ['Microsoft Corporation', 'AppFog'] s.email = 'azureruby@microsoft.com' s.description = 'Microsoft Azure Client Library for Ruby' s.summary = 'Official ruby client library to consume Microsoft Azure services.' s.homepage = 'http://github.com/azure/azure-sdk-for-ruby' s.license = 'Apache License, Version 2.0' s.files = `git ls-files`.split("\n").reject { |f| f.start_with?("test") } s.bindir = 'bin' s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } s.required_ruby_version = '>= 1.9.3' s.add_runtime_dependency('addressable', '~> 2.3') s.add_runtime_dependency('azure-core', '~> 0.1') s.add_runtime_dependency('faraday', '~> 0.9') s.add_runtime_dependency('faraday_middleware', '~> 0.10') s.add_runtime_dependency('mime-types', ['>= 1', '< 4.0']) # vagrant-share and other stuff relies on 1 if RUBY_VERSION < "2.1.0" s.add_runtime_dependency('nokogiri', '~> 1.6.0') else s.add_runtime_dependency('nokogiri', '~> 1.7') end s.add_runtime_dependency('systemu', '~> 2.6') s.add_runtime_dependency('thor', '~> 0.19') s.add_development_dependency('dotenv', '~> 2.0') s.add_development_dependency('minitest', '~> 5') s.add_development_dependency('minitest-reporters', '~> 1') s.add_development_dependency('mocha', '~> 1.0') s.add_development_dependency('rake', '~> 10.0') s.add_development_dependency('timecop', '~> 0.7') s.add_development_dependency('yard', '~> 0.8') s.add_development_dependency('vcr', '~> 3.0') end