easylittleprinter 0.1.1 → 0.1.2
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.
- data/README.rdoc +2 -1
- data/VERSION +1 -1
- data/bin/easylittleprinter +1 -3
- data/docs/lpconfig_sample.rb +2 -2
- data/easylittleprinter.gemspec +1 -1
- data/lib/easylittleprinter.rb +3 -3
- metadata +2 -2
    
        data/README.rdoc
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.1. | 
| 1 | 
            +
            0.1.2
         | 
    
        data/bin/easylittleprinter
    CHANGED
    
    
    
        data/docs/lpconfig_sample.rb
    CHANGED
    
    | @@ -13,10 +13,10 @@ def self.title | |
| 13 13 | 
             
            end
         | 
| 14 14 |  | 
| 15 15 | 
             
            def self.sampleImg
         | 
| 16 | 
            -
            ' | 
| 16 | 
            +
            'sample' #the filename of your sample image sans extension
         | 
| 17 17 | 
             
            end
         | 
| 18 18 |  | 
| 19 19 | 
             
            def self.iconImg
         | 
| 20 | 
            -
            ' | 
| 20 | 
            +
            'icon' #the filename of your icon image sans extension
         | 
| 21 21 | 
             
            end
         | 
| 22 22 | 
             
            end
         | 
    
        data/easylittleprinter.gemspec
    CHANGED
    
    
    
        data/lib/easylittleprinter.rb
    CHANGED
    
    | @@ -5,7 +5,7 @@ require '/etc/easylittleprinter/lpconfig.rb' | |
| 5 5 |  | 
| 6 6 | 
             
            module EasyLittlePrinter
         | 
| 7 7 | 
             
            def self.do
         | 
| 8 | 
            -
              exec('camping  | 
| 8 | 
            +
              exec('camping '+ Dir.getwd)
         | 
| 9 9 | 
             
            end
         | 
| 10 10 | 
             
            end
         | 
| 11 11 |  | 
| @@ -104,13 +104,13 @@ module LPImgApp::Views | |
| 104 104 | 
             
            #View for the sample
         | 
| 105 105 |  | 
| 106 106 | 
             
              def sample
         | 
| 107 | 
            -
                img :src => $imgHostURL + "/" + $sampleImg
         | 
| 107 | 
            +
                img :src => $imgHostURL + "/" + $sampleImg + $imgFileExtension
         | 
| 108 108 | 
             
              end
         | 
| 109 109 |  | 
| 110 110 | 
             
            #View for the icon
         | 
| 111 111 |  | 
| 112 112 | 
             
              def icon
         | 
| 113 | 
            -
                img :src => $imgHostURL + "/" + $iconImg
         | 
| 113 | 
            +
                img :src => $imgHostURL + "/" + $iconImg + ".png"
         | 
| 114 114 | 
             
              end
         | 
| 115 115 |  | 
| 116 116 | 
             
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: easylittleprinter
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.2
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -258,7 +258,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 258 258 | 
             
                  version: '0'
         | 
| 259 259 | 
             
                  segments:
         | 
| 260 260 | 
             
                  - 0
         | 
| 261 | 
            -
                  hash:  | 
| 261 | 
            +
                  hash: 3129682581575246854
         | 
| 262 262 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 263 263 | 
             
              none: false
         | 
| 264 264 | 
             
              requirements:
         |