dredd-rack 0.9.0 → 0.10.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 +9 -1
- data/README.md +3 -3
- data/doc/runner.md +1 -0
- data/lib/dredd/rack/runner.rb +2 -1
- data/lib/dredd/rack/version.rb +1 -1
- metadata +13 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 274c50ffea78d5307c3609d359529352fbb25676
|
4
|
+
data.tar.gz: a4e710f1c640e171b0d1549dbbf38945049ddff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 143e25d07104ed173dfe4c02f21841a3592ed1ae44a85777b7a575e45447aa01bd40e36f23708337871df0ecf58b69cdd0a58d95fb114f5d40901f4d7a19bd67
|
7
|
+
data.tar.gz: 674083c6a32cc6e5f2dc48343ecdf812df6297c70436aa54b7c1ab58b393656e1dd73a985531196e6728d6ce917c7a09f7da7e27d7e08f05751c7bcbb7bee1b4
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,13 @@
|
|
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.10.0] - 2015-08-06
|
7
|
+
|
8
|
+
### Added
|
9
|
+
|
10
|
+
- Add support for Rake 11 - @tobiashm
|
11
|
+
- Add support for Dredd v1.5.0
|
12
|
+
|
6
13
|
## [0.9.0] - 2016-06-15
|
7
14
|
|
8
15
|
### Added
|
@@ -78,7 +85,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
78
85
|
|
79
86
|
The original implementation of the Rake task was shared in this [gist][gist].
|
80
87
|
|
81
|
-
[
|
88
|
+
[0.10.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.9.0...v0.10.0
|
82
89
|
[0.9.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.8.2...v0.9.0
|
83
90
|
[0.8.2]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.8.1...v0.8.2
|
84
91
|
[0.8.1]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.7.1...v0.8.1
|
@@ -90,6 +97,7 @@ The original implementation of the Rake task was shared in this [gist][gist].
|
|
90
97
|
[0.4.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.3.0...v0.4.0
|
91
98
|
[0.3.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.2.0...v0.3.0
|
92
99
|
[0.2.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.1.0...v0.2.0
|
100
|
+
[gist]: https://gist.github.com/gonzalo-bulnes/eec3f73cc7d6605add21
|
93
101
|
|
94
102
|
## Inspiration
|
95
103
|
|
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-1.0
|
7
|
+
[![Dredd Reference Version](https://img.shields.io/badge/dredd_reference_version-1.5.0-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.10.0' # see semver.org
|
32
32
|
```
|
33
33
|
|
34
34
|
Define which application Dredd::Rack must serve automatically:
|
@@ -138,7 +138,7 @@ License
|
|
138
138
|
-------
|
139
139
|
|
140
140
|
Dredd::Rack provides convenient API blueprint testing to Rack applications.
|
141
|
-
Copyright (C) 2015 Gonzalo Bulnes Guilpain
|
141
|
+
Copyright (C) 2015, 2016 Gonzalo Bulnes Guilpain
|
142
142
|
|
143
143
|
Copyright (C) 2012 Chad Humphries, David Chelimsky, Myron Marston
|
144
144
|
Copyright (C) 2009 Chad Humphries, David Chelimsky
|
data/doc/runner.md
CHANGED
@@ -59,6 +59,7 @@ dredd = Dredd::Rack::Runner.new do |options|
|
|
59
59
|
options.api_endpoint 'https://api.example.com' # allows to validate remote API
|
60
60
|
|
61
61
|
options.hookfiles 'doc/hooks/*_hooks.coffee'
|
62
|
+
options.config './dredd.yml'
|
62
63
|
|
63
64
|
options.language 'ruby'
|
64
65
|
options.server 'rails server'
|
data/lib/dredd/rack/runner.rb
CHANGED
@@ -36,7 +36,8 @@ module Dredd
|
|
36
36
|
:hooks_worker_timeout, :hooks_worker_connect_timeout,
|
37
37
|
:hooks_worker_connect_retry, :hooks_worker_after_connect_wait,
|
38
38
|
:hooks_worker_term_timeout, :hooks_worker_term_retry,
|
39
|
-
:hooks_worker_handler_host, :hooks_worker_handler_port
|
39
|
+
:hooks_worker_handler_host, :hooks_worker_handler_port,
|
40
|
+
:config]
|
40
41
|
OPTIONS = BOOLEAN_OPTIONS + SINGLE_ARGUMENT_OPTIONS
|
41
42
|
|
42
43
|
# Store the Dredd command line options
|
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.10.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-06
|
11
|
+
date: 2016-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -28,16 +28,22 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.4'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '12'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '10.4'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '12'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rainbow
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +64,14 @@ dependencies:
|
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
67
|
+
version: 0.7.1
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
74
|
+
version: 0.7.1
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: rspec
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,3 +151,4 @@ test_files:
|
|
145
151
|
- spec/support/specs_for_negatable_boolean_options.rb
|
146
152
|
- spec/support/specs_for_options.rb
|
147
153
|
- spec/support/specs_for_single_argument_options.rb
|
154
|
+
has_rdoc:
|