pact-support 1.9.0 → 1.15.0
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 +5 -5
- data/CHANGELOG.md +124 -0
- data/lib/pact/configuration.rb +7 -0
- data/lib/pact/consumer_contract/consumer_contract.rb +12 -1
- data/lib/pact/consumer_contract/http_consumer_contract_parser.rb +1 -1
- data/lib/pact/consumer_contract/interaction.rb +5 -1
- data/lib/pact/consumer_contract/interaction_v2_parser.rb +9 -1
- data/lib/pact/consumer_contract/interaction_v3_parser.rb +22 -3
- data/lib/pact/consumer_contract/pact_file.rb +32 -1
- data/lib/pact/matchers/matchers.rb +33 -13
- data/lib/pact/matching_rules/v3/merge.rb +4 -2
- data/lib/pact/shared/multipart_form_differ.rb +2 -0
- data/lib/pact/support/version.rb +1 -1
- data/lib/pact/term.rb +0 -1
- metadata +5 -228
- data/.gitignore +0 -32
- data/.rspec +0 -3
- data/.travis.yml +0 -29
- data/Appraisals +0 -7
- data/Gemfile +0 -4
- data/RELEASING.md +0 -5
- data/Rakefile +0 -4
- data/gemfiles/default.gemfile +0 -5
- data/gemfiles/ruby_under_22.gemfile +0 -8
- data/pact-support.gemspec +0 -39
- data/script/release.sh +0 -9
- data/script/update-pact-specification-v2 +0 -9
- data/spec/fixtures/interaction-with-matching-rules.json +0 -27
- data/spec/fixtures/multipart-form-diff.txt +0 -9
- data/spec/fixtures/not-a-pact.json +0 -3
- data/spec/fixtures/pact-http-v2.json +0 -36
- data/spec/fixtures/pact-http-v3.json +0 -36
- data/spec/integration/matching_rules_extract_and_merge_spec.rb +0 -127
- data/spec/lib/pact/array_like_spec.rb +0 -37
- data/spec/lib/pact/configuration_spec.rb +0 -61
- data/spec/lib/pact/consumer/request_spec.rb +0 -25
- data/spec/lib/pact/consumer_contract/active_support_support_spec.rb +0 -58
- data/spec/lib/pact/consumer_contract/consumer_contract_spec.rb +0 -142
- data/spec/lib/pact/consumer_contract/file_name_spec.rb +0 -24
- data/spec/lib/pact/consumer_contract/headers_spec.rb +0 -107
- data/spec/lib/pact/consumer_contract/http_consumer_contract_parser_spec.rb +0 -25
- data/spec/lib/pact/consumer_contract/interaction_parser_spec.rb +0 -62
- data/spec/lib/pact/consumer_contract/interaction_spec.rb +0 -121
- data/spec/lib/pact/consumer_contract/interaction_v2_parser_spec.rb +0 -54
- data/spec/lib/pact/consumer_contract/interaction_v3_parser_spec.rb +0 -48
- data/spec/lib/pact/consumer_contract/pact_file_spec.rb +0 -204
- data/spec/lib/pact/consumer_contract/query_hash_spec.rb +0 -154
- data/spec/lib/pact/consumer_contract/query_string_spec.rb +0 -131
- data/spec/lib/pact/consumer_contract/request_spec.rb +0 -486
- data/spec/lib/pact/consumer_contract/response_spec.rb +0 -82
- data/spec/lib/pact/helpers_spec.rb +0 -143
- data/spec/lib/pact/matchers/differ_spec.rb +0 -215
- data/spec/lib/pact/matchers/difference_spec.rb +0 -22
- data/spec/lib/pact/matchers/embedded_diff_formatter_spec.rb +0 -90
- data/spec/lib/pact/matchers/extract_diff_messages_spec.rb +0 -78
- data/spec/lib/pact/matchers/index_not_found_spec.rb +0 -21
- data/spec/lib/pact/matchers/list_diff_formatter_spec.rb +0 -121
- data/spec/lib/pact/matchers/matchers_array_like_spec.rb +0 -222
- data/spec/lib/pact/matchers/matchers_messages_hash_and_array_spec.rb +0 -146
- data/spec/lib/pact/matchers/matchers_messages_mismatched_value_spec.rb +0 -71
- data/spec/lib/pact/matchers/matchers_messages_regexp_spec.rb +0 -103
- data/spec/lib/pact/matchers/matchers_spec.rb +0 -521
- data/spec/lib/pact/matchers/multipart_form_diff_formatter_spec.rb +0 -36
- data/spec/lib/pact/matchers/no_diff_at_index_spec.rb +0 -15
- data/spec/lib/pact/matchers/regexp_difference_spec.rb +0 -20
- data/spec/lib/pact/matchers/type_difference_spec.rb +0 -36
- data/spec/lib/pact/matchers/unexpected_index_spec.rb +0 -20
- data/spec/lib/pact/matchers/unexpected_key_spec.rb +0 -20
- data/spec/lib/pact/matchers/unix_diff_formatter_spec.rb +0 -235
- data/spec/lib/pact/matching_rules/extract_spec.rb +0 -216
- data/spec/lib/pact/matching_rules/merge_spec.rb +0 -436
- data/spec/lib/pact/matching_rules/v3/extract_spec.rb +0 -238
- data/spec/lib/pact/matching_rules/v3/merge_spec.rb +0 -485
- data/spec/lib/pact/matching_rules_spec.rb +0 -82
- data/spec/lib/pact/reification_spec.rb +0 -172
- data/spec/lib/pact/shared/dsl_spec.rb +0 -100
- data/spec/lib/pact/shared/form_differ_spec.rb +0 -71
- data/spec/lib/pact/shared/json_differ_spec.rb +0 -36
- data/spec/lib/pact/shared/key_not_found_spec.rb +0 -20
- data/spec/lib/pact/shared/multipart_form_differ_spec.rb +0 -39
- data/spec/lib/pact/shared/request_spec.rb +0 -235
- data/spec/lib/pact/shared/text_differ_spec.rb +0 -54
- data/spec/lib/pact/something_like_spec.rb +0 -23
- data/spec/lib/pact/support_spec.rb +0 -9
- data/spec/lib/pact/symbolize_keys_spec.rb +0 -15
- data/spec/lib/pact/term_spec.rb +0 -89
- data/spec/pact_specification/compliance-2.0.rb +0 -66
- data/spec/spec_helper.rb +0 -18
- data/spec/support/a_consumer-a_producer.json +0 -32
- data/spec/support/a_consumer-a_provider.json +0 -32
- data/spec/support/active_support_if_configured.rb +0 -6
- data/spec/support/case-insensitive-response-header-matching.json +0 -21
- data/spec/support/consumer_contract_template.json +0 -24
- data/spec/support/dsl_spec_support.rb +0 -7
- data/spec/support/factories.rb +0 -87
- data/spec/support/generated_index.md +0 -4
- data/spec/support/generated_markdown.md +0 -55
- data/spec/support/interaction_view_model.json +0 -63
- data/spec/support/interaction_view_model_with_terms.json +0 -50
- data/spec/support/markdown_pact.json +0 -48
- data/spec/support/missing_provider_states_output.txt +0 -25
- data/spec/support/options.json +0 -21
- data/spec/support/ruby_version_helpers.rb +0 -23
- data/spec/support/shared_examples_for_request.rb +0 -132
- data/spec/support/spec_support.rb +0 -29
- data/spec/support/stubbing.json +0 -22
- data/spec/support/term.json +0 -48
- data/spec/support/test_app_fail.json +0 -61
- data/spec/support/test_app_pass.json +0 -38
- data/spec/support/test_app_with_right_content_type_differ.json +0 -23
- data/tasks/release.rake +0 -5
- data/tasks/spec.rake +0 -14
@@ -108,8 +108,10 @@ module Pact
|
|
108
108
|
def log_ignored_rules
|
109
109
|
@matching_rules.each do | jsonpath, rules_hash |
|
110
110
|
rules_array = rules_hash["matchers"]
|
111
|
-
|
112
|
-
rules_array.
|
111
|
+
if rules_array
|
112
|
+
((rules_array.length - 1)..0).each do | index |
|
113
|
+
rules_array.delete_at(index) if rules_array[index].empty?
|
114
|
+
end
|
113
115
|
end
|
114
116
|
end
|
115
117
|
|
@@ -9,6 +9,8 @@ module Pact
|
|
9
9
|
actual_boundary = actual.split.first
|
10
10
|
actual_with_hardcoded_boundary = actual.gsub(actual_boundary, expected_boundary)
|
11
11
|
TextDiffer.call(expected, actual_with_hardcoded_boundary, options)
|
12
|
+
rescue StandardError
|
13
|
+
TextDiffer.call(expected, actual, options)
|
12
14
|
end
|
13
15
|
end
|
14
16
|
end
|
data/lib/pact/support/version.rb
CHANGED
data/lib/pact/term.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Fraser
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2020-05-01 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: randexp
|
@@ -42,20 +42,6 @@ dependencies:
|
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: '2.14'
|
45
|
-
- !ruby/object:Gem::Dependency
|
46
|
-
name: json
|
47
|
-
requirement: !ruby/object:Gem::Requirement
|
48
|
-
requirements:
|
49
|
-
- - ">="
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
version: '0'
|
52
|
-
type: :runtime
|
53
|
-
prerelease: false
|
54
|
-
version_requirements: !ruby/object:Gem::Requirement
|
55
|
-
requirements:
|
56
|
-
- - ">="
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version: '0'
|
59
45
|
- !ruby/object:Gem::Dependency
|
60
46
|
name: term-ansicolor
|
61
47
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,34 +56,6 @@ dependencies:
|
|
70
56
|
- - "~>"
|
71
57
|
- !ruby/object:Gem::Version
|
72
58
|
version: '1.0'
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: find_a_port
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
77
|
-
- - "~>"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: 1.0.1
|
80
|
-
type: :runtime
|
81
|
-
prerelease: false
|
82
|
-
version_requirements: !ruby/object:Gem::Requirement
|
83
|
-
requirements:
|
84
|
-
- - "~>"
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 1.0.1
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
name: thor
|
89
|
-
requirement: !ruby/object:Gem::Requirement
|
90
|
-
requirements:
|
91
|
-
- - ">="
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
94
|
-
type: :runtime
|
95
|
-
prerelease: false
|
96
|
-
version_requirements: !ruby/object:Gem::Requirement
|
97
|
-
requirements:
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: '0'
|
101
59
|
- !ruby/object:Gem::Dependency
|
102
60
|
name: awesome_print
|
103
61
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,18 +207,9 @@ executables: []
|
|
249
207
|
extensions: []
|
250
208
|
extra_rdoc_files: []
|
251
209
|
files:
|
252
|
-
- ".gitignore"
|
253
|
-
- ".rspec"
|
254
|
-
- ".travis.yml"
|
255
|
-
- Appraisals
|
256
210
|
- CHANGELOG.md
|
257
|
-
- Gemfile
|
258
211
|
- LICENSE.txt
|
259
212
|
- README.md
|
260
|
-
- RELEASING.md
|
261
|
-
- Rakefile
|
262
|
-
- gemfiles/default.gemfile
|
263
|
-
- gemfiles/ruby_under_22.gemfile
|
264
213
|
- lib/pact/array_like.rb
|
265
214
|
- lib/pact/configuration.rb
|
266
215
|
- lib/pact/consumer/request.rb
|
@@ -330,95 +279,7 @@ files:
|
|
330
279
|
- lib/pact/symbolize_keys.rb
|
331
280
|
- lib/pact/term.rb
|
332
281
|
- lib/tasks/pact.rake
|
333
|
-
|
334
|
-
- script/release.sh
|
335
|
-
- script/update-pact-specification-v2
|
336
|
-
- spec/fixtures/interaction-with-matching-rules.json
|
337
|
-
- spec/fixtures/multipart-form-diff.txt
|
338
|
-
- spec/fixtures/not-a-pact.json
|
339
|
-
- spec/fixtures/pact-http-v2.json
|
340
|
-
- spec/fixtures/pact-http-v3.json
|
341
|
-
- spec/integration/matching_rules_extract_and_merge_spec.rb
|
342
|
-
- spec/lib/pact/array_like_spec.rb
|
343
|
-
- spec/lib/pact/configuration_spec.rb
|
344
|
-
- spec/lib/pact/consumer/request_spec.rb
|
345
|
-
- spec/lib/pact/consumer_contract/active_support_support_spec.rb
|
346
|
-
- spec/lib/pact/consumer_contract/consumer_contract_spec.rb
|
347
|
-
- spec/lib/pact/consumer_contract/file_name_spec.rb
|
348
|
-
- spec/lib/pact/consumer_contract/headers_spec.rb
|
349
|
-
- spec/lib/pact/consumer_contract/http_consumer_contract_parser_spec.rb
|
350
|
-
- spec/lib/pact/consumer_contract/interaction_parser_spec.rb
|
351
|
-
- spec/lib/pact/consumer_contract/interaction_spec.rb
|
352
|
-
- spec/lib/pact/consumer_contract/interaction_v2_parser_spec.rb
|
353
|
-
- spec/lib/pact/consumer_contract/interaction_v3_parser_spec.rb
|
354
|
-
- spec/lib/pact/consumer_contract/pact_file_spec.rb
|
355
|
-
- spec/lib/pact/consumer_contract/query_hash_spec.rb
|
356
|
-
- spec/lib/pact/consumer_contract/query_string_spec.rb
|
357
|
-
- spec/lib/pact/consumer_contract/request_spec.rb
|
358
|
-
- spec/lib/pact/consumer_contract/response_spec.rb
|
359
|
-
- spec/lib/pact/helpers_spec.rb
|
360
|
-
- spec/lib/pact/matchers/differ_spec.rb
|
361
|
-
- spec/lib/pact/matchers/difference_spec.rb
|
362
|
-
- spec/lib/pact/matchers/embedded_diff_formatter_spec.rb
|
363
|
-
- spec/lib/pact/matchers/extract_diff_messages_spec.rb
|
364
|
-
- spec/lib/pact/matchers/index_not_found_spec.rb
|
365
|
-
- spec/lib/pact/matchers/list_diff_formatter_spec.rb
|
366
|
-
- spec/lib/pact/matchers/matchers_array_like_spec.rb
|
367
|
-
- spec/lib/pact/matchers/matchers_messages_hash_and_array_spec.rb
|
368
|
-
- spec/lib/pact/matchers/matchers_messages_mismatched_value_spec.rb
|
369
|
-
- spec/lib/pact/matchers/matchers_messages_regexp_spec.rb
|
370
|
-
- spec/lib/pact/matchers/matchers_spec.rb
|
371
|
-
- spec/lib/pact/matchers/multipart_form_diff_formatter_spec.rb
|
372
|
-
- spec/lib/pact/matchers/no_diff_at_index_spec.rb
|
373
|
-
- spec/lib/pact/matchers/regexp_difference_spec.rb
|
374
|
-
- spec/lib/pact/matchers/type_difference_spec.rb
|
375
|
-
- spec/lib/pact/matchers/unexpected_index_spec.rb
|
376
|
-
- spec/lib/pact/matchers/unexpected_key_spec.rb
|
377
|
-
- spec/lib/pact/matchers/unix_diff_formatter_spec.rb
|
378
|
-
- spec/lib/pact/matching_rules/extract_spec.rb
|
379
|
-
- spec/lib/pact/matching_rules/merge_spec.rb
|
380
|
-
- spec/lib/pact/matching_rules/v3/extract_spec.rb
|
381
|
-
- spec/lib/pact/matching_rules/v3/merge_spec.rb
|
382
|
-
- spec/lib/pact/matching_rules_spec.rb
|
383
|
-
- spec/lib/pact/reification_spec.rb
|
384
|
-
- spec/lib/pact/shared/dsl_spec.rb
|
385
|
-
- spec/lib/pact/shared/form_differ_spec.rb
|
386
|
-
- spec/lib/pact/shared/json_differ_spec.rb
|
387
|
-
- spec/lib/pact/shared/key_not_found_spec.rb
|
388
|
-
- spec/lib/pact/shared/multipart_form_differ_spec.rb
|
389
|
-
- spec/lib/pact/shared/request_spec.rb
|
390
|
-
- spec/lib/pact/shared/text_differ_spec.rb
|
391
|
-
- spec/lib/pact/something_like_spec.rb
|
392
|
-
- spec/lib/pact/support_spec.rb
|
393
|
-
- spec/lib/pact/symbolize_keys_spec.rb
|
394
|
-
- spec/lib/pact/term_spec.rb
|
395
|
-
- spec/pact_specification/compliance-2.0.rb
|
396
|
-
- spec/spec_helper.rb
|
397
|
-
- spec/support/a_consumer-a_producer.json
|
398
|
-
- spec/support/a_consumer-a_provider.json
|
399
|
-
- spec/support/active_support_if_configured.rb
|
400
|
-
- spec/support/case-insensitive-response-header-matching.json
|
401
|
-
- spec/support/consumer_contract_template.json
|
402
|
-
- spec/support/dsl_spec_support.rb
|
403
|
-
- spec/support/factories.rb
|
404
|
-
- spec/support/generated_index.md
|
405
|
-
- spec/support/generated_markdown.md
|
406
|
-
- spec/support/interaction_view_model.json
|
407
|
-
- spec/support/interaction_view_model_with_terms.json
|
408
|
-
- spec/support/markdown_pact.json
|
409
|
-
- spec/support/missing_provider_states_output.txt
|
410
|
-
- spec/support/options.json
|
411
|
-
- spec/support/ruby_version_helpers.rb
|
412
|
-
- spec/support/shared_examples_for_request.rb
|
413
|
-
- spec/support/spec_support.rb
|
414
|
-
- spec/support/stubbing.json
|
415
|
-
- spec/support/term.json
|
416
|
-
- spec/support/test_app_fail.json
|
417
|
-
- spec/support/test_app_pass.json
|
418
|
-
- spec/support/test_app_with_right_content_type_differ.json
|
419
|
-
- tasks/release.rake
|
420
|
-
- tasks/spec.rake
|
421
|
-
homepage: https://github.com/bethesque/pact-support
|
282
|
+
homepage: https://github.com/pact-foundation/pact-support
|
422
283
|
licenses:
|
423
284
|
- MIT
|
424
285
|
metadata: {}
|
@@ -437,92 +298,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
437
298
|
- !ruby/object:Gem::Version
|
438
299
|
version: '0'
|
439
300
|
requirements: []
|
440
|
-
|
441
|
-
rubygems_version: 2.6.11
|
301
|
+
rubygems_version: 3.0.6
|
442
302
|
signing_key:
|
443
303
|
specification_version: 4
|
444
304
|
summary: Shared code for Pact gems
|
445
|
-
test_files:
|
446
|
-
- spec/fixtures/interaction-with-matching-rules.json
|
447
|
-
- spec/fixtures/multipart-form-diff.txt
|
448
|
-
- spec/fixtures/not-a-pact.json
|
449
|
-
- spec/fixtures/pact-http-v2.json
|
450
|
-
- spec/fixtures/pact-http-v3.json
|
451
|
-
- spec/integration/matching_rules_extract_and_merge_spec.rb
|
452
|
-
- spec/lib/pact/array_like_spec.rb
|
453
|
-
- spec/lib/pact/configuration_spec.rb
|
454
|
-
- spec/lib/pact/consumer/request_spec.rb
|
455
|
-
- spec/lib/pact/consumer_contract/active_support_support_spec.rb
|
456
|
-
- spec/lib/pact/consumer_contract/consumer_contract_spec.rb
|
457
|
-
- spec/lib/pact/consumer_contract/file_name_spec.rb
|
458
|
-
- spec/lib/pact/consumer_contract/headers_spec.rb
|
459
|
-
- spec/lib/pact/consumer_contract/http_consumer_contract_parser_spec.rb
|
460
|
-
- spec/lib/pact/consumer_contract/interaction_parser_spec.rb
|
461
|
-
- spec/lib/pact/consumer_contract/interaction_spec.rb
|
462
|
-
- spec/lib/pact/consumer_contract/interaction_v2_parser_spec.rb
|
463
|
-
- spec/lib/pact/consumer_contract/interaction_v3_parser_spec.rb
|
464
|
-
- spec/lib/pact/consumer_contract/pact_file_spec.rb
|
465
|
-
- spec/lib/pact/consumer_contract/query_hash_spec.rb
|
466
|
-
- spec/lib/pact/consumer_contract/query_string_spec.rb
|
467
|
-
- spec/lib/pact/consumer_contract/request_spec.rb
|
468
|
-
- spec/lib/pact/consumer_contract/response_spec.rb
|
469
|
-
- spec/lib/pact/helpers_spec.rb
|
470
|
-
- spec/lib/pact/matchers/differ_spec.rb
|
471
|
-
- spec/lib/pact/matchers/difference_spec.rb
|
472
|
-
- spec/lib/pact/matchers/embedded_diff_formatter_spec.rb
|
473
|
-
- spec/lib/pact/matchers/extract_diff_messages_spec.rb
|
474
|
-
- spec/lib/pact/matchers/index_not_found_spec.rb
|
475
|
-
- spec/lib/pact/matchers/list_diff_formatter_spec.rb
|
476
|
-
- spec/lib/pact/matchers/matchers_array_like_spec.rb
|
477
|
-
- spec/lib/pact/matchers/matchers_messages_hash_and_array_spec.rb
|
478
|
-
- spec/lib/pact/matchers/matchers_messages_mismatched_value_spec.rb
|
479
|
-
- spec/lib/pact/matchers/matchers_messages_regexp_spec.rb
|
480
|
-
- spec/lib/pact/matchers/matchers_spec.rb
|
481
|
-
- spec/lib/pact/matchers/multipart_form_diff_formatter_spec.rb
|
482
|
-
- spec/lib/pact/matchers/no_diff_at_index_spec.rb
|
483
|
-
- spec/lib/pact/matchers/regexp_difference_spec.rb
|
484
|
-
- spec/lib/pact/matchers/type_difference_spec.rb
|
485
|
-
- spec/lib/pact/matchers/unexpected_index_spec.rb
|
486
|
-
- spec/lib/pact/matchers/unexpected_key_spec.rb
|
487
|
-
- spec/lib/pact/matchers/unix_diff_formatter_spec.rb
|
488
|
-
- spec/lib/pact/matching_rules/extract_spec.rb
|
489
|
-
- spec/lib/pact/matching_rules/merge_spec.rb
|
490
|
-
- spec/lib/pact/matching_rules/v3/extract_spec.rb
|
491
|
-
- spec/lib/pact/matching_rules/v3/merge_spec.rb
|
492
|
-
- spec/lib/pact/matching_rules_spec.rb
|
493
|
-
- spec/lib/pact/reification_spec.rb
|
494
|
-
- spec/lib/pact/shared/dsl_spec.rb
|
495
|
-
- spec/lib/pact/shared/form_differ_spec.rb
|
496
|
-
- spec/lib/pact/shared/json_differ_spec.rb
|
497
|
-
- spec/lib/pact/shared/key_not_found_spec.rb
|
498
|
-
- spec/lib/pact/shared/multipart_form_differ_spec.rb
|
499
|
-
- spec/lib/pact/shared/request_spec.rb
|
500
|
-
- spec/lib/pact/shared/text_differ_spec.rb
|
501
|
-
- spec/lib/pact/something_like_spec.rb
|
502
|
-
- spec/lib/pact/support_spec.rb
|
503
|
-
- spec/lib/pact/symbolize_keys_spec.rb
|
504
|
-
- spec/lib/pact/term_spec.rb
|
505
|
-
- spec/pact_specification/compliance-2.0.rb
|
506
|
-
- spec/spec_helper.rb
|
507
|
-
- spec/support/a_consumer-a_producer.json
|
508
|
-
- spec/support/a_consumer-a_provider.json
|
509
|
-
- spec/support/active_support_if_configured.rb
|
510
|
-
- spec/support/case-insensitive-response-header-matching.json
|
511
|
-
- spec/support/consumer_contract_template.json
|
512
|
-
- spec/support/dsl_spec_support.rb
|
513
|
-
- spec/support/factories.rb
|
514
|
-
- spec/support/generated_index.md
|
515
|
-
- spec/support/generated_markdown.md
|
516
|
-
- spec/support/interaction_view_model.json
|
517
|
-
- spec/support/interaction_view_model_with_terms.json
|
518
|
-
- spec/support/markdown_pact.json
|
519
|
-
- spec/support/missing_provider_states_output.txt
|
520
|
-
- spec/support/options.json
|
521
|
-
- spec/support/ruby_version_helpers.rb
|
522
|
-
- spec/support/shared_examples_for_request.rb
|
523
|
-
- spec/support/spec_support.rb
|
524
|
-
- spec/support/stubbing.json
|
525
|
-
- spec/support/term.json
|
526
|
-
- spec/support/test_app_fail.json
|
527
|
-
- spec/support/test_app_pass.json
|
528
|
-
- spec/support/test_app_with_right_content_type_differ.json
|
305
|
+
test_files: []
|
data/.gitignore
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
|
-
InstalledFiles
|
7
|
-
_yardoc
|
8
|
-
coverage
|
9
|
-
lib/bundler/man
|
10
|
-
pkg
|
11
|
-
rdoc
|
12
|
-
spec/reports
|
13
|
-
test/tmp
|
14
|
-
test/version_tmp
|
15
|
-
tmp
|
16
|
-
*.swp
|
17
|
-
.bin
|
18
|
-
tags
|
19
|
-
.rbenv-version
|
20
|
-
spec/pacts
|
21
|
-
.rvmrc
|
22
|
-
*.iml
|
23
|
-
.rakeTasks
|
24
|
-
*~
|
25
|
-
.ruby-gemset
|
26
|
-
.ruby-version
|
27
|
-
log
|
28
|
-
.idea
|
29
|
-
reports
|
30
|
-
Gemfile.lock
|
31
|
-
gemfiles/*.lock
|
32
|
-
spec/examples.txt
|
data/.rspec
DELETED
data/.travis.yml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.0.0
|
4
|
-
- 2.1.8
|
5
|
-
- 2.2.4
|
6
|
-
- 2.3.1
|
7
|
-
- 2.4.3
|
8
|
-
- 2.5.0
|
9
|
-
- jruby-9.1.13.0
|
10
|
-
gemfile:
|
11
|
-
- gemfiles/default.gemfile
|
12
|
-
- gemfiles/ruby_under_22.gemfile
|
13
|
-
matrix:
|
14
|
-
exclude:
|
15
|
-
# rack 2.0 and activesupport 5.0 no longer support ruby under 2.2.
|
16
|
-
- rvm: 2.0.0
|
17
|
-
gemfile: gemfiles/default.gemfile
|
18
|
-
- rvm: 2.1.8
|
19
|
-
gemfile: gemfiles/default.gemfile
|
20
|
-
- rvm: 2.2.4
|
21
|
-
gemfile: gemfiles/ruby_under_22.gemfile
|
22
|
-
- rvm: 2.3.1
|
23
|
-
gemfile: gemfiles/ruby_under_22.gemfile
|
24
|
-
- rvm: 2.4.3
|
25
|
-
gemfile: gemfiles/ruby_under_22.gemfile
|
26
|
-
- rvm: 2.5.0
|
27
|
-
gemfile: gemfiles/ruby_under_22.gemfile
|
28
|
-
- rvm: jruby-9.1.13.0
|
29
|
-
gemfile: gemfiles/ruby_under_22.gemfile
|
data/Appraisals
DELETED
data/Gemfile
DELETED
data/RELEASING.md
DELETED
data/Rakefile
DELETED
data/gemfiles/default.gemfile
DELETED
data/pact-support.gemspec
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'pact/support/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |gem|
|
7
|
-
gem.name = "pact-support"
|
8
|
-
gem.version = Pact::Support::VERSION
|
9
|
-
gem.authors = ["James Fraser", "Sergei Matheson", "Brent Snook", "Ronald Holshausen", "Beth Skurrie"]
|
10
|
-
gem.email = ["james.fraser@alumni.swinburne.edu", "sergei.matheson@gmail.com", "brent@fuglylogic.com", "uglyog@gmail.com", "bskurrie@dius.com.au"]
|
11
|
-
gem.summary = %q{Shared code for Pact gems}
|
12
|
-
gem.homepage = "https://github.com/bethesque/pact-support"
|
13
|
-
|
14
|
-
gem.required_ruby_version = '>= 2.0'
|
15
|
-
|
16
|
-
gem.files = `git ls-files`.split($/)
|
17
|
-
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
18
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
|
-
gem.require_paths = ["lib"]
|
20
|
-
gem.license = 'MIT'
|
21
|
-
|
22
|
-
gem.add_runtime_dependency 'randexp', '~> 0.1.7'
|
23
|
-
gem.add_runtime_dependency 'rspec', '>=2.14'
|
24
|
-
gem.add_runtime_dependency 'json'
|
25
|
-
gem.add_runtime_dependency 'term-ansicolor', '~> 1.0'
|
26
|
-
gem.add_runtime_dependency 'find_a_port', '~> 1.0.1'
|
27
|
-
gem.add_runtime_dependency 'thor'
|
28
|
-
gem.add_runtime_dependency 'awesome_print', '~> 1.1'
|
29
|
-
|
30
|
-
gem.add_development_dependency 'rake', '~> 10.0.3'
|
31
|
-
gem.add_development_dependency 'webmock', '~> 3.3'
|
32
|
-
gem.add_development_dependency 'pry'
|
33
|
-
gem.add_development_dependency 'fakefs', '~> 0.11.2'
|
34
|
-
gem.add_development_dependency 'hashie', '~> 2.0'
|
35
|
-
gem.add_development_dependency 'activesupport'
|
36
|
-
gem.add_development_dependency 'appraisal'
|
37
|
-
gem.add_development_dependency 'conventional-changelog', '~>1.3'
|
38
|
-
gem.add_development_dependency 'bump', '~> 0.5'
|
39
|
-
end
|