wcc_ministries_client 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +68 -0
  4. data/README.md +108 -0
  5. data/Rakefile +10 -0
  6. data/bin/gen +32 -0
  7. data/docs/Asset.md +22 -0
  8. data/docs/AssetFile.md +24 -0
  9. data/docs/AssetFileDetails.md +20 -0
  10. data/docs/AssetFileDetailsImage.md +20 -0
  11. data/docs/CachingMeta.md +20 -0
  12. data/docs/DeletedMinistry.md +20 -0
  13. data/docs/InlineResponse200.md +24 -0
  14. data/docs/InlineResponse2001.md +20 -0
  15. data/docs/InlineResponse200Links.md +26 -0
  16. data/docs/InlineResponse200Meta.md +22 -0
  17. data/docs/Ministry.md +28 -0
  18. data/docs/MinistryApi.md +141 -0
  19. data/docs/MinistryAttributes.md +24 -0
  20. data/docs/MinistryLinks.md +18 -0
  21. data/docs/MinistryRelationships.md +18 -0
  22. data/docs/Page.md +26 -0
  23. data/docs/PageAttributes.md +24 -0
  24. data/docs/PageLinks.md +18 -0
  25. data/docs/PageRelationship.md +18 -0
  26. data/docs/PageRelationshipData.md +20 -0
  27. data/git_push.sh +58 -0
  28. data/lib/wcc_ministries_client/api/ministry_api.rb +149 -0
  29. data/lib/wcc_ministries_client/api_client.rb +389 -0
  30. data/lib/wcc_ministries_client/api_error.rb +57 -0
  31. data/lib/wcc_ministries_client/configuration.rb +270 -0
  32. data/lib/wcc_ministries_client/models/asset.rb +244 -0
  33. data/lib/wcc_ministries_client/models/asset_file.rb +249 -0
  34. data/lib/wcc_ministries_client/models/asset_file_details.rb +226 -0
  35. data/lib/wcc_ministries_client/models/asset_file_details_image.rb +237 -0
  36. data/lib/wcc_ministries_client/models/caching_meta.rb +237 -0
  37. data/lib/wcc_ministries_client/models/deleted_ministry.rb +271 -0
  38. data/lib/wcc_ministries_client/models/inline_response200.rb +262 -0
  39. data/lib/wcc_ministries_client/models/inline_response2001.rb +232 -0
  40. data/lib/wcc_ministries_client/models/inline_response200_links.rb +272 -0
  41. data/lib/wcc_ministries_client/models/inline_response200_meta.rb +252 -0
  42. data/lib/wcc_ministries_client/models/ministry.rb +327 -0
  43. data/lib/wcc_ministries_client/models/ministry_attributes.rb +258 -0
  44. data/lib/wcc_ministries_client/models/ministry_links.rb +222 -0
  45. data/lib/wcc_ministries_client/models/ministry_relationships.rb +216 -0
  46. data/lib/wcc_ministries_client/models/page.rb +313 -0
  47. data/lib/wcc_ministries_client/models/page_attributes.rb +263 -0
  48. data/lib/wcc_ministries_client/models/page_links.rb +222 -0
  49. data/lib/wcc_ministries_client/models/page_relationship.rb +221 -0
  50. data/lib/wcc_ministries_client/models/page_relationship_data.rb +269 -0
  51. data/lib/wcc_ministries_client/version.rb +19 -0
  52. data/lib/wcc_ministries_client.rb +59 -0
  53. data/openapitools.json +23 -0
  54. data/pkg/wcc_ministries_client-1.0.0.gem +0 -0
  55. data/spec/api/ministry_api_spec.rb +60 -0
  56. data/spec/api_client_spec.rb +226 -0
  57. data/spec/configuration_spec.rb +42 -0
  58. data/spec/models/asset_file_details_image_spec.rb +40 -0
  59. data/spec/models/asset_file_details_spec.rb +40 -0
  60. data/spec/models/asset_file_spec.rb +52 -0
  61. data/spec/models/asset_spec.rb +46 -0
  62. data/spec/models/caching_meta_spec.rb +40 -0
  63. data/spec/models/deleted_ministry_spec.rb +44 -0
  64. data/spec/models/inline_response2001_spec.rb +40 -0
  65. data/spec/models/inline_response200_links_spec.rb +58 -0
  66. data/spec/models/inline_response200_meta_spec.rb +46 -0
  67. data/spec/models/inline_response200_spec.rb +52 -0
  68. data/spec/models/ministry_attributes_spec.rb +52 -0
  69. data/spec/models/ministry_links_spec.rb +34 -0
  70. data/spec/models/ministry_relationships_spec.rb +34 -0
  71. data/spec/models/ministry_spec.rb +68 -0
  72. data/spec/models/page_attributes_spec.rb +52 -0
  73. data/spec/models/page_links_spec.rb +34 -0
  74. data/spec/models/page_relationship_data_spec.rb +44 -0
  75. data/spec/models/page_relationship_spec.rb +34 -0
  76. data/spec/models/page_spec.rb +62 -0
  77. data/spec/spec_helper.rb +111 -0
  78. data/swagger.json +425 -0
  79. data/wcc_ministries_client.gemspec +38 -0
  80. metadata +185 -0
@@ -0,0 +1,111 @@
1
+ =begin
2
+ #WCC Ministries API
3
+
4
+ #WCC Ministries API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: dev@watermark.org
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: unset
10
+
11
+ =end
12
+
13
+ # load the gem
14
+ require 'wcc_ministries_client'
15
+
16
+ # The following was generated by the `rspec --init` command. Conventionally, all
17
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
18
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
19
+ # this file to always be loaded, without a need to explicitly require it in any
20
+ # files.
21
+ #
22
+ # Given that it is always loaded, you are encouraged to keep this file as
23
+ # light-weight as possible. Requiring heavyweight dependencies from this file
24
+ # will add to the boot time of your test suite on EVERY test run, even for an
25
+ # individual file that may not need all of that loaded. Instead, consider making
26
+ # a separate helper file that requires the additional dependencies and performs
27
+ # the additional setup, and require it from the spec files that actually need
28
+ # it.
29
+ #
30
+ # The `.rspec` file also contains a few flags that are not defaults but that
31
+ # users commonly want.
32
+ #
33
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
34
+ RSpec.configure do |config|
35
+ # rspec-expectations config goes here. You can use an alternate
36
+ # assertion/expectation library such as wrong or the stdlib/minitest
37
+ # assertions if you prefer.
38
+ config.expect_with :rspec do |expectations|
39
+ # This option will default to `true` in RSpec 4. It makes the `description`
40
+ # and `failure_message` of custom matchers include text for helper methods
41
+ # defined using `chain`, e.g.:
42
+ # be_bigger_than(2).and_smaller_than(4).description
43
+ # # => "be bigger than 2 and smaller than 4"
44
+ # ...rather than:
45
+ # # => "be bigger than 2"
46
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
47
+ end
48
+
49
+ # rspec-mocks config goes here. You can use an alternate test double
50
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
51
+ config.mock_with :rspec do |mocks|
52
+ # Prevents you from mocking or stubbing a method that does not exist on
53
+ # a real object. This is generally recommended, and will default to
54
+ # `true` in RSpec 4.
55
+ mocks.verify_partial_doubles = true
56
+ end
57
+
58
+ # The settings below are suggested to provide a good initial experience
59
+ # with RSpec, but feel free to customize to your heart's content.
60
+ =begin
61
+ # These two settings work together to allow you to limit a spec run
62
+ # to individual examples or groups you care about by tagging them with
63
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
64
+ # get run.
65
+ config.filter_run :focus
66
+ config.run_all_when_everything_filtered = true
67
+
68
+ # Allows RSpec to persist some state between runs in order to support
69
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
70
+ # you configure your source control system to ignore this file.
71
+ config.example_status_persistence_file_path = "spec/examples.txt"
72
+
73
+ # Limits the available syntax to the non-monkey patched syntax that is
74
+ # recommended. For more details, see:
75
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
76
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
77
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
78
+ config.disable_monkey_patching!
79
+
80
+ # This setting enables warnings. It's recommended, but in some cases may
81
+ # be too noisy due to issues in dependencies.
82
+ config.warnings = true
83
+
84
+ # Many RSpec users commonly either run the entire suite or an individual
85
+ # file, and it's useful to allow more verbose output when running an
86
+ # individual spec file.
87
+ if config.files_to_run.one?
88
+ # Use the documentation formatter for detailed output,
89
+ # unless a formatter has already been configured
90
+ # (e.g. via a command-line flag).
91
+ config.default_formatter = 'doc'
92
+ end
93
+
94
+ # Print the 10 slowest examples and example groups at the
95
+ # end of the spec run, to help surface which specs are running
96
+ # particularly slow.
97
+ config.profile_examples = 10
98
+
99
+ # Run specs in random order to surface order dependencies. If you find an
100
+ # order dependency and want to debug it, you can fix the order by providing
101
+ # the seed, which is printed after each run.
102
+ # --seed 1234
103
+ config.order = :random
104
+
105
+ # Seed global randomization in this process using the `--seed` CLI option.
106
+ # Setting this allows you to use `--seed` to deterministically reproduce
107
+ # test failures related to randomization by passing the same `--seed` value
108
+ # as the one that triggered the failure.
109
+ Kernel.srand config.seed
110
+ =end
111
+ end
data/swagger.json ADDED
@@ -0,0 +1,425 @@
1
+ {
2
+ "openapi" : "3.0.0",
3
+ "info" : {
4
+ "description" : "WCC Ministries API",
5
+ "version" : "1.0.0",
6
+ "title" : "WCC Ministries API",
7
+ "contact" : {
8
+ "email" : "dev@watermark.org"
9
+ },
10
+ "license" : {
11
+ "name" : "Apache 2.0",
12
+ "url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
13
+ }
14
+ },
15
+ "servers" : [ {
16
+ "description" : "Watermark.org production server",
17
+ "url" : "https://www.watermark.org/api/v1/ministries"
18
+ } ],
19
+ "tags" : [ {
20
+ "name" : "ministry",
21
+ "description" : "Endpoints to get Ministry entities"
22
+ } ],
23
+ "paths" : {
24
+ "/" : {
25
+ "get" : {
26
+ "tags" : [ "ministry" ],
27
+ "summary" : "Query for a list of ministries matching some criteria",
28
+ "operationId" : "listMinistries",
29
+ "description" : "Search for ministries by some query parameters\n",
30
+ "parameters" : [ {
31
+ "in" : "query",
32
+ "name" : "filter[slug]",
33
+ "description" : "Match a single ministry by unique slug",
34
+ "required" : false,
35
+ "schema" : {
36
+ "type" : "string"
37
+ }
38
+ }, {
39
+ "in" : "query",
40
+ "name" : "skip",
41
+ "description" : "Number of records to skip for pagination",
42
+ "required" : false,
43
+ "schema" : {
44
+ "type" : "integer"
45
+ }
46
+ }, {
47
+ "in" : "query",
48
+ "name" : "limit",
49
+ "description" : "Number of records to return in this page",
50
+ "required" : false,
51
+ "schema" : {
52
+ "type" : "integer"
53
+ }
54
+ } ],
55
+ "responses" : {
56
+ "200" : {
57
+ "$ref" : "#/components/responses/MinistryListResponse"
58
+ },
59
+ "400" : {
60
+ "description" : "bad input parameter"
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "/{id}" : {
66
+ "get" : {
67
+ "tags" : [ "ministry" ],
68
+ "summary" : "Get a single ministry by ID",
69
+ "operationId" : "getMinistry",
70
+ "parameters" : [ {
71
+ "in" : "path",
72
+ "name" : "id",
73
+ "description" : "The UUID of the ministry",
74
+ "required" : true,
75
+ "schema" : {
76
+ "type" : "string"
77
+ }
78
+ } ],
79
+ "responses" : {
80
+ "200" : {
81
+ "$ref" : "#/components/responses/MinistryShowResponse"
82
+ },
83
+ "404" : {
84
+ "description" : "No ministry exists with that UUID"
85
+ }
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "components" : {
91
+ "responses" : {
92
+ "MinistryShowResponse" : {
93
+ "description" : "A single ministry found by ID",
94
+ "content" : {
95
+ "application/json" : {
96
+ "schema" : {
97
+ "type" : "object",
98
+ "required" : [ "data" ],
99
+ "properties" : {
100
+ "data" : {
101
+ "$ref" : "#/components/schemas/Ministry"
102
+ },
103
+ "included" : {
104
+ "type" : "array",
105
+ "items" : {
106
+ "$ref" : "#/components/schemas/Page"
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ },
114
+ "MinistryListResponse" : {
115
+ "description" : "A list of ministries with pagination metadata and links",
116
+ "content" : {
117
+ "application/json" : {
118
+ "schema" : {
119
+ "type" : "object",
120
+ "required" : [ "data", "meta", "links" ],
121
+ "properties" : {
122
+ "data" : {
123
+ "type" : "array",
124
+ "items" : {
125
+ "$ref" : "#/components/schemas/Ministry"
126
+ }
127
+ },
128
+ "meta" : {
129
+ "type" : "object",
130
+ "required" : [ "total", "limit", "skip" ],
131
+ "properties" : {
132
+ "total" : {
133
+ "type" : "number",
134
+ "description" : "The total number of ministries matching the query across all pages",
135
+ "example" : 1
136
+ },
137
+ "limit" : {
138
+ "type" : "number",
139
+ "description" : "The page size",
140
+ "example" : 10
141
+ },
142
+ "skip" : {
143
+ "type" : "number",
144
+ "description" : "The offset into the list at which this page starts",
145
+ "example" : 0
146
+ }
147
+ }
148
+ },
149
+ "links" : {
150
+ "type" : "object",
151
+ "required" : [ "self", "first", "last" ],
152
+ "properties" : {
153
+ "self" : {
154
+ "type" : "string",
155
+ "description" : "A relative link to get this page of ministries again",
156
+ "example" : "/api/v1/ministries?limit=10&skip=0"
157
+ },
158
+ "first" : {
159
+ "type" : "string",
160
+ "description" : "A relative link to get the first page",
161
+ "example" : "/api/v1/ministries?limit=10&skip=0"
162
+ },
163
+ "prev" : {
164
+ "type" : "string",
165
+ "description" : "A relative link to get the previous page (null if this is the first page)",
166
+ "example" : null
167
+ },
168
+ "next" : {
169
+ "type" : "string",
170
+ "description" : "A relative link to get the next page (null if this is the last page)",
171
+ "example" : "/api/v1/ministries?limit=10&skip=10"
172
+ },
173
+ "last" : {
174
+ "type" : "string",
175
+ "description" : "A relative link to get the last page",
176
+ "example" : "/api/v1/ministries?limit=10&skip=10"
177
+ }
178
+ }
179
+ },
180
+ "included" : {
181
+ "type" : "array",
182
+ "items" : {
183
+ "$ref" : "#/components/schemas/Page"
184
+ }
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ }
191
+ },
192
+ "schemas" : {
193
+ "MinistryAttributes" : {
194
+ "type" : "object",
195
+ "required" : [ "code", "title", "descriptiveTitle" ],
196
+ "properties" : {
197
+ "code" : {
198
+ "type" : "string",
199
+ "example" : "re-generation"
200
+ },
201
+ "title" : {
202
+ "type" : "string",
203
+ "example" : "Re:Generation"
204
+ },
205
+ "descriptiveTitle" : {
206
+ "type" : "string",
207
+ "example" : "A biblically-based 12-step recovery program"
208
+ },
209
+ "displayInInternalSearch" : {
210
+ "type" : "boolean"
211
+ }
212
+ }
213
+ },
214
+ "Asset" : {
215
+ "type" : "object",
216
+ "required" : [ "title", "file" ],
217
+ "properties" : {
218
+ "title" : {
219
+ "type" : "string",
220
+ "example" : "Todd Wagner Square Profile Image"
221
+ },
222
+ "description" : {
223
+ "type" : "string",
224
+ "example" : "Todd Wagner"
225
+ },
226
+ "file" : {
227
+ "type" : "object",
228
+ "required" : [ "url" ],
229
+ "properties" : {
230
+ "url" : {
231
+ "type" : "string",
232
+ "example" : "//images.ctfassets.net/a/b/Todd-Wagner_2016__1_.jpg"
233
+ },
234
+ "fileName" : {
235
+ "type" : "string",
236
+ "example" : "Todd-Wagner_2016 (1).jpg"
237
+ },
238
+ "contentType" : {
239
+ "type" : "string",
240
+ "description" : "MIME type of image",
241
+ "example" : "image/jpeg"
242
+ },
243
+ "details" : {
244
+ "type" : "object",
245
+ "properties" : {
246
+ "size" : {
247
+ "type" : "number",
248
+ "description" : "Size of file in bytes",
249
+ "example" : 55406
250
+ },
251
+ "image" : {
252
+ "type" : "object",
253
+ "required" : [ "width", "height" ],
254
+ "properties" : {
255
+ "width" : {
256
+ "type" : "number",
257
+ "description" : "width of image in pixels",
258
+ "example" : 700
259
+ },
260
+ "height" : {
261
+ "type" : "number",
262
+ "description" : "height of image in pixels",
263
+ "example" : 700
264
+ }
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ }
271
+ }
272
+ },
273
+ "Ministry" : {
274
+ "type" : "object",
275
+ "required" : [ "id", "type", "attributes", "relationships", "links", "meta" ],
276
+ "properties" : {
277
+ "id" : {
278
+ "type" : "string",
279
+ "description" : "The unique ID of the Ministry. Used in the ministriesShow endpoint",
280
+ "example" : "7mUCKHxu0sve8ecXAFLJ21"
281
+ },
282
+ "type" : {
283
+ "type" : "string",
284
+ "description" : "Always the literal string 'ministry'. This is used as a discriminator.",
285
+ "example" : "ministry",
286
+ "enum" : [ "ministry" ]
287
+ },
288
+ "attributes" : {
289
+ "$ref" : "#/components/schemas/MinistryAttributes"
290
+ },
291
+ "relationships" : {
292
+ "type" : "object",
293
+ "properties" : {
294
+ "homepage" : {
295
+ "$ref" : "#/components/schemas/PageRelationship"
296
+ }
297
+ }
298
+ },
299
+ "links" : {
300
+ "type" : "object",
301
+ "required" : [ "self" ],
302
+ "properties" : {
303
+ "self" : {
304
+ "type" : "string",
305
+ "description" : "A relative link to get this JSON from the API",
306
+ "example" : "/api/v1/ministries/7mUCKHxu0sve8ecXAFLJ21"
307
+ }
308
+ }
309
+ },
310
+ "meta" : {
311
+ "$ref" : "#/components/schemas/CachingMeta"
312
+ }
313
+ }
314
+ },
315
+ "DeletedMinistry" : {
316
+ "type" : "object",
317
+ "required" : [ "id", "type" ],
318
+ "properties" : {
319
+ "id" : {
320
+ "type" : "string",
321
+ "description" : "The unique ID of the Ministry.",
322
+ "example" : "7mUCKHxu0sve8ecXAFLJ21"
323
+ },
324
+ "type" : {
325
+ "type" : "string",
326
+ "description" : "Always the literal string 'deletedMinistry'. This is used as a discriminator.",
327
+ "example" : "deletedMinistry",
328
+ "enum" : [ "deletedMinistry" ]
329
+ }
330
+ }
331
+ },
332
+ "Page" : {
333
+ "type" : "object",
334
+ "required" : [ "id", "type", "attributes", "links", "meta" ],
335
+ "properties" : {
336
+ "id" : {
337
+ "type" : "string",
338
+ "description" : "The unique ID of the Page. Referenced by the Ministry Homepage.",
339
+ "example" : "5GFx0YjJTczOBNyFUASQAu"
340
+ },
341
+ "type" : {
342
+ "type" : "string",
343
+ "description" : "Always the literal string 'page'. This is used as a discriminator.",
344
+ "example" : "page",
345
+ "enum" : [ "page" ]
346
+ },
347
+ "attributes" : {
348
+ "$ref" : "#/components/schemas/PageAttributes"
349
+ },
350
+ "links" : {
351
+ "type" : "object",
352
+ "required" : [ "canonical" ],
353
+ "properties" : {
354
+ "canonical" : {
355
+ "type" : "string",
356
+ "description" : "A link to the canonical landing page for this ministry.",
357
+ "example" : "https://www.watermark.org/ministries/re-generation"
358
+ }
359
+ }
360
+ },
361
+ "meta" : {
362
+ "$ref" : "#/components/schemas/CachingMeta"
363
+ }
364
+ }
365
+ },
366
+ "PageAttributes" : {
367
+ "type" : "object",
368
+ "required" : [ "title", "slug", "displayTitle", "description" ],
369
+ "properties" : {
370
+ "slug" : {
371
+ "type" : "string",
372
+ "example" : "/re-generation"
373
+ },
374
+ "title" : {
375
+ "type" : "string",
376
+ "example" : "Re:Generation"
377
+ },
378
+ "description" : {
379
+ "type" : "string",
380
+ "example" : "A biblically-based 12-step recovery program"
381
+ },
382
+ "displayTitle" : {
383
+ "type" : "boolean"
384
+ }
385
+ }
386
+ },
387
+ "PageRelationship" : {
388
+ "type" : "object",
389
+ "required" : [ "data" ],
390
+ "properties" : {
391
+ "data" : {
392
+ "type" : "object",
393
+ "required" : [ "type", "id" ],
394
+ "properties" : {
395
+ "type" : {
396
+ "type" : "string",
397
+ "enum" : [ "page" ]
398
+ },
399
+ "id" : {
400
+ "type" : "string",
401
+ "example" : "5GFx0YjJTczOBNyFUASQAu"
402
+ }
403
+ }
404
+ }
405
+ }
406
+ },
407
+ "CachingMeta" : {
408
+ "type" : "object",
409
+ "required" : [ "ETag", "Last-Modified" ],
410
+ "properties" : {
411
+ "ETag" : {
412
+ "type" : "string",
413
+ "description" : "The strong ETag is a digest of this resource. You can use the 'If-None-Match' HTTP header to do a conditional GET to the 'self' link of this person. Note the explicit quotation marks in the string - these must be included in the HTTP header.",
414
+ "example" : "\"67ca6661a69398674a62a1f2e55465d8\""
415
+ },
416
+ "Last-Modified" : {
417
+ "type" : "string",
418
+ "description" : "A timestamp when this resource was last modified. You can use the 'If-Modified-Since' HTTP header to do a conditional GET to the 'self' link of this person.",
419
+ "example" : "Mon, 27 Jul 2020 19:15:30 GMT"
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
425
+ }
@@ -0,0 +1,38 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #WCC Ministries API
5
+
6
+ #WCC Ministries API
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: dev@watermark.org
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: unset
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "wcc_ministries_client/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "wcc_ministries_client"
20
+ s.version = WCC::Ministries::Client::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["Watermark Community Church"]
23
+ s.email = ["dev@watermark.org"]
24
+ s.homepage = "https://www.watermark.org"
25
+ s.summary = "WCC Ministries API Ruby Gem"
26
+ s.description = "WCC Ministries API"
27
+ s.license = "MIT"
28
+ s.required_ruby_version = ">= 2.4"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+
32
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
33
+
34
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
35
+ s.test_files = `find spec/*`.split("\n")
36
+ s.executables = []
37
+ s.require_paths = ["lib"]
38
+ end