tocer 12.0.0 → 12.0.1
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.tar.gz.sig +0 -0
- data/lib/tocer/cli/parsers/assembler.rb +3 -5
- data/lib/tocer/cli/parsers/core.rb +1 -3
- data/lib/tocer/identity.rb +1 -1
- data/lib/tocer/rake/tasks.rb +1 -1
- metadata +2 -2
- 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: fbb0b5122d22bc49315768eaa8da1ad803be7a116dbbc628d0cf21fc0e7f3e5e
|
4
|
+
data.tar.gz: e271feacaaa9643cc05d656f32ac00dfba47a7f7a63cfa4c330e4f33188d4ca0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbfd2fcf7ae70d445c41fef7d1f190f43b23f8af12985e2ad0c75996e7a38795423b620f0865e48171637d545914c95fc8020244413ef299a3af112215562448
|
7
|
+
data.tar.gz: f24e6608ed56a388c0ec4e5acf2d906138c86c55002b8d17fcfc85a7048f490a0eaf631bb38972eb60b634ed69a4b180b22740840f12d88c7bcea586b6119d61
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -1,14 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "runcom"
|
4
|
-
|
5
3
|
module Tocer
|
6
4
|
module CLI
|
7
5
|
module Parsers
|
8
|
-
SECTIONS = [Core, Build].freeze # Order is important.
|
9
|
-
|
10
6
|
# Assembles and parses all Command Line Interface (CLI) options.
|
11
7
|
class Assembler
|
8
|
+
SECTIONS = [Core, Build].freeze # Order is important.
|
9
|
+
|
12
10
|
def initialize configuration: CLI::Configuration::Loader.call,
|
13
11
|
sections: SECTIONS,
|
14
12
|
client: CLIENT
|
@@ -29,7 +27,7 @@ module Tocer
|
|
29
27
|
|
30
28
|
private
|
31
29
|
|
32
|
-
attr_reader :options, :
|
30
|
+
attr_reader :options, :sections, :client
|
33
31
|
end
|
34
32
|
end
|
35
33
|
end
|
@@ -25,9 +25,7 @@ module Tocer
|
|
25
25
|
|
26
26
|
attr_reader :options, :client
|
27
27
|
|
28
|
-
def collate
|
29
|
-
private_methods.sort.grep(/add_/).each { |method| __send__ method }
|
30
|
-
end
|
28
|
+
def collate = private_methods.sort.grep(/add_/).each { |method| __send__ method }
|
31
29
|
|
32
30
|
def add_config
|
33
31
|
client.on(
|
data/lib/tocer/identity.rb
CHANGED
data/lib/tocer/rake/tasks.rb
CHANGED
@@ -21,7 +21,7 @@ module Tocer
|
|
21
21
|
def install
|
22
22
|
desc "Add/Update Table of Contents (README)"
|
23
23
|
task :toc, %i[label includes] do |_task, arguments|
|
24
|
-
runner.call(**configuration.merge(**arguments.to_h).to_h)
|
24
|
+
runner.call(**configuration.merge(**arguments.to_h).to_h)
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tocer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0.
|
4
|
+
version: 12.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2021-04-
|
31
|
+
date: 2021-04-18 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: refinements
|
metadata.gz.sig
CHANGED
Binary file
|