Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.

Commit

Permalink
add default rake for tests and update gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
devigned committed Feb 1, 2017
1 parent 96da70c commit 4d42a3e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
9 changes: 2 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,5 @@ group :development do
# We depend on Vagrant for development, but we don't add it as a
# gem dependency because we expect to be installed within the
# Vagrant environment itself using `vagrant plugin`.
gem 'vagrant', git: 'git://github.com/mitchellh/vagrant.git', tag: 'v1.7.4'
gem 'dotenv'
end

group :plugins do
gem 'vagrant-azure', path: '.'
end
gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git'
end
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@

require 'rubygems'
require 'bundler/setup'
require 'rspec/core/rake_task'

$stdout.sync = true
$stderr.sync = true

Dir.chdir(File.expand_path('../', __FILE__))

Bundler::GemHelper.install_tasks

# Install the `spec` task so that we can run tests.
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = '--order defined'
end
# Default task is to run the unit tests
task :default => :spec
11 changes: 6 additions & 5 deletions vagrant-azure.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require 'vagrant-azure/version'
Gem::Specification.new do |s|
s.name = 'vagrant-azure'
s.version = VagrantPlugins::Azure::VERSION
s.platform = Gem::Platform::RUBY
s.authors = %w(Azure)
s.description = 'Enable Vagrant to manage machines in Microsoft Azure.'
s.summary = 'Enable Vagrant to manage Windows and Linux machines in Microsoft Azure.'
Expand All @@ -18,15 +19,15 @@ Gem::Specification.new do |s|
s.bindir = 'bin'
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }

s.add_runtime_dependency 'azure_mgmt_resources', '~>0.2.1'
s.add_runtime_dependency 'azure_mgmt_compute', '~>0.2.1'
s.add_runtime_dependency 'azure_mgmt_network', '~>0.2.1'
s.add_runtime_dependency 'azure_mgmt_storage', '~>0.2.1'
s.add_runtime_dependency 'azure_mgmt_resources', '~>0.8.0'
s.add_runtime_dependency 'azure_mgmt_compute', '~>0.8.0'
s.add_runtime_dependency 'azure_mgmt_network', '~>0.8.0'
s.add_runtime_dependency 'azure_mgmt_storage', '~>0.8.0'
s.add_runtime_dependency 'haikunator', '~>1.1'

s.add_development_dependency 'bundler', '~>1.9'
s.add_development_dependency 'rake', '~>11.1'
s.add_development_dependency 'rspec', '~>3.4'
s.add_development_dependency 'simplecov', '~>0.11.2'
s.add_development_dependency 'simplecov', '~>0.11'
s.add_development_dependency 'coveralls', '~>0.8'
end

0 comments on commit 4d42a3e

Please sign in to comment.