dorian-each 0.1.3 → 0.2.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/each.rb +2 -2
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2be10d5fefb239832c9dd583ace2ce3d973623f3251a48a3dda5ad76feb531bf
4
- data.tar.gz: 4bc5a62aebd64edac2c59f5347d955e72e0fafd83570b134d8ec4c927eecd9b2
3
+ metadata.gz: 845c92960d2b59f826aa3b4e7c004519a74c68ce2df063c1269c660cb83a7e5c
4
+ data.tar.gz: ad41c4fe64dd7656a2a91dd648d4c629ef0d2de1d523b9f74f6b5cf746e71eff
5
5
  SHA512:
6
- metadata.gz: 79b338ea8feec3dcb8b67d96b63685c9b15335f7cd7ca36d81ef53a025d9e59ac2022e8a234007934bdf9ba47a47c409ac0beaeda8d73e5c7e3436c1c91722f0
7
- data.tar.gz: 30431c9617d11397df9cf7e03c636de5cd239fd122f6d8dbdb0c717011823657a95ef2187b5f3d12422bb2e47f6b747606b33535389628404af7992ff53957a7
6
+ metadata.gz: 00c4c38338531668b2474bded1739fa4bdfc950d4e3509e948d72824a040001752c7abfa67dbba110be25ad6a220c19f335082d4c1e355a5922ab87f14bb2f2f
7
+ data.tar.gz: a03942ebbaa10730192cd956e363565164f56c1d7a60350ca0dfd5d36d40e4a144b7a1cd8102c8a33cd779d57e66842e42a1155d747fcbf3be05eb90fbac782d
data/lib/dorian/each.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  module Dorian
2
2
  class Each
3
3
  def self.run
4
- if ARGV.size != 1
5
- puts 'USAGE: each CODE'
4
+ if ARGV.size != 1 || ARGV[0] == "--help" || ARGV[0] == "-h"
5
+ puts "USAGE: ... | each CODE"
6
6
  exit
7
7
  end
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-each
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.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-10 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Evaluates some code on each line of the input
@@ -25,7 +25,8 @@ files:
25
25
  homepage: https://github.com/dorianmariefr/each
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: