acts-as-messageable 0.5.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +8 -0
  3. data/.github/workflows/test.yml +152 -0
  4. data/.rubocop.yml +14 -1
  5. data/.rubocop_todo.yml +49 -7
  6. data/.ruby-version +1 -0
  7. data/Appraisals +11 -0
  8. data/Dockerfile +2 -1
  9. data/Gemfile +19 -13
  10. data/Gemfile.lock +186 -97
  11. data/README.md +2 -3
  12. data/Rakefile +6 -1
  13. data/VERSION +1 -1
  14. data/acts-as-messageable.gemspec +193 -40
  15. data/bin/tapioca +29 -0
  16. data/docker-compose.yml +82 -71
  17. data/gemfiles/rails_3.2.gemfile +14 -9
  18. data/gemfiles/rails_4.2.gemfile +14 -9
  19. data/gemfiles/rails_5.2.gemfile +14 -9
  20. data/gemfiles/rails_6.0.gemfile +14 -9
  21. data/gemfiles/rails_7.0.gemfile +29 -0
  22. data/gemfiles/rails_master.gemfile +15 -9
  23. data/lib/acts-as-messageable.rb +1 -0
  24. data/lib/acts_as_messageable/message.rb +62 -5
  25. data/lib/acts_as_messageable/model.rb +71 -20
  26. data/lib/acts_as_messageable/rails3.rb +27 -2
  27. data/lib/acts_as_messageable/rails4.rb +31 -4
  28. data/lib/acts_as_messageable/rails6.rb +34 -2
  29. data/lib/acts_as_messageable/railtie.rb +1 -0
  30. data/lib/acts_as_messageable/relation.rb +18 -2
  31. data/lib/acts_as_messageable/scopes.rb +11 -0
  32. data/lib/acts_as_messageable.rb +18 -0
  33. data/lib/generators/acts_as_messageable/migration/migration_generator.rb +4 -0
  34. data/lib/generators/acts_as_messageable/migration/templates/migration.rb +1 -0
  35. data/lib/generators/acts_as_messageable/migration/templates/migration_indexes.rb +1 -0
  36. data/lib/generators/acts_as_messageable/migration/templates/migration_opened_as_datetime.rb +1 -0
  37. data/lib/generators/acts_as_messageable/migration/templates/migration_permanent.rb +1 -0
  38. data/sorbet/config +4 -0
  39. data/sorbet/rbi/annotations/actionpack.rbi +428 -0
  40. data/sorbet/rbi/annotations/actionview.rbi +77 -0
  41. data/sorbet/rbi/annotations/activerecord.rbi +18 -0
  42. data/sorbet/rbi/annotations/activesupport.rbi +52 -0
  43. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  44. data/sorbet/rbi/annotations/railties.rbi +58 -0
  45. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  46. data/sorbet/rbi/dsl/abstract_controller/caching/fragments.rbi +23 -0
  47. data/sorbet/rbi/dsl/abstract_controller/caching.rbi +30 -0
  48. data/sorbet/rbi/dsl/abstract_controller/callbacks.rbi +23 -0
  49. data/sorbet/rbi/dsl/abstract_controller/helpers.rbi +23 -0
  50. data/sorbet/rbi/dsl/abstract_controller/rendering.rbi +9 -0
  51. data/sorbet/rbi/dsl/abstract_controller/url_for.rbi +23 -0
  52. data/sorbet/rbi/dsl/action_controller/caching.rbi +29 -0
  53. data/sorbet/rbi/dsl/action_controller/conditional_get.rbi +23 -0
  54. data/sorbet/rbi/dsl/action_controller/content_security_policy.rbi +31 -0
  55. data/sorbet/rbi/dsl/action_controller/data_streaming.rbi +9 -0
  56. data/sorbet/rbi/dsl/action_controller/etag_with_flash.rbi +24 -0
  57. data/sorbet/rbi/dsl/action_controller/etag_with_template_digest.rbi +30 -0
  58. data/sorbet/rbi/dsl/action_controller/flash.rbi +19 -0
  59. data/sorbet/rbi/dsl/action_controller/form_builder.rbi +19 -0
  60. data/sorbet/rbi/dsl/action_controller/helpers.rbi +36 -0
  61. data/sorbet/rbi/dsl/action_controller/params_wrapper.rbi +23 -0
  62. data/sorbet/rbi/dsl/action_controller/redirecting.rbi +24 -0
  63. data/sorbet/rbi/dsl/action_controller/renderers/all.rbi +24 -0
  64. data/sorbet/rbi/dsl/action_controller/renderers.rbi +23 -0
  65. data/sorbet/rbi/dsl/action_controller/request_forgery_protection.rbi +31 -0
  66. data/sorbet/rbi/dsl/action_controller/rescue.rbi +24 -0
  67. data/sorbet/rbi/dsl/action_controller/test_case/behavior.rbi +24 -0
  68. data/sorbet/rbi/dsl/action_controller/url_for.rbi +24 -0
  69. data/sorbet/rbi/dsl/action_dispatch/routing/url_for.rbi +23 -0
  70. data/sorbet/rbi/dsl/action_view/helpers/form_helper.rbi +10 -0
  71. data/sorbet/rbi/dsl/action_view/helpers/form_tag_helper.rbi +10 -0
  72. data/sorbet/rbi/dsl/action_view/helpers/text_helper.rbi +9 -0
  73. data/sorbet/rbi/dsl/action_view/helpers.rbi +10 -0
  74. data/sorbet/rbi/dsl/action_view/layouts.rbi +24 -0
  75. data/sorbet/rbi/dsl/action_view/rendering.rbi +9 -0
  76. data/sorbet/rbi/dsl/active_model/attribute_methods.rbi +27 -0
  77. data/sorbet/rbi/dsl/active_model/attributes.rbi +34 -0
  78. data/sorbet/rbi/dsl/active_model/dirty.rbi +28 -0
  79. data/sorbet/rbi/dsl/active_model/serializers/json.rbi +22 -0
  80. data/sorbet/rbi/dsl/active_model/validations/callbacks.rbi +22 -0
  81. data/sorbet/rbi/dsl/active_model/validations.rbi +27 -0
  82. data/sorbet/rbi/dsl/active_record/attribute_methods/dirty.rbi +38 -0
  83. data/sorbet/rbi/dsl/active_record/attribute_methods/time_zone_conversion.rbi +32 -0
  84. data/sorbet/rbi/dsl/active_record/attribute_methods.rbi +53 -0
  85. data/sorbet/rbi/dsl/active_record/attributes.rbi +19 -0
  86. data/sorbet/rbi/dsl/active_record/callbacks.rbi +22 -0
  87. data/sorbet/rbi/dsl/active_record/core.rbi +55 -0
  88. data/sorbet/rbi/dsl/active_record/encryption/encryptable_record.rbi +23 -0
  89. data/sorbet/rbi/dsl/active_record/inheritance.rbi +27 -0
  90. data/sorbet/rbi/dsl/active_record/integration.rbi +32 -0
  91. data/sorbet/rbi/dsl/active_record/locking/optimistic.rbi +22 -0
  92. data/sorbet/rbi/dsl/active_record/model_schema.rbi +52 -0
  93. data/sorbet/rbi/dsl/active_record/nested_attributes.rbi +22 -0
  94. data/sorbet/rbi/dsl/active_record/readonly_attributes.rbi +19 -0
  95. data/sorbet/rbi/dsl/active_record/reflection.rbi +32 -0
  96. data/sorbet/rbi/dsl/active_record/scoping/default.rbi +23 -0
  97. data/sorbet/rbi/dsl/active_record/scoping.rbi +23 -0
  98. data/sorbet/rbi/dsl/active_record/serialization.rbi +22 -0
  99. data/sorbet/rbi/dsl/active_record/signed_id.rbi +22 -0
  100. data/sorbet/rbi/dsl/active_record/test_fixtures.rbi +58 -0
  101. data/sorbet/rbi/dsl/active_record/timestamp.rbi +23 -0
  102. data/sorbet/rbi/dsl/active_record/validations.rbi +28 -0
  103. data/sorbet/rbi/dsl/active_support/actionable_error.rbi +23 -0
  104. data/sorbet/rbi/dsl/active_support/callbacks.rbi +22 -0
  105. data/sorbet/rbi/dsl/active_support/rescuable.rbi +23 -0
  106. data/sorbet/rbi/dsl/active_support/testing/file_fixtures.rbi +22 -0
  107. data/sorbet/rbi/gems/actionpack@7.0.4.3.rbi +19265 -0
  108. data/sorbet/rbi/gems/actionview@7.0.4.3.rbi +15482 -0
  109. data/sorbet/rbi/gems/activemodel@7.0.4.3.rbi +6025 -0
  110. data/sorbet/rbi/gems/activerecord@7.0.4.3.rbi +37852 -0
  111. data/sorbet/rbi/gems/activesupport@7.0.4.3.rbi +18788 -0
  112. data/sorbet/rbi/gems/addressable@2.4.0.rbi +8 -0
  113. data/sorbet/rbi/gems/appraisal@2.4.1.rbi +584 -0
  114. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  115. data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
  116. data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
  117. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  118. data/sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi +11545 -0
  119. data/sorbet/rbi/gems/coveralls_reborn@0.27.0.rbi +8 -0
  120. data/sorbet/rbi/gems/crass@1.0.6.rbi +622 -0
  121. data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
  122. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
  123. data/sorbet/rbi/gems/docile@1.4.0.rbi +8 -0
  124. data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
  125. data/sorbet/rbi/gems/faraday@0.9.2.rbi +964 -0
  126. data/sorbet/rbi/gems/git@1.11.0.rbi +2700 -0
  127. data/sorbet/rbi/gems/github_api@0.16.0.rbi +8 -0
  128. data/sorbet/rbi/gems/hashie@5.0.0.rbi +8 -0
  129. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  130. data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
  131. data/sorbet/rbi/gems/jeweler@2.3.9.rbi +1591 -0
  132. data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
  133. data/sorbet/rbi/gems/jwt@2.5.0.rbi +8 -0
  134. data/sorbet/rbi/gems/loofah@2.19.1.rbi +904 -0
  135. data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
  136. data/sorbet/rbi/gems/mime-types@2.99.3.rbi +8 -0
  137. data/sorbet/rbi/gems/minitest@5.18.0.rbi +1491 -0
  138. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
  139. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +8 -0
  140. data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +8 -0
  141. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  142. data/sorbet/rbi/gems/nokogiri@1.14.2.rbi +7244 -0
  143. data/sorbet/rbi/gems/oauth2@1.4.8.rbi +8 -0
  144. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  145. data/sorbet/rbi/gems/pg@1.4.6.rbi +2574 -0
  146. data/sorbet/rbi/gems/polyfill@1.9.0.rbi +8 -0
  147. data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
  148. data/sorbet/rbi/gems/psych@4.0.6.rbi +1819 -0
  149. data/sorbet/rbi/gems/racc@1.6.2.rbi +155 -0
  150. data/sorbet/rbi/gems/rack-test@2.0.2.rbi +943 -0
  151. data/sorbet/rbi/gems/rack@2.2.6.4.rbi +5659 -0
  152. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +455 -0
  153. data/sorbet/rbi/gems/rails-html-sanitizer@1.5.0.rbi +685 -0
  154. data/sorbet/rbi/gems/railties@7.0.4.3.rbi +4553 -0
  155. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +8 -0
  156. data/sorbet/rbi/gems/rake@13.0.6.rbi +2959 -0
  157. data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
  158. data/sorbet/rbi/gems/rbs@2.8.0.rbi +8 -0
  159. data/sorbet/rbi/gems/rchardet@1.8.0.rbi +1078 -0
  160. data/sorbet/rbi/gems/rdoc@6.5.0.rbi +12441 -0
  161. data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +8 -0
  162. data/sorbet/rbi/gems/rexml@3.2.5.rbi +8 -0
  163. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10798 -0
  164. data/sorbet/rbi/gems/rspec-expectations@3.12.0.rbi +8090 -0
  165. data/sorbet/rbi/gems/rspec-mocks@3.12.0.rbi +5296 -0
  166. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1617 -0
  167. data/sorbet/rbi/gems/rspec@3.12.0.rbi +88 -0
  168. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -0
  169. data/sorbet/rbi/gems/safe_type@1.1.1.rbi +8 -0
  170. data/sorbet/rbi/gems/semver2@3.4.2.rbi +8 -0
  171. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +8 -0
  172. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +8 -0
  173. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  174. data/sorbet/rbi/gems/sorbet-coerce@0.7.0.rbi +8 -0
  175. data/sorbet/rbi/gems/stringio@3.0.2.rbi +8 -0
  176. data/sorbet/rbi/gems/sync@0.5.0.rbi +8 -0
  177. data/sorbet/rbi/gems/term-ansicolor@1.7.1.rbi +8 -0
  178. data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
  179. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
  180. data/sorbet/rbi/gems/timecop@0.9.6.rbi +361 -0
  181. data/sorbet/rbi/gems/tins@1.32.1.rbi +8 -0
  182. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
  183. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +8 -0
  184. data/sorbet/rbi/gems/unparser@0.6.7.rbi +4515 -0
  185. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2553 -0
  186. data/sorbet/rbi/gems/yard@0.9.28.rbi +17954 -0
  187. data/sorbet/rbi/gems/zeitwerk@2.6.7.rbi +966 -0
  188. data/sorbet/rbi/models/acts-as-messageable/message.rbi +668 -0
  189. data/sorbet/rbi/models/acts-as-messageable/user.rbi +343 -0
  190. data/sorbet/rbi/rails-rbi/active_record_base.rbi +119 -0
  191. data/sorbet/rbi/rails-rbi/active_record_relation.rbi +180 -0
  192. data/sorbet/rbi/shims/activerecord.rbi +4 -0
  193. data/sorbet/rbi/shims/model.rbi +9 -0
  194. data/sorbet/tapioca/config.yml +10 -0
  195. data/sorbet/tapioca/pre_require.rb +5 -0
  196. data/sorbet/tapioca/require.rb +10 -0
  197. data/spec/acts_as_messageable_spec.rb +7 -4
  198. data/spec/custom_class_spec.rb +1 -0
  199. data/spec/custom_required_spec.rb +8 -4
  200. data/spec/group_messages_spec.rb +1 -0
  201. data/spec/migrations_spec.rb +2 -1
  202. data/spec/spec_helper.rb +19 -9
  203. data/spec/support/admin.rb +3 -0
  204. data/spec/support/custom_message.rb +3 -0
  205. data/spec/support/custom_message_uuid.rb +1 -0
  206. data/spec/support/custom_search_user.rb +3 -0
  207. data/spec/support/men.rb +1 -0
  208. data/spec/support/send_message.rb +8 -1
  209. data/spec/support/table_schema.rb +7 -6
  210. data/spec/support/user.rb +3 -0
  211. data/spec/support/uuid_user.rb +3 -0
  212. data/tasks/types.rake +46 -0
  213. metadata +261 -11
  214. data/.travis.yml +0 -55
