pacto 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pacto/rake_task.rb +1 -1
- data/lib/pacto/version.rb +1 -1
- metadata +136 -147
data/lib/pacto/rake_task.rb
CHANGED
@@ -45,7 +45,7 @@ module Pacto
|
|
45
45
|
puts "Validating contracts in directory #{dir} against host #{host}\n\n"
|
46
46
|
|
47
47
|
total_failed = 0
|
48
|
-
contracts.each do |contract_file|
|
48
|
+
contracts.sort.each do |contract_file|
|
49
49
|
print "#{contract_file.split('/').last}:"
|
50
50
|
contract = Pacto.build_from_file(contract_file, host)
|
51
51
|
errors = contract.validate
|
data/lib/pacto/version.rb
CHANGED
metadata
CHANGED
@@ -1,237 +1,224 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pacto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 0.2.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- ThoughtWorks & Abril
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: webmock
|
16
|
-
|
17
|
-
none: false
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
|
-
- -
|
18
|
+
- - ">="
|
20
19
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
-
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
version: !binary |-
|
21
|
+
MA==
|
25
22
|
none: false
|
23
|
+
requirement: !ruby/object:Gem::Requirement
|
26
24
|
requirements:
|
27
|
-
- -
|
25
|
+
- - ">="
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
27
|
+
version: !binary |-
|
28
|
+
MA==
|
29
|
+
none: false
|
30
|
+
prerelease: false
|
31
|
+
type: :runtime
|
30
32
|
- !ruby/object:Gem::Dependency
|
31
33
|
name: json
|
32
|
-
|
33
|
-
none: false
|
34
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
35
|
requirements:
|
35
|
-
- -
|
36
|
+
- - ">="
|
36
37
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
38
|
-
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
version: !binary |-
|
39
|
+
MA==
|
41
40
|
none: false
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: !binary |-
|
46
|
+
MA==
|
47
|
+
none: false
|
48
|
+
prerelease: false
|
49
|
+
type: :runtime
|
46
50
|
- !ruby/object:Gem::Dependency
|
47
51
|
name: json-schema
|
48
|
-
|
49
|
-
none: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
53
|
requirements:
|
51
54
|
- - '='
|
52
55
|
- !ruby/object:Gem::Version
|
53
56
|
version: 1.0.4
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
none: false
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
60
|
- - '='
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: 1.0.4
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: json-generator
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
63
|
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :runtime
|
71
64
|
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: hash-deep-merge
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
86
65
|
type: :runtime
|
87
|
-
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: json-generator
|
88
68
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
69
|
requirements:
|
91
|
-
- -
|
70
|
+
- - ">="
|
92
71
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
94
|
-
|
95
|
-
name: httparty
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
+
version: !binary |-
|
73
|
+
MA==
|
97
74
|
none: false
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
98
76
|
requirements:
|
99
|
-
- -
|
77
|
+
- - ">="
|
100
78
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
102
|
-
|
79
|
+
version: !binary |-
|
80
|
+
MA==
|
81
|
+
none: false
|
103
82
|
prerelease: false
|
83
|
+
type: :runtime
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: hash-deep-merge
|
104
86
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
87
|
requirements:
|
107
|
-
- -
|
88
|
+
- - ">="
|
108
89
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
110
|
-
|
111
|
-
name: addressable
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
90
|
+
version: !binary |-
|
91
|
+
MA==
|
113
92
|
none: false
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
114
94
|
requirements:
|
115
|
-
- -
|
95
|
+
- - ">="
|
116
96
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
118
|
-
|
97
|
+
version: !binary |-
|
98
|
+
MA==
|
99
|
+
none: false
|
119
100
|
prerelease: false
|
101
|
+
type: :runtime
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: httparty
|
120
104
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
105
|
requirements:
|
123
|
-
- -
|
106
|
+
- - ">="
|
124
107
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
126
|
-
|
127
|
-
name: coveralls
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
108
|
+
version: !binary |-
|
109
|
+
MA==
|
129
110
|
none: false
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
130
112
|
requirements:
|
131
|
-
- -
|
113
|
+
- - ">="
|
132
114
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
134
|
-
|
115
|
+
version: !binary |-
|
116
|
+
MA==
|
117
|
+
none: false
|
135
118
|
prerelease: false
|
119
|
+
type: :runtime
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: addressable
|
136
122
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
123
|
requirements:
|
139
|
-
- -
|
124
|
+
- - ">="
|
140
125
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
142
|
-
|
143
|
-
name: rake
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
+
version: !binary |-
|
127
|
+
MA==
|
145
128
|
none: false
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
146
130
|
requirements:
|
147
|
-
- -
|
131
|
+
- - ">="
|
148
132
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
150
|
-
|
133
|
+
version: !binary |-
|
134
|
+
MA==
|
135
|
+
none: false
|
151
136
|
prerelease: false
|
137
|
+
type: :runtime
|
138
|
+
- !ruby/object:Gem::Dependency
|
139
|
+
name: coveralls
|
152
140
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
141
|
requirements:
|
155
|
-
- -
|
142
|
+
- - ">="
|
156
143
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
158
|
-
|
159
|
-
name: rspec
|
160
|
-
requirement: !ruby/object:Gem::Requirement
|
144
|
+
version: !binary |-
|
145
|
+
MA==
|
161
146
|
none: false
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
162
148
|
requirements:
|
163
|
-
- -
|
149
|
+
- - ">="
|
164
150
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
166
|
-
|
151
|
+
version: !binary |-
|
152
|
+
MA==
|
153
|
+
none: false
|
167
154
|
prerelease: false
|
155
|
+
type: :runtime
|
156
|
+
- !ruby/object:Gem::Dependency
|
157
|
+
name: rake
|
168
158
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
159
|
requirements:
|
171
|
-
- -
|
160
|
+
- - ">="
|
172
161
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
174
|
-
|
175
|
-
name: guard-rspec
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
+
version: !binary |-
|
163
|
+
MA==
|
177
164
|
none: false
|
165
|
+
requirement: !ruby/object:Gem::Requirement
|
178
166
|
requirements:
|
179
|
-
- -
|
167
|
+
- - ">="
|
180
168
|
- !ruby/object:Gem::Version
|
181
|
-
version:
|
182
|
-
|
169
|
+
version: !binary |-
|
170
|
+
MA==
|
171
|
+
none: false
|
183
172
|
prerelease: false
|
173
|
+
type: :development
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: rspec
|
184
176
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
177
|
requirements:
|
187
|
-
- -
|
178
|
+
- - ">="
|
188
179
|
- !ruby/object:Gem::Version
|
189
|
-
version:
|
190
|
-
|
191
|
-
name: rb-fsevent
|
192
|
-
requirement: !ruby/object:Gem::Requirement
|
180
|
+
version: !binary |-
|
181
|
+
MA==
|
193
182
|
none: false
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
194
184
|
requirements:
|
195
|
-
- -
|
185
|
+
- - ">="
|
196
186
|
- !ruby/object:Gem::Version
|
197
|
-
version:
|
198
|
-
|
187
|
+
version: !binary |-
|
188
|
+
MA==
|
189
|
+
none: false
|
199
190
|
prerelease: false
|
191
|
+
type: :development
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: guard-rspec
|
200
194
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
195
|
requirements:
|
203
|
-
- -
|
196
|
+
- - ">="
|
204
197
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
206
|
-
|
207
|
-
name: terminal-notifier-guard
|
208
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
+
version: !binary |-
|
199
|
+
MA==
|
209
200
|
none: false
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
210
202
|
requirements:
|
211
|
-
- -
|
203
|
+
- - ">="
|
212
204
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
214
|
-
|
215
|
-
prerelease: false
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
version: !binary |-
|
206
|
+
MA==
|
217
207
|
none: false
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
version: '0'
|
222
|
-
description: Pacto is a Ruby implementation of the [Consumer-Driven Contracts](http://martinfowler.com/articles/consumerDrivenContracts.html)
|
223
|
-
pattern for evolving services
|
208
|
+
prerelease: false
|
209
|
+
type: :development
|
210
|
+
description: Pacto is a Ruby implementation of the [Consumer-Driven Contracts](http://martinfowler.com/articles/consumerDrivenContracts.html) pattern for evolving services
|
224
211
|
email:
|
225
212
|
- abril_vejasp_dev@thoughtworks.com
|
226
213
|
executables: []
|
227
214
|
extensions: []
|
228
215
|
extra_rdoc_files: []
|
229
216
|
files:
|
230
|
-
- .gitignore
|
231
|
-
- .rspec
|
232
|
-
- .rspec_integration
|
233
|
-
- .rspec_unit
|
234
|
-
- .travis.yml
|
217
|
+
- ".gitignore"
|
218
|
+
- ".rspec"
|
219
|
+
- ".rspec_integration"
|
220
|
+
- ".rspec_unit"
|
221
|
+
- ".travis.yml"
|
235
222
|
- Gemfile
|
236
223
|
- Guardfile
|
237
224
|
- LICENSE.txt
|
@@ -270,32 +257,34 @@ files:
|
|
270
257
|
homepage: https://github.com/thoughtworks/pacto
|
271
258
|
licenses:
|
272
259
|
- MIT
|
273
|
-
post_install_message:
|
260
|
+
post_install_message:
|
274
261
|
rdoc_options: []
|
275
262
|
require_paths:
|
276
263
|
- lib
|
277
264
|
required_ruby_version: !ruby/object:Gem::Requirement
|
278
|
-
none: false
|
279
265
|
requirements:
|
280
|
-
- -
|
266
|
+
- - ">="
|
281
267
|
- !ruby/object:Gem::Version
|
282
|
-
version: '0'
|
283
268
|
segments:
|
284
269
|
- 0
|
285
|
-
hash:
|
286
|
-
|
270
|
+
hash: 2
|
271
|
+
version: !binary |-
|
272
|
+
MA==
|
287
273
|
none: false
|
274
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
288
275
|
requirements:
|
289
|
-
- -
|
276
|
+
- - ">="
|
290
277
|
- !ruby/object:Gem::Version
|
291
|
-
version: '0'
|
292
278
|
segments:
|
293
279
|
- 0
|
294
|
-
hash:
|
280
|
+
hash: 2
|
281
|
+
version: !binary |-
|
282
|
+
MA==
|
283
|
+
none: false
|
295
284
|
requirements: []
|
296
|
-
rubyforge_project:
|
297
|
-
rubygems_version: 1.8.
|
298
|
-
signing_key:
|
285
|
+
rubyforge_project:
|
286
|
+
rubygems_version: 1.8.24
|
287
|
+
signing_key:
|
299
288
|
specification_version: 3
|
300
289
|
summary: Consumer-Driven Contracts implementation
|
301
290
|
test_files:
|