pact 1.4.0.rc4 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. data/CHANGELOG.md +13 -0
  2. data/lib/pact/consumer/configuration/mock_service.rb +2 -1
  3. data/lib/pact/consumer/consumer_contract_builder.rb +2 -1
  4. data/lib/pact/version.rb +1 -1
  5. data/pact.gemspec +4 -3
  6. metadata +32 -205
  7. data/.gitignore +0 -29
  8. data/.rspec +0 -2
  9. data/.travis.yml +0 -8
  10. data/Gemfile +0 -9
  11. data/Gemfile.lock +0 -108
  12. data/README.md +0 -314
  13. data/Rakefile +0 -9
  14. data/config.ru +0 -3
  15. data/documentation/README.md +0 -13
  16. data/documentation/configuration.md +0 -166
  17. data/documentation/diff_formatter_embedded.png +0 -0
  18. data/documentation/diff_formatter_list.png +0 -0
  19. data/documentation/diff_formatter_unix.png +0 -0
  20. data/example/animal-service/Gemfile +0 -14
  21. data/example/animal-service/Gemfile.lock +0 -69
  22. data/example/animal-service/Rakefile +0 -5
  23. data/example/animal-service/config.ru +0 -3
  24. data/example/animal-service/db/animal_db.sqlite3 +0 -0
  25. data/example/animal-service/lib/animal_service/animal_repository.rb +0 -12
  26. data/example/animal-service/lib/animal_service/api.rb +0 -29
  27. data/example/animal-service/lib/animal_service/db.rb +0 -5
  28. data/example/animal-service/spec/service_consumers/pact_helper.rb +0 -11
  29. data/example/animal-service/spec/service_consumers/provider_states_for_zoo_app.rb +0 -26
  30. data/example/zoo-app/Gemfile +0 -12
  31. data/example/zoo-app/Gemfile.lock +0 -63
  32. data/example/zoo-app/Rakefile +0 -5
  33. data/example/zoo-app/doc/pacts/markdown/README.md +0 -3
  34. data/example/zoo-app/doc/pacts/markdown/Zoo App - Animal Service.md +0 -75
  35. data/example/zoo-app/lib/zoo_app/animal_service_client.rb +0 -31
  36. data/example/zoo-app/lib/zoo_app/models/alligator.rb +0 -17
  37. data/example/zoo-app/spec/pacts/zoo_app-animal_service.json +0 -67
  38. data/example/zoo-app/spec/service_providers/animal_service_client_spec.rb +0 -71
  39. data/example/zoo-app/spec/service_providers/pact_helper.rb +0 -15
  40. data/example/zoo-app/spec/spec_helper.rb +0 -6
  41. data/scratchpad.rb +0 -52
  42. data/spec/features/consumption_spec.rb +0 -114
  43. data/spec/features/production_spec.rb +0 -155
  44. data/spec/features/provider_states/zebras.rb +0 -28
  45. data/spec/integration/consumer_async_request_spec.rb +0 -46
  46. data/spec/integration/consumer_more_than_one_matching_interaction_spec.rb +0 -49
  47. data/spec/integration/consumer_no_matching_interaction_spec.rb +0 -53
  48. data/spec/integration/consumer_with_a_provider_state_spec.rb +0 -44
  49. data/spec/integration/consumer_with_form_hash_spec.rb +0 -62
  50. data/spec/integration/consumer_with_form_spec.rb +0 -50
  51. data/spec/integration/consumer_with_params_hash_spec.rb +0 -122
  52. data/spec/integration/pact/consumer_configuration_spec.rb +0 -66
  53. data/spec/integration/pact/provider_configuration_spec.rb +0 -25
  54. data/spec/lib/pact/cli_spec.rb +0 -47
  55. data/spec/lib/pact/configuration_spec.rb +0 -297
  56. data/spec/lib/pact/consumer/app_manager_spec.rb +0 -41
  57. data/spec/lib/pact/consumer/configuration_spec.rb +0 -57
  58. data/spec/lib/pact/consumer/consumer_contract_builder_spec.rb +0 -69
  59. data/spec/lib/pact/consumer/interaction_builder_spec.rb +0 -87
  60. data/spec/lib/pact/consumer/interactions_spec.rb +0 -64
  61. data/spec/lib/pact/consumer/mock_service/app_spec.rb +0 -52
  62. data/spec/lib/pact/consumer/mock_service/interaction_list_spec.rb +0 -78
  63. data/spec/lib/pact/consumer/mock_service/interaction_mismatch_spec.rb +0 -70
  64. data/spec/lib/pact/consumer/mock_service/interaction_replay_spec.rb +0 -12
  65. data/spec/lib/pact/consumer/mock_service/rack_request_helper_spec.rb +0 -88
  66. data/spec/lib/pact/consumer/mock_service/verification_get_spec.rb +0 -142
  67. data/spec/lib/pact/consumer/service_consumer_spec.rb +0 -11
  68. data/spec/lib/pact/doc/generator_spec.rb +0 -84
  69. data/spec/lib/pact/doc/interaction_view_model_spec.rb +0 -132
  70. data/spec/lib/pact/doc/markdown/consumer_contract_renderer_spec.rb +0 -29
  71. data/spec/lib/pact/doc/markdown/index_renderer_spec.rb +0 -29
  72. data/spec/lib/pact/provider/configuration/configuration_extension_spec.rb +0 -17
  73. data/spec/lib/pact/provider/configuration/pact_verification_spec.rb +0 -43
  74. data/spec/lib/pact/provider/configuration/service_provider_config_spec.rb +0 -21
  75. data/spec/lib/pact/provider/configuration/service_provider_dsl_spec.rb +0 -108
  76. data/spec/lib/pact/provider/configuration_spec.rb +0 -50
  77. data/spec/lib/pact/provider/matchers/messages_spec.rb +0 -116
  78. data/spec/lib/pact/provider/pact_helper_locator_spec.rb +0 -54
  79. data/spec/lib/pact/provider/print_missing_provider_states_spec.rb +0 -19
  80. data/spec/lib/pact/provider/request_spec.rb +0 -78
  81. data/spec/lib/pact/provider/rspec/formatter_rspec_2_spec.rb +0 -68
  82. data/spec/lib/pact/provider/rspec/formatter_rspec_3_spec.rb +0 -72
  83. data/spec/lib/pact/provider/rspec_spec.rb +0 -55
  84. data/spec/lib/pact/provider/state/provider_state_manager_spec.rb +0 -89
  85. data/spec/lib/pact/provider/state/provider_state_proxy_spec.rb +0 -80
  86. data/spec/lib/pact/provider/state/provider_state_spec.rb +0 -213
  87. data/spec/lib/pact/provider/world_spec.rb +0 -41
  88. data/spec/lib/pact/tasks/task_helper_spec.rb +0 -74
  89. data/spec/lib/pact/tasks/verification_task_spec.rb +0 -75
  90. data/spec/pact_specification/compliance-1.0.0.rb +0 -47
  91. data/spec/spec_helper.rb +0 -22
  92. data/spec/standalone/consumer_fail_test.rb +0 -55
  93. data/spec/standalone/consumer_pass_test.rb +0 -51
  94. data/spec/support/a_consumer-a_producer.json +0 -32
  95. data/spec/support/a_consumer-a_provider.json +0 -32
  96. data/spec/support/active_support_if_configured.rb +0 -6
  97. data/spec/support/app_for_config_ru.rb +0 -4
  98. data/spec/support/case-insensitive-response-header-matching.json +0 -21
  99. data/spec/support/case-insensitive-response-header-matching.rb +0 -15
  100. data/spec/support/consumer_contract_template.json +0 -24
  101. data/spec/support/factories.rb +0 -82
  102. data/spec/support/generated_index.md +0 -4
  103. data/spec/support/generated_markdown.md +0 -55
  104. data/spec/support/interaction_view_model.json +0 -63
  105. data/spec/support/interaction_view_model_with_terms.json +0 -50
  106. data/spec/support/markdown_pact.json +0 -48
  107. data/spec/support/missing_provider_states_output.txt +0 -25
  108. data/spec/support/options.json +0 -21
  109. data/spec/support/options_app.rb +0 -15
  110. data/spec/support/pact_helper.rb +0 -57
  111. data/spec/support/shared_examples_for_request.rb +0 -94
  112. data/spec/support/spec_support.rb +0 -20
  113. data/spec/support/stubbing.json +0 -22
  114. data/spec/support/stubbing_using_allow.rb +0 -29
  115. data/spec/support/term.json +0 -48
  116. data/spec/support/test_app_fail.json +0 -61
  117. data/spec/support/test_app_pass.json +0 -38
  118. data/spec/support/test_app_with_right_content_type_differ.json +0 -23
  119. data/tasks/pact-test.rake +0 -114
  120. data/tasks/spec.rake +0 -8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@ Do this to generate your change history
