nanoc-cli 4.12.2 → 4.12.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6102307353730ee35fbda3e32a6e4e067c357b9f59fe7ba37f77915f86a7fe9
|
4
|
+
data.tar.gz: ecf963e25dd03a717113777a96c2bf1a5f08f6df87b85f92e755e6066f5046c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02c656f32a80ee458471f6dc70eeff01380bb4a802c967381624e604e7cd1c269bcb34c865e1e1459d7ac97c88788cfc8f4896d05616472bef48a0842436496d
|
7
|
+
data.tar.gz: 7a4055654927ebfa816aa019fe846b451731669a88195757f187262b7ad6df4450c03c7b5de016496b9aeefc5e18b2678943a1271e331d7e47c1efac427f2c61
|
@@ -99,15 +99,17 @@ module Nanoc::CLI::Commands
|
|
99
99
|
'items'
|
100
100
|
when Nanoc::Core::LayoutCollection
|
101
101
|
'layouts'
|
102
|
+
when nil
|
103
|
+
'(unknown)'
|
102
104
|
else
|
103
|
-
raise Nanoc::Core::Errors::InternalInconsistency, "unexpected pred type #{pred}"
|
105
|
+
raise Nanoc::Core::Errors::InternalInconsistency, "unexpected pred type #{pred.inspect}"
|
104
106
|
end
|
105
107
|
|
106
108
|
pred_identifier =
|
107
109
|
case pred
|
108
110
|
when Nanoc::Core::Document
|
109
111
|
pred.identifier.to_s
|
110
|
-
when Nanoc::Core::Configuration
|
112
|
+
when Nanoc::Core::Configuration, nil
|
111
113
|
nil
|
112
114
|
when Nanoc::Core::IdentifiableCollection
|
113
115
|
case dep.props.raw_content
|
@@ -117,13 +119,13 @@ module Nanoc::CLI::Commands
|
|
117
119
|
"matching any of #{dep.props.raw_content.sort.join(', ')}"
|
118
120
|
end
|
119
121
|
else
|
120
|
-
raise Nanoc::Core::Errors::InternalInconsistency, "unexpected pred type #{pred}"
|
122
|
+
raise Nanoc::Core::Errors::InternalInconsistency, "unexpected pred type #{pred.inspect}"
|
121
123
|
end
|
122
124
|
|
123
125
|
if pred
|
124
126
|
puts " [ #{format '%6s', type} ] (#{dep.props}) #{pred_identifier}"
|
125
127
|
else
|
126
|
-
puts ' ( removed
|
128
|
+
puts ' ( removed )'
|
127
129
|
end
|
128
130
|
end
|
129
131
|
puts ' (nothing)' if dependencies.empty?
|
@@ -37,15 +37,22 @@ module Nanoc::CLI::CompileListeners
|
|
37
37
|
duration = @stopwatches[rep].duration
|
38
38
|
|
39
39
|
action =
|
40
|
-
if is_created
|
41
|
-
|
42
|
-
elsif
|
43
|
-
|
40
|
+
if is_created
|
41
|
+
:create
|
42
|
+
elsif is_modified
|
43
|
+
:update
|
44
|
+
elsif cached_reps.include?(rep)
|
45
|
+
:cached
|
46
|
+
else
|
47
|
+
:identical
|
44
48
|
end
|
45
49
|
level =
|
46
|
-
if is_created
|
47
|
-
|
48
|
-
|
50
|
+
if is_created
|
51
|
+
:high
|
52
|
+
elsif is_modified
|
53
|
+
:high
|
54
|
+
else
|
55
|
+
:low
|
49
56
|
end
|
50
57
|
|
51
58
|
# FIXME: do not depend on working directory
|
data/lib/nanoc/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.12.
|
4
|
+
version: 4.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cri
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.12.
|
47
|
+
version: 4.12.3
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 4.12.
|
54
|
+
version: 4.12.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: zeitwerk
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.2.
|
123
|
+
rubygems_version: 3.2.28
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: CLI for Nanoc
|