mootool 0.1.2 → 0.2

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 (76) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.github/workflows/ci.yml +14 -14
  4. data/.github/workflows/gem-push.yml +26 -26
  5. data/.overcommit.yml +79 -0
  6. data/.rubocop.yml +144 -0
  7. data/.ruby-version +1 -1
  8. data/.run/All Specs.run.xml +46 -0
  9. data/CODE_OF_CONDUCT.md +2 -1
  10. data/Gemfile +14 -11
  11. data/Gemfile.lock +90 -32
  12. data/README.md +12 -6
  13. data/bin/tapioca +27 -0
  14. data/lib/mootool/command.rb +1 -0
  15. data/lib/mootool/controller_base.rb +4 -1
  16. data/lib/mootool/controllers/dwarf.rb +8 -0
  17. data/lib/mootool/controllers/dyld_linker.rb +8 -0
  18. data/lib/mootool/controllers/dyld_shared_cache.rb +8 -0
  19. data/lib/mootool/controllers/fat_binary.rb +8 -0
  20. data/lib/mootool/controllers/kernel_collection.rb +21 -15
  21. data/lib/mootool/controllers/sections.rb +8 -0
  22. data/lib/mootool/core_extensions.rb +26 -0
  23. data/lib/mootool/models/device_tree.rb +85 -0
  24. data/lib/mootool/models/img4.rb +49 -0
  25. data/lib/mootool/models/ipsw.rb +19 -0
  26. data/lib/mootool/version.rb +1 -1
  27. data/lib/mootool/views/sections.full.erb +2 -2
  28. data/lib/mootool.rb +10 -3
  29. data/mootool.gemspec +17 -12
  30. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  31. data/sorbet/rbi/gems/ast@2.4.2.rbi +618 -0
  32. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +447 -0
  33. data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
  34. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1219 -0
  35. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +1007 -0
  36. data/sorbet/rbi/gems/json@2.6.2.rbi +1650 -0
  37. data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
  38. data/sorbet/rbi/gems/netrc@0.11.0.rbi +186 -0
  39. data/sorbet/rbi/gems/overcommit@0.59.1.rbi +2747 -0
  40. data/sorbet/rbi/gems/parallel@1.22.1.rbi +353 -0
  41. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +6198 -0
  42. data/sorbet/rbi/gems/plist@3.6.0.rbi +212 -0
  43. data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
  44. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +452 -0
  45. data/sorbet/rbi/gems/rake@13.0.6.rbi +3587 -0
  46. data/sorbet/rbi/gems/rbi@0.0.15.rbi +3619 -0
  47. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +3927 -0
  48. data/sorbet/rbi/gems/rexml@3.2.5.rbi +5238 -0
  49. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +12834 -0
  50. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +9151 -0
  51. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +6506 -0
  52. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +2040 -0
  53. data/sorbet/rbi/gems/rspec@3.11.0.rbi +120 -0
  54. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +7990 -0
  55. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +413 -0
  56. data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +7604 -0
  57. data/sorbet/rbi/gems/rubocop@1.35.0.rbi +62260 -0
  58. data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +5039 -0
  59. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1445 -0
  60. data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +2868 -0
  61. data/sorbet/rbi/gems/spoom@1.1.12.rbi +2829 -0
  62. data/sorbet/rbi/gems/tapioca@0.9.3.rbi +2151 -0
  63. data/sorbet/rbi/gems/thor@1.2.1.rbi +4532 -0
  64. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +60 -0
  65. data/sorbet/rbi/gems/unparser@0.6.5.rbi +8 -0
  66. data/sorbet/rbi/gems/webrick@1.7.0.rbi +3075 -0
  67. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +458 -0
  68. data/sorbet/rbi/gems/yard@0.9.28.rbi +20844 -0
  69. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +72 -24
  70. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +1697 -385
  71. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +30 -7
  72. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +3 -1
  73. data/sorbet/rbi/todo.rbi +7 -0
  74. data/sorbet/tapioca/config.yml +13 -0
  75. data/sorbet/tapioca/require.rb +4 -0
  76. metadata +89 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbb5771226e548b80e6502d894bc54c43bf90b3e8ad8e67a0c2aa3d1f3eaf697
