dorian-each 0.3.0 → 0.3.2

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/bin/each +2 -3
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4fa7f12467fae6b967f363f52f6d6ef9dfd43afd3f284714554189530d3a1ee
4
- data.tar.gz: dadbb7ae44734f0e21908f6c56ff9c6038a3b70b031b72e24312dcc3aaa446a8
3
+ metadata.gz: 9319fea27b5294a31dae6012f56d5c870841cb758281dfa37d2b9fd013a6b0ea
4
+ data.tar.gz: 510cb57881ac159eed45f6eec6323775119328e7adf7f2a98ccd479df4c9fd13
5
5
  SHA512:
6
- metadata.gz: 5050c5d61e4b7878226fcf1a028ce2aa8e40d8fa094b2ee08ac4b6a2336efd268b3fe78608c0fab283f55a750b6587306fb8ab978a3ef76f3af83211e6f6fd33
7
- data.tar.gz: c692544da3c8a9eedb15e2f482c4398dae9b135282e54ba4de1a62d84670b661e9e53738c65e343ce4cc1b73b56691cc770b4d2a7d11ffec0c03831fd1281f93
6
+ metadata.gz: 4ceadafdbc026bbef88513f2b3b684710abf603e61a73b849ebb2ea49ad2af756697e49c3e5517a5b043d1c59fb824c6c85271faa85212ce403390aa4d9d0b1b
7
+ data.tar.gz: 8e3c29dcc0240df13ec2ef5a890f3ef30300957badf15c71c4b0755eaa0ca73012e61f634aa22ec0cb58f81cf8250aaa1591bd079b945d0345818103275a5400
data/bin/each CHANGED
@@ -1,13 +1,12 @@
1
1
  #!/usr/bin/env ruby
2
-
3
- require 'dorian/each'
2
+ # frozen_string_literal: true
4
3
 
5
4
  if ARGV.size != 1 || ARGV[0] == "--help" || ARGV[0] == "-h"
6
5
  puts "USAGE: ... | each CODE"
7
6
  exit
8
7
  end
9
8
 
10
- STDIN.each_line do |it|
9
+ $stdin.each_line do |it|
11
10
  it.strip!
12
11
  eval(ARGV.first)
13
12
  end
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.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Evaluates some code on each line of the input
@@ -21,7 +21,7 @@ extensions: []
21
21
  extra_rdoc_files: []
22
22
  files:
23
23
  - bin/each
24
- homepage: https://github.com/dorianmariefr/each
24
+ homepage: https://github.com/dorianmariecom/each
25
25
  licenses:
26
26
  - MIT
27
27
  metadata:
@@ -41,7 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  requirements: []
44
- rubygems_version: 3.4.10
44
+ rubygems_version: 3.5.3
45
45
  signing_key:
46
46
  specification_version: 4
47
47
  summary: Evaluates some code on each line of the input