@@ -2,27 +2,31 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: acts-as-messageable 0.5.0 ruby lib
5
+ # stub: acts-as-messageable 1.0.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "acts-as-messageable".freeze
9
- s.version = "0.5.0"
9
+ s.version = "1.0.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.metadata = { "rubygems_mfa_required" => "true" } if s.respond_to? :metadata=
12
13
  s.require_paths = ["lib".freeze]
13
14
  s.authors = ["Piotr Nielacny".freeze]
14
- s.date = "2020-05-13"
15
+ s.date = "2023-04-08"
15
16
  s.email = "piotr.nielacny@gmail.com".freeze
17
+ s.executables = ["tapioca".freeze]
16
18
  s.extra_rdoc_files = [
17
19
  "README.md"
18
20
  ]
19
21
  s.files = [
20
22
  ".coveralls.yml",
21
23
  ".dockerignore",
24
+ ".github/dependabot.yml",
25
+ ".github/workflows/test.yml",
22
26
  ".rspec",
23
27
  ".rubocop.yml",
24
28
  ".rubocop_todo.yml",
25
- ".travis.yml",
29
+ ".ruby-version",
26
30
  "Appraisals",
27
31
  "Dockerfile",
28
32
  "Gemfile",
@@ -32,11 +36,13 @@ Gem::Specification.new do |s|
32
36
  "Rakefile",
33
37
  "VERSION",
34
38
  "acts-as-messageable.gemspec",
39
+ "bin/tapioca",
35
40
  "docker-compose.yml",
36
41
  "gemfiles/rails_3.2.gemfile",
37
42
  "gemfiles/rails_4.2.gemfile",
38
43
  "gemfiles/rails_5.2.gemfile",
39
44
  "gemfiles/rails_6.0.gemfile",
45
+ "gemfiles/rails_7.0.gemfile",
40
46
  "gemfiles/rails_master.gemfile",
41
47
  "lib/acts-as-messageable.rb",
42
48
  "lib/acts_as_messageable.rb",
@@ -53,6 +59,165 @@ Gem::Specification.new do |s|
53
59
  "lib/generators/acts_as_messageable/migration/templates/migration_indexes.rb",
54
60
  "lib/generators/acts_as_messageable/migration/templates/migration_opened_as_datetime.rb",
55
61
  "lib/generators/acts_as_messageable/migration/templates/migration_permanent.rb",
62
+ "sorbet/config",
63
+ "sorbet/rbi/annotations/actionpack.rbi",
64
+ "sorbet/rbi/annotations/actionview.rbi",
65
+ "sorbet/rbi/annotations/activerecord.rbi",
66
+ "sorbet/rbi/annotations/activesupport.rbi",
67
+ "sorbet/rbi/annotations/faraday.rbi",
68
+ "sorbet/rbi/annotations/railties.rbi",
69
+ "sorbet/rbi/annotations/rainbow.rbi",
70
+ "sorbet/rbi/dsl/abstract_controller/caching.rbi",
71
+ "sorbet/rbi/dsl/abstract_controller/caching/fragments.rbi",
72
+ "sorbet/rbi/dsl/abstract_controller/callbacks.rbi",
73
+ "sorbet/rbi/dsl/abstract_controller/helpers.rbi",
74
+ "sorbet/rbi/dsl/abstract_controller/rendering.rbi",
75
+ "sorbet/rbi/dsl/abstract_controller/url_for.rbi",
76
+ "sorbet/rbi/dsl/action_controller/caching.rbi",
77
+ "sorbet/rbi/dsl/action_controller/conditional_get.rbi",
78
+ "sorbet/rbi/dsl/action_controller/content_security_policy.rbi",
79
+ "sorbet/rbi/dsl/action_controller/data_streaming.rbi",
80
+ "sorbet/rbi/dsl/action_controller/etag_with_flash.rbi",
81
+ "sorbet/rbi/dsl/action_controller/etag_with_template_digest.rbi",
82
+ "sorbet/rbi/dsl/action_controller/flash.rbi",
83
+ "sorbet/rbi/dsl/action_controller/form_builder.rbi",
84
+ "sorbet/rbi/dsl/action_controller/helpers.rbi",
85
+ "sorbet/rbi/dsl/action_controller/params_wrapper.rbi",
86
+ "sorbet/rbi/dsl/action_controller/redirecting.rbi",
87
+ "sorbet/rbi/dsl/action_controller/renderers.rbi",
88
+ "sorbet/rbi/dsl/action_controller/renderers/all.rbi",
89
+ "sorbet/rbi/dsl/action_controller/request_forgery_protection.rbi",
90
+ "sorbet/rbi/dsl/action_controller/rescue.rbi",
91
+ "sorbet/rbi/dsl/action_controller/test_case/behavior.rbi",
92
+ "sorbet/rbi/dsl/action_controller/url_for.rbi",
93
+ "sorbet/rbi/dsl/action_dispatch/routing/url_for.rbi",
94
+ "sorbet/rbi/dsl/action_view/helpers.rbi",
95
+ "sorbet/rbi/dsl/action_view/helpers/form_helper.rbi",
96
+ "sorbet/rbi/dsl/action_view/helpers/form_tag_helper.rbi",
97
+ "sorbet/rbi/dsl/action_view/helpers/text_helper.rbi",
98
+ "sorbet/rbi/dsl/action_view/layouts.rbi",
99
+ "sorbet/rbi/dsl/action_view/rendering.rbi",
100
+ "sorbet/rbi/dsl/active_model/attribute_methods.rbi",
101
+ "sorbet/rbi/dsl/active_model/attributes.rbi",
102
+ "sorbet/rbi/dsl/active_model/dirty.rbi",
103
+ "sorbet/rbi/dsl/active_model/serializers/json.rbi",
104
+ "sorbet/rbi/dsl/active_model/validations.rbi",
105
+ "sorbet/rbi/dsl/active_model/validations/callbacks.rbi",
106
+ "sorbet/rbi/dsl/active_record/attribute_methods.rbi",
107
+ "sorbet/rbi/dsl/active_record/attribute_methods/dirty.rbi",
108
+ "sorbet/rbi/dsl/active_record/attribute_methods/time_zone_conversion.rbi",
109
+ "sorbet/rbi/dsl/active_record/attributes.rbi",
110
+ "sorbet/rbi/dsl/active_record/callbacks.rbi",
111
+ "sorbet/rbi/dsl/active_record/core.rbi",
112
+ "sorbet/rbi/dsl/active_record/encryption/encryptable_record.rbi",
113
+ "sorbet/rbi/dsl/active_record/inheritance.rbi",
114
+ "sorbet/rbi/dsl/active_record/integration.rbi",
115
+ "sorbet/rbi/dsl/active_record/locking/optimistic.rbi",
116
+ "sorbet/rbi/dsl/active_record/model_schema.rbi",
117
+ "sorbet/rbi/dsl/active_record/nested_attributes.rbi",
118
+ "sorbet/rbi/dsl/active_record/readonly_attributes.rbi",
119
+ "sorbet/rbi/dsl/active_record/reflection.rbi",
120
+ "sorbet/rbi/dsl/active_record/scoping.rbi",
121
+ "sorbet/rbi/dsl/active_record/scoping/default.rbi",
122
+ "sorbet/rbi/dsl/active_record/serialization.rbi",
123
+ "sorbet/rbi/dsl/active_record/signed_id.rbi",
124
+ "sorbet/rbi/dsl/active_record/test_fixtures.rbi",
125
+ "sorbet/rbi/dsl/active_record/timestamp.rbi",
126
+ "sorbet/rbi/dsl/active_record/validations.rbi",
127
+ "sorbet/rbi/dsl/active_support/actionable_error.rbi",
128
+ "sorbet/rbi/dsl/active_support/callbacks.rbi",
129
+ "sorbet/rbi/dsl/active_support/rescuable.rbi",
130
+ "sorbet/rbi/dsl/active_support/testing/file_fixtures.rbi",
131
+ "sorbet/rbi/gems/actionpack@7.0.4.3.rbi",
132
+ "sorbet/rbi/gems/actionview@7.0.4.3.rbi",
133
+ "sorbet/rbi/gems/activemodel@7.0.4.3.rbi",
134
+ "sorbet/rbi/gems/activerecord@7.0.4.3.rbi",
135
+ "sorbet/rbi/gems/activesupport@7.0.4.3.rbi",
136
+ "sorbet/rbi/gems/addressable@2.4.0.rbi",
137
+ "sorbet/rbi/gems/appraisal@2.4.1.rbi",
138
+ "sorbet/rbi/gems/ast@2.4.2.rbi",
139
+ "sorbet/rbi/gems/builder@3.2.4.rbi",
140
+ "sorbet/rbi/gems/coderay@1.1.3.rbi",
141
+ "sorbet/rbi/gems/commander@4.6.0.rbi",
142
+ "sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi",
143
+ "sorbet/rbi/gems/coveralls_reborn@0.27.0.rbi",
144
+ "sorbet/rbi/gems/crass@1.0.6.rbi",
145
+ "sorbet/rbi/gems/descendants_tracker@0.0.4.rbi",
146
+ "sorbet/rbi/gems/diff-lcs@1.5.0.rbi",
147
+ "sorbet/rbi/gems/docile@1.4.0.rbi",
148
+ "sorbet/rbi/gems/erubi@1.12.0.rbi",
149
+ "sorbet/rbi/gems/faraday@0.9.2.rbi",
150
+ "sorbet/rbi/gems/git@1.11.0.rbi",
151
+ "sorbet/rbi/gems/github_api@0.16.0.rbi",
152
+ "sorbet/rbi/gems/hashie@5.0.0.rbi",
153
+ "sorbet/rbi/gems/highline@2.0.3.rbi",
154
+ "sorbet/rbi/gems/i18n@1.12.0.rbi",
155
+ "sorbet/rbi/gems/jeweler@2.3.9.rbi",
156
+ "sorbet/rbi/gems/json@2.6.3.rbi",
157
+ "sorbet/rbi/gems/jwt@2.5.0.rbi",
158
+ "sorbet/rbi/gems/loofah@2.19.1.rbi",
159
+ "sorbet/rbi/gems/method_source@1.0.0.rbi",
160
+ "sorbet/rbi/gems/mime-types@2.99.3.rbi",
161
+ "sorbet/rbi/gems/minitest@5.18.0.rbi",
162
+ "sorbet/rbi/gems/multi_json@1.15.0.rbi",
163
+ "sorbet/rbi/gems/multi_xml@0.6.0.rbi",
164
+ "sorbet/rbi/gems/multipart-post@2.2.3.rbi",
165
+ "sorbet/rbi/gems/netrc@0.11.0.rbi",
166
+ "sorbet/rbi/gems/nokogiri@1.14.2.rbi",
167
+ "sorbet/rbi/gems/oauth2@1.4.8.rbi",
168
+ "sorbet/rbi/gems/parallel@1.22.1.rbi",
169
+ "sorbet/rbi/gems/pg@1.4.6.rbi",
170
+ "sorbet/rbi/gems/polyfill@1.9.0.rbi",
171
+ "sorbet/rbi/gems/pry@0.14.2.rbi",
172
+ "sorbet/rbi/gems/psych@4.0.6.rbi",
173
+ "sorbet/rbi/gems/racc@1.6.2.rbi",
174
+ "sorbet/rbi/gems/rack-test@2.0.2.rbi",
175
+ "sorbet/rbi/gems/rack@2.2.6.4.rbi",
176
+ "sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi",
177
+ "sorbet/rbi/gems/rails-html-sanitizer@1.5.0.rbi",
178
+ "sorbet/rbi/gems/railties@7.0.4.3.rbi",
179
+ "sorbet/rbi/gems/rainbow@3.1.1.rbi",
180
+ "sorbet/rbi/gems/rake@13.0.6.rbi",
181
+ "sorbet/rbi/gems/rbi@0.0.16.rbi",
182
+ "sorbet/rbi/gems/rbs@2.8.0.rbi",
183
+ "sorbet/rbi/gems/rchardet@1.8.0.rbi",
184
+ "sorbet/rbi/gems/rdoc@6.5.0.rbi",
185
+ "sorbet/rbi/gems/regexp_parser@2.7.0.rbi",
186
+ "sorbet/rbi/gems/rexml@3.2.5.rbi",
187
+ "sorbet/rbi/gems/rspec-core@3.12.0.rbi",
188
+ "sorbet/rbi/gems/rspec-expectations@3.12.0.rbi",
189
+ "sorbet/rbi/gems/rspec-mocks@3.12.0.rbi",
190
+ "sorbet/rbi/gems/rspec-support@3.12.0.rbi",
191
+ "sorbet/rbi/gems/rspec@3.12.0.rbi",
192
+ "sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi",
193
+ "sorbet/rbi/gems/safe_type@1.1.1.rbi",
194
+ "sorbet/rbi/gems/semver2@3.4.2.rbi",
195
+ "sorbet/rbi/gems/simplecov-html@0.12.3.rbi",
196
+ "sorbet/rbi/gems/simplecov@0.22.0.rbi",
197
+ "sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi",
198
+ "sorbet/rbi/gems/sorbet-coerce@0.7.0.rbi",
199
+ "sorbet/rbi/gems/stringio@3.0.2.rbi",
200
+ "sorbet/rbi/gems/sync@0.5.0.rbi",
201
+ "sorbet/rbi/gems/term-ansicolor@1.7.1.rbi",
202
+ "sorbet/rbi/gems/thor@1.2.1.rbi",
203
+ "sorbet/rbi/gems/thread_safe@0.3.6.rbi",
204
+ "sorbet/rbi/gems/timecop@0.9.6.rbi",
205
+ "sorbet/rbi/gems/tins@1.32.1.rbi",
206
+ "sorbet/rbi/gems/tzinfo@2.0.6.rbi",
207
+ "sorbet/rbi/gems/unicode-display_width@2.4.2.rbi",
208
+ "sorbet/rbi/gems/unparser@0.6.7.rbi",
209
+ "sorbet/rbi/gems/webrick@1.7.0.rbi",
210
+ "sorbet/rbi/gems/yard@0.9.28.rbi",
211
+ "sorbet/rbi/gems/zeitwerk@2.6.7.rbi",
212
+ "sorbet/rbi/models/acts-as-messageable/message.rbi",
213
+ "sorbet/rbi/models/acts-as-messageable/user.rbi",
214
+ "sorbet/rbi/rails-rbi/active_record_base.rbi",
215
+ "sorbet/rbi/rails-rbi/active_record_relation.rbi",
216
+ "sorbet/rbi/shims/activerecord.rbi",
217
+ "sorbet/rbi/shims/model.rbi",
218
+ "sorbet/tapioca/config.yml",
219
+ "sorbet/tapioca/pre_require.rb",
220
+ "sorbet/tapioca/require.rb",
56
221
  "spec/acts_as_messageable_spec.rb",
57
222
  "spec/custom_class_spec.rb",
58
223
  "spec/custom_required_spec.rb",
@@ -67,46 +232,34 @@ Gem::Specification.new do |s|
67
232
  "spec/support/send_message.rb",
68
233
  "spec/support/table_schema.rb",
69
234
  "spec/support/user.rb",
70
- "spec/support/uuid_user.rb"
235
+ "spec/support/uuid_user.rb",
236
+ "tasks/types.rake"
71
237
  ]