2
2
 
3
3
  git log --pretty=format:' * %h - %s (%an, %ad)'
4
4
 
5
+
6
+
7
+ ### 1.4.0 (25 November 2014)
8
+
9
+ * e596eb8 - Added appraisal gem so we can test against RSpec 2 and 3. (bethesque, Thu Nov 20 09:31:13 2014 +1100)
10
+ * fb40662 - Rescue EOFError when starting server jruby fails because of this all the time on TravisCI (bethesque, Fri Nov 14 15:58:08 2014 +1100)
11
+ * c1e8b55 - Removing extraneous files from being included in the gem (bethesque, Fri Nov 14 14:03:44 2014 +1100)
12
+ * 247e1c2 - Added example pact:publish task to example app (bethesque, Tue Nov 11 21:30:48 2014 +1100)
13
+ * 935b318 - Removed Gemfile.lock from source control (bethesque, Fri Oct 24 16:02:36 2014 +1100)
14
+ * b2f9073 - Mock Service client must now specify the pact dir (bethesque, Fri Oct 24 09:39:12 2014 +1100)
15
+ * c64e122 - Add the ability to use regex in headers when defining the response. (Michael Treacher, Thu Oct 23 21:22:13 2014 +1100)
16
+ * 892e526 - Removed jruby-19mode from .travis.yml, it fails inconsistently with EOF error. (bethesque, Wed Oct 22 16:26:28 2014 +1100)
17
+
5
18
  ### 1.4.0.rc4 (22 October 2014)
