runtime_analysis 0.0.1

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6107a289b78fa8a15cfa0c01760ba20008ffbb1a98f43d3af5df7af1181a683e
4
+ data.tar.gz: 6b21dc05b9cfd37d83ee27dd38a02e15a297a680bda9f9a037f98744ce9a1c4b
5
+ SHA512:
6
+ metadata.gz: 636d4e8bdc264f2c4e5a637c45bdc4719f2b801f24058b14e1c6b8a3843b4888fccb33378520ffcce84feb55737521a0323e28cc88537ac8cc5e7156a59b9474
7
+ data.tar.gz: e01ba5a50275667c34c1b76c53f6d8492b30c522cfefc7bd3e924dda750bd62c2d9c813bab08f9f3a7d0868b2377416f31bf21fdbb0fd8a74798c4a69c85ab03
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2026-09-27
4
+
5
+ - Initial release
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 Mark Burns
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # RuntimeAnalysis
2
+
3
+ Runtime analysis for Ruby: records what actually executes — callers, callees and types —
4
+ as a call graph, for analysing how code really runs.
5
+
6
+ Status: **early development.** This release reserves the name and establishes the package;
7
+ the API is not yet stable.
8
+
9
+ ## Installation
10
+
11
+ ```sh
12
+ gem install runtime_analysis
13
+ ```
14
+
15
+ ## Direction
16
+
17
+ Where this is heading:
18
+
19
+ - Offline-by-default recording of real execution, kept out of your app's failure domain.
20
+ - Optional Neo4j import for querying the recorded call graph (never a required dependency).
21
+ - A `runtime_analysis` command-line tool for ingesting and inspecting recordings.
22
+ - An LSP/MCP product built on top for rapid, on-demand analysis.
23
+
24
+ ## Development
25
+
26
+ ```sh
27
+ bin/setup # install dependencies
28
+ bundle exec rake # run the tests and linter
29
+ ```
30
+
31
+ ## License
32
+
33
+ Released under the [MIT License](LICENSE.txt).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # no-unit-test: version constant, asserted via spec/runtime_analysis_spec.rb
4
+ module RuntimeAnalysis
5
+ VERSION = "0.0.1"
6
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "runtime_analysis/version"
4
+
5
+ # no-unit-test: entry-point module, covered by spec/runtime_analysis_spec.rb
6
+ module RuntimeAnalysis
7
+ class Error < StandardError; end
8
+ end
@@ -0,0 +1,4 @@
1
+ module RuntimeAnalysis
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,52 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: runtime_analysis
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Mark Burns
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: Captures real Ruby execution -- callers, callees and types -- to analyse
13
+ how code runs.
14
+ email:
15
+ - 104158+markburns@users.noreply.github.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - CHANGELOG.md
21
+ - LICENSE.txt
22
+ - README.md
23
+ - Rakefile
24
+ - lib/runtime_analysis.rb
25
+ - lib/runtime_analysis/version.rb
26
+ - sig/runtime_analysis.rbs
27
+ homepage: https://github.com/ruby-analysis/runtime_analysis
28
+ licenses:
29
+ - MIT
30
+ metadata:
31
+ allowed_push_host: https://rubygems.org
32
+ homepage_uri: https://github.com/ruby-analysis/runtime_analysis
33
+ source_code_uri: https://github.com/ruby-analysis/runtime_analysis
34
+ changelog_uri: https://github.com/ruby-analysis/runtime_analysis/blob/main/CHANGELOG.md
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.2.0
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ requirements: []
49
+ rubygems_version: 3.6.7
50
+ specification_version: 4
51
+ summary: 'Runtime analysis for Ruby: records what actually executes as a call graph.'
52
+ test_files: []