72
238
  s.homepage = "http://github.com/LTe/acts-as-messageable".freeze
73
- s.rubygems_version = "3.1.3".freeze
239
+ s.rubygems_version = "3.4.1".freeze
74
240
  s.summary = "Make user messageable!;-)".freeze
75
241
 
76
- if s.respond_to? :specification_version then
77
- s.specification_version = 4
78
- end
242
+ s.specification_version = 4
79
243
 
80
- if s.respond_to? :add_runtime_dependency then
81
- s.add_runtime_dependency(%q<activerecord>.freeze, [">= 0"])
82
- s.add_runtime_dependency(%q<activesupport>.freeze, [">= 0"])
83
- s.add_runtime_dependency(%q<ancestry>.freeze, [">= 0"])
84
- s.add_runtime_dependency(%q<railties>.freeze, [">= 0"])
85
- s.add_development_dependency(%q<appraisal>.freeze, [">= 0"])
86
- s.add_development_dependency(%q<coveralls>.freeze, [">= 0"])
87
- s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
88
- s.add_development_dependency(%q<pg>.freeze, [">= 0"])
89
- s.add_development_dependency(%q<pry>.freeze, [">= 0"])
90
- s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
91
- s.add_development_dependency(%q<rubocop>.freeze, [">= 0"])
92
- s.add_development_dependency(%q<sqlite3>.freeze, [">= 0"])
93
- s.add_development_dependency(%q<timecop>.freeze, [">= 0"])
94
- s.add_development_dependency(%q<yard>.freeze, [">= 0"])
95
- else
96
- s.add_dependency(%q<activerecord>.freeze, [">= 0"])
97
- s.add_dependency(%q<activesupport>.freeze, [">= 0"])
98
- s.add_dependency(%q<ancestry>.freeze, [">= 0"])
99
- s.add_dependency(%q<railties>.freeze, [">= 0"])
100
- s.add_dependency(%q<appraisal>.freeze, [">= 0"])
101
- s.add_dependency(%q<coveralls>.freeze, [">= 0"])
102
- s.add_dependency(%q<jeweler>.freeze, [">= 0"])
103
- s.add_dependency(%q<pg>.freeze, [">= 0"])
104
- s.add_dependency(%q<pry>.freeze, [">= 0"])
105
- s.add_dependency(%q<rspec>.freeze, [">= 0"])
106
- s.add_dependency(%q<rubocop>.freeze, [">= 0"])
107
- s.add_dependency(%q<sqlite3>.freeze, [">= 0"])
108
- s.add_dependency(%q<timecop>.freeze, [">= 0"])
109
- s.add_dependency(%q<yard>.freeze, [">= 0"])
110
- end
244
+ s.add_runtime_dependency(%q<activerecord>.freeze, [">= 0"])
245
+ s.add_runtime_dependency(%q<activesupport>.freeze, [">= 0"])
246
+ s.add_runtime_dependency(%q<ancestry>.freeze, [">= 0"])
247
+ s.add_runtime_dependency(%q<railties>.freeze, [">= 0"])
248
+ s.add_runtime_dependency(%q<sorbet-rails>.freeze, [">= 0"])
249
+ s.add_runtime_dependency(%q<sorbet-static-and-runtime>.freeze, [">= 0"])
250
+ s.add_development_dependency(%q<appraisal>.freeze, [">= 0"])
251
+ s.add_development_dependency(%q<coveralls_reborn>.freeze, [">= 0"])
252
+ s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
253
+ s.add_development_dependency(%q<pg>.freeze, [">= 0"])
254
+ s.add_development_dependency(%q<pry>.freeze, [">= 0"])
255
+ s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
256
+ s.add_development_dependency(%q<rubocop>.freeze, [">= 0"])
257
+ s.add_development_dependency(%q<rubocop-sorbet>.freeze, [">= 0"])
258
+ s.add_development_dependency(%q<sord>.freeze, [">= 0"])
259
+ s.add_development_dependency(%q<sqlite3>.freeze, [">= 0"])
260
+ s.add_development_dependency(%q<tapioca>.freeze, [">= 0"])
261
+ s.add_development_dependency(%q<timecop>.freeze, [">= 0"])
262
+ s.add_development_dependency(%q<unparser>.freeze, [">= 0"])
263
+ s.add_development_dependency(%q<yard>.freeze, [">= 0"])
111
264
  end
