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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 507faa296ab3057e5b71b9fd85b0c9314ba77b748c2e23983dfb5bfbb46203f2
4
- data.tar.gz: 47eec77cb209df469e4caf83a6102a4d0af6dc3452799bb441c305c8fe5f5faf
3
+ metadata.gz: ac08b81580206004f1709059bb96da651d90e5e8868180034ed75456f41f63e9
4
+ data.tar.gz: ff3c231366b1e0da6b958e5c5527fd3294d78e416efd233dda967cb31dcf413e
5
5
  SHA512:
6
- metadata.gz: d13cd15073052fcbd5f7de59f5a6462662c98a083c1e348ebb4747a72fece6266261c9bac8ed2af97f693f930a2f3861c9a07d403dad49ec2cf1fa407fa6288b
7
- data.tar.gz: ed631f529a74d9dbe21ae4810f24e9d237da89fa5495a400c81f7e2b2875f765be3370e10b541f459e5776fafac475f49614eb4d8edbf9712c4fddbb5cd76545
6
+ metadata.gz: 1713ef73b5bf75c09c8bb6dabfacc44e4dd182027a1e07739e909cc6342e5a23216ba17d071548f64c4c127a2b874ef90fff6d12ec75e1544d609c69319ce871
7
+ data.tar.gz: d7fc776e24bf6c08c184d3db39673226e902b6618ef3f617558aab57fae57b4e6011c60227afae3e86dfc0d7279f847d1b2aef8abbc84ef15d69d2bc1924323c
@@ -9,18 +9,14 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  strategy:
11
11
  matrix:
12
- ruby: ['2.7', '3.2']
12
+ ruby: ['3.2', '3.3', '3.4']
13
13
  steps:
14
- - uses: actions/checkout@v2
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
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.6.1
4
+
5
+ * Fix auto_profile implementation in thumb processor by @asgerb
6
+
3
7
  ## 2.6.0
4
8
 
5
9
  * Add auto_profile configuration option by @asgerb
@@ -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
- elsif DragonflyLibvips.auto_profile
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
- else
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DragonflyLibvips
4
- VERSION = "2.6.0"
4
+ VERSION = "2.6.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dragonfly_libvips
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna