todo-jsonl 0.1.22 → 0.1.24
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/todo.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: f947add722dd8daa2e1c9e95b28e88ca906adb71c27af00ef251702c75c868e8
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: ec96ca95d021e7eb4ed2ebb2e4738d08a19291e54c366873843b5c6a66108347
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 5bb56460d8dd36f2643e13f0c5d4c969c4a3ebdfb887da54dabf07771ad9fbf80cbd5c115e8b058cc837aaa690ecb54850183e25d6609d4387b6335bffc0e5df
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 8abecd75607bc3208ddc5a73bc13cf7a1f3921a9c9275e0d067ee9c0b12c22cc7280701943c0f11d417daa1cf3cbcb3541704c2c5ec9c99ea6ada8ffe9372642
         
     | 
    
        data/bin/todo.rb
    CHANGED
    
    | 
         @@ -373,7 +373,7 @@ class Todo 
     | 
|
| 
       373 
373 
     | 
    
         
             
                items = filter_tasks(tasks, patterns)
         
     | 
| 
       374 
374 
     | 
    
         
             
                items.keys.each do |num| tasks.delete(num) end
         
     | 
| 
       375 
375 
     | 
    
         
             
                write_tasks(tasks)
         
     | 
| 
       376 
     | 
    
         
            -
                puts " 
     | 
| 
      
 376 
     | 
    
         
            +
                puts "Deleted #{items.size} todo(s)"
         
     | 
| 
       377 
377 
     | 
    
         
             
              end
         
     | 
| 
       378 
378 
     | 
    
         | 
| 
       379 
379 
     | 
    
         
             
              def filter_tasks(tasks, patterns)
         
     |