6
19
 
7
20
  * e56775a - Upgraded pact support gems to allow form bodies to be specified as Hashes with Pact::Terms (bethesque, Wed Oct 22 15:31:30 2014 +1100)
@@ -61,7 +61,8 @@ module Pact
61
61
  :consumer_name => consumer_name,
62
62
  :provider_name => provider_name,
63
63
  :pactfile_write_mode => Pact.configuration.pactfile_write_mode,
64
- :port => port
64
+ :port => port,
65
+ :pact_dir => Pact.configuration.pact_dir
65
66
  }
66
67
  Pact::Consumer::ConsumerContractBuilder.new consumer_contract_builder_fields
67
68
  end
@@ -18,7 +18,8 @@ module Pact
18
18
  @consumer_contract_details = {
19
19
  consumer: {name: attributes[:consumer_name]},
20
20
  provider: {name: attributes[:provider_name]},
21
- pactfile_write_mode: attributes[:pactfile_write_mode].to_s
21
+ pactfile_write_mode: attributes[:pactfile_write_mode].to_s,
22
+ pact_dir: attributes.fetch(:pact_dir)
22
23
  }
23
24
  @mock_service_client = MockServiceClient.new(attributes[:port])
24
25
  @mock_service_base_url = "http://localhost:#{attributes[:port]}"
data/lib/pact/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pact
2
- VERSION = "1.4.0.rc4"
2
+ VERSION = "1.4.0"
3
3
  end
data/pact.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.summary = %q{Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.}
13
13
  gem.homepage = "https://github.com/realestate-com-au/pact"
14
14
 
15
- gem.files = `git ls-files`.split($/)
15
+ gem.files = `git ls-files bin lib pact.gemspec CHANGELOG.md LICENSE.txt`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
@@ -29,13 +29,14 @@ Gem::Specification.new do |gem|
29
29
  gem.add_runtime_dependency 'term-ansicolor', '~> 1.0'
30
30
 
31
31
  gem.add_runtime_dependency 'pact-support', '~> 0.1.2'