112
265
 
data/bin/tapioca ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'tapioca' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require 'pathname'
12
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path('bundle', __dir__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require 'rubygems'
27
+ require 'bundler/setup'
28
+
29
+ load Gem.bin_path('tapioca', 'tapioca')
data/docker-compose.yml CHANGED
@@ -1,73 +1,84 @@
1
1
  version: "3.7"
2
2
  services:
3
- development:
4
- build:
5
- context: '.'
6
- args:
7
- - RUBY_VERSION=2.7
8
- - GEMFILE=Gemfile
9
- volumes:
10
- - ./:/home/app
11
- environment:
12
- - BUNDLE_GEMFILE=Gemfile
13
- ruby_2.3.8_rails_3.2:
14
- build:
15
- context: '.'
16
- args:
17
- - RUBY_VERSION=2.3.8
18
- - GEMFILE=rails_3.2.gemfile
19
- environment:
20
- - BUNDLE_GEMFILE=gemfiles/rails_3.2.gemfile
21
- volumes:
22
- - ./:/home/app
23
- ruby_2.3.8_rails_4.2:
24
- build:
25
- context: '.'
26
- args:
27
- - RUBY_VERSION=2.3.8
28
- - GEMFILE=rails_4.2.gemfile
29
- volumes:
30
- - ./:/home/app
31
- environment:
32
- - BUNDLE_GEMFILE=gemfiles/rails_4.2.gemfile
33
- ruby_2.7_rails_5.2:
34
- build:
35
- context: '.'
36
- args:
37
- - RUBY_VERSION=2.7
38
- - GEMFILE=rails_5.2.gemfile
39
- volumes:
40
- - ./:/home/app
41
- environment:
42
- - BUNDLE_GEMFILE=gemfiles/rails_5.2.gemfile
43
- ruby_2.7_rails_6.0:
44
- build:
45
- context: '.'
46
- args:
47
- - RUBY_VERSION=2.7
48
- - GEMFILE=rails_6.0.gemfile
49
- volumes:
50
- - ./:/home/app
51
- environment:
52
- - BUNDLE_GEMFILE=gemfiles/rails_6.0.gemfile
53
- - RUN_GENERATORS=${RUN_GENERATORS-true}
54
- ruby_2.7_rails_master:
55
- build:
56
- context: '.'
57
- args:
58
- - RUBY_VERSION=2.7
59
- - GEMFILE=rails_master.gemfile
60
- volumes:
61
- - ./:/home/app
62
- environment:
63
- - BUNDLE_GEMFILE=gemfiles/rails_master.gemfile
64
- ruby_latest_rails_master:
65
- build:
66
- context: '.'
67
- args:
68
- - RUBY_VERSION=latest
69
- - GEMFILE=rails_master.gemfile
70
- volumes:
71
- - ./:/home/app
72
- environment:
73
- - BUNDLE_GEMFILE=gemfiles/rails_master.gemfile
3
+ development:
4
+ build:
5
+ context: '.'
6
+ args:
7
+ - RUBY_VERSION=2.7
8
+ - GEMFILE=Gemfile
9
+ volumes:
10
+ - ./:/home/app
11
+ environment:
12
+ - BUNDLE_GEMFILE=Gemfile
13
+ ruby_2.3.8_rails_3.2:
14
+ build:
15
+ context: '.'
16
+ args:
17
+ - RUBY_VERSION=2.7
18
+ - GEMFILE=rails_3.2.gemfile
19
+ environment:
20
+ - BUNDLE_GEMFILE=gemfiles/rails_3.2.gemfile
21
+ volumes:
22
+ - ./:/home/app
23
+ ruby_2.3.8_rails_4.2:
24
+ build:
25
+ context: '.'
26
+ args:
27
+ - RUBY_VERSION=2.7
28
+ - GEMFILE=rails_4.2.gemfile
29
+ volumes:
30
+ - ./:/home/app
31
+ environment:
32
+ - BUNDLE_GEMFILE=gemfiles/rails_4.2.gemfile
33
+ ruby_2.7_rails_5.2:
34
+ build:
35
+ context: '.'
36
+ args:
37
+ - RUBY_VERSION=2.7
38
+ - GEMFILE=rails_5.2.gemfile
39
+ volumes:
40
+ - ./:/home/app
41
+ environment:
42
+ - BUNDLE_GEMFILE=gemfiles/rails_5.2.gemfile
43
+ ruby_2.7_rails_6.0:
44
+ build:
45
+ context: '.'
46
+ args:
47
+ - RUBY_VERSION=2.7
48
+ - GEMFILE=rails_6.0.gemfile
49
+ volumes:
50
+ - ./:/home/app
51
+ environment:
52
+ - BUNDLE_GEMFILE=gemfiles/rails_6.0.gemfile
53
+ - RUN_GENERATORS=${RUN_GENERATORS-true}
54
+ ruby_3_rails_7.0:
55
+ build:
56
+ context: '.'
57
+ args:
58
+ - RUBY_VERSION=3
59
+ - GEMFILE=rails_7.0.gemfile
60
+ volumes:
61
+ - ./:/home/app
62
+ environment:
63
+ - BUNDLE_GEMFILE=gemfiles/rails_6.0.gemfile
64
+ - RUN_GENERATORS=${RUN_GENERATORS-true}
65
+ ruby_3_rails_master:
66
+ build:
67
+ context: '.'
68
+ args:
69
+ - RUBY_VERSION=3
70
+ - GEMFILE=rails_master.gemfile
71
+ volumes:
72
+ - ./:/home/app
73
+ environment:
74
+ - BUNDLE_GEMFILE=gemfiles/rails_master.gemfile
75
+ ruby_latest_rails_master:
76
+ build:
77
+ context: '.'
78
+ args:
79
+ - RUBY_VERSION=latest
80
+ - GEMFILE=rails_master.gemfile
81
+ volumes:
82
+ - ./:/home/app
83
+ environment:
84
+ - BUNDLE_GEMFILE=gemfiles/rails_master.gemfile
@@ -6,18 +6,23 @@ source 'http://rubygems.org'
6
6
 
7
7
  gem 'activerecord', '~> 3.2.22'
8
8
  gem 'activesupport', '~> 3.2.22'
9
- gem 'ancestry'
9
+ gem 'ancestry', require: false
10
10
  gem 'railties', '~> 3.2.22'
11
+ gem 'sorbet-rails', require: false
12
+ gem 'sorbet-static-and-runtime', require: false
11
13
 
12
14
  group :development do
13
- gem 'appraisal'
14
- gem 'coveralls', require: false
15
- gem 'jeweler'
16
- gem 'pg'
17
- gem 'pry'
18
- gem 'rspec'
15
+ gem 'appraisal', require: false
16
+ gem 'coveralls_reborn', require: false
17
+ gem 'jeweler', require: false
18
+ gem 'pg', require: false
19
+ gem 'pry', require: false
20
+ gem 'rspec', require: false
19
21
  gem 'rubocop', require: false
22
+ gem 'rubocop-sorbet', require: false
23
+ gem 'sord', require: false
20
24
  gem 'sqlite3', '~> 1.3.6'
21
- gem 'timecop'
22
- gem 'yard'
25
+ gem 'timecop', require: false
26
+ gem 'unparser', require: false
27
+ gem 'yard', require: false
23
28
  end
@@ -6,19 +6,24 @@ source 'http://rubygems.org'
6
6
 
7
7
  gem 'activerecord', '~> 4.2'
8
8
  gem 'activesupport', '~> 4.2'
9
- gem 'ancestry'
9
+ gem 'ancestry', require: false
10
10
  gem 'railties', '~> 4.2'
11
11
  gem 'rdoc', '6.2.0'
12
+ gem 'sorbet-rails', require: false
13
+ gem 'sorbet-static-and-runtime', require: false
12
14
 
13
15
  group :development do
14
- gem 'appraisal'
15
- gem 'coveralls', require: false
16
- gem 'jeweler'
17
- gem 'pg'
18
- gem 'pry'
19
- gem 'rspec'
16
+ gem 'appraisal', require: false
17
+ gem 'coveralls_reborn', require: false
18
+ gem 'jeweler', require: false
19
+ gem 'pg', require: false
20
+ gem 'pry', require: false
21
+ gem 'rspec', require: false
20
22
  gem 'rubocop', require: false
23
+ gem 'rubocop-sorbet', require: false
24
+ gem 'sord', require: false
21
25
  gem 'sqlite3', '~> 1.3.6'
22
- gem 'timecop'
23
- gem 'yard'
26
+ gem 'timecop', require: false
27
+ gem 'unparser', require: false
28
+ gem 'yard', require: false
24
29
  end
@@ -6,18 +6,23 @@ source 'http://rubygems.org'
6
6
 
7
7
  gem 'activerecord', '~> 5.2.0'
8
8
  gem 'activesupport', '~> 5.2.0'
9
- gem 'ancestry'
9
+ gem 'ancestry', require: false
10
10
  gem 'railties', '~> 5.2.0'
11
+ gem 'sorbet-rails', require: false
12
+ gem 'sorbet-static-and-runtime', require: false
11
13
 
12
14
  group :development do
13
- gem 'appraisal'
14
- gem 'coveralls', require: false
15
- gem 'jeweler'
16
- gem 'pg'
17
- gem 'pry'
18
- gem 'rspec'
15
+ gem 'appraisal', require: false
16
+ gem 'coveralls_reborn', require: false
17
+ gem 'jeweler', require: false
18
+ gem 'pg', require: false
19
+ gem 'pry', require: false
20
+ gem 'rspec', require: false
19
21
  gem 'rubocop', require: false
22
+ gem 'rubocop-sorbet', require: false
23
+ gem 'sord', require: false
20
24
  gem 'sqlite3', '~> 1.3.6'
21
- gem 'timecop'
22
- gem 'yard'
25
+ gem 'timecop', require: false
26
+ gem 'unparser', require: false
27
+ gem 'yard', require: false
23
28
  end
@@ -6,18 +6,23 @@ source 'http://rubygems.org'
6
6
 
7
7
  gem 'activerecord', '~> 6'
8
8
  gem 'activesupport', '~> 6'
9
- gem 'ancestry'
9
+ gem 'ancestry', require: false
10
10
  gem 'railties', '~> 6'
11
+ gem 'sorbet-rails', require: false
12
+ gem 'sorbet-static-and-runtime', require: false
11
13
 
12
14
  group :development do
13
- gem 'appraisal'
14
- gem 'coveralls', require: false
15
- gem 'jeweler'
16
- gem 'pg'
17
- gem 'pry'
18
- gem 'rspec'
15
+ gem 'appraisal', require: false
16
+ gem 'coveralls_reborn', require: false
17
+ gem 'jeweler', require: false
18
+ gem 'pg', require: false
19
+ gem 'pry', require: false
20
+ gem 'rspec', require: false
19
21
  gem 'rubocop', require: false
22
+ gem 'rubocop-sorbet', require: false
23
+ gem 'sord', require: false
20
24
  gem 'sqlite3', '~> 1.4.0'
21
- gem 'timecop'
22
- gem 'yard'
25
+ gem 'timecop', require: false
26
+ gem 'unparser', require: false
27
+ gem 'yard', require: false
23
28
  end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source 'http://rubygems.org'
6
+
7
+ gem 'activerecord', '~> 7'
8
+ gem 'activesupport', '~> 7'
9
+ gem 'ancestry', require: false
10
+ gem 'railties', '~> 7'
11
+ gem 'sorbet-rails', require: false
12
+ gem 'sorbet-static-and-runtime', require: false
13
+
14
+ group :development do
15
+ gem 'appraisal', require: false
16
+ gem 'coveralls_reborn', require: false
17
+ gem 'jeweler', require: false
18
+ gem 'pg', require: false
19
+ gem 'pry', require: false
20
+ gem 'rspec', require: false
21
+ gem 'rubocop', require: false
22
+ gem 'rubocop-sorbet', require: false
23
+ gem 'sord', require: false
24
+ gem 'sqlite3', require: false
25
+ gem 'tapioca', github: 'Shopify/tapioca', require: false
26
+ gem 'timecop', require: false
27
+ gem 'unparser', require: false
28
+ gem 'yard', require: false
29
+ end