dredd-rack 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/README.md +26 -2
- data/lib/dredd/rack/rake_task.rb +1 -1
- data/lib/dredd/rack/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3a5d155c9224a98d0af7e75214264fb3d029705
|
4
|
+
data.tar.gz: e4d03edee236f9921afbb3f32c049712b226f2d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf7288482e59742f573d4e1d3c21ef43e1f7bc6e146358a954bc63fea783fbaf0272c3e6931486f4d9e28b96d8e2a10e3c1bb15ebbe8f7f4897246cc93a4c3a3
|
7
|
+
data.tar.gz: 56486b2560f126b3becff951aa09f37fde3a2e951f03f035a2340118aae3f9e511955db8425c3039412487dd2de5ae4f61f6f03670a9deb2af6f96cad607132b
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,15 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
-
## [0.
|
6
|
+
## [0.11.0] - 2016-12-29
|
7
|
+
|
8
|
+
### Added
|
9
|
+
|
10
|
+
- A Contributor Code of Conduct to ensure everyone feels safe contributing
|
11
|
+
- Add support for Rake 12 - @tobiashm
|
12
|
+
- Add support for Dredd v2.2.5
|
13
|
+
|
14
|
+
## [0.10.0] - 2016-08-06
|
7
15
|
|
8
16
|
### Added
|
9
17
|
|
@@ -85,6 +93,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
85
93
|
|
86
94
|
The original implementation of the Rake task was shared in this [gist][gist].
|
87
95
|
|
96
|
+
[0.11.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.10.0...v0.11.0
|
88
97
|
[0.10.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.9.0...v0.10.0
|
89
98
|
[0.9.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.8.2...v0.9.0
|
90
99
|
[0.8.2]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.8.1...v0.8.2
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Dredd::Rack
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/dredd-rack.svg)](http://badge.fury.io/rb/dredd-rack)
|
5
5
|
[![Build Status](https://travis-ci.org/gonzalo-bulnes/dredd-rack.svg?branch=master)](https://travis-ci.org/gonzalo-bulnes/dredd-rack)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/gonzalo-bulnes/dredd-rack.svg)](https://codeclimate.com/github/gonzalo-bulnes/dredd-rack)
|
7
|
-
[![Dredd Reference Version](https://img.shields.io/badge/dredd_reference_version-
|
7
|
+
[![Dredd Reference Version](https://img.shields.io/badge/dredd_reference_version-2.2.5-brightgreen.svg)](https://github.com/apiaryio/dredd)
|
8
8
|
[![Inline docs](http://inch-ci.org/github/gonzalo-bulnes/dredd-rack.svg?branch=master)](http://inch-ci.org/github/gonzalo-bulnes/dredd-rack)
|
9
9
|
|
10
10
|
> **DISCLAIMER**: This is an early version of Dredd::Rack, please be aware that it will not be stable until `v1.0.0`. At any moment, [feedback][issues] is more than welcome! : ) -- [GB][gonzalo-bulnes]
|
@@ -28,7 +28,7 @@ Add the gem to your `Gemfile`:
|
|
28
28
|
```ruby
|
29
29
|
# Gemfile
|
30
30
|
|
31
|
-
gem 'dredd-rack', '0.
|
31
|
+
gem 'dredd-rack', '0.11.0' # see semver.org
|
32
32
|
```
|
33
33
|
|
34
34
|
Define which application Dredd::Rack must serve automatically:
|
@@ -127,6 +127,30 @@ Both the [rake task documentation][rake-task-doc] and the [runner documentation]
|
|
127
127
|
|
128
128
|
Configuring a runner for remote API blueprint compliance testing is as easy as setting its **api_endpoint** option (see the [runner documentation][conf]). Please remember that you must ensure that the API is being served at the specified URI when performing remote API blueprint validation.
|
129
129
|
|
130
|
+
Development
|
131
|
+
-----------
|
132
|
+
|
133
|
+
### Testing and documentation
|
134
|
+
|
135
|
+
|
136
|
+
This gem behaviour is described using [RSpec][rspec] and RSpec [tags][tags] are used to categorize the spec examples.
|
137
|
+
|
138
|
+
Spec examples that are tagged as `public` describe aspects of the gem public API, and MAY be considered as the gem documentation.
|
139
|
+
|
140
|
+
The `private` or `protected` specs are written for development purpose only. Because they describe internal behaviour which may change at any moment without notice, they are only executed as a secondary task by the [continuous integration service][travis] and SHOULD be ignored.
|
141
|
+
|
142
|
+
Run `rake spec:public` to print the gem public documentation.
|
143
|
+
|
144
|
+
[rspec]: https://www.relishapp.com/rspec/rspec-rails/docs
|
145
|
+
[tags]: https://www.relishapp.com/rspec/rspec-core/v/3-1/docs/command-line/tag-option
|
146
|
+
[travis]: https://travis-ci.org/gonzalo-bulnes/dredd-rack/builds
|
147
|
+
|
148
|
+
### Contributions
|
149
|
+
|
150
|
+
Contributions are welcome! The best way to get in touch is probably to open an issue, so we can start talking. So far, there is no rigid roadmap, and more ideas, help, feedback are welcome at any point. Please note that Dredd::Rack is released with a [Contributor Code of Conduct][coc]. By participating in this project you agree to abide by its terms.
|
151
|
+
|
152
|
+
[coc]: ./CODE_OF_CONDUCT.md
|
153
|
+
|
130
154
|
Credits
|
131
155
|
-------
|
132
156
|
|
data/lib/dredd/rack/rake_task.rb
CHANGED
@@ -52,7 +52,7 @@ module Dredd
|
|
52
52
|
@description = 'Run Dredd::Rack API blueprint verification'
|
53
53
|
@runner = Dredd::Rack::Runner.new(ENV['API_HOST'])
|
54
54
|
|
55
|
-
desc description unless ::Rake.application.
|
55
|
+
desc description unless ::Rake.application.last_description
|
56
56
|
rake_task = task name, *args do |task_args|
|
57
57
|
task_block.call(*[self, task_args].slice(0, task_block.arity)) if task_block
|
58
58
|
run_task(runner)
|
data/lib/dredd/rack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dredd-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gonzalo Bulnes Guilpain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '10.4'
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
36
|
+
version: '13'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '10.4'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '13'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rainbow
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|