32
- gem.add_runtime_dependency 'pact-mock_service', '~> 0.1.0'
32
+ gem.add_runtime_dependency 'pact-mock_service', '~> 0.2.0'
33
33
 
34
34
  gem.add_development_dependency 'rake', '~> 10.0.3'
35
35
  gem.add_development_dependency 'webmock', '~> 1.18.0'
36
36
  gem.add_development_dependency 'pry'
37
- gem.add_development_dependency 'fakefs', '~> 0.4'
37
+ gem.add_development_dependency 'fakefs', '0.5' # 0.6.0 blows up
38
38
  gem.add_development_dependency 'hashie', '~> 2.0'
39
39
  gem.add_development_dependency 'activesupport'
40
40
  gem.add_development_dependency 'faraday'
41
+ gem.add_development_dependency 'appraisal'
41
42
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.rc4
5
- prerelease: 6
4
+ version: 1.4.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Fraser
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2014-10-22 00:00:00.000000000 Z
16
+ date: 2014-11-25 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: randexp
@@ -182,7 +182,7 @@ dependencies:
182
182
  requirements:
183
183
  - - ~>
184
184
  - !ruby/object:Gem::Version
185
- version: 0.1.0
185
+ version: 0.2.0
186
186
  type: :runtime
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
@@ -190,7 +190,7 @@ dependencies:
190
190
  requirements:
191
191
  - - ~>
192
192
  - !ruby/object:Gem::Version
193
- version: 0.1.0
193
+ version: 0.2.0
194
194
  - !ruby/object:Gem::Dependency
195
195
  name: rake
196
196
  requirement: !ruby/object:Gem::Requirement
@@ -244,17 +244,17 @@ dependencies:
244
244
  requirement: !ruby/object:Gem::Requirement
245
245
  none: false
246
246
  requirements:
247
- - - ~>
247
+ - - '='
248
248
  - !ruby/object:Gem::Version
249
- version: '0.4'
249
+ version: '0.5'
250
250
  type: :development
251
251
  prerelease: false
252
252
  version_requirements: !ruby/object:Gem::Requirement
253
253
  none: false
254
254
  requirements:
255
- - - ~>
255
+ - - '='
256
256
  - !ruby/object:Gem::Version
257
- version: '0.4'
257
+ version: '0.5'
258
258
  - !ruby/object:Gem::Dependency
259
259
  name: hashie
260
260
  requirement: !ruby/object:Gem::Requirement
@@ -303,6 +303,22 @@ dependencies:
303
303
  - - ! '>='
304
304
  - !ruby/object:Gem::Version
305
305
  version: '0'
306
+ - !ruby/object:Gem::Dependency
307
+ name: appraisal
308
+ requirement: !ruby/object:Gem::Requirement
309
+ none: false
310
+ requirements:
311
+ - - ! '>='
312
+ - !ruby/object:Gem::Version
313
+ version: '0'
314
+ type: :development
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ none: false
318
+ requirements:
319
+ - - ! '>='
320
+ - !ruby/object:Gem::Version
321
+ version: '0'
306
322
  description: Enables consumer driven contract testing, providing a mock service and
307
323
  DSL for the consumer project, and interaction playback and verification for the
308
324
  service provider project.
@@ -317,44 +333,9 @@ executables:
317
333
  extensions: []
318
334
  extra_rdoc_files: []
319
335
  files:
320
- - .gitignore
321
- - .rspec
322
- - .ruby-version
323
- - .travis.yml
324
336
  - CHANGELOG.md
325
- - Gemfile
326
- - Gemfile.lock
327
337
  - LICENSE.txt
328
- - README.md
329
- - Rakefile
330
338
  - bin/pact
