rubylinter 0.0.1-arm64-darwin-25
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 +7 -0
- data/exe/rubylinter +27 -0
- data/lib/rubylinter/bin/rubylinter +0 -0
- data/lib/rubylinter/version.rb +5 -0
- data/lib/rubylinter.rb +11 -0
- metadata +48 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 73cbe4295fed86a235e0233abfaf2d9c90e71694a6d42ab69a082637b77ae304
|
|
4
|
+
data.tar.gz: 664b5595c1159a1f988cc185c362d5261426cce406a419496cb96a0d6d91d147
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 6a6682265cac36cd6b706074cd5d7b7922c53141f1f11c86a208c0a691bd46a003963c4e3bbc4612e7cf43ac46ccc24295e83a0d4f9dc85ec198c172bd03f93e
|
|
7
|
+
data.tar.gz: 6166f5947e5ce9f447ce67bbcc8e340c0a78542a7afc68c44c7fbfbfd5a4b5ded96421c31590bf47ce27cb5df5ba72a209601fd74288a780cd181aa3e07296f8
|
data/exe/rubylinter
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require "rubylinter"
|
|
5
|
+
|
|
6
|
+
def native_binary_path
|
|
7
|
+
gem_root = File.expand_path("..", __dir__)
|
|
8
|
+
File.join(gem_root, "lib/rubylinter/bin/rubylinter")
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
binary = native_binary_path
|
|
12
|
+
unless File.executable?(binary)
|
|
13
|
+
warn <<~MSG
|
|
14
|
+
error: rubylinter native binary not found at #{binary}
|
|
15
|
+
|
|
16
|
+
Build the native binary and copy it into the gem:
|
|
17
|
+
|
|
18
|
+
cd gem && rake build:native
|
|
19
|
+
gem build rubylinter.gemspec
|
|
20
|
+
gem install --local rubylinter-#{Rubylinter::VERSION}.gem
|
|
21
|
+
|
|
22
|
+
See docs/contributing.md for the full gem smoke test workflow.
|
|
23
|
+
MSG
|
|
24
|
+
exit 1
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
exec binary, *ARGV
|
|
Binary file
|
data/lib/rubylinter.rb
ADDED
metadata
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: rubylinter
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: arm64-darwin-25
|
|
6
|
+
authors:
|
|
7
|
+
- rubylinter contributors
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-06-18 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Ruby gem wrapper around the rubylinter native binary.
|
|
14
|
+
email: []
|
|
15
|
+
executables:
|
|
16
|
+
- rubylinter
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- exe/rubylinter
|
|
21
|
+
- lib/rubylinter.rb
|
|
22
|
+
- lib/rubylinter/bin/rubylinter
|
|
23
|
+
- lib/rubylinter/version.rb
|
|
24
|
+
homepage: https://github.com/rubylinter/rubylinter
|
|
25
|
+
licenses:
|
|
26
|
+
- MIT
|
|
27
|
+
metadata:
|
|
28
|
+
source_code_uri: https://github.com/rubylinter/rubylinter
|
|
29
|
+
post_install_message:
|
|
30
|
+
rdoc_options: []
|
|
31
|
+
require_paths:
|
|
32
|
+
- lib
|
|
33
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
|
+
requirements:
|
|
35
|
+
- - ">="
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: 2.7.0
|
|
38
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '0'
|
|
43
|
+
requirements: []
|
|
44
|
+
rubygems_version: 3.5.22
|
|
45
|
+
signing_key:
|
|
46
|
+
specification_version: 4
|
|
47
|
+
summary: Fast CLI-first Ruby linter powered by Rust and Prism
|
|
48
|
+
test_files: []
|