dredd-rack 0.7.1 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +81 -0
- data/README.md +2 -2
- data/lib/dredd/rack/runner.rb +5 -1
- data/lib/dredd/rack/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4278e4bc0587b5ed694817be28ab765e3460f7c1
|
|
4
|
+
data.tar.gz: ed36921e13d44511dd2e07a7f42fffae50cb5e1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d05bc71fd49b22d448da2051089c9dd285365264c6b208590d5d19468c05777dd2a2ad6396e57601546b5c5a3918d5f84c11689d7241e1b8f27f1da33bbf6318
|
|
7
|
+
data.tar.gz: 0b2c37756677d31608eaa57a18dd0b3c6ad45dc612ee76fcf9402111cc2e88d3acd0169257e58c52d8be71cea338ece227996c3422cc0775c65f242e5be30665
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
|
+
|
|
6
|
+
## [0.8.1] - 2016-05-07
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- Add support for Dredd v1.0.8
|
|
11
|
+
- This change log : )
|
|
12
|
+
|
|
13
|
+
## [0.8.0] - 2016-04-11 [YANKED]
|
|
14
|
+
|
|
15
|
+
## [0.7.1] - 2015-12-15
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Fix missing quotes around Dredd CLI arguments
|
|
20
|
+
|
|
21
|
+
## [0.7.0] - 2015-08-06
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- Provide feedback on invalid command errors - @Maxim-Filimonov
|
|
26
|
+
|
|
27
|
+
## [0.6.0] - 2015-08-06
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Add support for Dredd v1.0.0
|
|
32
|
+
|
|
33
|
+
## [0.5.0] - 2015-05-13
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- Add support for Rails initializers - with help from @rylnd
|
|
38
|
+
|
|
39
|
+
## [0.4.0] - 2015-03-23
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
- Add runner configuration support to rake tasks
|
|
44
|
+
|
|
45
|
+
## [0.3.0] - 2015-03-16
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
|
|
49
|
+
- Add clonable Rake task as RSpec does
|
|
50
|
+
|
|
51
|
+
## [0.2.0] - 2015-02-27
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
|
|
55
|
+
- Starting a server manually is no longer required
|
|
56
|
+
|
|
57
|
+
## 0.1.0 - 2015-02-27
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
|
|
61
|
+
- Allow to run Dredd from a Rake task
|
|
62
|
+
|
|
63
|
+
## Previously
|
|
64
|
+
|
|
65
|
+
The original implementation of the Rake task was shared in this [gist][gist].
|
|
66
|
+
|
|
67
|
+
[gist]: https://gist.github.com/gonzalo-bulnes/eec3f73cc7d6605add21
|
|
68
|
+
[0.8.1]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.7.1...v0.8.1
|
|
69
|
+
[0.8.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.7.1...v0.8.0
|
|
70
|
+
[0.7.1]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.7.0...v0.7.1
|
|
71
|
+
[0.7.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.6.0...v0.7.0
|
|
72
|
+
[0.6.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.5.0...v0.6.0
|
|
73
|
+
[0.5.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.4.0...v0.5.0
|
|
74
|
+
[0.4.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.3.0...v0.4.0
|
|
75
|
+
[0.3.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.2.0...v0.3.0
|
|
76
|
+
[0.2.0]: https://github.com/gonzalo-bulnes/dredd-rack/compare/v0.1.0...v0.2.0
|
|
77
|
+
|
|
78
|
+
## Inspiration
|
|
79
|
+
|
|
80
|
+
Thanks to @nTraum for pointing me at http://keepachangelog.com and to @olivierlacan for writing it in the first place!
|
|
81
|
+
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Dredd::Rack
|
|
|
4
4
|
[](http://badge.fury.io/rb/dredd-rack)
|
|
5
5
|
[](https://travis-ci.org/gonzalo-bulnes/dredd-rack)
|
|
6
6
|
[](https://codeclimate.com/github/gonzalo-bulnes/dredd-rack)
|
|
7
|
-
[](https://github.com/apiaryio/dredd)
|
|
8
8
|
[](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', '
|
|
31
|
+
gem 'dredd-rack', '0.8.1' # see semver.org
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Define which application Dredd::Rack must serve automatically:
|
data/lib/dredd/rack/runner.rb
CHANGED
|
@@ -32,7 +32,11 @@ module Dredd
|
|
|
32
32
|
BOOLEAN_OPTIONS = NEGATABLE_BOOLEAN_OPTIONS + META_OPTIONS
|
|
33
33
|
|
|
34
34
|
SINGLE_ARGUMENT_OPTIONS = [:hookfiles, :language, :server, :server_wait, :custom, :only,
|
|
35
|
-
:reporter, :output, :header, :user, :method, :level, :path
|
|
35
|
+
:reporter, :output, :header, :user, :method, :level, :path,
|
|
36
|
+
:hooks_worker_timeout, :hooks_worker_connect_timeout,
|
|
37
|
+
:hooks_worker_connect_retry, :hooks_worker_after_connect_wait,
|
|
38
|
+
:hooks_worker_term_timeout, :hooks_worker_term_retry,
|
|
39
|
+
:hooks_worker_handler_host, :hooks_worker_handler_port]
|
|
36
40
|
OPTIONS = BOOLEAN_OPTIONS + SINGLE_ARGUMENT_OPTIONS
|
|
37
41
|
|
|
38
42
|
# 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.8.1
|
|
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:
|
|
11
|
+
date: 2016-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capybara
|
|
@@ -87,6 +87,7 @@ executables: []
|
|
|
87
87
|
extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
|
89
89
|
files:
|
|
90
|
+
- CHANGELOG.md
|
|
90
91
|
- Gemfile
|
|
91
92
|
- LICENSE
|
|
92
93
|
- README.md
|
|
@@ -129,19 +130,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
130
|
version: '0'
|
|
130
131
|
requirements: []
|
|
131
132
|
rubyforge_project:
|
|
132
|
-
rubygems_version: 2.5
|
|
133
|
+
rubygems_version: 2.4.5
|
|
133
134
|
signing_key:
|
|
134
135
|
specification_version: 4
|
|
135
136
|
summary: Convenient API blueprint testing with Apiary Dredd for Rack applications.
|
|
136
137
|
test_files:
|
|
138
|
+
- spec/lib/dredd/rack/configuration_spec.rb
|
|
139
|
+
- spec/lib/dredd/rack/rake_task_spec.rb
|
|
140
|
+
- spec/lib/dredd/rack/runner_spec.rb
|
|
141
|
+
- spec/lib/dredd/rack_spec.rb
|
|
137
142
|
- spec/spec_helper.rb
|
|
138
|
-
- spec/support/specs_for_boolean_options.rb
|
|
139
|
-
- spec/support/specs_for_single_argument_options.rb
|
|
140
143
|
- spec/support/spec_for_configuration_option_interface.rb
|
|
141
|
-
- spec/support/
|
|
144
|
+
- spec/support/specs_for_boolean_options.rb
|
|
142
145
|
- spec/support/specs_for_negatable_boolean_options.rb
|
|
143
|
-
- spec/
|
|
144
|
-
- spec/
|
|
145
|
-
- spec/lib/dredd/rack/configuration_spec.rb
|
|
146
|
-
- spec/lib/dredd/rack_spec.rb
|
|
147
|
-
has_rdoc:
|
|
146
|
+
- spec/support/specs_for_options.rb
|
|
147
|
+
- spec/support/specs_for_single_argument_options.rb
|