Commit b7c5f7a
committed
Remove unused steno features and document modification policy
Removed ~270 lines of unused code to simplify maintenance:
Removed files:
- lib/steno/version.rb - VERSION constant unused (no longer a gem)
- lib/steno/json_prettifier.rb - CLI prettifier tool, ~130 lines
- lib/steno/core_ext.rb - Monkey patches unused by CCNG
- spec/unit/lib/steno/unit/json_prettifier_spec.rb - Tests for removed feature
- spec/unit/lib/steno/unit/core_ext_spec.rb - Tests for removed feature
- Removed require for version.rb from steno.rb
Kept (even if unused):
- TaggedLogger - Part of public Logger#tag() API
- Logger#log_exception() - Useful utility method
- Context::FiberLocal - Valid alternative, minimal code
Updated README.md:
- Documented all removed features in modifications section
- Added "Making Future Modifications" section with guidelines
- Added reminder to document changes in README when modifying steno
Tests: 78 examples passing (was 86, removed 8 test examples for deleted features)1 parent 488070f commit b7c5f7a
File tree
7 files changed
+29
-271
lines changed- lib/steno
- spec/unit/lib/steno/unit
7 files changed
+29
-271
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
82 | 109 | | |
83 | 110 | | |
84 | 111 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments