pact_broker 2.4.2 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -0
  3. data/.travis.yml +4 -2
  4. data/CHANGELOG.md +54 -0
  5. data/DEVELOPER_DOCUMENTATION.md +11 -7
  6. data/README.md +5 -1
  7. data/UPGRADING.md +18 -0
  8. data/db/migrations/19_make_pact_version_content_sha_not_nullable.rb +9 -1
  9. data/db/migrations/25_make_pv_pacticipants_mandatory.rb +8 -0
  10. data/db/migrations/38_create_triggered_webhooks_table.rb +19 -0
  11. data/db/migrations/39_add_triggered_webhooks_fk_to_execution.rb +24 -0
  12. data/db/migrations/40_create_latest_triggered_webhooks_view.rb +24 -0
  13. data/db/migrations/41_migrate_execution_data.rb +47 -0
  14. data/db/test/backwards_compatibility/.rspec +3 -0
  15. data/db/test/backwards_compatibility/Appraisals +49 -0
  16. data/db/test/backwards_compatibility/Gemfile +11 -0
  17. data/db/test/backwards_compatibility/Rakefile +55 -0
  18. data/db/test/backwards_compatibility/config.ru +18 -0
  19. data/db/test/backwards_compatibility/gemfiles/1.18.0.gemfile +14 -0
  20. data/db/test/backwards_compatibility/gemfiles/1.18.0.gemfile.lock +210 -0
  21. data/db/test/backwards_compatibility/gemfiles/2.0.0.gemfile +14 -0
  22. data/db/test/backwards_compatibility/gemfiles/2.0.0.gemfile.lock +208 -0
  23. data/db/test/backwards_compatibility/gemfiles/2.1.0.gemfile +14 -0
  24. data/db/test/backwards_compatibility/gemfiles/2.1.0.gemfile.lock +209 -0
  25. data/db/test/backwards_compatibility/gemfiles/2.2.0.gemfile +14 -0
  26. data/db/test/backwards_compatibility/gemfiles/2.2.0.gemfile.lock +197 -0
  27. data/db/test/backwards_compatibility/gemfiles/2.3.0.gemfile +13 -0
  28. data/db/test/backwards_compatibility/gemfiles/2.3.0.gemfile.lock +196 -0
  29. data/db/test/backwards_compatibility/gemfiles/2.4.2.gemfile +13 -0
  30. data/db/test/backwards_compatibility/gemfiles/2.4.2.gemfile.lock +196 -0
  31. data/db/test/backwards_compatibility/gemfiles/head.gemfile +13 -0
  32. data/db/test/backwards_compatibility/gemfiles/head.gemfile.lock +200 -0
  33. data/db/test/backwards_compatibility/spec/fixtures/foo-bar.json +22 -0
  34. data/db/test/backwards_compatibility/spec/publish_pact_spec.rb +72 -0
  35. data/db/test/backwards_compatibility/spec/spec_helper.rb +20 -0
  36. data/db/test/backwards_compatibility/spec/support/fixture_helpers.rb +12 -0
  37. data/db/test/backwards_compatibility/spec/support/request_helpers.rb +20 -0
  38. data/example/Gemfile +2 -2
  39. data/example/pact_broker_database.sqlite3 +0 -0
  40. data/lib/pact_broker/api/decorators/pact_collection_decorator.rb +1 -2
  41. data/lib/pact_broker/api/decorators/pact_decorator.rb +12 -10
  42. data/lib/pact_broker/api/decorators/pact_versions_decorator.rb +1 -2
  43. data/lib/pact_broker/api/decorators/pact_webhooks_status_decorator.rb +123 -0
  44. data/lib/pact_broker/api/decorators/versions_decorator.rb +17 -6
  45. data/lib/pact_broker/api/decorators/webhook_decorator.rb +8 -10
  46. data/lib/pact_broker/api/decorators/webhooks_decorator.rb +0 -1
  47. data/lib/pact_broker/api/pact_broker_urls.rb +13 -1
  48. data/lib/pact_broker/api/renderers/html_pact_renderer.rb +47 -3
  49. data/lib/pact_broker/api/resources/badge.rb +3 -3
  50. data/lib/pact_broker/api/resources/base_resource.rb +1 -1
  51. data/lib/pact_broker/api/resources/latest_pact.rb +5 -1
  52. data/lib/pact_broker/api/resources/pact.rb +5 -1
  53. data/lib/pact_broker/api/resources/pact_webhooks_status.rb +61 -0
  54. data/lib/pact_broker/api/resources/triggered_webhook_logs.rb +36 -0
  55. data/lib/pact_broker/api/resources/webhook.rb +31 -3
  56. data/lib/pact_broker/api/resources/webhook_execution.rb +12 -2
  57. data/lib/pact_broker/api.rb +3 -0
  58. data/lib/pact_broker/app.rb +11 -3
  59. data/lib/pact_broker/badges/service.rb +26 -5
  60. data/lib/pact_broker/configuration.rb +12 -5
  61. data/lib/pact_broker/constants.rb +1 -1
  62. data/lib/pact_broker/diagnostic/resources/heartbeat.rb +1 -2
  63. data/lib/pact_broker/doc/views/pact-webhooks.markdown +1 -1
  64. data/lib/pact_broker/doc/views/webhooks-webhooks.markdown +1 -1
  65. data/lib/pact_broker/doc/views/webhooks.markdown +1 -1
  66. data/lib/pact_broker/domain/relationship.rb +13 -4
  67. data/lib/pact_broker/domain/verification.rb +0 -4
  68. data/lib/pact_broker/domain/webhook.rb +2 -6
  69. data/lib/pact_broker/domain/webhook_execution_result.rb +1 -2
  70. data/lib/pact_broker/domain/webhook_request.rb +59 -40
  71. data/lib/pact_broker/pacticipants/service.rb +4 -3
  72. data/lib/pact_broker/pacts/repository.rb +8 -0
  73. data/lib/pact_broker/pacts/service.rb +2 -0
  74. data/lib/pact_broker/services.rb +1 -1
  75. data/lib/pact_broker/ui/view_models/relationship.rb +29 -2
  76. data/lib/pact_broker/ui/views/relationships/show.haml +7 -10
  77. data/lib/pact_broker/verifications/repository.rb +8 -1
  78. data/lib/pact_broker/version.rb +1 -1
  79. data/lib/pact_broker/webhooks/execution.rb +25 -4
  80. data/lib/pact_broker/webhooks/job.rb +55 -13
  81. data/lib/pact_broker/webhooks/latest_triggered_webhook.rb +9 -0
  82. data/lib/pact_broker/webhooks/redact_logs.rb +10 -0
  83. data/lib/pact_broker/webhooks/repository.rb +76 -8
  84. data/lib/pact_broker/webhooks/service.rb +48 -8
  85. data/lib/pact_broker/webhooks/status.rb +29 -0
  86. data/lib/pact_broker/webhooks/triggered_webhook.rb +96 -0
  87. data/lib/pact_broker/webhooks/webhook.rb +19 -8
  88. data/lib/rack/pact_broker/database_transaction.rb +9 -3
  89. data/pact_broker.gemspec +3 -3
  90. data/public/javascripts/pact.js +5 -0
  91. data/public/stylesheets/pact.css +14 -1
  92. data/public/stylesheets/relationships.css +0 -1
  93. data/script/db-spec.sh +7 -0
  94. data/script/seed.rb +13 -8
  95. data/spec/features/create_webhook_spec.rb +1 -1
  96. data/spec/features/delete_pact_spec.rb +5 -1
  97. data/spec/features/delete_webhook_spec.rb +2 -1
  98. data/spec/features/edit_webhook_spec.rb +61 -0
  99. data/spec/features/execute_webhook_spec.rb +73 -0
  100. data/spec/features/get_latest_pact_badge_spec.rb +1 -1
  101. data/spec/features/get_latest_tagged_pact_badge_spec.rb +1 -1
  102. data/spec/features/get_latest_untagged_pact_badge_spec.rb +1 -1
  103. data/spec/features/get_pact_spec.rb +1 -1
  104. data/spec/features/merge_pact_spec.rb +1 -1
  105. data/spec/features/publish_pact_spec.rb +1 -1
  106. data/spec/integration/app_spec.rb +1 -1
  107. data/spec/integration/endpoints/group.rb +1 -1
  108. data/spec/lib/pact_broker/api/decorators/latest_pact_decorator_spec.rb +2 -1
  109. data/spec/lib/pact_broker/api/decorators/pact_decorator_spec.rb +8 -6
  110. data/spec/lib/pact_broker/api/decorators/pact_webhooks_status_decorator_spec.rb +134 -0
  111. data/spec/lib/pact_broker/api/decorators/relationships_csv_decorator_spec.rb +1 -1
  112. data/spec/lib/pact_broker/api/decorators/representable_pact_spec.rb +1 -1
  113. data/spec/lib/pact_broker/api/renderers/html_pact_renderer_spec.rb +27 -1
  114. data/spec/lib/pact_broker/api/resources/badge_spec.rb +32 -15
  115. data/spec/lib/pact_broker/api/resources/base_resource_spec.rb +17 -0
  116. data/spec/lib/pact_broker/api/resources/latest_pact_spec.rb +5 -3
  117. data/spec/lib/pact_broker/api/resources/pact_spec.rb +9 -2
  118. data/spec/lib/pact_broker/api/resources/triggered_webhook_logs_spec.rb +28 -0
  119. data/spec/lib/pact_broker/api/resources/webhook_execution_spec.rb +15 -5
  120. data/spec/lib/pact_broker/api/resources/webhook_spec.rb +43 -31
  121. data/spec/lib/pact_broker/app_spec.rb +12 -8
  122. data/spec/lib/pact_broker/badges/service_spec.rb +15 -1
  123. data/spec/lib/pact_broker/configuration_spec.rb +3 -2
  124. data/spec/lib/pact_broker/domain/relationship_spec.rb +24 -0
  125. data/spec/lib/pact_broker/domain/webhook_request_spec.rb +47 -31
  126. data/spec/lib/pact_broker/domain/webhook_spec.rb +4 -6
  127. data/spec/lib/pact_broker/pacticipants/service_spec.rb +16 -1
  128. data/spec/lib/pact_broker/pacts/repository_spec.rb +22 -1
  129. data/spec/lib/pact_broker/pacts/service_spec.rb +32 -1
  130. data/spec/lib/pact_broker/ui/view_models/relationship_spec.rb +44 -0
  131. data/spec/lib/pact_broker/verifications/repository_spec.rb +19 -0
  132. data/spec/lib/pact_broker/verifications/service_spec.rb +1 -1
  133. data/spec/lib/pact_broker/webhooks/job_spec.rb +80 -19
  134. data/spec/lib/pact_broker/webhooks/redact_logs_spec.rb +49 -0
  135. data/spec/lib/pact_broker/webhooks/repository_spec.rb +271 -21
  136. data/spec/lib/pact_broker/webhooks/service_spec.rb +70 -3
  137. data/spec/lib/pact_broker/webhooks/status_spec.rb +48 -0
  138. data/spec/lib/pact_broker/webhooks/triggered_webhook_spec.rb +40 -0
  139. data/spec/lib/rack/pact_broker/database_transaction_spec.rb +14 -4
  140. data/spec/migrations/23_pact_versions_spec.rb +8 -30
  141. data/spec/migrations/24_populate_pact_contents_spec.rb +3 -21
  142. data/spec/migrations/34_latest_tagged_pacts_spec.rb +1 -17
  143. data/spec/migrations/34_pact_revisions_spec.rb +7 -23
  144. data/spec/migrations/41_migrate_execution_data_spec.rb +109 -0
  145. data/spec/service_consumers/pact_helper.rb +5 -1
  146. data/spec/spec_helper.rb +15 -7
  147. data/spec/support/database_cleaner.rb +15 -2
  148. data/spec/support/migration_helpers.rb +16 -0
  149. data/spec/support/test_data_builder.rb +41 -9
  150. data/tasks/database.rb +7 -2
  151. data/tasks/db.rake +10 -0
  152. data/tasks/rspec.rake +1 -1
  153. data/vendor/hal-browser/browser.html +3 -2
  154. data/vendor/hal-browser/js/hal/resource.js +16 -2
  155. metadata +72 -13
  156. data/script/record_verification.sh +0 -4
