dorian-each 0.3.1 → 0.3.3
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 +4 -4
 - data/bin/each +2 -1
 - metadata +5 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: bac84c811605876cf0a72c703e9ef0b16fbdcaed9f52a0ecd35876fe10868724
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 6af05a985007708459f0e7fba3fd0fb7badb356c475276f9ab32d255c585b923
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a989c3be581bde6fb8165ebdc3c86a8f7d10d09880ba09d55b6452d854c6277ba8019d6989fa9baca98533ac2102989e954201440de39f1584c08bf96029b7d9
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 81f563bb2b20aee507c4efa86cc6066d3eca188fd43274ef6b3031d5b496dc35aeeafb1ee4978abc0b5383c3ddeb7f30d607c7ebe93cb1315307d0a7c24aeedf
         
     | 
    
        data/bin/each
    CHANGED
    
    | 
         @@ -1,11 +1,12 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
      
 2 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       2 
3 
     | 
    
         | 
| 
       3 
4 
     | 
    
         
             
            if ARGV.size != 1 || ARGV[0] == "--help" || ARGV[0] == "-h"
         
     | 
| 
       4 
5 
     | 
    
         
             
              puts "USAGE: ... | each CODE"
         
     | 
| 
       5 
6 
     | 
    
         
             
              exit
         
     | 
| 
       6 
7 
     | 
    
         
             
            end
         
     | 
| 
       7 
8 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
      
 9 
     | 
    
         
            +
            $stdin.each_line do |it|
         
     | 
| 
       9 
10 
     | 
    
         
             
              it.strip!
         
     | 
| 
       10 
11 
     | 
    
         
             
              eval(ARGV.first)
         
     | 
| 
       11 
12 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,27 +1,27 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: dorian-each
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.3. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.3.3
         
     | 
| 
       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- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-03-09 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies: []
         
     | 
| 
       13 
13 
     | 
    
         
             
            description: |-
         
     | 
| 
       14 
14 
     | 
    
         
             
              Evaluates some code on each line of the input
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
              e.g. `ls -l | each "puts it.split.first"`
         
     | 
| 
       17 
     | 
    
         
            -
            email: dorian@dorianmarie. 
     | 
| 
      
 17 
     | 
    
         
            +
            email: dorian@dorianmarie.com
         
     | 
| 
       18 
18 
     | 
    
         
             
            executables:
         
     | 
| 
       19 
19 
     | 
    
         
             
            - each
         
     | 
| 
       20 
20 
     | 
    
         
             
            extensions: []
         
     | 
| 
       21 
21 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       22 
22 
     | 
    
         
             
            files:
         
     | 
| 
       23 
23 
     | 
    
         
             
            - bin/each
         
     | 
| 
       24 
     | 
    
         
            -
            homepage: https://github.com/ 
     | 
| 
      
 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. 
     | 
| 
      
 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
         
     |