4
- data.tar.gz: 10498d5a601bfb028762101304ef9b1cd28b3081afdbe62c3413fa619d255702
3
+ metadata.gz: caa1b73c54aac60b7305ff1c0a77ca5a9b633c62bb0991fe493ab9cf8ddacc51
4
+ data.tar.gz: 6de9b19a3891b0ffec4a5d1763cfd8907b4baf39c58a2b813edafbc1be08410e
5
5
  SHA512:
6
- metadata.gz: e81c554f18a057e1da9bd6df087f7983d902d84153f5773bf7dfeb1778714d1f300ad0319b719020eeb5ec49be57b030a66201e7a6cbc09395cbbcde35a71229
7
- data.tar.gz: 30bfd6c5dde2796515fa4ad27648e9c1f0aa91ffd460ee748f3581a85e81389c29a1357f7cd8efe8aa4f80dfefdf5ad3a5f35ba3ca359665473e1e3848d2dc8c
6
+ metadata.gz: f7bf4205f85695060868057dcfbf77cff3ab2537c181bed8d8324804157705951da153d5c93c12beb3f5eced9862c3cc945c63ca0c6f212db5d3e9904d9833fe
7
+ data.tar.gz: ee564b7712959e6222f6d53b7ca5219670a00e44f47f52ce59717fbe112837a461237652897843422863f3c7451a6e83ff4dcd6b16c0fc017e3d07c49c6cdda4
data/.DS_Store ADDED
Binary file
@@ -19,19 +19,19 @@ jobs:
19
19
  runs-on: ubuntu-latest
20
20
  strategy:
21
21
  matrix:
22
- ruby-version: ['2.6', '2.7', '3.0']
22
+ ruby-version: [ '2.6', '2.7', '3.0' ]
23
23
 
24
24
  steps:
25
- - uses: actions/checkout@v2
26
- - name: Set up Ruby
27
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
- # uses: ruby/setup-ruby@v1
30
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31
- with:
32
- ruby-version: ${{ matrix.ruby-version }}
33
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34
- - name: Run tests
35
- run: bundle exec rake
36
- - name: Rubocop
37
- run: bundle exec rubocop
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby
27
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
+ # uses: ruby/setup-ruby@v1
30
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31
+ with:
32
+ ruby-version: ${{ matrix.ruby-version }}
33
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34
+ - name: Run tests
35
+ run: bundle exec rake
36
+ - name: Rubocop
37
+ run: bundle exec rubocop
@@ -14,31 +14,31 @@ jobs:
14
14
  packages: write
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v2
18
- - name: Set up Ruby 2.6
19
- uses: actions/setup-ruby@v1
20
- with:
21
- ruby-version: 2.6.x
17
+ - uses: actions/checkout@v2
18
+ - name: Set up Ruby 2.6
19
+ uses: actions/setup-ruby@v1
20
+ with:
21
+ ruby-version: 2.6.x
22
22
 
23
- - name: Publish to GPR
24
- run: |
25
- mkdir -p $HOME/.gem
26
- touch $HOME/.gem/credentials
27
- chmod 0600 $HOME/.gem/credentials
28
- printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
29
- gem build *.gemspec
30
- gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
31
- env:
32
- GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
33
- OWNER: ${{ github.repository_owner }}
23
+ - name: Publish to GPR
24
+ run: |
25
+ mkdir -p $HOME/.gem
26
+ touch $HOME/.gem/credentials
27
+ chmod 0600 $HOME/.gem/credentials
28
+ printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
29
+ gem build *.gemspec
30
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
31
+ env:
32
+ GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
33
+ OWNER: ${{ github.repository_owner }}
34
34
 
35
- - name: Publish to RubyGems
36
- run: |
37
- mkdir -p $HOME/.gem
38
- touch $HOME/.gem/credentials
39
- chmod 0600 $HOME/.gem/credentials
40
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
41
- gem build *.gemspec
42
- gem push *.gem
43
- env:
44
- GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
35
+ - name: Publish to RubyGems
36
+ run: |
37
+ mkdir -p $HOME/.gem
38
+ touch $HOME/.gem/credentials
39
+ chmod 0600 $HOME/.gem/credentials
40
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
41
+ gem build *.gemspec
42
+ gem push *.gem
43
+ env:
44
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
data/.overcommit.yml ADDED
@@ -0,0 +1,79 @@
1
+ # Use this file to configure the Overcommit hooks you wish to use. This will
2
+ # extend the default configuration defined in:
3
+ # https://github.com/sds/overcommit/blob/master/config/default.yml
4
+ #
5
+ # At the topmost level of this YAML file is a key representing type of hook
6
+ # being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
7
+ # customize each hook, such as whether to only run it on certain files (via
8
+ # `include`), whether to only display output if it fails (via `quiet`), etc.
9
+ #
10
+ # For a complete list of hooks, see:
11
+ # https://github.com/sds/overcommit/tree/master/lib/overcommit/hook
12
+ #
13
+ # For a complete list of options that you can use to customize hooks, see:
14
+ # https://github.com/sds/overcommit#configuration
15
+ #
16
+ # Uncomment the following lines to make the configuration take effect.
17
+
18
+ #PreCommit:
19
+ # RuboCop:
20
+ # enabled: true
21
+ # on_warn: fail # Treat all warnings as failures
22
+ #
23
+ # TrailingWhitespace:
24
+ # enabled: true
25
+ # exclude:
26
+ # - '**/db/structure.sql' # Ignore trailing whitespace in generated files
27
+ #
28
+ #PostCheckout:
29
+ # ALL: # Special hook name that customizes all hooks of this type
30
+ # quiet: true # Change all post-checkout hooks to only display output on failure
31
+ #
32
+ # IndexTags:
33
+ # enabled: true # Generate a tags file with `ctags` each time HEAD changes
34
+ PreCommit:
35
+ SpellCheck:
36
+ enabled: true
37
+
38
+ RuboCop:
39
+ enabled: true
40
+
41
+ TrailingWhitespace:
42
+ enabled: true
43
+
44
+ Mdl:
45
+ enabled: true
46
+
47
+ YamlSyntax:
48
+ enabled: true
49
+
50
+ BundleAudit:
51
+ enabled: true
52
+
53
+ BundleCheck:
54
+ enabled: true
55
+
56
+ BundleOutdated:
57
+ enabled: true
58
+
59
+ PostRewrite:
60
+ BundleInstall:
61
+ enabled: true
62
+
63
+ PostCheckout:
64
+ IndexTags:
65
+ enabled: true # Generate a tags file with `ctags` exach time HEAD changes
66
+
67
+ BundleInstall:
68
+ enabled: true
69
+
70
+ SubmoduleStatus:
71
+ enabled: true
72
+
73
+ PostMerge:
74
+ SubmoduleStatus:
75
+ enabled: true
76
+
77
+ PrePush:
78
+ RSpec:
79
+ enabled: true
data/.rubocop.yml ADDED
@@ -0,0 +1,144 @@
1
+ Metrics/BlockLength:
2
+ Max: 35
3
+ Exclude:
4
+ - 'spec/**/*.rb'
5
+ - '*.gemspec'
6
+
7
+ Metrics/MethodLength:
8
+ Max: 35
9
+
10
+ Metrics/AbcSize:
11
+ Max: 25
12
+
13
+ Gemspec/DeprecatedAttributeAssignment: # new in 1.30
14
+ Enabled: true
15
+ Gemspec/RequireMFA: # new in 1.23
16
+ Enabled: true
17
+ Layout/LineContinuationLeadingSpace: # new in 1.31
18
+ Enabled: true
19
+ Layout/LineContinuationSpacing: # new in 1.31
20
+ Enabled: true
21
+ Layout/LineEndStringConcatenationIndentation: # new in 1.18
22
+ Enabled: true
23
+ Layout/SpaceBeforeBrackets: # new in 1.7
24
+ Enabled: true
25
+ Lint/AmbiguousAssignment: # new in 1.7
26
+ Enabled: true
27
+ Lint/AmbiguousOperatorPrecedence: # new in 1.21
28
+ Enabled: true
29
+ Lint/AmbiguousRange: # new in 1.19
30
+ Enabled: true
31
+ Lint/ConstantOverwrittenInRescue: # new in 1.31
32
+ Enabled: true
33
+ Lint/DeprecatedConstants: # new in 1.8
34
+ Enabled: true
35
+ Lint/DuplicateBranch: # new in 1.3
36
+ Enabled: true
37
+ Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
38
+ Enabled: true
39
+ Lint/EmptyBlock: # new in 1.1
40
+ Enabled: true
41
+ Lint/EmptyClass: # new in 1.3
42
+ Enabled: true
43
+ Lint/EmptyInPattern: # new in 1.16
44
+ Enabled: true
45
+ Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
46
+ Enabled: true
47
+ Lint/LambdaWithoutLiteralBlock: # new in 1.8
48
+ Enabled: true
49
+ Lint/NoReturnInBeginEndBlocks: # new in 1.2
50
+ Enabled: true
51
+ Lint/NonAtomicFileOperation: # new in 1.31
52
+ Enabled: true
53
+ Lint/NumberedParameterAssignment: # new in 1.9
54
+ Enabled: true
55
+ Lint/OrAssignmentToConstant: # new in 1.9
56
+ Enabled: true
57
+ Lint/RedundantDirGlobSort: # new in 1.8
58
+ Enabled: true
59
+ Lint/RefinementImportMethods: # new in 1.27
60
+ Enabled: true
61
+ Lint/RequireRangeParentheses: # new in 1.32
62
+ Enabled: true
63
+ Lint/RequireRelativeSelfPath: # new in 1.22
64
+ Enabled: true
65
+ Lint/SymbolConversion: # new in 1.9
66
+ Enabled: true
67
+ Lint/ToEnumArguments: # new in 1.1
68
+ Enabled: true
69
+ Lint/TripleQuotes: # new in 1.9
70
+ Enabled: true
71
+ Lint/UnexpectedBlockArity: # new in 1.5
72
+ Enabled: true
73
+ Lint/UnmodifiedReduceAccumulator: # new in 1.1
74
+ Enabled: true
75
+ Lint/UselessRuby2Keywords: # new in 1.23
76
+ Enabled: true
77
+ Naming/BlockForwarding: # new in 1.24
78
+ Enabled: true
79
+ Security/CompoundHash: # new in 1.28
80
+ Enabled: true
81
+ Security/IoMethods: # new in 1.22
82
+ Enabled: true
83
+ Style/ArgumentsForwarding: # new in 1.1
84
+ Enabled: true
85
+ Style/CollectionCompact: # new in 1.2
86
+ Enabled: true
87
+ Style/DocumentDynamicEvalDefinition: # new in 1.1
88
+ Enabled: true
89
+ Style/EmptyHeredoc: # new in 1.32
90
+ Enabled: true
91
+ Style/EndlessMethod: # new in 1.8
92
+ Enabled: true
93
+ Style/EnvHome: # new in 1.29
94
+ Enabled: true
95
+ Style/FetchEnvVar: # new in 1.28
96
+ Enabled: true
97
+ Style/FileRead: # new in 1.24
98
+ Enabled: true
99
+ Style/FileWrite: # new in 1.24
100
+ Enabled: true
101
+ Style/HashConversion: # new in 1.10
102
+ Enabled: true
103
+ Style/HashExcept: # new in 1.7
104
+ Enabled: true
105
+ Style/IfWithBooleanLiteralBranches: # new in 1.9
106
+ Enabled: true
107
+ Style/InPatternThen: # new in 1.16
108
+ Enabled: true
109
+ Style/MagicCommentFormat: # new in 1.35
110
+ Enabled: true
111
+ Style/MapCompactWithConditionalBlock: # new in 1.30
112
+ Enabled: true
113
+ Style/MapToHash: # new in 1.24
114
+ Enabled: true
115
+ Style/MultilineInPatternThen: # new in 1.16
116
+ Enabled: true
117
+ Style/NegatedIfElseCondition: # new in 1.2
118
+ Enabled: true
119
+ Style/NestedFileDirname: # new in 1.26
120
+ Enabled: true
121
+ Style/NilLambda: # new in 1.3
122
+ Enabled: true
123
+ Style/NumberedParameters: # new in 1.22
124
+ Enabled: true
125
+ Style/NumberedParametersLimit: # new in 1.22
126
+ Enabled: true
127
+ Style/ObjectThen: # new in 1.28
128
+ Enabled: true
129
+ Style/OpenStructUse: # new in 1.23
130
+ Enabled: true
131
+ Style/QuotedSymbols: # new in 1.16
132
+ Enabled: true
133
+ Style/RedundantArgument: # new in 1.4
134
+ Enabled: true
135
+ Style/RedundantInitialize: # new in 1.27
136
+ Enabled: true
137
+ Style/RedundantSelfAssignmentBranch: # new in 1.19
138
+ Enabled: true
139
+ Style/SelectByRegexp: # new in 1.22
140
+ Enabled: true
141
+ Style/StringChars: # new in 1.12
142
+ Enabled: true
143
+ Style/SwapValues: # new in 1.1
144
+ Enabled: true
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.2
1
+ 3.1.2
@@ -0,0 +1,46 @@
1
+ <component name="ProjectRunConfigurationManager">
2
+ <configuration default="false" name="All Specs" type="RSpecRunConfigurationType" factoryName="RSpec">
3
+ <module name="mootool"/>
4
+ <predefined_log_file enabled="true" id="RUBY_RSPEC"/>
5
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE=""/>
6
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE=""/>
7
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false"/>
8
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE=""/>
9
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true"/>
10
+ <EXTENSION ID="BundlerRunConfigurationExtension" BUNDLE_MODE="AUTO" bundleExecEnabled="true"/>
11
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false"/>
12
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov"
13
+ ENABLE_BRANCH_COVERAGE="true" ENABLE_FORKED_COVERAGE="true">
14
+ <COVERAGE_PATTERN ENABLED="true">
15
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false"/>
16
+ </COVERAGE_PATTERN>
17
+ </EXTENSION>
18
+ <EXTENSION ID="net.ashald.envfile">
19
+ <option name="IS_ENABLED" value="false"/>
20
+ <option name="IS_SUBST" value="false"/>
21
+ <option name="IS_PATH_MACRO_SUPPORTED" value="false"/>
22
+ <option name="IS_IGNORE_MISSING_FILES" value="false"/>
23
+ <option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false"/>
24
+ <ENTRIES>
25
+ <ENTRY IS_ENABLED="true" PARSER="runconfig"/>
26
+ </ENTRIES>
27
+ </EXTENSION>
28
+ <EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension"
29
+ SCRATCH_USE_RAILS_RUNNER="false"/>
30
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/spec"/>
31
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE=""/>
32
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATHS" VALUE=""/>
33
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE=""/>
34
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb"/>
35
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE=""/>
36
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER"/>
37
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE=""/>
38
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE=""/>
39
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false"/>
40
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false"/>
41
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false"/>
42
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false"/>
43
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false"/>
44
+ <method v="2"/>
45
+ </configuration>
46
+ </component>
data/CODE_OF_CONDUCT.md CHANGED
@@ -23,7 +23,7 @@ include:
23
23
  Examples of unacceptable behavior by participants include:
24
24
 
25
25
  * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
26
+ advances
27
27
  * Trolling, insulting/derogatory comments, and personal or political attacks
28
28
  * Public or private harassment
29
29
  * Publishing others' private information, such as a physical or electronic
@@ -71,4 +71,5 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], versi
71
71
  available at [http://contributor-covenant.org/version/1/4][version]
72
72
 
73
73
  [homepage]: http://contributor-covenant.org
74
+
74
75
  [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile CHANGED
@@ -2,17 +2,20 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
-
7
5
  # Specify your gem's dependencies in mootool.gemspec
8
6
  gemspec
9
7
 
10
- group :development, :test do
11
- gem 'overcommit'
12
- gem 'rake'
13
- gem 'rspec'
14
- gem 'rubocop'
15
- gem 'rubocop-rake'
16
- gem 'rubocop-rspec'
17
- gem 'sorbet'
18
- end
8
+ gem 'sorbet-runtime'
9
+
10
+ group :development, :test do
11
+ gem 'overcommit'
12
+ gem 'rake'
13
+ gem 'rspec'
14
+ gem 'rubocop'
15
+ gem 'rubocop-rake'
16
+ gem 'rubocop-rspec'
17
+ gem 'simplecov'
18
+ gem 'sorbet'
19
+ gem 'spoom'
20
+ gem 'tapioca', require: false
21
+ end
data/Gemfile.lock CHANGED
@@ -1,68 +1,122 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mootool (0.1.1)
4
+ mootool (0.2)
5
+ plist (~> 3)
5
6
  ruby-macho (~> 3)
6
- sorbet-runtime
7
+ rubyzip (~> 2)
8
+ sorbet-runtime (~> 0)
7
9
 
8
10
  GEM
9
11
  remote: https://rubygems.org/
10
12
  specs:
11
13
  ast (2.4.2)
12
14
  childprocess (4.1.0)
15
+ coderay (1.1.3)
13
16
  diff-lcs (1.5.0)
17
+ docile (1.4.0)
14
18
  iniparse (1.5.0)
15
- overcommit (0.58.0)
19
+ json (2.6.2)
20
+ method_source (1.0.0)
21
+ netrc (0.11.0)
22
+ overcommit (0.59.1)
16
23
  childprocess (>= 0.6.3, < 5)
17
24
  iniparse (~> 1.4)
18
25
  rexml (~> 3.2)
19
- parallel (1.21.0)
20
- parser (3.1.0.0)
26
+ parallel (1.22.1)
27
+ parser (3.1.2.1)
21
28
  ast (~> 2.4.1)
29
+ plist (3.6.0)
30
+ pry (0.14.1)
31
+ coderay (~> 1.1)
32
+ method_source (~> 1.0)
22
33
  rainbow (3.1.1)
23
34
  rake (13.0.6)
24
- regexp_parser (2.2.0)
35
+ rbi (0.0.15)
36
+ ast
37
+ parser (>= 2.6.4.0)
38
+ sorbet-runtime (>= 0.5.9204)
39
+ unparser
40
+ regexp_parser (2.5.0)
25
41
  rexml (3.2.5)
26
- rspec (3.10.0)
27
- rspec-core (~> 3.10.0)
28
- rspec-expectations (~> 3.10.0)
29
- rspec-mocks (~> 3.10.0)
30
- rspec-core (3.10.1)
31
- rspec-support (~> 3.10.0)
32
- rspec-expectations (3.10.2)
42
+ rspec (3.11.0)
43
+ rspec-core (~> 3.11.0)
44
+ rspec-expectations (~> 3.11.0)
45
+ rspec-mocks (~> 3.11.0)
46
+ rspec-core (3.11.0)
47
+ rspec-support (~> 3.11.0)
48
+ rspec-expectations (3.11.0)
33
49
  diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.10.0)
35
- rspec-mocks (3.10.2)
50
+ rspec-support (~> 3.11.0)
51
+ rspec-mocks (3.11.1)
36
52
  diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.10.0)
38
- rspec-support (3.10.3)
39
- rubocop (1.25.0)
53
+ rspec-support (~> 3.11.0)
54
+ rspec-support (3.11.0)
55
+ rubocop (1.35.1)
56
+ json (~> 2.3)
40
57
  parallel (~> 1.10)
41
- parser (>= 3.1.0.0)
58
+ parser (>= 3.1.2.1)
42
59
  rainbow (>= 2.2.2, < 4.0)
43
60
  regexp_parser (>= 1.8, < 3.0)
44
- rexml
45
- rubocop-ast (>= 1.15.1, < 2.0)
61
+ rexml (>= 3.2.5, < 4.0)
62
+ rubocop-ast (>= 1.20.1, < 2.0)
46
63
  ruby-progressbar (~> 1.7)
47
64
  unicode-display_width (>= 1.4.0, < 3.0)
48
- rubocop-ast (1.15.1)
49
- parser (>= 3.0.1.1)
65
+ rubocop-ast (1.21.0)
66
+ parser (>= 3.1.1.0)
50
67
  rubocop-rake (0.6.0)
51
68
  rubocop (~> 1.0)
52
- rubocop-rspec (2.8.0)
53
- rubocop (~> 1.19)
69
+ rubocop-rspec (2.12.1)
70
+ rubocop (~> 1.31)
54
71
  ruby-macho (3.0.0)
