chmeetings 0.0.1

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 (48) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +2 -0
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +19 -0
  6. data/Gemfile +16 -0
  7. data/LICENSE +21 -0
  8. data/README.md +68 -0
  9. data/Rakefile +24 -0
  10. data/chmeetings.gemspec +25 -0
  11. data/lib/chmeetings/client/campaign.rb +9 -0
  12. data/lib/chmeetings/client/contribution.rb +13 -0
  13. data/lib/chmeetings/client/family.rb +25 -0
  14. data/lib/chmeetings/client/family_member.rb +25 -0
  15. data/lib/chmeetings/client/group.rb +9 -0
  16. data/lib/chmeetings/client/person.rb +21 -0
  17. data/lib/chmeetings/client/pledge.rb +9 -0
  18. data/lib/chmeetings/client.rb +41 -0
  19. data/lib/chmeetings/error.rb +58 -0
  20. data/lib/chmeetings/parse_oj.rb +26 -0
  21. data/lib/chmeetings/version.rb +5 -0
  22. data/lib/chmeetings.rb +7 -0
  23. data/spec/chmeetings/client_spec.rb +115 -0
  24. data/spec/chmeetings/error_spec.rb +79 -0
  25. data/spec/chmeetings/resources/campaign_spec.rb +25 -0
  26. data/spec/chmeetings/resources/contribution_spec.rb +39 -0
  27. data/spec/chmeetings/resources/family_member_spec.rb +75 -0
  28. data/spec/chmeetings/resources/family_spec.rb +81 -0
  29. data/spec/chmeetings/resources/group_spec.rb +25 -0
  30. data/spec/chmeetings/resources/person_spec.rb +67 -0
  31. data/spec/chmeetings/resources/pledge_spec.rb +25 -0
  32. data/spec/chmeetings_spec.rb +7 -0
  33. data/spec/spec_helper.rb +25 -0
  34. data/spec/support/chmeetings_mock.rb +63 -0
  35. data/spec/support/client_factory.rb +10 -0
  36. data/spec/support/fixtures/campaigns.json +16 -0
  37. data/spec/support/fixtures/contribution.json +9 -0
  38. data/spec/support/fixtures/contributions.json +22 -0
  39. data/spec/support/fixtures/families.json +14 -0
  40. data/spec/support/fixtures/family.json +5 -0
  41. data/spec/support/fixtures/family_member.json +7 -0
  42. data/spec/support/fixtures/family_members.json +18 -0
  43. data/spec/support/fixtures/groups.json +16 -0
  44. data/spec/support/fixtures/people.json +20 -0
  45. data/spec/support/fixtures/person.json +8 -0
  46. data/spec/support/fixtures/pledges.json +13 -0
  47. data/spec/support/fixtures_helper.rb +5 -0
  48. metadata +117 -0
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: chmeetings
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Taylor Brooks
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-02-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: oj
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: A Ruby wrapper for the ChMeetings API
42
+ email:
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files: []
46
+ files:
47
+ - ".gitignore"
48
+ - ".rspec"
49
+ - ".ruby-version"
50
+ - CHANGELOG.md
51
+ - Gemfile
52
+ - LICENSE
53
+ - README.md
54
+ - Rakefile
55
+ - chmeetings.gemspec
56
+ - lib/chmeetings.rb
57
+ - lib/chmeetings/client.rb
58
+ - lib/chmeetings/client/campaign.rb
59
+ - lib/chmeetings/client/contribution.rb
60
+ - lib/chmeetings/client/family.rb
61
+ - lib/chmeetings/client/family_member.rb
62
+ - lib/chmeetings/client/group.rb
63
+ - lib/chmeetings/client/person.rb
64
+ - lib/chmeetings/client/pledge.rb
65
+ - lib/chmeetings/error.rb
66
+ - lib/chmeetings/parse_oj.rb
67
+ - lib/chmeetings/version.rb
68
+ - spec/chmeetings/client_spec.rb
69
+ - spec/chmeetings/error_spec.rb
70
+ - spec/chmeetings/resources/campaign_spec.rb
71
+ - spec/chmeetings/resources/contribution_spec.rb
72
+ - spec/chmeetings/resources/family_member_spec.rb
73
+ - spec/chmeetings/resources/family_spec.rb
74
+ - spec/chmeetings/resources/group_spec.rb
75
+ - spec/chmeetings/resources/person_spec.rb
76
+ - spec/chmeetings/resources/pledge_spec.rb
77
+ - spec/chmeetings_spec.rb
78
+ - spec/spec_helper.rb
79
+ - spec/support/chmeetings_mock.rb
80
+ - spec/support/client_factory.rb
81
+ - spec/support/fixtures/campaigns.json
82
+ - spec/support/fixtures/contribution.json
83
+ - spec/support/fixtures/contributions.json
84
+ - spec/support/fixtures/families.json
85
+ - spec/support/fixtures/family.json
86
+ - spec/support/fixtures/family_member.json
87
+ - spec/support/fixtures/family_members.json
88
+ - spec/support/fixtures/groups.json
89
+ - spec/support/fixtures/people.json
90
+ - spec/support/fixtures/person.json
91
+ - spec/support/fixtures/pledges.json
92
+ - spec/support/fixtures_helper.rb
93
+ homepage: https://github.com/taylorbrooks/chmeetings
94
+ licenses:
95
+ - MIT
96
+ metadata:
97
+ rubygems_mfa_required: 'true'
98
+ post_install_message:
99
+ rdoc_options: []
100
+ require_paths:
101
+ - lib
102
+ required_ruby_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '2.7'
107
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ requirements: []
113
+ rubygems_version: 3.5.16
114
+ signing_key:
115
+ specification_version: 4
116
+ summary: A Ruby wrapper for the ChMeetings API
117
+ test_files: []