331
- - config.ru
332
- - documentation/README.md
333
- - documentation/configuration.md
334
- - documentation/diff_formatter_embedded.png
335
- - documentation/diff_formatter_list.png
336
- - documentation/diff_formatter_unix.png
337
- - example/animal-service/Gemfile
338
- - example/animal-service/Gemfile.lock
339
- - example/animal-service/Rakefile
340
- - example/animal-service/config.ru
341
- - example/animal-service/db/animal_db.sqlite3
342
- - example/animal-service/lib/animal_service/animal_repository.rb
343
- - example/animal-service/lib/animal_service/api.rb
344
- - example/animal-service/lib/animal_service/db.rb
345
- - example/animal-service/spec/service_consumers/pact_helper.rb
346
- - example/animal-service/spec/service_consumers/provider_states_for_zoo_app.rb
347
- - example/zoo-app/Gemfile
348
- - example/zoo-app/Gemfile.lock
349
- - example/zoo-app/Rakefile
350
- - example/zoo-app/doc/pacts/markdown/README.md
351
- - example/zoo-app/doc/pacts/markdown/Zoo App - Animal Service.md
352
- - example/zoo-app/lib/zoo_app/animal_service_client.rb
353
- - example/zoo-app/lib/zoo_app/models/alligator.rb
354
- - example/zoo-app/spec/pacts/zoo_app-animal_service.json
355
- - example/zoo-app/spec/service_providers/animal_service_client_spec.rb
356
- - example/zoo-app/spec/service_providers/pact_helper.rb
357
- - example/zoo-app/spec/spec_helper.rb
358
339
  - lib/pact.rb
359
340
  - lib/pact/cli.rb
360
341
  - lib/pact/consumer.rb
@@ -415,86 +396,6 @@ files:
415
396
  - lib/pact/version.rb
416
397
  - lib/tasks/pact.rake
417
398
  - pact.gemspec
418
- - scratchpad.rb
419
- - spec/features/consumption_spec.rb
420
- - spec/features/production_spec.rb
421
- - spec/features/provider_states/zebras.rb
422
- - spec/integration/consumer_async_request_spec.rb
423
- - spec/integration/consumer_more_than_one_matching_interaction_spec.rb
424
- - spec/integration/consumer_no_matching_interaction_spec.rb
425
- - spec/integration/consumer_with_a_provider_state_spec.rb
426
- - spec/integration/consumer_with_form_hash_spec.rb
427
- - spec/integration/consumer_with_form_spec.rb
428
- - spec/integration/consumer_with_params_hash_spec.rb
429
- - spec/integration/pact/consumer_configuration_spec.rb
430
- - spec/integration/pact/provider_configuration_spec.rb
431
- - spec/lib/pact/cli_spec.rb
432
- - spec/lib/pact/configuration_spec.rb
433
- - spec/lib/pact/consumer/app_manager_spec.rb
434
- - spec/lib/pact/consumer/configuration_spec.rb
435
- - spec/lib/pact/consumer/consumer_contract_builder_spec.rb
436
- - spec/lib/pact/consumer/interaction_builder_spec.rb
437
- - spec/lib/pact/consumer/interactions_spec.rb
438
- - spec/lib/pact/consumer/mock_service/app_spec.rb
439
- - spec/lib/pact/consumer/mock_service/interaction_list_spec.rb
440
- - spec/lib/pact/consumer/mock_service/interaction_mismatch_spec.rb
441
- - spec/lib/pact/consumer/mock_service/interaction_replay_spec.rb
442
- - spec/lib/pact/consumer/mock_service/rack_request_helper_spec.rb
443
- - spec/lib/pact/consumer/mock_service/verification_get_spec.rb
444
- - spec/lib/pact/consumer/service_consumer_spec.rb
445
- - spec/lib/pact/doc/generator_spec.rb
446
- - spec/lib/pact/doc/interaction_view_model_spec.rb
447
- - spec/lib/pact/doc/markdown/consumer_contract_renderer_spec.rb
448
- - spec/lib/pact/doc/markdown/index_renderer_spec.rb
449
- - spec/lib/pact/provider/configuration/configuration_extension_spec.rb
450
- - spec/lib/pact/provider/configuration/pact_verification_spec.rb
451
- - spec/lib/pact/provider/configuration/service_provider_config_spec.rb
452
- - spec/lib/pact/provider/configuration/service_provider_dsl_spec.rb
453
- - spec/lib/pact/provider/configuration_spec.rb
454
- - spec/lib/pact/provider/matchers/messages_spec.rb
455
- - spec/lib/pact/provider/pact_helper_locator_spec.rb
456
- - spec/lib/pact/provider/print_missing_provider_states_spec.rb
457
- - spec/lib/pact/provider/request_spec.rb
458
- - spec/lib/pact/provider/rspec/formatter_rspec_2_spec.rb
459
- - spec/lib/pact/provider/rspec/formatter_rspec_3_spec.rb
460
- - spec/lib/pact/provider/rspec_spec.rb
461
- - spec/lib/pact/provider/state/provider_state_manager_spec.rb
462
- - spec/lib/pact/provider/state/provider_state_proxy_spec.rb
463
- - spec/lib/pact/provider/state/provider_state_spec.rb
464
- - spec/lib/pact/provider/world_spec.rb
465
- - spec/lib/pact/tasks/task_helper_spec.rb
466
- - spec/lib/pact/tasks/verification_task_spec.rb
467
- - spec/pact_specification/compliance-1.0.0.rb
468
- - spec/spec_helper.rb
469
- - spec/standalone/consumer_fail_test.rb
470
- - spec/standalone/consumer_pass_test.rb
471
- - spec/support/a_consumer-a_producer.json
472
- - spec/support/a_consumer-a_provider.json
473
- - spec/support/active_support_if_configured.rb
474
- - spec/support/app_for_config_ru.rb
475
- - spec/support/case-insensitive-response-header-matching.json
476
- - spec/support/case-insensitive-response-header-matching.rb
477
- - spec/support/consumer_contract_template.json
478
- - spec/support/factories.rb
479
- - spec/support/generated_index.md
480
- - spec/support/generated_markdown.md
481
- - spec/support/interaction_view_model.json
482
- - spec/support/interaction_view_model_with_terms.json
483
- - spec/support/markdown_pact.json
484
- - spec/support/missing_provider_states_output.txt
485
- - spec/support/options.json
486
- - spec/support/options_app.rb
487
- - spec/support/pact_helper.rb
488
- - spec/support/shared_examples_for_request.rb
489
- - spec/support/spec_support.rb
490
- - spec/support/stubbing.json
491
- - spec/support/stubbing_using_allow.rb
492
- - spec/support/term.json
493
- - spec/support/test_app_fail.json
494
- - spec/support/test_app_pass.json
495
- - spec/support/test_app_with_right_content_type_differ.json
496
- - tasks/pact-test.rake
497
- - tasks/spec.rake
498
399
  homepage: https://github.com/realestate-com-au/pact
