rock_rms 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -3
  3. data/lib/rock_rms/client.rb +3 -0
  4. data/lib/rock_rms/error.rb +1 -1
  5. data/lib/rock_rms/resources/group.rb +35 -0
  6. data/lib/rock_rms/resources/group_member.rb +32 -0
  7. data/lib/rock_rms/resources/person.rb +16 -6
  8. data/lib/rock_rms/resources/phone_number.rb +15 -0
  9. data/lib/rock_rms/responses/campus.rb +34 -0
  10. data/lib/rock_rms/responses/group.rb +42 -0
  11. data/lib/rock_rms/responses/group_location.rb +34 -0
  12. data/lib/rock_rms/responses/location.rb +37 -0
  13. data/lib/rock_rms/responses/person.rb +29 -17
  14. data/lib/rock_rms/responses/phone_number.rb +27 -0
  15. data/lib/rock_rms/version.rb +1 -1
  16. data/spec/rock_rms/client_spec.rb +3 -3
  17. data/spec/rock_rms/resources/group_member_spec.rb +67 -0
  18. data/spec/rock_rms/resources/group_spec.rb +111 -0
  19. data/spec/rock_rms/resources/person_spec.rb +50 -0
  20. data/spec/rock_rms/resources/phone_number_spec.rb +34 -0
  21. data/spec/rock_rms/responses/campus_spec.rb +30 -0
  22. data/spec/rock_rms/responses/group_location_spec.rb +36 -0
  23. data/spec/rock_rms/responses/group_spec.rb +52 -0
  24. data/spec/rock_rms/responses/location_spec.rb +33 -0
  25. data/spec/rock_rms/responses/phone_number_spec.rb +25 -0
  26. data/spec/spec_helper.rb +5 -0
  27. data/spec/support/client_factory.rb +12 -0
  28. data/spec/support/fixtures/campuses.json +23 -0
  29. data/spec/support/fixtures/create_group_member.json +1 -0
  30. data/spec/support/fixtures/families.json +45 -0
  31. data/spec/support/fixtures/group.json +43 -0
  32. data/spec/support/fixtures/group_locations.json +60 -0
  33. data/spec/support/fixtures/groups.json +32 -0
  34. data/spec/support/fixtures/groups_with_campus.json +53 -0
  35. data/spec/support/fixtures/groups_with_locations.json +92 -0
  36. data/spec/support/fixtures/groups_with_members.json +454 -0
  37. data/spec/support/fixtures/locations.json +42 -0
  38. data/spec/support/fixtures/people_search.json +36 -0
  39. data/spec/support/fixtures/phone_numbers.json +28 -0
  40. data/spec/support/fixtures_helper.rb +5 -0
  41. data/spec/support/rock_mock.rb +41 -0
  42. metadata +33 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock_rms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-01 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -186,22 +186,53 @@ files:
186
186
  - lib/rock_rms/resources/batch.rb
187
187
  - lib/rock_rms/resources/donation.rb
188
188
  - lib/rock_rms/resources/fund.rb
189
+ - lib/rock_rms/resources/group.rb
190
+ - lib/rock_rms/resources/group_member.rb
189
191
  - lib/rock_rms/resources/payment_method.rb
190
192
  - lib/rock_rms/resources/person.rb
193
+ - lib/rock_rms/resources/phone_number.rb
191
194
  - lib/rock_rms/resources/recurring_donation.rb
192
195
  - lib/rock_rms/resources/transaction_detail.rb
196
+ - lib/rock_rms/responses/campus.rb
193
197
  - lib/rock_rms/responses/donation.rb
194
198
  - lib/rock_rms/responses/fund.rb
199
+ - lib/rock_rms/responses/group.rb
200
+ - lib/rock_rms/responses/group_location.rb
201
+ - lib/rock_rms/responses/location.rb
195
202
  - lib/rock_rms/responses/payment_method.rb
196
203
  - lib/rock_rms/responses/person.rb
204
+ - lib/rock_rms/responses/phone_number.rb
197
205
  - lib/rock_rms/responses/recurring_donation.rb
198
206
  - lib/rock_rms/responses/recurring_donation_details.rb
199
207
  - lib/rock_rms/version.rb
200
208
  - rock_rms.gemspec
201
209
  - spec/rock_rms/client_spec.rb
202
210
  - spec/rock_rms/error_spec.rb
211
+ - spec/rock_rms/resources/group_member_spec.rb
212
+ - spec/rock_rms/resources/group_spec.rb
213
+ - spec/rock_rms/resources/person_spec.rb
214
+ - spec/rock_rms/resources/phone_number_spec.rb
215
+ - spec/rock_rms/responses/campus_spec.rb
216
+ - spec/rock_rms/responses/group_location_spec.rb
217
+ - spec/rock_rms/responses/group_spec.rb
218
+ - spec/rock_rms/responses/location_spec.rb
219
+ - spec/rock_rms/responses/phone_number_spec.rb
203
220
  - spec/rock_rms_spec.rb
204
221
  - spec/spec_helper.rb
222
+ - spec/support/client_factory.rb
223
+ - spec/support/fixtures/campuses.json
224
+ - spec/support/fixtures/create_group_member.json
225
+ - spec/support/fixtures/families.json
226
+ - spec/support/fixtures/group.json
227
+ - spec/support/fixtures/group_locations.json
228
+ - spec/support/fixtures/groups.json
229
+ - spec/support/fixtures/groups_with_campus.json
230
+ - spec/support/fixtures/groups_with_locations.json
231
+ - spec/support/fixtures/groups_with_members.json
232
+ - spec/support/fixtures/locations.json
233
+ - spec/support/fixtures/people_search.json
234
+ - spec/support/fixtures/phone_numbers.json
235
+ - spec/support/fixtures_helper.rb
205
236
  - spec/support/rock_mock.rb
206
237
  homepage: https://github.com/taylorbrooks/rock_rms
207
238
  licenses: