dragonfly_libvips 2.6.0 → 2.6.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/.github/workflows/test.yml +3 -7
- data/CHANGELOG.md +4 -0
- data/lib/dragonfly_libvips/processors/thumb.rb +2 -2
- data/lib/dragonfly_libvips/version.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: ac08b81580206004f1709059bb96da651d90e5e8868180034ed75456f41f63e9
         | 
| 4 | 
            +
              data.tar.gz: ff3c231366b1e0da6b958e5c5527fd3294d78e416efd233dda967cb31dcf413e
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 1713ef73b5bf75c09c8bb6dabfacc44e4dd182027a1e07739e909cc6342e5a23216ba17d071548f64c4c127a2b874ef90fff6d12ec75e1544d609c69319ce871
         | 
| 7 | 
            +
              data.tar.gz: d7fc776e24bf6c08c184d3db39673226e902b6618ef3f617558aab57fae57b4e6011c60227afae3e86dfc0d7279f847d1b2aef8abbc84ef15d69d2bc1924323c
         | 
    
        data/.github/workflows/test.yml
    CHANGED
    
    | @@ -9,18 +9,14 @@ jobs: | |
| 9 9 | 
             
                runs-on: ubuntu-latest
         | 
| 10 10 | 
             
                strategy:
         | 
| 11 11 | 
             
                  matrix:
         | 
| 12 | 
            -
                    ruby: ['2. | 
| 12 | 
            +
                    ruby: ['3.2', '3.3', '3.4']
         | 
| 13 13 | 
             
                steps:
         | 
| 14 | 
            -
                  - uses: actions/checkout@ | 
| 14 | 
            +
                  - uses: actions/checkout@v5
         | 
| 15 15 | 
             
                  - name: Install dependencies
         | 
| 16 16 | 
             
                    run: |
         | 
| 17 17 | 
             
                      sudo apt-get clean
         | 
| 18 18 | 
             
                      sudo apt-get update
         | 
| 19 | 
            -
                      sudo apt-get install -y gobject-introspection libgirepository1.0-dev libglib2.0-dev libpoppler-glib-dev libgif-dev
         | 
| 20 | 
            -
                      curl -OL https://github.com/libvips/libvips/releases/download/v8.13.3/vips-8.13.3.tar.gz
         | 
| 21 | 
            -
                      tar zxvf vips-8.13.3.tar.gz && cd vips-8.13.3 && ./configure $1 && sudo make && sudo make install
         | 
| 22 | 
            -
                      export GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0/
         | 
| 23 | 
            -
                      sudo ldconfig
         | 
| 19 | 
            +
                      sudo apt-get install -y gobject-introspection libgirepository1.0-dev libglib2.0-dev libpoppler-glib-dev libgif-dev libvips-tools
         | 
| 24 20 | 
             
                  - uses: ruby/setup-ruby@v1
         | 
| 25 21 | 
             
                    with:
         | 
| 26 22 | 
             
                      ruby-version: ${{ matrix.ruby }}
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -26,7 +26,7 @@ module DragonflyLibvips | |
| 26 26 | 
             
                    if content.mime_type == "application/pdf"
         | 
| 27 27 | 
             
                      input_options["dpi"] = input_options.fetch("dpi", DPI)
         | 
| 28 28 | 
             
                      input_options["page"] = input_options.fetch("page", 0)
         | 
| 29 | 
            -
                     | 
| 29 | 
            +
                    else
         | 
| 30 30 | 
             
                      input_options.delete("page")
         | 
| 31 31 | 
             
                      input_options.delete("dpi")
         | 
| 32 32 | 
             
                    end
         | 
| @@ -34,7 +34,7 @@ module DragonflyLibvips | |
| 34 34 | 
             
                    output_options = options.fetch("output_options", {})
         | 
| 35 35 | 
             
                    if FORMATS_WITHOUT_PROFILE_SUPPORT.include?(format)
         | 
| 36 36 | 
             
                      output_options.delete("profile")
         | 
| 37 | 
            -
                     | 
| 37 | 
            +
                    elsif DragonflyLibvips.auto_profile
         | 
| 38 38 | 
             
                      output_options["profile"] ||= input_options.fetch("profile", EPROFILE_PATH)
         | 
| 39 39 | 
             
                    end
         | 
| 40 40 | 
             
                    output_options.delete("Q") unless /jpg|jpeg/i.match?(format.to_s)
         |