clian 0.5.0 → 0.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b65d588a5fe3b0124bab9fcf6b5eeb2c754e7172fa5c2bb41af3d2fbb973a5b7
4
- data.tar.gz: fa79302cdf627d030e079459800b726b1a41d476a1011c668917b70f684eb714
3
+ metadata.gz: 5a3f0780801eec0bebbf38befeaeadd235d4b44bf6616c406f9688b314a1b69b
4
+ data.tar.gz: 36a415b1342d09cabae68ebc6ec3979100f8ce4462a6432503b0b7dab7b3d6fb
5
5
  SHA512:
6
- metadata.gz: c60178e38a33066ea9f06e582f25c20096aade63150b46dc64abcb388bd3487dcc49b449710d23fd5f7332c09a069e295d2b307a93a37d1be51ea9e003bb42d1
7
- data.tar.gz: 3e98ea8037ac8408cffeda18b201de4e5499a50c7ababc857ec4af6499d2fbaea7dc8679206bb780d4c0e1a1342e2339c11ffd2d454e87d68c360af69ae5b190
6
+ metadata.gz: f59cf9c4b235bc721fc899c051d9a09524bef26fc21bfbd034256da245c2a3517cc270aa52661987c2987941ed96c40e5677b3cace824a80e22d0962d5609978
7
+ data.tar.gz: 204fd40aac1fa4eaf557a3e4e0ebf6c7f41f5340f5dab8e3a6dcc3ae3b4917cff12d7ab53699d6c381e51cc562ea96391f428b319b16561c7799027c6b83f598
data/lib/clian/cli.rb CHANGED
@@ -161,6 +161,12 @@ module Clian
161
161
 
162
162
  attr_reader :builder, :config, :calendar
163
163
 
164
+ # exit 1 when a required argument is not provided
165
+ # https://github.com/rails/thor/issues/244
166
+ def self.exit_on_failure?
167
+ true
168
+ end
169
+
164
170
  def setup_global_options(command, *args)
165
171
  exit_on_error do
166
172
  # @config = Clian::Config.create_from_file(options[:config] || DEFAULT_CONFIG_PATH)
data/lib/clian/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Clian
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshinari Nomura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-04-03 00:00:00.000000000 Z
11
+ date: 2025-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor