munster 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +14 -0
  3. data/.standard.yml +3 -0
  4. data/CHANGELOG.md +3 -0
  5. data/LICENSE +21 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +39 -0
  8. data/Rakefile +18 -0
  9. data/config/routes.rb +3 -0
  10. data/example/.gitattributes +7 -0
  11. data/example/.gitignore +29 -0
  12. data/example/.ruby-version +1 -0
  13. data/example/Gemfile +32 -0
  14. data/example/Gemfile.lock +208 -0
  15. data/example/README.md +24 -0
  16. data/example/Rakefile +8 -0
  17. data/example/app/assets/images/.keep +0 -0
  18. data/example/app/assets/stylesheets/application.css +1 -0
  19. data/example/app/controllers/application_controller.rb +4 -0
  20. data/example/app/controllers/concerns/.keep +0 -0
  21. data/example/app/helpers/application_helper.rb +4 -0
  22. data/example/app/models/application_record.rb +5 -0
  23. data/example/app/models/concerns/.keep +0 -0
  24. data/example/app/views/layouts/application.html.erb +15 -0
  25. data/example/app/webhooks/test_handler.rb +28 -0
  26. data/example/bin/bundle +109 -0
  27. data/example/bin/rails +4 -0
  28. data/example/bin/rake +4 -0
  29. data/example/bin/setup +33 -0
  30. data/example/config/application.rb +39 -0
  31. data/example/config/boot.rb +5 -0
  32. data/example/config/credentials.yml.enc +1 -0
  33. data/example/config/database.yml +25 -0
  34. data/example/config/environment.rb +7 -0
  35. data/example/config/environments/development.rb +61 -0
  36. data/example/config/environments/production.rb +71 -0
  37. data/example/config/environments/test.rb +52 -0
  38. data/example/config/initializers/assets.rb +14 -0
  39. data/example/config/initializers/content_security_policy.rb +27 -0
  40. data/example/config/initializers/filter_parameter_logging.rb +10 -0
  41. data/example/config/initializers/generators.rb +7 -0
  42. data/example/config/initializers/inflections.rb +18 -0
  43. data/example/config/initializers/munster.rb +7 -0
  44. data/example/config/initializers/permissions_policy.rb +13 -0
  45. data/example/config/locales/en.yml +33 -0
  46. data/example/config/puma.rb +45 -0
  47. data/example/config/routes.rb +5 -0
  48. data/example/config.ru +8 -0
  49. data/example/db/migrate/20240523125859_create_munster_tables.rb +22 -0
  50. data/example/db/schema.rb +24 -0
  51. data/example/db/seeds.rb +9 -0
  52. data/example/lib/assets/.keep +0 -0
  53. data/example/lib/tasks/.keep +0 -0
  54. data/example/log/.keep +0 -0
  55. data/example/public/404.html +67 -0
  56. data/example/public/422.html +67 -0
  57. data/example/public/500.html +66 -0
  58. data/example/public/apple-touch-icon-precomposed.png +0 -0
  59. data/example/public/apple-touch-icon.png +0 -0
  60. data/example/public/favicon.ico +0 -0
  61. data/example/public/robots.txt +1 -0
  62. data/example/test/controllers/.keep +0 -0
  63. data/example/test/fixtures/files/.keep +0 -0
  64. data/example/test/helpers/.keep +0 -0
  65. data/example/test/integration/.keep +0 -0
  66. data/example/test/models/.keep +0 -0
  67. data/example/test/test_helper.rb +15 -0
  68. data/example/tmp/.keep +0 -0
  69. data/example/tmp/pids/.keep +0 -0
  70. data/example/vendor/.keep +0 -0
  71. data/lib/munster/base_handler.rb +67 -0
  72. data/lib/munster/controllers/receive_webhooks_controller.rb +52 -0
  73. data/lib/munster/engine.rb +22 -0
  74. data/lib/munster/install_generator.rb +30 -0
  75. data/lib/munster/jobs/processing_job.rb +14 -0
  76. data/lib/munster/models/received_webhook.rb +23 -0
  77. data/lib/munster/state_machine_enum.rb +125 -0
  78. data/lib/munster/templates/create_munster_tables.rb.erb +23 -0
  79. data/lib/munster/templates/munster.rb +4 -0
  80. data/lib/munster/version.rb +5 -0
  81. data/lib/munster.rb +23 -0
  82. data/lib/tasks/munster_tasks.rake +4 -0
  83. data/sig/munster.rbs +4 -0
  84. metadata +197 -0
