dorian-times 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dorian/times.rb +2 -2
  3. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47322ff50860db49a582a4afab2f0a28a386496fa6f9c7bb58038cce44f57c80
4
- data.tar.gz: 198bd2b59be468eeefcd6794af2282e83c1b020b94404bad5adc28441af21bb3
3
+ metadata.gz: 3bc45ec9c87dce13b55b4c1c572770c5f3281aacafda61b2610ca083f860c410
4
+ data.tar.gz: 3149159791b9e41f76a07efd78972c6547165d0448fe0d59197fe63d9f6a402e
5
5
  SHA512:
6
- metadata.gz: f45e1d20efd9c852a86d5aaf415b6e17e4857457918d869f9e8ea3f97d6b085f7ed8ab6ea34e4bd40ece6b8dd3426c2724c67e216fa3c83301970ba6279a6459
7
- data.tar.gz: 507cfac90318e4b8293a73ae475f4a33025a3a7bcecefe2669996a29d2be1a01084d17f38e08d099f7d4941c97ee05f68dd506709d318e329f8bba68a140a31c
6
+ metadata.gz: e38255ce6191740bb55a230bde772e4286648468236de82525587864cf051d204db717dbfdb3e1a0a1248dae4c6bc971357bb69c328a713f643769168527568b
7
+ data.tar.gz: 8d60fa9cc23634215eb8ee418700cdbb55076091ecb4986a23c6de0612c4b8ddf5a080e33864e389f482ceda9797dcfb02c53f96ece6741d95d849ddb69e9b80
data/lib/dorian/times.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  module Dorian
2
2
  class Times
3
3
  def self.run
4
- if ARGV.size != 1
5
- puts 'USAGE: times N'
4
+ if ARGV.size != 1 || ARGV[0] == "--help" || ARGV[0] == "-h"
5
+ puts "USAGE: times N"
6
6
  exit
7
7
  end
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-times
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-11 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Prints numbers from 0 to N
@@ -25,7 +25,8 @@ files:
25
25
  homepage: https://github.com/dorianmariefr/times
26
26
  licenses:
27
27
  - MIT
28
- metadata: {}
28
+ metadata:
29
+ rubygems_mfa_required: 'true'
29
30
  post_install_message:
30
31
  rdoc_options: []
31
32
  require_paths:
@@ -41,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
42
  - !ruby/object:Gem::Version
42
43
  version: '0'
43
44
  requirements: []
44
- rubygems_version: 3.2.19
45
+ rubygems_version: 3.2.22
45
46
  signing_key:
46
47
  specification_version: 4
47
48
  summary: Prints numbers from 0 to N