@@ -0,0 +1,197 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ appraisal (2.2.0)
5
+ bundler
6
+ rake
7
+ thor (>= 0.14.0)
8
+ as-notifications (1.0.1)
9
+ awesome_print (1.8.0)
10
+ concurrent-ruby (1.0.5)
11
+ daemons (1.2.4)
12
+ declarative (0.0.9)
13
+ declarative-builder (0.1.0)
14
+ declarative-option (< 0.2.0)
15
+ declarative-option (0.1.0)
16
+ diff-lcs (1.3)
17
+ disposable (0.4.3)
18
+ declarative (>= 0.0.9, < 1.0.0)
19
+ declarative-builder (< 0.2.0)
20
+ declarative-option (< 0.2.0)
21
+ representable (>= 2.4.0, <= 3.1.0)
22
+ uber (< 0.2.0)
23
+ dry-configurable (0.7.0)
24
+ concurrent-ruby (~> 1.0)
25
+ dry-container (0.6.0)
26
+ concurrent-ruby (~> 1.0)
27
+ dry-configurable (~> 0.1, >= 0.1.3)
28
+ dry-core (0.3.3)
29
+ concurrent-ruby (~> 1.0)
30
+ dry-equalizer (0.2.0)
31
+ dry-logic (0.4.1)
32
+ dry-container (~> 0.2, >= 0.2.6)
33
+ dry-core (~> 0.2)
34
+ dry-equalizer (~> 0.2)
35
+ dry-types (0.10.3)
36
+ concurrent-ruby (~> 1.0)
37
+ dry-configurable (~> 0.1)
38
+ dry-container (~> 0.3)
39
+ dry-core (~> 0.2, >= 0.2.1)
40
+ dry-equalizer (~> 0.2)
41
+ dry-logic (~> 0.4, >= 0.4.0)
42
+ inflecto (~> 0.0.0, >= 0.0.2)
43
+ dry-validation (0.10.7)
44
+ concurrent-ruby (~> 1.0)
45
+ dry-configurable (~> 0.1, >= 0.1.3)
46
+ dry-core (~> 0.2, >= 0.2.1)
47
+ dry-equalizer (~> 0.2)
48
+ dry-logic (~> 0.4, >= 0.4.0)
49
+ dry-types (~> 0.9, >= 0.9.0)
50
+ enumerable-lazy (0.0.2)
51
+ eventmachine (1.2.5)
52
+ find_a_port (1.0.1)
53
+ haml (4.0.7)
54
+ tilt
55
+ httparty (0.15.6)
56
+ multi_xml (>= 0.5.2)
57
+ i18n (0.8.6)
58
+ inflecto (0.0.2)
59
+ json (2.1.0)
60
+ multi_json (1.12.2)
61
+ multi_xml (0.6.0)
62
+ mustermann (1.0.1)
63
+ mustermann19 (0.4.4)
64
+ enumerable-lazy
65
+ mysql2 (0.3.21)
66
+ pact (1.15.0)
67
+ json (> 1.8.5)
68
+ pact-mock_service (~> 2.0)
69
+ pact-support (~> 1.1)
70
+ rack-test (~> 0.6.2)
71
+ randexp (~> 0.1.7)
72
+ rspec (>= 2.14)
73
+ term-ansicolor (~> 1.0)
74
+ thor
75
+ webrick
76
+ pact-mock_service (2.1.0)
77
+ find_a_port (~> 1.0.1)
78
+ json
79
+ pact-support (~> 1.0)
80
+ rack
81
+ rack-test (~> 0.6.2)
82
+ rspec (>= 2.14)
83
+ term-ansicolor (~> 1.0)
84
+ thor
85
+ webrick
86
+ pact-support (1.1.6)
87
+ awesome_print (~> 1.1)
88
+ find_a_port (~> 1.0.1)
89
+ json
90
+ rack-test (~> 0.6.2)
91
+ randexp (~> 0.1.7)
92
+ rspec (>= 2.14)
93
+ term-ansicolor (~> 1.0)
94
+ thor
95
+ pact_broker (2.2.0)
96
+ dry-types (~> 0.10.3)
97
+ dry-validation (~> 0.10.5)
98
+ haml (~> 4.0)
99
+ httparty (~> 0.14)
100
+ json (> 1.8, < 3.0)
101
+ pact (~> 1.14)
102
+ padrino-core (~> 0.14.1)
103
+ rack (~> 2.0)
104
+ rack-protection (~> 2.0)
105
+ redcarpet (~> 3.3, >= 3.3.2)
106
+ reform (~> 2.2)
107
+ roar (~> 1.1)
108
+ semver2 (~> 3.4.2)
109
+ sequel (~> 4.23)
110
+ sucker_punch (~> 2.0)
111
+ webmachine (= 1.4.0)
112
+ padrino-core (0.14.1.1)
113
+ mustermann19
114
+ padrino-support (= 0.14.1.1)
115
+ rack-protection (>= 1.5.0)
116
+ sinatra (>= 1.4.6)
117
+ thor (~> 0.18)
118
+ padrino-support (0.14.1.1)
119
+ pg (0.21.0)
120
+ rack (2.0.3)
121
+ rack-protection (2.0.0)
122
+ rack
123
+ rack-proxy (0.6.2)
124
+ rack
125
+ rack-reverse-proxy (0.12.0)
126
+ rack (>= 1.0.0)
127
+ rack-proxy (~> 0.6, >= 0.6.1)
128
+ rack-test (0.6.3)
129
+ rack (>= 1.0)
130
+ rake (12.0.0)
131
+ randexp (0.1.7)
132
+ redcarpet (3.4.0)
133
+ reform (2.2.4)
134
+ disposable (>= 0.4.1)
135
+ representable (>= 2.4.0, < 3.1.0)
136
+ representable (3.0.4)
137
+ declarative (< 0.1.0)
138
+ declarative-option (< 0.2.0)
139
+ uber (< 0.2.0)
140
+ roar (1.1.0)
141
+ representable (~> 3.0.0)
142
+ rspec (3.6.0)
143
+ rspec-core (~> 3.6.0)
144
+ rspec-expectations (~> 3.6.0)
145
+ rspec-mocks (~> 3.6.0)
146
+ rspec-core (3.6.0)
147
+ rspec-support (~> 3.6.0)
148
+ rspec-expectations (3.6.0)
149
+ diff-lcs (>= 1.2.0, < 2.0)
150
+ rspec-support (~> 3.6.0)
151
+ rspec-mocks (3.6.0)
152
+ diff-lcs (>= 1.2.0, < 2.0)
153
+ rspec-support (~> 3.6.0)
154
+ rspec-support (3.6.0)
155
+ semver2 (3.4.2)
156
+ sequel (4.49.0)
157
+ sinatra (2.0.0)
158
+ mustermann (~> 1.0)
159
+ rack (~> 2.0)
160
+ rack-protection (= 2.0.0)
161
+ tilt (~> 2.0)
162
+ sqlite3 (1.3.13)
163
+ sucker_punch (2.0.3)
164
+ concurrent-ruby (~> 1.0.0)
165
+ term-ansicolor (1.6.0)
166
+ tins (~> 1.0)
167
+ thin (1.7.2)
168
+ daemons (~> 1.0, >= 1.0.9)
169
+ eventmachine (~> 1.0, >= 1.0.4)
170
+ rack (>= 1, < 3)
171
+ thor (0.20.0)
172
+ tilt (2.0.8)
173
+ tins (1.15.0)
174
+ uber (0.1.0)
175
+ webmachine (1.4.0)
176
+ as-notifications (~> 1.0)
177
+ i18n (>= 0.4.0)
178
+ multi_json
179
+ webrick (1.3.1)
180
+
181
+ PLATFORMS
182
+ ruby
183
+
184
+ DEPENDENCIES
185
+ appraisal
186
+ dry-types (= 0.10.3)
187
+ mysql2 (~> 0.3.15)
188
+ pact_broker (= 2.2.0)
189
+ pg (~> 0.21)
190
+ rack-reverse-proxy (~> 0.12)
191
+ rake (~> 12.0)
192
+ rspec
193
+ sqlite3 (~> 1.3)
194
+ thin (~> 1.3)
195
+
196
+ BUNDLED WITH
197
+ 1.15.4
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pact_broker", "2.3.0"
6
+ gem "sqlite3", "~>1.3"
7
+ gem "pg", "~>0.21"
8
+ gem "mysql2", "~>0.3.15"
9
+ gem "thin", "~>1.3"
10
+ gem "appraisal"
11
+ gem "rspec"
12
+ gem "rake", "~>12.0"
13
+ gem "rack-reverse-proxy", "~>0.12"
@@ -0,0 +1,196 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ appraisal (2.2.0)
5
+ bundler
6
+ rake
7
+ thor (>= 0.14.0)
8
+ as-notifications (1.0.1)
9
+ awesome_print (1.8.0)
10
+ concurrent-ruby (1.0.5)
11
+ daemons (1.2.4)
12
+ declarative (0.0.9)
13
+ declarative-builder (0.1.0)
14
+ declarative-option (< 0.2.0)
15
+ declarative-option (0.1.0)
16
+ diff-lcs (1.3)
17
+ disposable (0.4.3)
18
+ declarative (>= 0.0.9, < 1.0.0)
19
+ declarative-builder (< 0.2.0)
20
+ declarative-option (< 0.2.0)
21
+ representable (>= 2.4.0, <= 3.1.0)
22
+ uber (< 0.2.0)
23
+ dry-configurable (0.7.0)
24
+ concurrent-ruby (~> 1.0)
25
+ dry-container (0.6.0)
26
+ concurrent-ruby (~> 1.0)
27
+ dry-configurable (~> 0.1, >= 0.1.3)
28
+ dry-core (0.3.3)
29
+ concurrent-ruby (~> 1.0)
30
+ dry-equalizer (0.2.0)
31
+ dry-logic (0.4.1)
32
+ dry-container (~> 0.2, >= 0.2.6)
33
+ dry-core (~> 0.2)
34
+ dry-equalizer (~> 0.2)
35
+ dry-types (0.10.3)
36
+ concurrent-ruby (~> 1.0)
37
+ dry-configurable (~> 0.1)
38
+ dry-container (~> 0.3)
39
+ dry-core (~> 0.2, >= 0.2.1)
40
+ dry-equalizer (~> 0.2)
41
+ dry-logic (~> 0.4, >= 0.4.0)
42
+ inflecto (~> 0.0.0, >= 0.0.2)
43
+ dry-validation (0.10.7)
44
+ concurrent-ruby (~> 1.0)
45
+ dry-configurable (~> 0.1, >= 0.1.3)
46
+ dry-core (~> 0.2, >= 0.2.1)
47
+ dry-equalizer (~> 0.2)
48
+ dry-logic (~> 0.4, >= 0.4.0)
49
+ dry-types (~> 0.9, >= 0.9.0)
50
+ enumerable-lazy (0.0.2)
51
+ eventmachine (1.2.5)
52
+ find_a_port (1.0.1)
53
+ haml (4.0.7)
54
+ tilt
55
+ httparty (0.15.6)
56
+ multi_xml (>= 0.5.2)
57
+ i18n (0.8.6)
58
+ inflecto (0.0.2)
59
+ json (2.1.0)
60
+ multi_json (1.12.2)
61
+ multi_xml (0.6.0)
62
+ mustermann (1.0.1)
63
+ mustermann19 (0.4.4)
64
+ enumerable-lazy
65
+ mysql2 (0.3.21)
66
+ pact (1.15.0)
67
+ json (> 1.8.5)
68
+ pact-mock_service (~> 2.0)
69
+ pact-support (~> 1.1)
70
+ rack-test (~> 0.6.2)
71
+ randexp (~> 0.1.7)
72
+ rspec (>= 2.14)
73
+ term-ansicolor (~> 1.0)
74
+ thor
75
+ webrick
76
+ pact-mock_service (2.1.0)
77
+ find_a_port (~> 1.0.1)
78
+ json
79
+ pact-support (~> 1.0)
80
+ rack
81
+ rack-test (~> 0.6.2)
82
+ rspec (>= 2.14)
83
+ term-ansicolor (~> 1.0)
84
+ thor
85
+ webrick
86
+ pact-support (1.1.6)
87
+ awesome_print (~> 1.1)
88
+ find_a_port (~> 1.0.1)
89
+ json
90
+ rack-test (~> 0.6.2)
91
+ randexp (~> 0.1.7)
92
+ rspec (>= 2.14)
93
+ term-ansicolor (~> 1.0)
94
+ thor
95
+ pact_broker (2.3.0)
96
+ dry-types (~> 0.10.3)
97
+ dry-validation (~> 0.10.5)
98
+ haml (~> 4.0)
99
+ httparty (~> 0.14)
100
+ json (> 1.8, < 3.0)
101
+ pact (~> 1.14)
102
+ padrino-core (~> 0.14.1)
103
+ rack (~> 2.0)
104
+ rack-protection (~> 2.0)
105
+ redcarpet (~> 3.3, >= 3.3.2)
106
+ reform (~> 2.2)
107
+ roar (~> 1.1)
108
+ semver2 (~> 3.4.2)
109
+ sequel (~> 4.23)
110
+ sucker_punch (~> 2.0)
111
+ webmachine (= 1.4.0)
112
+ padrino-core (0.14.1.1)
113
+ mustermann19
114
+ padrino-support (= 0.14.1.1)
115
+ rack-protection (>= 1.5.0)
116
+ sinatra (>= 1.4.6)
117
+ thor (~> 0.18)
118
+ padrino-support (0.14.1.1)
119
+ pg (0.21.0)
120
+ rack (2.0.3)
121
+ rack-protection (2.0.0)
122
+ rack
123
+ rack-proxy (0.6.2)
124
+ rack
125
+ rack-reverse-proxy (0.12.0)
126
+ rack (>= 1.0.0)
127
+ rack-proxy (~> 0.6, >= 0.6.1)
128
+ rack-test (0.6.3)
129
+ rack (>= 1.0)
130
+ rake (12.0.0)
131
+ randexp (0.1.7)
132
+ redcarpet (3.4.0)
133
+ reform (2.2.4)
134
+ disposable (>= 0.4.1)
135
+ representable (>= 2.4.0, < 3.1.0)
136
+ representable (3.0.4)
137
+ declarative (< 0.1.0)
138
+ declarative-option (< 0.2.0)
139
+ uber (< 0.2.0)
140
+ roar (1.1.0)
141
+ representable (~> 3.0.0)
142
+ rspec (3.6.0)
143
+ rspec-core (~> 3.6.0)
144
+ rspec-expectations (~> 3.6.0)
145
+ rspec-mocks (~> 3.6.0)
146
+ rspec-core (3.6.0)
147
+ rspec-support (~> 3.6.0)
148
+ rspec-expectations (3.6.0)
149
+ diff-lcs (>= 1.2.0, < 2.0)
150
+ rspec-support (~> 3.6.0)
151
+ rspec-mocks (3.6.0)
152
+ diff-lcs (>= 1.2.0, < 2.0)
153
+ rspec-support (~> 3.6.0)
154
+ rspec-support (3.6.0)
155
+ semver2 (3.4.2)
156
+ sequel (4.49.0)
157
+ sinatra (2.0.0)
158
+ mustermann (~> 1.0)
159
+ rack (~> 2.0)
160
+ rack-protection (= 2.0.0)
161
+ tilt (~> 2.0)
162
+ sqlite3 (1.3.13)
163
+ sucker_punch (2.0.3)
164
+ concurrent-ruby (~> 1.0.0)
165
+ term-ansicolor (1.6.0)
166
+ tins (~> 1.0)
167
+ thin (1.7.2)
168
+ daemons (~> 1.0, >= 1.0.9)
169
+ eventmachine (~> 1.0, >= 1.0.4)
170
+ rack (>= 1, < 3)
171
+ thor (0.20.0)
172
+ tilt (2.0.8)
173
+ tins (1.15.0)
174
+ uber (0.1.0)
175
+ webmachine (1.4.0)
176
+ as-notifications (~> 1.0)
177
+ i18n (>= 0.4.0)
178
+ multi_json
179
+ webrick (1.3.1)
180
+
181
+ PLATFORMS
182
+ ruby
183
+
184
+ DEPENDENCIES
185
+ appraisal
186
+ mysql2 (~> 0.3.15)
187
+ pact_broker (= 2.3.0)
188
+ pg (~> 0.21)
189
+ rack-reverse-proxy (~> 0.12)
190
+ rake (~> 12.0)
191
+ rspec
192
+ sqlite3 (~> 1.3)
193
+ thin (~> 1.3)
194
+
195
+ BUNDLED WITH
196
+ 1.15.4
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pact_broker", "2.4.2"
6
+ gem "sqlite3", "~>1.3"
7
+ gem "pg", "~>0.21"
8
+ gem "mysql2", "~>0.3.15"
9
+ gem "thin", "~>1.3"
10
+ gem "appraisal"
11
+ gem "rspec"
12
+ gem "rake", "~>12.0"
13
+ gem "rack-reverse-proxy", "~>0.12"
@@ -0,0 +1,196 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ appraisal (2.2.0)
5
+ bundler
6
+ rake
7
+ thor (>= 0.14.0)
8
+ as-notifications (1.0.1)
9
+ awesome_print (1.8.0)
10
+ concurrent-ruby (1.0.5)
11
+ daemons (1.2.4)
12
+ declarative (0.0.9)
13
+ declarative-builder (0.1.0)
14
+ declarative-option (< 0.2.0)
15
+ declarative-option (0.1.0)
16
+ diff-lcs (1.3)
17
+ disposable (0.4.3)
18
+ declarative (>= 0.0.9, < 1.0.0)
19
+ declarative-builder (< 0.2.0)
20
+ declarative-option (< 0.2.0)
21
+ representable (>= 2.4.0, <= 3.1.0)
22
+ uber (< 0.2.0)
23
+ dry-configurable (0.7.0)
24
+ concurrent-ruby (~> 1.0)
25
+ dry-container (0.6.0)
26
+ concurrent-ruby (~> 1.0)
27
+ dry-configurable (~> 0.1, >= 0.1.3)
28
+ dry-core (0.3.3)
29
+ concurrent-ruby (~> 1.0)
30
+ dry-equalizer (0.2.0)
31
+ dry-logic (0.4.1)
32
+ dry-container (~> 0.2, >= 0.2.6)
33
+ dry-core (~> 0.2)
34
+ dry-equalizer (~> 0.2)
35
+ dry-types (0.10.3)
36
+ concurrent-ruby (~> 1.0)
37
+ dry-configurable (~> 0.1)
38
+ dry-container (~> 0.3)
39
+ dry-core (~> 0.2, >= 0.2.1)
40
+ dry-equalizer (~> 0.2)
41
+ dry-logic (~> 0.4, >= 0.4.0)
42
+ inflecto (~> 0.0.0, >= 0.0.2)
43
+ dry-validation (0.10.7)
44
+ concurrent-ruby (~> 1.0)
45
+ dry-configurable (~> 0.1, >= 0.1.3)
46
+ dry-core (~> 0.2, >= 0.2.1)
47
+ dry-equalizer (~> 0.2)
48
+ dry-logic (~> 0.4, >= 0.4.0)
49
+ dry-types (~> 0.9, >= 0.9.0)
50
+ enumerable-lazy (0.0.2)
51
+ eventmachine (1.2.5)
52
+ find_a_port (1.0.1)
53
+ haml (4.0.7)
54
+ tilt
55
+ httparty (0.15.6)
56
+ multi_xml (>= 0.5.2)
57
+ i18n (0.8.6)
58
+ inflecto (0.0.2)
59
+ json (2.1.0)
60
+ multi_json (1.12.2)
61
+ multi_xml (0.6.0)
62
+ mustermann (1.0.1)
63
+ mustermann19 (0.4.4)
64
+ enumerable-lazy
65
+ mysql2 (0.3.21)
66
+ pact (1.15.0)
67
+ json (> 1.8.5)
68
+ pact-mock_service (~> 2.0)
69
+ pact-support (~> 1.1)
70
+ rack-test (~> 0.6.2)
71
+ randexp (~> 0.1.7)
72
+ rspec (>= 2.14)
73
+ term-ansicolor (~> 1.0)
74
+ thor
75
+ webrick
76
+ pact-mock_service (2.1.0)
77
+ find_a_port (~> 1.0.1)
78
+ json
79
+ pact-support (~> 1.0)
80
+ rack
81
+ rack-test (~> 0.6.2)
82
+ rspec (>= 2.14)
83
+ term-ansicolor (~> 1.0)
84
+ thor
85
+ webrick
86
+ pact-support (1.1.6)
87
+ awesome_print (~> 1.1)
88
+ find_a_port (~> 1.0.1)
89
+ json
90
+ rack-test (~> 0.6.2)
91
+ randexp (~> 0.1.7)
92
+ rspec (>= 2.14)
93
+ term-ansicolor (~> 1.0)
94
+ thor
95
+ pact_broker (2.4.2)
96
+ dry-types (~> 0.10.3)
97
+ dry-validation (~> 0.10.5)
98
+ haml (~> 4.0)
99
+ httparty (~> 0.14)
100
+ json (> 1.8, < 3.0)
101
+ pact (~> 1.14)
102
+ padrino-core (~> 0.14.1)
103
+ rack (~> 2.0)
104
+ rack-protection (~> 2.0)
105
+ redcarpet (~> 3.3, >= 3.3.2)
106
+ reform (~> 2.2)
107
+ roar (~> 1.1)
108
+ semver2 (~> 3.4.2)
109
+ sequel (~> 4.23)
110
+ sucker_punch (~> 2.0)
111
+ webmachine (= 1.4.0)
112
+ padrino-core (0.14.1.1)
113
+ mustermann19
114
+ padrino-support (= 0.14.1.1)
115
+ rack-protection (>= 1.5.0)
116
+ sinatra (>= 1.4.6)
117
+ thor (~> 0.18)
118
+ padrino-support (0.14.1.1)
119
+ pg (0.21.0)
120
+ rack (2.0.3)
121
+ rack-protection (2.0.0)
122
+ rack
123
+ rack-proxy (0.6.2)
124
+ rack
125
+ rack-reverse-proxy (0.12.0)
126
+ rack (>= 1.0.0)
127
+ rack-proxy (~> 0.6, >= 0.6.1)
128
+ rack-test (0.6.3)
129
+ rack (>= 1.0)
130
+ rake (12.0.0)
131
+ randexp (0.1.7)
132
+ redcarpet (3.4.0)
133
+ reform (2.2.4)
134
+ disposable (>= 0.4.1)
135
+ representable (>= 2.4.0, < 3.1.0)
136
+ representable (3.0.4)
137
+ declarative (< 0.1.0)
138
+ declarative-option (< 0.2.0)
139
+ uber (< 0.2.0)
140
+ roar (1.1.0)
141
+ representable (~> 3.0.0)
142
+ rspec (3.6.0)
143
+ rspec-core (~> 3.6.0)
144
+ rspec-expectations (~> 3.6.0)
145
+ rspec-mocks (~> 3.6.0)
146
+ rspec-core (3.6.0)
147
+ rspec-support (~> 3.6.0)
148
+ rspec-expectations (3.6.0)
149
+ diff-lcs (>= 1.2.0, < 2.0)
150
+ rspec-support (~> 3.6.0)
151
+ rspec-mocks (3.6.0)
152
+ diff-lcs (>= 1.2.0, < 2.0)
153
+ rspec-support (~> 3.6.0)
154
+ rspec-support (3.6.0)
155
+ semver2 (3.4.2)
156
+ sequel (4.49.0)
157
+ sinatra (2.0.0)
158
+ mustermann (~> 1.0)
159
+ rack (~> 2.0)
160
+ rack-protection (= 2.0.0)
161
+ tilt (~> 2.0)
162
+ sqlite3 (1.3.13)
163
+ sucker_punch (2.0.3)
164
+ concurrent-ruby (~> 1.0.0)
165
+ term-ansicolor (1.6.0)
166
+ tins (~> 1.0)
167
+ thin (1.7.2)
168
+ daemons (~> 1.0, >= 1.0.9)
169
+ eventmachine (~> 1.0, >= 1.0.4)
170
+ rack (>= 1, < 3)
171
+ thor (0.20.0)
172
+ tilt (2.0.8)
173
+ tins (1.15.0)
174
+ uber (0.1.0)
175
+ webmachine (1.4.0)
176
+ as-notifications (~> 1.0)
177
+ i18n (>= 0.4.0)
178
+ multi_json
179
+ webrick (1.3.1)
180
+
181
+ PLATFORMS
182
+ ruby
183
+
184
+ DEPENDENCIES
185
+ appraisal
186
+ mysql2 (~> 0.3.15)
187
+ pact_broker (= 2.4.2)
188
+ pg (~> 0.21)
189
+ rack-reverse-proxy (~> 0.12)
190
+ rake (~> 12.0)
191
+ rspec
192
+ sqlite3 (~> 1.3)
193
+ thin (~> 1.3)
194
+
195
+ BUNDLED WITH
196
+ 1.15.4
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pact_broker", path: "../../../../"
6
+ gem "sqlite3", "~>1.3"
7
+ gem "pg", "~>0.21"
8
+ gem "mysql2", "~>0.3.15"
9
+ gem "thin", "~>1.3"
10
+ gem "appraisal"
11
+ gem "rspec"
12
+ gem "rake", "~>12.0"
13
+ gem "rack-reverse-proxy", "~>0.12"