metadata ADDED
@@ -0,0 +1,197 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: munster
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Stanislav Katkov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '7.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '7.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '13.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '13.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: standard
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: magic_frozen_string_literal
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '5.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '5.0'
83
+ description: Webhooks framework for Rails applications
84
+ email:
85
+ - skatkov@cheddar.me
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".editorconfig"
91
+ - ".standard.yml"
92
+ - CHANGELOG.md
93
+ - LICENSE
94
+ - LICENSE.txt
95
+ - README.md
96
+ - Rakefile
97
+ - config/routes.rb
98
+ - example/.gitattributes
99
+ - example/.gitignore
100
+ - example/.ruby-version
101
+ - example/Gemfile
102
+ - example/Gemfile.lock
103
+ - example/README.md
104
+ - example/Rakefile
105
+ - example/app/assets/images/.keep
106
+ - example/app/assets/stylesheets/application.css
107
+ - example/app/controllers/application_controller.rb
108
+ - example/app/controllers/concerns/.keep
109
+ - example/app/helpers/application_helper.rb
110
+ - example/app/models/application_record.rb
111
+ - example/app/models/concerns/.keep
112
+ - example/app/views/layouts/application.html.erb
113
+ - example/app/webhooks/test_handler.rb
114
+ - example/bin/bundle
115
+ - example/bin/rails
116
+ - example/bin/rake
117
+ - example/bin/setup
118
+ - example/config.ru
119
+ - example/config/application.rb
120
+ - example/config/boot.rb
121
+ - example/config/credentials.yml.enc
122
+ - example/config/database.yml
123
+ - example/config/environment.rb
124
+ - example/config/environments/development.rb
125
+ - example/config/environments/production.rb
126
+ - example/config/environments/test.rb
127
+ - example/config/initializers/assets.rb
128
+ - example/config/initializers/content_security_policy.rb
129
+ - example/config/initializers/filter_parameter_logging.rb
130
+ - example/config/initializers/generators.rb
131
+ - example/config/initializers/inflections.rb
132
+ - example/config/initializers/munster.rb
133
+ - example/config/initializers/permissions_policy.rb
134
+ - example/config/locales/en.yml
135
+ - example/config/puma.rb
136
+ - example/config/routes.rb
137
+ - example/db/migrate/20240523125859_create_munster_tables.rb
138
+ - example/db/schema.rb
139
+ - example/db/seeds.rb
140
+ - example/lib/assets/.keep
141
+ - example/lib/tasks/.keep
142
+ - example/log/.keep
143
+ - example/public/404.html
144
+ - example/public/422.html
145
+ - example/public/500.html
146
+ - example/public/apple-touch-icon-precomposed.png
147
+ - example/public/apple-touch-icon.png
148
+ - example/public/favicon.ico
149
+ - example/public/robots.txt
150
+ - example/test/controllers/.keep
151
+ - example/test/fixtures/files/.keep
152
+ - example/test/helpers/.keep
153
+ - example/test/integration/.keep
154
+ - example/test/models/.keep
155
+ - example/test/test_helper.rb
156
+ - example/tmp/.keep
157
+ - example/tmp/pids/.keep
158
+ - example/vendor/.keep
159
+ - lib/munster.rb
160
+ - lib/munster/base_handler.rb
161
+ - lib/munster/controllers/receive_webhooks_controller.rb
162
+ - lib/munster/engine.rb
163
+ - lib/munster/install_generator.rb
164
+ - lib/munster/jobs/processing_job.rb
165
+ - lib/munster/models/received_webhook.rb
166
+ - lib/munster/state_machine_enum.rb
167
+ - lib/munster/templates/create_munster_tables.rb.erb
168
+ - lib/munster/templates/munster.rb
169
+ - lib/munster/version.rb
170
+ - lib/tasks/munster_tasks.rake
171
+ - sig/munster.rbs
172
+ homepage: https://www.cheddar.me/
173
+ licenses:
174
+ - MIT
175
+ metadata:
176
+ homepage_uri: https://www.cheddar.me/
177
+ source_code_uri: https://github.com/cheddar-me/munster
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '3.0'
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ requirements: []
193
+ rubygems_version: 3.5.3
194
+ signing_key:
195
+ specification_version: 4
196
+ summary: Webhooks framework for Rails applications
197
+ test_files: []