decode 0.21.2 → 0.21.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/decode/index.rb +10 -13
- data/lib/decode/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b24ce7436a54ffabd1a2e6fcd59f4e3446a431e979c523f3c6d35c9684d5139e
|
4
|
+
data.tar.gz: 3220855e4866ec42eadc5f8b90ff3477b173493d850dc3c4de9c6fe8171c14ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3f5a3e86a1a92f3c5e1f2fb7cb92fb5e2566ab656791acc5644daad90ceb19f1954199487aad6b7c9ea7375f78b422e2d9a10a958d940f4f80fe479463fe8f9
|
7
|
+
data.tar.gz: d6954d9e0a7eb6f4ec6c60daec050f91554e6b62851900bd2740d5fdbd30c287a8f922cf3d9601f3123c1e498b1da5307267f4970f55059d07d486ad4fa9282e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/decode/index.rb
CHANGED
@@ -3,14 +3,17 @@
|
|
3
3
|
# Released under the MIT License.
|
4
4
|
# Copyright, 2020, by Samuel Williams.
|
5
5
|
|
6
|
+
def initialize(...)
|
7
|
+
super
|
8
|
+
|
9
|
+
require 'decode/index'
|
10
|
+
require 'set'
|
11
|
+
end
|
12
|
+
|
6
13
|
# Process the given source root and report on comment coverage.
|
7
14
|
# @parameter root [String] The root path to index.
|
8
15
|
def coverage(root)
|
9
|
-
|
10
|
-
require 'decode/index'
|
11
|
-
require 'set'
|
12
|
-
|
13
|
-
paths = Build::Files::Path.expand(root).glob("**/*")
|
16
|
+
paths = Dir.glob(File.join(root, "**/*"))
|
14
17
|
|
15
18
|
index = Decode::Index.new
|
16
19
|
index.update(paths)
|
@@ -61,10 +64,7 @@ end
|
|
61
64
|
# Process the given source root and report on symbols.
|
62
65
|
# @parameter root [String] The root path to index.
|
63
66
|
def symbols(root)
|
64
|
-
|
65
|
-
require 'decode/index'
|
66
|
-
|
67
|
-
paths = Build::Files::Path.expand(root).glob("**/*")
|
67
|
+
paths = Dir.glob(File.join(root, "**/*"))
|
68
68
|
|
69
69
|
index = Decode::Index.new
|
70
70
|
index.update(paths)
|
@@ -84,10 +84,7 @@ end
|
|
84
84
|
# Print documentation for all definitions.
|
85
85
|
# @parameter root [String] The root path to index.
|
86
86
|
def documentation(root)
|
87
|
-
|
88
|
-
require 'decode/index'
|
89
|
-
|
90
|
-
paths = Build::Files::Path.expand(root).glob("**/*")
|
87
|
+
paths = Dir.glob(File.join(root, "**/*"))
|
91
88
|
|
92
89
|
index = Decode::Index.new
|
93
90
|
index.update(paths)
|
data/lib/decode/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|