spoom 1.1.9 → 1.1.10
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/lib/spoom/sorbet/sigils.rb +1 -1
- data/lib/spoom/test_helpers/project.rb +6 -0
- data/lib/spoom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf4b48623b21fd35fca6bc9d67b7e4c147de6980ba4780d3bbb9880d1b781f4f
|
|
4
|
+
data.tar.gz: 33a0d165f33f09ac6bb06ad4144f2140d11204cbf32a7042db4775f0d6a648c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd20daeb72d8c44be432a8b99cc10a833927fd7990073a1b11ab554c0188a0556ab19afc75a4593c7d4f3192ebc0f4ea4e0ae8650c7baf93011c7931b87ac9fc
|
|
7
|
+
data.tar.gz: 4c1bca7683664aa11da04eb5a578681a0f993be20d15c8c0af0df9f86715df3b4b916a0019d49f4650e1614bb60101db26fee8f66b95dbc69f51d37c27229daa
|
data/lib/spoom/sorbet/sigils.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Spoom
|
|
|
25
25
|
STRICTNESS_INTERNAL,
|
|
26
26
|
].freeze, T::Array[String])
|
|
27
27
|
|
|
28
|
-
SIGIL_REGEXP = T.let(
|
|
28
|
+
SIGIL_REGEXP = T.let(/^#[\ t]*typed[\ t]*:[ \t]*(\w*)[ \t]*/.freeze, Regexp)
|
|
29
29
|
|
|
30
30
|
# returns the full sigil comment string for the passed strictness
|
|
31
31
|
sig { params(strictness: String).returns(String) }
|
|
@@ -59,6 +59,12 @@ module Spoom
|
|
|
59
59
|
Dir.glob("#{@path}/**/*").sort
|
|
60
60
|
end
|
|
61
61
|
|
|
62
|
+
# Return the content of the file at `rel_path`
|
|
63
|
+
sig { params(rel_path: String).returns(String) }
|
|
64
|
+
def read(rel_path)
|
|
65
|
+
File.read(absolute_path(rel_path))
|
|
66
|
+
end
|
|
67
|
+
|
|
62
68
|
# Actions
|
|
63
69
|
|
|
64
70
|
# Run `git init` in this project
|
data/lib/spoom/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spoom
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandre Terrasa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|