shokkenki-consumer 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/lib/shokkenki/consumer/configuration/provider_configuration.rb +30 -0
  2. data/lib/shokkenki/consumer/configuration/session.rb +38 -0
  3. data/lib/shokkenki/consumer/consumer.rb +9 -0
  4. data/lib/shokkenki/consumer/dsl/http_methods.rb +16 -0
  5. data/lib/shokkenki/consumer/dsl/order.rb +70 -0
  6. data/lib/shokkenki/consumer/dsl/session.rb +13 -0
  7. data/lib/shokkenki/consumer/dsl/term_dsl.rb +13 -0
  8. data/lib/shokkenki/consumer/model/fixture.rb +21 -0
  9. data/lib/shokkenki/consumer/model/interaction.rb +29 -0
  10. data/lib/shokkenki/consumer/model/patronage.rb +31 -0
  11. data/lib/shokkenki/consumer/model/provider.rb +33 -0
  12. data/lib/shokkenki/consumer/model/role.rb +27 -0
  13. data/lib/shokkenki/consumer/model/simplification.rb +16 -0
  14. data/lib/shokkenki/consumer/model/ticket.rb +38 -0
  15. data/lib/shokkenki/consumer/rspec/example_group_binding.rb +17 -0
  16. data/lib/shokkenki/consumer/rspec/hooks.rb +32 -0
  17. data/lib/shokkenki/consumer/rspec/rspec_configuration.rb +25 -0
  18. data/lib/shokkenki/consumer/rspec.rb +2 -0
  19. data/lib/shokkenki/consumer/session.rb +83 -0
  20. data/lib/shokkenki/consumer/stubber/http_stubber.rb +97 -0
  21. data/lib/shokkenki/consumer/stubber/interaction.rb +51 -0
  22. data/lib/shokkenki/consumer/stubber/interactions.rb +41 -0
  23. data/lib/shokkenki/consumer/stubber/interactions_middleware.rb +34 -0
  24. data/lib/shokkenki/consumer/stubber/rack_response.rb +28 -0
  25. data/lib/shokkenki/consumer/stubber/request.rb +72 -0
  26. data/lib/shokkenki/consumer/stubber/restful_middleware.rb +33 -0
  27. data/lib/shokkenki/consumer/stubber/server.rb +69 -0
  28. data/lib/shokkenki/consumer/stubber/server_application_error.rb +16 -0
  29. data/lib/shokkenki/consumer/stubber/stub_server_middleware.rb +46 -0
  30. data/lib/shokkenki/consumer/stubber/stubbed_response_middleware.rb +34 -0
  31. data/lib/shokkenki/consumer/stubber/unmatched_requests_middleware.rb +22 -0
  32. data/lib/shokkenki/consumer/stubber/unused_interactions_middleware.rb +21 -0
  33. data/lib/shokkenki/consumer/version.rb +7 -0
  34. metadata +258 -0
metadata ADDED
@@ -0,0 +1,258 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: shokkenki-consumer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Brent Snook
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-11-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: json
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: httparty
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: find_a_port
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: activesupport
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: shokkenki-support
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - '='
100
+ - !ruby/object:Gem::Version
101
+ version: 0.0.2
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - '='
108
+ - !ruby/object:Gem::Version
109
+ version: 0.0.2
110
+ - !ruby/object:Gem::Dependency
111
+ name: rack
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: rake
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ~>
132
+ - !ruby/object:Gem::Version
133
+ version: 10.0.0
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 10.0.0
142
+ - !ruby/object:Gem::Dependency
143
+ name: rspec
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ version: 2.14.0
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ version: 2.14.0
158
+ - !ruby/object:Gem::Dependency
159
+ name: timecop
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: webmock
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ description: Example-driven consumer-driven contracts. For consumers.
191
+ email: brent@fuglylogic.com
192
+ executables: []
193
+ extensions: []
194
+ extra_rdoc_files: []
195
+ files:
196
+ - lib/shokkenki/consumer/configuration/provider_configuration.rb
197
+ - lib/shokkenki/consumer/configuration/session.rb
198
+ - lib/shokkenki/consumer/consumer.rb
199
+ - lib/shokkenki/consumer/dsl/http_methods.rb
200
+ - lib/shokkenki/consumer/dsl/order.rb
201
+ - lib/shokkenki/consumer/dsl/session.rb
202
+ - lib/shokkenki/consumer/dsl/term_dsl.rb
203
+ - lib/shokkenki/consumer/model/fixture.rb
204
+ - lib/shokkenki/consumer/model/interaction.rb
205
+ - lib/shokkenki/consumer/model/patronage.rb
206
+ - lib/shokkenki/consumer/model/provider.rb
207
+ - lib/shokkenki/consumer/model/role.rb
208
+ - lib/shokkenki/consumer/model/simplification.rb
209
+ - lib/shokkenki/consumer/model/ticket.rb
210
+ - lib/shokkenki/consumer/rspec.rb
211
+ - lib/shokkenki/consumer/rspec/example_group_binding.rb
212
+ - lib/shokkenki/consumer/rspec/hooks.rb
213
+ - lib/shokkenki/consumer/rspec/rspec_configuration.rb
214
+ - lib/shokkenki/consumer/session.rb
215
+ - lib/shokkenki/consumer/stubber/http_stubber.rb
216
+ - lib/shokkenki/consumer/stubber/interaction.rb
217
+ - lib/shokkenki/consumer/stubber/interactions.rb
218
+ - lib/shokkenki/consumer/stubber/interactions_middleware.rb
219
+ - lib/shokkenki/consumer/stubber/rack_response.rb
220
+ - lib/shokkenki/consumer/stubber/request.rb
221
+ - lib/shokkenki/consumer/stubber/restful_middleware.rb
222
+ - lib/shokkenki/consumer/stubber/server.rb
223
+ - lib/shokkenki/consumer/stubber/server_application_error.rb
224
+ - lib/shokkenki/consumer/stubber/stub_server_middleware.rb
225
+ - lib/shokkenki/consumer/stubber/stubbed_response_middleware.rb
226
+ - lib/shokkenki/consumer/stubber/unmatched_requests_middleware.rb
227
+ - lib/shokkenki/consumer/stubber/unused_interactions_middleware.rb
228
+ - lib/shokkenki/consumer/version.rb
229
+ homepage: http://github.com/brentsnook/shokkenki-consumer
230
+ licenses:
231
+ - GPL2
232
+ post_install_message:
233
+ rdoc_options:
234
+ - --charset=UTF-8
235
+ require_paths:
236
+ - lib
237
+ required_ruby_version: !ruby/object:Gem::Requirement
238
+ none: false
239
+ requirements:
240
+ - - ! '>='
241
+ - !ruby/object:Gem::Version
242
+ version: '1.9'
243
+ required_rubygems_version: !ruby/object:Gem::Requirement
244
+ none: false
245
+ requirements:
246
+ - - ! '>='
247
+ - !ruby/object:Gem::Version
248
+ version: '0'
249
+ segments:
250
+ - 0
251
+ hash: 48542705375814483
252
+ requirements: []
253
+ rubyforge_project:
254
+ rubygems_version: 1.8.24
255
+ signing_key:
256
+ specification_version: 3
257
+ summary: shokkenki-consumer-0.0.2
258
+ test_files: []