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,210 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ activesupport (5.1.4)
5
+ concurrent-ruby (~> 1.0, >= 1.0.2)
6
+ i18n (~> 0.7)
7
+ minitest (~> 5.1)
8
+ tzinfo (~> 1.1)
9
+ appraisal (2.2.0)
10
+ bundler
11
+ rake
12
+ thor (>= 0.14.0)
13
+ as-notifications (1.0.1)
14
+ awesome_print (1.8.0)
15
+ blockenspiel (0.5.0)
16
+ concurrent-ruby (1.0.5)
17
+ daemons (1.2.4)
18
+ declarative (0.0.9)
19
+ declarative-builder (0.1.0)
20
+ declarative-option (< 0.2.0)
21
+ declarative-option (0.1.0)
22
+ diff-lcs (1.3)
23
+ disposable (0.4.3)
24
+ declarative (>= 0.0.9, < 1.0.0)
25
+ declarative-builder (< 0.2.0)
26
+ declarative-option (< 0.2.0)
27
+ representable (>= 2.4.0, <= 3.1.0)
28
+ uber (< 0.2.0)
29
+ dry-configurable (0.7.0)
30
+ concurrent-ruby (~> 1.0)
31
+ dry-container (0.6.0)
32
+ concurrent-ruby (~> 1.0)
33
+ dry-configurable (~> 0.1, >= 0.1.3)
34
+ dry-core (0.3.3)
35
+ concurrent-ruby (~> 1.0)
36
+ dry-equalizer (0.2.0)
37
+ dry-logic (0.4.1)
38
+ dry-container (~> 0.2, >= 0.2.6)
39
+ dry-core (~> 0.2)
40
+ dry-equalizer (~> 0.2)
41
+ dry-types (0.10.0)
42
+ concurrent-ruby (~> 1.0)
43
+ dry-configurable (~> 0.1)
44
+ dry-container (~> 0.3)
45
+ dry-core (~> 0.2, >= 0.2.1)
46
+ dry-equalizer (~> 0.2)
47
+ dry-logic (~> 0.4, >= 0.4.0)
48
+ inflecto (~> 0.0.0, >= 0.0.2)
49
+ dry-validation (0.10.7)
50
+ concurrent-ruby (~> 1.0)
51
+ dry-configurable (~> 0.1, >= 0.1.3)
52
+ dry-core (~> 0.2, >= 0.2.1)
53
+ dry-equalizer (~> 0.2)
54
+ dry-logic (~> 0.4, >= 0.4.0)
55
+ dry-types (~> 0.9, >= 0.9.0)
56
+ eventmachine (1.2.5)
57
+ find_a_port (1.0.1)
58
+ haml (4.0.7)
59
+ tilt
60
+ http_router (0.11.2)
61
+ rack (>= 1.0.0)
62
+ url_mount (~> 0.2.1)
63
+ httparty (0.15.6)
64
+ multi_xml (>= 0.5.2)
65
+ i18n (0.8.6)
66
+ inflecto (0.0.2)
67
+ json (2.1.0)
68
+ minitest (5.10.3)
69
+ multi_json (1.12.2)
70
+ multi_xml (0.6.0)
71
+ mysql2 (0.3.21)
72
+ pact (1.11.1)
73
+ json (> 1.8.5)
74
+ pact-mock_service (~> 1.2)
75
+ pact-support (~> 0.6)
76
+ rack-test (~> 0.6.2)
77
+ randexp (~> 0.1.7)
78
+ rspec (>= 2.14)
79
+ term-ansicolor (~> 1.0)
80
+ thor
81
+ webrick
82
+ pact-mock_service (1.2.0)
83
+ find_a_port (~> 1.0.1)
84
+ json
85
+ pact-support (~> 0.6)
86
+ rack
87
+ rack-test (~> 0.6.2)
88
+ rspec (>= 2.14)
89
+ term-ansicolor (~> 1.0)
90
+ thor
91
+ webrick
92
+ pact-support (0.6.1)
93
+ awesome_print (~> 1.1)
94
+ find_a_port (~> 1.0.1)
95
+ json
96
+ rack-test (~> 0.6.2)
97
+ randexp (~> 0.1.7)
98
+ rspec (>= 2.14)
99
+ term-ansicolor (~> 1.0)
100
+ thor
101
+ pact_broker (1.18.0)
102
+ dry-validation (~> 0.10.5)
103
+ haml (~> 4.0)
104
+ httparty (~> 0.14)
105
+ json (> 1.8, < 3.0)
106
+ pact (~> 1.4)
107
+ pact-support (~> 0.4, >= 0.4.2)
108
+ padrino-core (~> 0.12.4)
109
+ rack (< 3.0)
110
+ redcarpet (~> 3.1)
111
+ reform (~> 2.2.0)
112
+ roar (~> 1.1)
113
+ sequel (~> 4.23)
114
+ sucker_punch (~> 2.0)
115
+ versionomy (~> 0.4)
116
+ webmachine (= 1.4.0)
117
+ padrino-core (0.12.8.1)
118
+ activesupport (>= 3.1)
119
+ http_router (~> 0.11.0)
120
+ padrino-support (= 0.12.8.1)
121
+ rack (< 1.6.0)
122
+ rack-protection (>= 1.5.0)
123
+ sinatra (~> 1.4.2)
124
+ thor (~> 0.18)
125
+ padrino-support (0.12.8.1)
126
+ activesupport (>= 3.1)
127
+ pg (0.21.0)
128
+ rack (1.5.5)
129
+ rack-protection (1.5.3)
130
+ rack
131
+ rack-proxy (0.6.2)
132
+ rack
133
+ rack-reverse-proxy (0.12.0)
134
+ rack (>= 1.0.0)
135
+ rack-proxy (~> 0.6, >= 0.6.1)
136
+ rack-test (0.6.3)
137
+ rack (>= 1.0)
138
+ rake (12.0.0)
139
+ randexp (0.1.7)
140
+ redcarpet (3.4.0)
141
+ reform (2.2.4)
142
+ disposable (>= 0.4.1)
143
+ representable (>= 2.4.0, < 3.1.0)
144
+ representable (3.0.4)
145
+ declarative (< 0.1.0)
146
+ declarative-option (< 0.2.0)
147
+ uber (< 0.2.0)
148
+ roar (1.1.0)
149
+ representable (~> 3.0.0)
150
+ rspec (3.6.0)
151
+ rspec-core (~> 3.6.0)
152
+ rspec-expectations (~> 3.6.0)
153
+ rspec-mocks (~> 3.6.0)
154
+ rspec-core (3.6.0)
155
+ rspec-support (~> 3.6.0)
156
+ rspec-expectations (3.6.0)
157
+ diff-lcs (>= 1.2.0, < 2.0)
158
+ rspec-support (~> 3.6.0)
159
+ rspec-mocks (3.6.0)
160
+ diff-lcs (>= 1.2.0, < 2.0)
161
+ rspec-support (~> 3.6.0)
162
+ rspec-support (3.6.0)
163
+ sequel (4.49.0)
164
+ sinatra (1.4.8)
165
+ rack (~> 1.5)
166
+ rack-protection (~> 1.4)
167
+ tilt (>= 1.3, < 3)
168
+ sqlite3 (1.3.13)
169
+ sucker_punch (2.0.3)
170
+ concurrent-ruby (~> 1.0.0)
171
+ term-ansicolor (1.6.0)
172
+ tins (~> 1.0)
173
+ thin (1.7.2)
174
+ daemons (~> 1.0, >= 1.0.9)
175
+ eventmachine (~> 1.0, >= 1.0.4)
176
+ rack (>= 1, < 3)
177
+ thor (0.20.0)
178
+ thread_safe (0.3.6)
179
+ tilt (2.0.8)
180
+ tins (1.15.0)
181
+ tzinfo (1.2.3)
182
+ thread_safe (~> 0.1)
183
+ uber (0.1.0)
184
+ url_mount (0.2.1)
185
+ rack
186
+ versionomy (0.5.0)
187
+ blockenspiel (~> 0.5)
188
+ webmachine (1.4.0)
189
+ as-notifications (~> 1.0)
190
+ i18n (>= 0.4.0)
191
+ multi_json
192
+ webrick (1.3.1)
193
+
194
+ PLATFORMS
195
+ ruby
196
+
197
+ DEPENDENCIES
198
+ appraisal
199
+ dry-types (= 0.10)
200
+ mysql2 (~> 0.3.15)
201
+ pact_broker (= 1.18.0)
202
+ pg (~> 0.21)
203
+ rack-reverse-proxy (~> 0.12)
204
+ rake (~> 12.0)
205
+ rspec
206
+ sqlite3 (~> 1.3)
207
+ thin (~> 1.3)
208
+
209
+ BUNDLED WITH
210
+ 1.15.4
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pact_broker", "2.0.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"
14
+ gem "dry-types", "0.10"
@@ -0,0 +1,208 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ activesupport (5.1.4)
5
+ concurrent-ruby (~> 1.0, >= 1.0.2)
6
+ i18n (~> 0.7)
7
+ minitest (~> 5.1)
8
+ tzinfo (~> 1.1)
9
+ appraisal (2.2.0)
10
+ bundler
11
+ rake
12
+ thor (>= 0.14.0)
13
+ as-notifications (1.0.1)
14
+ awesome_print (1.8.0)
15
+ concurrent-ruby (1.0.5)
16
+ daemons (1.2.4)
17
+ declarative (0.0.9)
18
+ declarative-builder (0.1.0)
19
+ declarative-option (< 0.2.0)
20
+ declarative-option (0.1.0)
21
+ diff-lcs (1.3)
22
+ disposable (0.4.3)
23
+ declarative (>= 0.0.9, < 1.0.0)
24
+ declarative-builder (< 0.2.0)
25
+ declarative-option (< 0.2.0)
26
+ representable (>= 2.4.0, <= 3.1.0)
27
+ uber (< 0.2.0)
28
+ dry-configurable (0.7.0)
29
+ concurrent-ruby (~> 1.0)
30
+ dry-container (0.6.0)
31
+ concurrent-ruby (~> 1.0)
32
+ dry-configurable (~> 0.1, >= 0.1.3)
33
+ dry-core (0.3.3)
34
+ concurrent-ruby (~> 1.0)
35
+ dry-equalizer (0.2.0)
36
+ dry-logic (0.4.1)
37
+ dry-container (~> 0.2, >= 0.2.6)
38
+ dry-core (~> 0.2)
39
+ dry-equalizer (~> 0.2)
40
+ dry-types (0.10.0)
41
+ concurrent-ruby (~> 1.0)
42
+ dry-configurable (~> 0.1)
43
+ dry-container (~> 0.3)
44
+ dry-core (~> 0.2, >= 0.2.1)
45
+ dry-equalizer (~> 0.2)
46
+ dry-logic (~> 0.4, >= 0.4.0)
47
+ inflecto (~> 0.0.0, >= 0.0.2)
48
+ dry-validation (0.10.7)
49
+ concurrent-ruby (~> 1.0)
50
+ dry-configurable (~> 0.1, >= 0.1.3)
51
+ dry-core (~> 0.2, >= 0.2.1)
52
+ dry-equalizer (~> 0.2)
53
+ dry-logic (~> 0.4, >= 0.4.0)
54
+ dry-types (~> 0.9, >= 0.9.0)
55
+ eventmachine (1.2.5)
56
+ find_a_port (1.0.1)
57
+ haml (4.0.7)
58
+ tilt
59
+ http_router (0.11.2)
60
+ rack (>= 1.0.0)
61
+ url_mount (~> 0.2.1)
62
+ httparty (0.15.6)
63
+ multi_xml (>= 0.5.2)
64
+ i18n (0.8.6)
65
+ inflecto (0.0.2)
66
+ json (2.1.0)
67
+ minitest (5.10.3)
68
+ multi_json (1.12.2)
69
+ multi_xml (0.6.0)
70
+ mysql2 (0.3.21)
71
+ pact (1.11.1)
72
+ json (> 1.8.5)
73
+ pact-mock_service (~> 1.2)
74
+ pact-support (~> 0.6)
75
+ rack-test (~> 0.6.2)
76
+ randexp (~> 0.1.7)
77
+ rspec (>= 2.14)
78
+ term-ansicolor (~> 1.0)
79
+ thor
80
+ webrick
81
+ pact-mock_service (1.2.0)
82
+ find_a_port (~> 1.0.1)
83
+ json
84
+ pact-support (~> 0.6)
85
+ rack
86
+ rack-test (~> 0.6.2)
87
+ rspec (>= 2.14)
88
+ term-ansicolor (~> 1.0)
89
+ thor
90
+ webrick
91
+ pact-support (0.6.1)
92
+ awesome_print (~> 1.1)
93
+ find_a_port (~> 1.0.1)
94
+ json
95
+ rack-test (~> 0.6.2)
96
+ randexp (~> 0.1.7)
97
+ rspec (>= 2.14)
98
+ term-ansicolor (~> 1.0)
99
+ thor
100
+ pact_broker (2.0.0)
101
+ dry-validation (~> 0.10.5)
102
+ haml (~> 4.0)
103
+ httparty (~> 0.14)
104
+ json (> 1.8, < 3.0)
105
+ pact (~> 1.4)
106
+ pact-support (~> 0.4, >= 0.4.2)
107
+ padrino-core (~> 0.12.4)
108
+ rack (< 3.0)
109
+ redcarpet (~> 3.1)
110
+ reform (~> 2.2)
111
+ roar (~> 1.1)
112
+ semver2 (~> 3.4.2)
113
+ sequel (~> 4.23)
114
+ sucker_punch (~> 2.0)
115
+ webmachine (= 1.4.0)
116
+ padrino-core (0.12.8.1)
117
+ activesupport (>= 3.1)
118
+ http_router (~> 0.11.0)
119
+ padrino-support (= 0.12.8.1)
120
+ rack (< 1.6.0)
121
+ rack-protection (>= 1.5.0)
122
+ sinatra (~> 1.4.2)
123
+ thor (~> 0.18)
124
+ padrino-support (0.12.8.1)
125
+ activesupport (>= 3.1)
126
+ pg (0.21.0)
127
+ rack (1.5.5)
128
+ rack-protection (1.5.3)
129
+ rack
130
+ rack-proxy (0.6.2)
131
+ rack
132
+ rack-reverse-proxy (0.12.0)
133
+ rack (>= 1.0.0)
134
+ rack-proxy (~> 0.6, >= 0.6.1)
135
+ rack-test (0.6.3)
136
+ rack (>= 1.0)
137
+ rake (12.0.0)
138
+ randexp (0.1.7)
139
+ redcarpet (3.4.0)
140
+ reform (2.2.4)
141
+ disposable (>= 0.4.1)
142
+ representable (>= 2.4.0, < 3.1.0)
143
+ representable (3.0.4)
144
+ declarative (< 0.1.0)
145
+ declarative-option (< 0.2.0)
146
+ uber (< 0.2.0)
147
+ roar (1.1.0)
148
+ representable (~> 3.0.0)
149
+ rspec (3.6.0)
150
+ rspec-core (~> 3.6.0)
151
+ rspec-expectations (~> 3.6.0)
152
+ rspec-mocks (~> 3.6.0)
153
+ rspec-core (3.6.0)
154
+ rspec-support (~> 3.6.0)
155
+ rspec-expectations (3.6.0)
156
+ diff-lcs (>= 1.2.0, < 2.0)
157
+ rspec-support (~> 3.6.0)
158
+ rspec-mocks (3.6.0)
159
+ diff-lcs (>= 1.2.0, < 2.0)
160
+ rspec-support (~> 3.6.0)
161
+ rspec-support (3.6.0)
162
+ semver2 (3.4.2)
163
+ sequel (4.49.0)
164
+ sinatra (1.4.8)
165
+ rack (~> 1.5)
166
+ rack-protection (~> 1.4)
167
+ tilt (>= 1.3, < 3)
168
+ sqlite3 (1.3.13)
169
+ sucker_punch (2.0.3)
170
+ concurrent-ruby (~> 1.0.0)
171
+ term-ansicolor (1.6.0)
172
+ tins (~> 1.0)
173
+ thin (1.7.2)
174
+ daemons (~> 1.0, >= 1.0.9)
175
+ eventmachine (~> 1.0, >= 1.0.4)
176
+ rack (>= 1, < 3)
177
+ thor (0.20.0)
178
+ thread_safe (0.3.6)
179
+ tilt (2.0.8)
180
+ tins (1.15.0)
181
+ tzinfo (1.2.3)
182
+ thread_safe (~> 0.1)
183
+ uber (0.1.0)
184
+ url_mount (0.2.1)
185
+ rack
186
+ webmachine (1.4.0)
187
+ as-notifications (~> 1.0)
188
+ i18n (>= 0.4.0)
189
+ multi_json
190
+ webrick (1.3.1)
191
+
192
+ PLATFORMS
193
+ ruby
194
+
195
+ DEPENDENCIES
196
+ appraisal
197
+ dry-types (= 0.10)
198
+ mysql2 (~> 0.3.15)
199
+ pact_broker (= 2.0.0)
200
+ pg (~> 0.21)
201
+ rack-reverse-proxy (~> 0.12)
202
+ rake (~> 12.0)
203
+ rspec
204
+ sqlite3 (~> 1.3)
205
+ thin (~> 1.3)
206
+
207
+ BUNDLED WITH
208
+ 1.15.4
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pact_broker", "2.1.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"
14
+ gem "dry-types", "0.10"
@@ -0,0 +1,209 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ activesupport (5.1.4)
5
+ concurrent-ruby (~> 1.0, >= 1.0.2)
6
+ i18n (~> 0.7)
7
+ minitest (~> 5.1)
8
+ tzinfo (~> 1.1)
9
+ appraisal (2.2.0)
10
+ bundler
11
+ rake
12
+ thor (>= 0.14.0)
13
+ as-notifications (1.0.1)
14
+ awesome_print (1.8.0)
15
+ concurrent-ruby (1.0.5)
16
+ daemons (1.2.4)
17
+ declarative (0.0.9)
18
+ declarative-builder (0.1.0)
19
+ declarative-option (< 0.2.0)
20
+ declarative-option (0.1.0)
21
+ diff-lcs (1.3)
22
+ disposable (0.4.3)
23
+ declarative (>= 0.0.9, < 1.0.0)
24
+ declarative-builder (< 0.2.0)
25
+ declarative-option (< 0.2.0)
26
+ representable (>= 2.4.0, <= 3.1.0)
27
+ uber (< 0.2.0)
28
+ dry-configurable (0.7.0)
29
+ concurrent-ruby (~> 1.0)
30
+ dry-container (0.6.0)
31
+ concurrent-ruby (~> 1.0)
32
+ dry-configurable (~> 0.1, >= 0.1.3)
33
+ dry-core (0.3.3)
34
+ concurrent-ruby (~> 1.0)
35
+ dry-equalizer (0.2.0)
36
+ dry-logic (0.4.1)
37
+ dry-container (~> 0.2, >= 0.2.6)
38
+ dry-core (~> 0.2)
39
+ dry-equalizer (~> 0.2)
40
+ dry-types (0.10.0)
41
+ concurrent-ruby (~> 1.0)
42
+ dry-configurable (~> 0.1)
43
+ dry-container (~> 0.3)
44
+ dry-core (~> 0.2, >= 0.2.1)
45
+ dry-equalizer (~> 0.2)
46
+ dry-logic (~> 0.4, >= 0.4.0)
47
+ inflecto (~> 0.0.0, >= 0.0.2)
48
+ dry-validation (0.10.7)
49
+ concurrent-ruby (~> 1.0)
50
+ dry-configurable (~> 0.1, >= 0.1.3)
51
+ dry-core (~> 0.2, >= 0.2.1)
52
+ dry-equalizer (~> 0.2)
53
+ dry-logic (~> 0.4, >= 0.4.0)
54
+ dry-types (~> 0.9, >= 0.9.0)
55
+ eventmachine (1.2.5)
56
+ find_a_port (1.0.1)
57
+ haml (4.0.7)
58
+ tilt
59
+ http_router (0.11.2)
60
+ rack (>= 1.0.0)
61
+ url_mount (~> 0.2.1)
62
+ httparty (0.15.6)
63
+ multi_xml (>= 0.5.2)
64
+ i18n (0.8.6)
65
+ inflecto (0.0.2)
66
+ json (2.1.0)
67
+ minitest (5.10.3)
68
+ multi_json (1.12.2)
69
+ multi_xml (0.6.0)
70
+ mysql2 (0.3.21)
71
+ pact (1.11.1)
72
+ json (> 1.8.5)
73
+ pact-mock_service (~> 1.2)
74
+ pact-support (~> 0.6)
75
+ rack-test (~> 0.6.2)
76
+ randexp (~> 0.1.7)
77
+ rspec (>= 2.14)
78
+ term-ansicolor (~> 1.0)
79
+ thor
80
+ webrick
81
+ pact-mock_service (1.2.0)
82
+ find_a_port (~> 1.0.1)
83
+ json
84
+ pact-support (~> 0.6)
85
+ rack
86
+ rack-test (~> 0.6.2)
87
+ rspec (>= 2.14)
88
+ term-ansicolor (~> 1.0)
89
+ thor
90
+ webrick
91
+ pact-support (0.6.1)
92
+ awesome_print (~> 1.1)
93
+ find_a_port (~> 1.0.1)
94
+ json
95
+ rack-test (~> 0.6.2)
96
+ randexp (~> 0.1.7)
97
+ rspec (>= 2.14)
98
+ term-ansicolor (~> 1.0)
99
+ thor
100
+ pact_broker (2.1.0)
101
+ dry-validation (~> 0.10.5)
102
+ haml (~> 4.0)
103
+ httparty (~> 0.14)
104
+ json (> 1.8, < 3.0)
105
+ pact (~> 1.4)
106
+ pact-support (~> 0.4, >= 0.4.2)
107
+ padrino-core (~> 0.12.4)
108
+ rack (< 3.0)
109
+ rack-protection (~> 1.5)
110
+ redcarpet (~> 3.1)
111
+ reform (~> 2.2)
112
+ roar (~> 1.1)
113
+ semver2 (~> 3.4.2)
114
+ sequel (~> 4.23)
115
+ sucker_punch (~> 2.0)
116
+ webmachine (= 1.4.0)
117
+ padrino-core (0.12.8.1)
118
+ activesupport (>= 3.1)
119
+ http_router (~> 0.11.0)
120
+ padrino-support (= 0.12.8.1)
121
+ rack (< 1.6.0)
122
+ rack-protection (>= 1.5.0)
123
+ sinatra (~> 1.4.2)
124
+ thor (~> 0.18)
125
+ padrino-support (0.12.8.1)
126
+ activesupport (>= 3.1)
127
+ pg (0.21.0)
128
+ rack (1.5.5)
129
+ rack-protection (1.5.3)
130
+ rack
131
+ rack-proxy (0.6.2)
132
+ rack
133
+ rack-reverse-proxy (0.12.0)
134
+ rack (>= 1.0.0)
135
+ rack-proxy (~> 0.6, >= 0.6.1)
136
+ rack-test (0.6.3)
137
+ rack (>= 1.0)
138
+ rake (12.0.0)
139
+ randexp (0.1.7)
140
+ redcarpet (3.4.0)
141
+ reform (2.2.4)
142
+ disposable (>= 0.4.1)
143
+ representable (>= 2.4.0, < 3.1.0)
144
+ representable (3.0.4)
145
+ declarative (< 0.1.0)
146
+ declarative-option (< 0.2.0)
147
+ uber (< 0.2.0)
148
+ roar (1.1.0)
149
+ representable (~> 3.0.0)
150
+ rspec (3.6.0)
151
+ rspec-core (~> 3.6.0)
152
+ rspec-expectations (~> 3.6.0)
153
+ rspec-mocks (~> 3.6.0)
154
+ rspec-core (3.6.0)
155
+ rspec-support (~> 3.6.0)
156
+ rspec-expectations (3.6.0)
157
+ diff-lcs (>= 1.2.0, < 2.0)
158
+ rspec-support (~> 3.6.0)
159
+ rspec-mocks (3.6.0)
160
+ diff-lcs (>= 1.2.0, < 2.0)
161
+ rspec-support (~> 3.6.0)
162
+ rspec-support (3.6.0)
163
+ semver2 (3.4.2)
164
+ sequel (4.49.0)
165
+ sinatra (1.4.8)
166
+ rack (~> 1.5)
167
+ rack-protection (~> 1.4)
168
+ tilt (>= 1.3, < 3)
169
+ sqlite3 (1.3.13)
170
+ sucker_punch (2.0.3)
171
+ concurrent-ruby (~> 1.0.0)
172
+ term-ansicolor (1.6.0)
173
+ tins (~> 1.0)
174
+ thin (1.7.2)
175
+ daemons (~> 1.0, >= 1.0.9)
176
+ eventmachine (~> 1.0, >= 1.0.4)
177
+ rack (>= 1, < 3)
178
+ thor (0.20.0)
179
+ thread_safe (0.3.6)
180
+ tilt (2.0.8)
181
+ tins (1.15.0)
182
+ tzinfo (1.2.3)
183
+ thread_safe (~> 0.1)
184
+ uber (0.1.0)
185
+ url_mount (0.2.1)
186
+ rack
187
+ webmachine (1.4.0)
188
+ as-notifications (~> 1.0)
189
+ i18n (>= 0.4.0)
190
+ multi_json
191
+ webrick (1.3.1)
192
+
193
+ PLATFORMS
194
+ ruby
195
+
196
+ DEPENDENCIES
197
+ appraisal
198
+ dry-types (= 0.10)
199
+ mysql2 (~> 0.3.15)
200
+ pact_broker (= 2.1.0)
201
+ pg (~> 0.21)
202
+ rack-reverse-proxy (~> 0.12)
203
+ rake (~> 12.0)
204
+ rspec
205
+ sqlite3 (~> 1.3)
206
+ thin (~> 1.3)
207
+
208
+ BUNDLED WITH
209
+ 1.15.4
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pact_broker", "2.2.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"
14
+ gem "dry-types", "0.10.3"