nanoc-cli 4.12.14 → 4.12.15

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: c89200fb4f81ac2c8ddb7edb292f7c19db74352aed3b13427d5bdd2906a9b2f8
4
- data.tar.gz: 6b4a1306ff25809ac75b03e1a082fff7fa7459c5f24fe1a0d39deb2f936e59c8
3
+ metadata.gz: acfdf43e1866b296c38f5c62f5c4dea5dd97ffa2baad31da0677a1786db60490
4
+ data.tar.gz: aefd93a52879d5aa39905f3326b507b2ed2f0af6e0b46ba02ff52145287c327c
5
5
  SHA512:
6
- metadata.gz: 89ac3d450644e7b6dd0a391e873571692a0c829fa88fb89324418a6bfe5592feb258615ed4cbb6baa85a9c89384d4faff1c0ad9db25c77e31488c95955441872
7
- data.tar.gz: d002297b319c84753811da047b527cb168c1254bea5ac09e321efc631b14f8a3b1b009ed5fd193c4ec4dd3b29c5a1e37021ab743062832bc668e0de5ffe58876
6
+ metadata.gz: 3b5d64692541831e34bf45636fa3d2e669cc0bffbe3d9f2810a58a77cec2114c26e07d3bc1a2b3d580fd5c152e03ee63a9c8562c5867827d249187894aa6b368
7
+ data.tar.gz: a778a7307d566d7d4a2b26719704999ff55929c0567da51389f66cdeb848773981e9407fef0202e3e01a5ebdd713a985218c87287de587d4c5c835b420c212b3
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module CLI
5
- VERSION = '4.12.14'
5
+ VERSION = '4.12.15'
6
6
  end
7
7
  end
data/lib/nanoc/cli.rb CHANGED
@@ -181,7 +181,7 @@ module Nanoc
181
181
  pieces = pieces[0, pieces.size - 1] || []
182
182
  root = Nanoc::CLI.root_command
183
183
  supercommand = pieces.reduce(root) do |cmd, piece|
184
- cmd.nil? ? nil : cmd.command_named(piece)
184
+ cmd&.command_named(piece)
185
185
  end
186
186
 
187
187
  # Add to supercommand
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.14
4
+ version: 4.12.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-03 00:00:00.000000000 Z
11
+ date: 2023-02-06 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.14
47
+ version: 4.12.15
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.14
54
+ version: 4.12.15
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: zeitwerk
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubygems_version: 3.4.0.dev
124
+ rubygems_version: 3.4.1
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: CLI for Nanoc