diff --git a/CHANGELOG.md b/CHANGELOG.md index 484ae8f..3751952 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,40 @@ This file is used to list changes made in each version of `dockerspec` Ruby Gem. +## 0.3.0 (2016-02-28) + +### Breaking Changes on 0.3.0 + +* Enable `options[:rm]` by default. + +### New Features on 0.3.0 + +* Add Docker Compose support. +* Add Infrataster and Capybara support. +* Add `:wait` option to `docker_run` and `docker_compose`. +* Add `described_image` helper for `docker_run`. +* Support integer values with `have_expose` matcher. +* Make `require 'dockerspec'` optional. + +### Fixes on 0.3.0 + +* Fix `:env` in `docker_run` with Serverspec. +* Fix *Must have id* error when building images from IDs with tags. + +### Improvements on 0.3.0 + +* Update RuboCop to `0.37`, fix new offenses. +* `Runner` classes split into `Engine::Base` and `Runner::Base`. +* Add support for multiple testing engines. +* Add a `Configuration` class to setup the internal modularization. +* Rename many classes. + +### Documentation Changes on 0.3.0 + +* README: + * Move the documentation below examples. + * Add many examples. + ## 0.2.0 (2015-12-11) ### New Features on 0.2.0 diff --git a/LICENSE b/LICENSE index 71d0694..0a8b3af 100644 --- a/LICENSE +++ b/LICENSE @@ -175,7 +175,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION END OF TERMS AND CONDITIONS -Copyright 2015 Xabier de Zuazo +Copyright 2015-2016 Xabier de Zuazo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 65d27c9..4cd88a5 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ [![Gem Version](https://badge.fury.io/rb/dockerspec.svg)](https://rubygems.org/gems/dockerspec) [![Dependency Status](http://img.shields.io/gemnasium/zuazo/dockerspec.svg?style=flat)](https://gemnasium.com/zuazo/dockerspec) [![Code Climate](http://img.shields.io/codeclimate/github/zuazo/dockerspec.svg?style=flat)](https://codeclimate.com/github/zuazo/dockerspec) -[![Travis CI Build Status](http://img.shields.io/travis/zuazo/dockerspec.svg?style=flat)](https://travis-ci.org/zuazo/dockerspec) +[![Travis CI Build Status](http://img.shields.io/travis/zuazo/dockerspec/0.3.0.svg?style=flat)](https://travis-ci.org/zuazo/dockerspec) [![Circle CI Build Status](https://circleci.com/gh/zuazo/dockerspec/tree/master.svg?style=shield)](https://circleci.com/gh/zuazo/dockerspec/tree/master) -[![Coverage Status](http://img.shields.io/coveralls/zuazo/dockerspec.svg?style=flat)](https://coveralls.io/r/zuazo/dockerspec?branch=master) +[![Coverage Status](http://img.shields.io/coveralls/zuazo/dockerspec/0.3.0.svg?style=flat)](https://coveralls.io/r/zuazo/dockerspec?branch=0.3.0) [![Inline docs](http://inch-ci.org/github/zuazo/dockerspec.svg?branch=master&style=flat)](http://inch-ci.org/github/zuazo/dockerspec) ## Description @@ -33,7 +33,7 @@ $ gem install dockerspec Or you can add this line to the *Gemfile* of your application: ```ruby -gem 'dockerspec', '~> 0.2.0' +gem 'dockerspec', '~> 0.3.0' ``` And then execute: @@ -271,7 +271,7 @@ If you are new to Ruby, you can follow these steps: source 'https://rubygems.org' -gem 'dockerspec', '~> 0.2.0' +gem 'dockerspec', '~> 0.3.0' ``` #### 2. Create the *spec/* directory: @@ -358,7 +358,7 @@ See [TODO.md](https://github.com/zuazo/dockerspec/blob/master/TODO.md). | | | |:---------------------|:-----------------------------------------| | **Author:** | [Xabier de Zuazo](https://github.com/zuazo) () -| **Copyright:** | Copyright (c) 2015 Xabier de Zuazo +| **Copyright:** | Copyright (c) 2015-2016 Xabier de Zuazo | **License:** | Apache License, Version 2.0 Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/TODO.md b/TODO.md index c0a2a21..558b6c4 100644 --- a/TODO.md +++ b/TODO.md @@ -1,15 +1,7 @@ # TODO for Dockerspec * [ ] Integrate with [Inspec](https://www.chef.io/inspec/). -* [x] Integrate with [Infrataster](https://github.com/ryotarai/infrataster). -* [x] Support Docker Compose. * [ ] Test resources for built images supported inside `docker_compose`. * [ ] Add `docker_context`, `docker_describe` to avoid starting all containers at the same time. * [ ] Add a Runner logger. * [ ] Create `stub_*` methods for unit tests. -* [x] Add integration tests for Runner without Serverspec. -* [x] Add a Capybara test example. -* [x] Fix `:env` with docker_run and Serverspec. -* [x] `have_expose` with int allowed -* [x] Add `described_image` helper for `docker_run`. -* [x] Rename the event methods in the Engines to be more clear. diff --git a/dockerspec.gemspec b/dockerspec.gemspec index 2a59921..b726b61 100644 --- a/dockerspec.gemspec +++ b/dockerspec.gemspec @@ -10,7 +10,7 @@ require 'dockerspec/version' Gem::Specification.new do |s| s.name = 'dockerspec' s.version = ::Dockerspec::VERSION - s.date = '2015-12-11' + s.date = '2016-02-28' s.platform = Gem::Platform::RUBY s.summary = 'Dockerspec' s.description = diff --git a/lib/dockerspec/version.rb b/lib/dockerspec/version.rb index 4949c30..7f7ebc3 100644 --- a/lib/dockerspec/version.rb +++ b/lib/dockerspec/version.rb @@ -25,5 +25,5 @@ module Dockerspec # # Dockerspec Ruby Gem version. # - VERSION = '0.3.0.dev'.freeze + VERSION = '0.3.0'.freeze end