extra_print 1.1.0 → 1.1.1
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/lib/extra_print.rb +2 -2
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 2b063cb0703442a6b32800900e44f5b3d82c45a7
         | 
| 4 | 
            +
              data.tar.gz: 62c6c0c90a05da158c95b2c99294b2d28ec3b4a2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 725320d7c4c202c89555af3f3d996386293d79ba72f853f743c4276b110f1d272ebd6c99f185c8c604c987a6a18f855cf8c3c0f853c377bf55e78194f2609ec8
         | 
| 7 | 
            +
              data.tar.gz: d8362a29b14063687c5a6d59666744ced311a1e4caf86c2955e2548de1ce0331f7d4e26175d99919836bf1554fcbfad54f3f1f4c1e6d9aa7b304033899409370
         | 
    
        data/lib/extra_print.rb
    CHANGED
    
    | @@ -46,14 +46,12 @@ end | |
| 46 46 |  | 
| 47 47 | 
             
            def display_variable(add_awesome_print)
         | 
| 48 48 | 
             
              proc = Proc.new { @variable }
         | 
| 49 | 
            -
              puts
         | 
| 50 49 | 
             
              if add_awesome_print
         | 
| 51 50 | 
             
                require 'awesome_print'
         | 
| 52 51 | 
             
                ap proc.call if add_awesome_print
         | 
| 53 52 | 
             
              else
         | 
| 54 53 | 
             
                p proc.call unless add_awesome_print
         | 
| 55 54 | 
             
              end
         | 
| 56 | 
            -
              puts
         | 
| 57 55 | 
             
            end
         | 
| 58 56 |  | 
| 59 57 | 
             
            # 40 rando emojis for fun && eye catching line breaks
         | 
| @@ -71,6 +69,7 @@ def display_footer | |
| 71 69 | 
             
              str += "\033[#{@secondary_color}m #{@msg} "
         | 
| 72 70 | 
             
              str += "\033[#{@color}m⬆ \033[0m" * ((@length / 4))
         | 
| 73 71 | 
             
              puts str
         | 
| 72 | 
            +
              puts
         | 
| 74 73 | 
             
            end
         | 
| 75 74 |  | 
| 76 75 | 
             
            def display_detail_header
         | 
| @@ -97,6 +96,7 @@ def display_detail_header | |
| 97 96 | 
             
              str += "\033[#{@color}m⬇ \033[m" * 5
         | 
| 98 97 |  | 
| 99 98 | 
             
              # Output completed string
         | 
| 99 | 
            +
              puts
         | 
| 100 100 | 
             
              puts str
         | 
| 101 101 |  | 
| 102 102 | 
             
              # Set @length - non encoded string for use in footer
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: extra_print
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.1. | 
| 4 | 
            +
              version: 1.1.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Hunter Chapman
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2017-09- | 
| 11 | 
            +
            date: 2017-09-20 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: awesome_print
         |