499
400
  licenses:
500
401
  - MIT
@@ -510,13 +411,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
510
411
  version: '0'
511
412
  segments:
512
413
  - 0
513
- hash: 2889901042429282907
414
+ hash: -2181790472220138069
514
415
  required_rubygems_version: !ruby/object:Gem::Requirement
515
416
  none: false
516
417
  requirements:
517
- - - ! '>'
418
+ - - ! '>='
518
419
  - !ruby/object:Gem::Version
519
- version: 1.3.1
420
+ version: '0'
421
+ segments:
422
+ - 0
423
+ hash: -2181790472220138069
520
424
  requirements: []
521
425
  rubyforge_project:
522
426
  rubygems_version: 1.8.23
@@ -525,81 +429,4 @@ specification_version: 3
525
429
  summary: Enables consumer driven contract testing, providing a mock service and DSL
526
430
  for the consumer project, and interaction playback and verification for the service
527
431
  provider project.
528
- test_files:
529
- - spec/features/consumption_spec.rb
530
- - spec/features/production_spec.rb
531
- - spec/features/provider_states/zebras.rb
532
- - spec/integration/consumer_async_request_spec.rb
533
- - spec/integration/consumer_more_than_one_matching_interaction_spec.rb
534
- - spec/integration/consumer_no_matching_interaction_spec.rb
535
- - spec/integration/consumer_with_a_provider_state_spec.rb
536
- - spec/integration/consumer_with_form_hash_spec.rb
537
- - spec/integration/consumer_with_form_spec.rb
538
- - spec/integration/consumer_with_params_hash_spec.rb
539
- - spec/integration/pact/consumer_configuration_spec.rb
540
- - spec/integration/pact/provider_configuration_spec.rb
541
- - spec/lib/pact/cli_spec.rb
542
- - spec/lib/pact/configuration_spec.rb
543
- - spec/lib/pact/consumer/app_manager_spec.rb
544
- - spec/lib/pact/consumer/configuration_spec.rb
545
- - spec/lib/pact/consumer/consumer_contract_builder_spec.rb
546
- - spec/lib/pact/consumer/interaction_builder_spec.rb
547
- - spec/lib/pact/consumer/interactions_spec.rb
548
- - spec/lib/pact/consumer/mock_service/app_spec.rb
549
- - spec/lib/pact/consumer/mock_service/interaction_list_spec.rb
550
- - spec/lib/pact/consumer/mock_service/interaction_mismatch_spec.rb
551
- - spec/lib/pact/consumer/mock_service/interaction_replay_spec.rb
552
- - spec/lib/pact/consumer/mock_service/rack_request_helper_spec.rb
553
- - spec/lib/pact/consumer/mock_service/verification_get_spec.rb
554
- - spec/lib/pact/consumer/service_consumer_spec.rb
555
- - spec/lib/pact/doc/generator_spec.rb
556
- - spec/lib/pact/doc/interaction_view_model_spec.rb
557
- - spec/lib/pact/doc/markdown/consumer_contract_renderer_spec.rb
558
- - spec/lib/pact/doc/markdown/index_renderer_spec.rb
559
- - spec/lib/pact/provider/configuration/configuration_extension_spec.rb
560
- - spec/lib/pact/provider/configuration/pact_verification_spec.rb
561
- - spec/lib/pact/provider/configuration/service_provider_config_spec.rb
562
- - spec/lib/pact/provider/configuration/service_provider_dsl_spec.rb
563
- - spec/lib/pact/provider/configuration_spec.rb
564
- - spec/lib/pact/provider/matchers/messages_spec.rb
565
- - spec/lib/pact/provider/pact_helper_locator_spec.rb
566
- - spec/lib/pact/provider/print_missing_provider_states_spec.rb
567
- - spec/lib/pact/provider/request_spec.rb
568
- - spec/lib/pact/provider/rspec/formatter_rspec_2_spec.rb
569
- - spec/lib/pact/provider/rspec/formatter_rspec_3_spec.rb
570
- - spec/lib/pact/provider/rspec_spec.rb
571
- - spec/lib/pact/provider/state/provider_state_manager_spec.rb
572
- - spec/lib/pact/provider/state/provider_state_proxy_spec.rb
573
- - spec/lib/pact/provider/state/provider_state_spec.rb
574
- - spec/lib/pact/provider/world_spec.rb
575
- - spec/lib/pact/tasks/task_helper_spec.rb
576
- - spec/lib/pact/tasks/verification_task_spec.rb
577
- - spec/pact_specification/compliance-1.0.0.rb
578
- - spec/spec_helper.rb
579
- - spec/standalone/consumer_fail_test.rb
580
- - spec/standalone/consumer_pass_test.rb
581
- - spec/support/a_consumer-a_producer.json
582
- - spec/support/a_consumer-a_provider.json
583
- - spec/support/active_support_if_configured.rb
584
- - spec/support/app_for_config_ru.rb
585
- - spec/support/case-insensitive-response-header-matching.json
586
- - spec/support/case-insensitive-response-header-matching.rb
587
- - spec/support/consumer_contract_template.json
588
- - spec/support/factories.rb
589
- - spec/support/generated_index.md
590
- - spec/support/generated_markdown.md
591
- - spec/support/interaction_view_model.json
592
- - spec/support/interaction_view_model_with_terms.json
593
- - spec/support/markdown_pact.json
594
- - spec/support/missing_provider_states_output.txt
595
- - spec/support/options.json
596
- - spec/support/options_app.rb
597
- - spec/support/pact_helper.rb
598
- - spec/support/shared_examples_for_request.rb
599
- - spec/support/spec_support.rb
600
- - spec/support/stubbing.json
601
- - spec/support/stubbing_using_allow.rb
602
- - spec/support/term.json
603
- - spec/support/test_app_fail.json
604
- - spec/support/test_app_pass.json
605
- - spec/support/test_app_with_right_content_type_differ.json
432
+ test_files: []
data/.gitignore DELETED
@@ -1,29 +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
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --format documentation
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.1
6
- - jruby-19mode
7
- - jruby-1.7.11
8
- - jruby-1.7.12
data/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in pact.gemspec
4
- gemspec
5
-
6
- if ENV['X_PACT_DEVELOPMENT']
7
- gem "pact-support", path: '../pact-support'
8
- gem "pact-mock_service", path: '../pact-mock_service'
9
- end
data/Gemfile.lock DELETED
@@ -1,108 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- pact (1.4.0.rc4)
5
- awesome_print (~> 1.1)
6
- find_a_port (~> 1.0.1)
7
- json
8
- pact-mock_service (~> 0.1.0)
9
- pact-support (~> 0.1.2)
10
- rack-test (~> 0.6.2)
11
- randexp (~> 0.1.7)
12
- rspec (>= 2.14)
13
- term-ansicolor (~> 1.0)
14
- thor
15
- webrick
16
-
17
- GEM
18
- remote: https://rubygems.org/
19
- specs:
20
- activesupport (4.1.1)
21
- i18n (~> 0.6, >= 0.6.9)
22
- json (~> 1.7, >= 1.7.7)
23
- minitest (~> 5.1)
24
- thread_safe (~> 0.1)
25
- tzinfo (~> 1.1)
26
- addressable (2.3.6)
27
- awesome_print (1.2.0)
28
- coderay (1.1.0)
29
- crack (0.4.2)
30
- safe_yaml (~> 1.0.0)
31
- diff-lcs (1.2.5)
32
- fakefs (0.5.2)
33
- faraday (0.9.0)
34
- multipart-post (>= 1.2, < 3)
35
- find_a_port (1.0.1)
36
- hashie (2.1.1)
37
- i18n (0.6.9)
38
- json (1.8.1)
39
- method_source (0.8.2)
40
- minitest (5.3.4)
41
- multipart-post (2.0.0)
42
- pact-mock_service (0.1.0)
43
- awesome_print (~> 1.1)
44
- find_a_port (~> 1.0.1)
45
- json
46
- pact-support (~> 0.1.1)
47
- rack
48
- rack-test (~> 0.6.2)
49
- rspec (>= 2.14)
50
- term-ansicolor (~> 1.0)
51
- thor
52
- webrick
53
- pact-support (0.1.2)
54
- awesome_print (~> 1.1)
55
- find_a_port (~> 1.0.1)
56
- json
57
- rack-test (~> 0.6.2)
58
- randexp (~> 0.1.7)
59
- rspec (>= 2.14)
60
- term-ansicolor (~> 1.0)
61
- thor
62
- pry (0.10.0)
63
- coderay (~> 1.1.0)
64
- method_source (~> 0.8.1)
65
- slop (~> 3.4)
66
- rack (1.5.2)
67
- rack-test (0.6.2)
68
- rack (>= 1.0)
69
- rake (10.0.4)
70
- randexp (0.1.7)
71
- rspec (3.1.0)
72
- rspec-core (~> 3.1.0)
73
- rspec-expectations (~> 3.1.0)
74
- rspec-mocks (~> 3.1.0)
75
- rspec-core (3.1.7)
76
- rspec-support (~> 3.1.0)
77
- rspec-expectations (3.1.2)
78
- diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.1.0)
80
- rspec-mocks (3.1.3)
81
- rspec-support (~> 3.1.0)
82
- rspec-support (3.1.2)
83
- safe_yaml (1.0.3)
84
- slop (3.5.0)
85
- term-ansicolor (1.3.0)
86
- tins (~> 1.0)
87
- thor (0.19.1)
88
- thread_safe (0.3.4)
89
- tins (1.3.3)
90
- tzinfo (1.2.1)
91
- thread_safe (~> 0.1)
92
- webmock (1.18.0)
93
- addressable (>= 2.3.6)
94
- crack (>= 0.3.2)
95
- webrick (1.3.1)
96
-
97
- PLATFORMS
98
- ruby
99
-
100
- DEPENDENCIES
101
- activesupport
102
- fakefs (~> 0.4)
103
- faraday
104
- hashie (~> 2.0)
105
- pact!
106
- pry
107
- rake (~> 10.0.3)
108
- webmock (~> 1.18.0)