55
72
  ruby-progressbar (1.11.0)
56
- sorbet (0.5.9553)
57
- sorbet-static (= 0.5.9553)
58
- sorbet-runtime (0.5.9589)
59
- sorbet-static (0.5.9553-universal-darwin-21)
60
- sorbet-static (0.5.9553-x86_64-linux)
61
- unicode-display_width (2.1.0)
73
+ rubyzip (2.3.2)
74
+ simplecov (0.21.2)
75
+ docile (~> 1.1)
76
+ simplecov-html (~> 0.11)
77
+ simplecov_json_formatter (~> 0.1)
78
+ simplecov-html (0.12.3)
79
+ simplecov_json_formatter (0.1.4)
80
+ sorbet (0.5.10346)
81
+ sorbet-static (= 0.5.10346)
82
+ sorbet-runtime (0.5.10346)
83
+ sorbet-static (0.5.10346-universal-darwin-21)
84
+ sorbet-static (0.5.10346-universal-darwin-22)
85
+ sorbet-static (0.5.10346-x86_64-linux)
86
+ sorbet-static-and-runtime (0.5.10346)
87
+ sorbet (= 0.5.10346)
88
+ sorbet-runtime (= 0.5.10346)
89
+ spoom (1.1.12)
90
+ sorbet (>= 0.5.9204)
91
+ sorbet-runtime (>= 0.5.9204)
92
+ thor (>= 0.19.2)
93
+ tapioca (0.9.3)
94
+ bundler (>= 1.17.3)
95
+ netrc (>= 0.11.0)
96
+ parallel (>= 1.21.0)
97
+ pry (>= 0.12.2)
98
+ rbi (~> 0.0.0, >= 0.0.14)
99
+ sorbet-static-and-runtime (>= 0.5.9204)
100
+ spoom (~> 1.1.0, >= 1.1.11)
101
+ thor (>= 1.2.0)
102
+ yard-sorbet
103
+ thor (1.2.1)
104
+ unicode-display_width (2.2.0)
105
+ unparser (0.6.5)
106
+ diff-lcs (~> 1.3)
107
+ parser (>= 3.1.0)
108
+ webrick (1.7.0)
109
+ yard (0.9.28)
110
+ webrick (~> 1.7.0)
111
+ yard-sorbet (0.6.1)
112
+ sorbet-runtime (>= 0.5)
113
+ yard (>= 0.9)
62
114
 
