linecounter 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/lib/linecounter/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9826e951ee479ac0be77163811c7bcd4e6b37489ce40c2ab4090348760e51c1b
|
|
4
|
+
data.tar.gz: 3a0ffeab5b6d22b4c768e8bbfd69387b161df1774ae6b4e4bb59a1c62bf3cfc1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8ef5a38346f6def7c34c43bd6d32fbb6c79ea89da0c793323bfe9084917e2f9c370fb3ca3a86252ef72fde8cbaadf48776ec86f82ebc2ac04965615c9627232
|
|
7
|
+
data.tar.gz: dc631e326efb57ad2bc33ef730c2593558c46af66f2371c3a5d11d6e7a54f36c7feb044a1331c779bff47ed78bcfe643ff468309f8bbcc6e009ab93ae323931a
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes are documented here. The format is based on
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
|
|
5
|
+
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [0.1.2] - 2026-05-24
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Reworded the gem description to remove an em-dash.
|
|
13
|
+
|
|
14
|
+
Note: 0.3.0 was published from an accidental version jump and yanked; this
|
|
15
|
+
release is the intended patch following 0.1.1.
|
|
16
|
+
|
|
17
|
+
## [0.1.1] - 2026-05-24
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- `rake release` one-command flow (build, tag `vX.Y.Z`, push to RubyGems),
|
|
21
|
+
gated on the test suite so a failing build is never released.
|
|
22
|
+
- Gem metadata: `changelog_uri` and `allowed_push_host`; `CHANGELOG.md` is now
|
|
23
|
+
shipped in the gem.
|
|
24
|
+
|
|
25
|
+
## [0.1.0] - 2026-05-24
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- Initial release. Scans a git repository and reports per-file quality
|
|
29
|
+
signals — non-empty lines of code, git churn, control-flow branching, and
|
|
30
|
+
class-structure counts with average statement lines per item — as text or
|
|
31
|
+
JSON.
|
|
32
|
+
- `linecounter` executable; `--repo` defaults to the current directory.
|
|
33
|
+
- AST-based analysis via Prism for accurate structure and branch signals
|
|
34
|
+
(no false positives from keywords in strings, comments, or method bodies).
|
|
35
|
+
|
|
36
|
+
[Unreleased]: https://github.com/roberthopman/linecounter/compare/v0.1.2...HEAD
|
|
37
|
+
[0.1.2]: https://github.com/roberthopman/linecounter/compare/v0.1.1...v0.1.2
|
|
38
|
+
[0.1.1]: https://github.com/roberthopman/linecounter/compare/v0.1.0...v0.1.1
|
|
39
|
+
[0.1.0]: https://github.com/roberthopman/linecounter/releases/tag/v0.1.0
|
data/lib/linecounter/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: linecounter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Hopman
|
|
@@ -57,9 +57,9 @@ dependencies:
|
|
|
57
57
|
- - "~>"
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
59
|
version: '13.0'
|
|
60
|
-
description: linecounter scans a git repository and reports per-file quality signals
|
|
61
|
-
|
|
62
|
-
counts with average statement lines per item. Output as text or JSON.
|
|
60
|
+
description: 'linecounter scans a git repository and reports per-file quality signals:
|
|
61
|
+
non-empty lines of code, git churn, control-flow branching, and class-structure
|
|
62
|
+
counts with average statement lines per item. Output as text or JSON.'
|
|
63
63
|
email:
|
|
64
64
|
- hopman.r@gmail.com
|
|
65
65
|
executables:
|
|
@@ -67,6 +67,7 @@ executables:
|
|
|
67
67
|
extensions: []
|
|
68
68
|
extra_rdoc_files: []
|
|
69
69
|
files:
|
|
70
|
+
- CHANGELOG.md
|
|
70
71
|
- LICENSE
|
|
71
72
|
- README.md
|
|
72
73
|
- exe/linecounter
|
|
@@ -84,6 +85,8 @@ licenses:
|
|
|
84
85
|
- MIT
|
|
85
86
|
metadata:
|
|
86
87
|
source_code_uri: https://github.com/roberthopman/linecounter
|
|
88
|
+
changelog_uri: https://github.com/roberthopman/linecounter/blob/main/CHANGELOG.md
|
|
89
|
+
allowed_push_host: https://rubygems.org
|
|
87
90
|
rubygems_mfa_required: 'true'
|
|
88
91
|
rdoc_options: []
|
|
89
92
|
require_paths:
|