Commit 9b63f5a
authored
Clean up some warnings (#1315)
This solves a few random warnings that have been floating around for a while. Not really a huge deal:
- Add `pstore` to the bundle. TBH I think this warning would otherwise just go away when pstore stops being bundled with Ruby but yaml still is, but I'm tired of seeing this warning.
- Opt-in to frozen string literals everywhere. This fixes a test that was triggering warnings about them, but is also just something that should have been done in general, since this will become the default at some point in Ruby's future. (Nothing about the specific test at issue is really changing, though. As far as I can tell, Rails test requests pass string values for POST bodies directly on to Rack's mock request, which then tries to set the string's encoding, which causes the warning. I guess it does not do so if the string is frozen.)
* Opt into frozen string literals everywhere
Should have done this long ago!1 parent 306d210 commit 9b63f5a
File tree
179 files changed
+367
-16
lines changed- app
- channels/application_cable
- controllers
- admin
- api/v0
- concerns
- users
- helpers
- jobs
- lib
- surt
- mailers
- models
- concerns
- policies
- validators
- bin
- db
- migrate
- lib
- api
- archiver
- differ
- file_storage
- jwt_tools
- tasks
- data
- test
- controllers
- admin
- api/v0
- users
- jobs
- lib
- archiver
- differ
- file_storage
- surt
- mailers
- models
- system
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
179 files changed
+367
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 52 | | |
60 | 53 | | |
61 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| |||
468 | 469 | | |
469 | 470 | | |
470 | 471 | | |
| 472 | + | |
471 | 473 | | |
472 | 474 | | |
473 | 475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
0 commit comments