63
115
  PLATFORMS
64
116
  arm64-darwin-21
117
+ arm64-darwin-22
65
118
  x86_64-darwin-21
119
+ x86_64-darwin-22
66
120
  x86_64-linux
67
121
 
68
122
  DEPENDENCIES
@@ -73,7 +127,11 @@ DEPENDENCIES
73
127
  rubocop
74
128
  rubocop-rake
75
129
  rubocop-rspec
130
+ simplecov
76
131
  sorbet
132
+ sorbet-runtime
133
+ spoom
134
+ tapioca
77
135
 
78
136
  BUNDLED WITH
79
- 2.3.4
137
+ 2.3.20
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # MachO's Other Tool
2
2
 
3
3
  `mootool` is an attempt at an open source replacement to the legandary `jtool2` allowing it to continue to progress
4
- with the Apple research community. Ruby was selected as [Homebrew](https://brew.sh) maintains a good Mach-O parser
4
+ with the Apple research community. Ruby was selected as [Homebrew](https://brew.sh) maintains a good Mach-O parser
5
5
  that is pure (meaning it needs no dependencies other then a Ruby runtime).
6
6
 
7
7
  As a secondary goal every command should provide output both in human readable as well as machien readable (YAML)
@@ -16,17 +16,22 @@ The code can also be used as a library with `gem 'mootool'`
16
16
  ## Usage
17
17
 
18
18
  * `kc`
19
- * `list`
19
+ * `list`
20
20
 
21
21
  ## Development
22
22
 
23
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
23
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can
24
+ also run `bin/console` for an interactive prompt that will allow you to experiment.
24
25
 
25
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
26
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the
27
+ version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version,
28
+ push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
26
29
 
27
30
  ## Contributing
28
31
 
29
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mootool. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
32
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mootool. This project is intended
33
+ to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
34
+ the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
30
35
 
31
36
  ## License
32
37
 
@@ -34,4 +39,5 @@ The gem is available as open source under the terms of the [MIT License](https:/
34
39
 
35
40
  ## Code of Conduct
36
41
 
37
- Everyone interacting in the Mootool project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/mootool/blob/master/CODE_OF_CONDUCT.md).
42
+ Everyone interacting in the Mootool project’s codebases, issue trackers, chat rooms and mailing lists is expected to
43
+ follow the [code of conduct](https://github.com/[USERNAME]/mootool/blob/master/CODE_OF_CONDUCT.md).
data/bin/tapioca ADDED
@@ -0,0 +1,27 @@
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
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
12
+
13
+ bundle_binstub = File.expand_path('bundle', __dir__)
14
+
15
+ if File.file?(bundle_binstub)
16
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
+ load(bundle_binstub)
18
+ else
19
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
+ end
22
+ end
23
+
24
+ require 'rubygems'
25
+ require 'bundler/setup'
26
+
27
+ load Gem.bin_path('tapioca', 'tapioca')