Skip to content

Commit

Permalink
release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Feb 28, 2016
1 parent 3eb0174 commit 62fdd1c
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 16 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -358,7 +358,7 @@ See [TODO.md](https://github.com/zuazo/dockerspec/blob/master/TODO.md).
| | |
|:---------------------|:-----------------------------------------|
| **Author:** | [Xabier de Zuazo](https://github.com/zuazo) (<xabier@zuazo.org>)
| **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");
Expand Down
8 changes: 0 additions & 8 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion dockerspec.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion lib/dockerspec/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ module Dockerspec
#
# Dockerspec Ruby Gem version.
#
VERSION = '0.3.0.dev'.freeze
VERSION = '0.3.0'.freeze
end

0 comments on commit 62fdd1c

Please sign in to comment.