morandi 0.101.0 → 0.102.0

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: 82a7c6e28aeb2aae50257fa51f5eef82c7ceba3ee28604f53d875803363e582b
4
- data.tar.gz: d7d80b7c3ba2f279b3650e9fdc105e41cd62632098e35ae66cb615c91ec8daad
3
+ metadata.gz: c3e931b14e93f648cfbd847e686181be4d0f40add004ff52c31b126063fc46c6
4
+ data.tar.gz: 53f1e57062bcf23d20649ee8c2abb59d8050e21be64f125e54c77f40e0f35e7f
5
5
  SHA512:
6
- metadata.gz: 4ffda2485c2c6253064444eac78de3aacaab5aa46ed40998af6f37b578d98ef1883418cad26fac045fdbc251769fd60822c977bbdde6d3f536f0e1bcbd906f01
7
- data.tar.gz: 8b785f03ee1ae2ebcfc4eb3b2b5e79c291b8596ab176208f18f7438cd57e400471847ff22949abdf35276f2b4acfb01d5771780f9d44b471d1fc4935033d457b
6
+ metadata.gz: 3271063861dccf057107b0abbfe915318d9f09ddf887f70a24082979a459d33203b0b8ed80e770552e41d1f46e94f7255d437ffac404aa48ecabc886448e7838
7
+ data.tar.gz: abe64371cc9809ebab22d421a8c92d82fb5d29c2733b872388885409b578daeeaa1efc5ef58e91d18bcb26a605feb828ab32c170a0d88aad0c81269baff677d2
data/CHANGELOG.md CHANGED
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [0.101.0] 14.01.2026
7
+ ## [0.102.0] 07.09.2026
8
+ ### Fixed
9
+ - Unnecessary `.so` files are no longer shipped with the gem
10
+ - Rubocop on CI
11
+
12
+ ### Removed
13
+ - Obsolete dependency on colorscore
14
+
15
+ ## [0.101.0] 28.01.2026
8
16
  ### Added
9
17
  - [BREAKING] introduced automated cleanup of srgb files after processing
10
18
 
data/README.md CHANGED
@@ -4,7 +4,7 @@ Library of simple image manipulations - replicating the behaviour of morandi-js.
4
4
 
5
5
  ## Installation
6
6
 
7
- Install `liblcms2-utils` to provide the `jpgicc` command used by `Morandi::ProfiledPixbuf`. Also ensure that your host system has `imagemagick` installed, which is required by the `colorscore` gem.
7
+ Install `liblcms2-utils` to provide the `jpgicc` command used by `Morandi::ProfiledPixbuf`.
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
@@ -36,4 +36,34 @@ For the detailed documentation of options see `lib/morandi.rb`
36
36
 
37
37
  ### Development
38
38
 
39
- Since this gem depends on the `liblcms2-utils` library, which can be awkward to install on some operating systems, we also provide a development docker image. A Makefile is also provided as a simple CLI. To build the image and run the container, type `make` from the project root. The container itself runs `guard` as its main process. Running the container via `make` will drop you into the guard prompt, which will run the test suite whenever any of the source code or tests are changed. The tests can be kicked-off manually via the `all` command at the guard prompt. Individual test can be run using the `focus: true` annotation on an example or describe block. If you need to access a bash shell in the container (for example, to run rubocop), use the command `make shell`.
39
+ Development happens inside a docker image, with a Makefile provided as a simple CLI.
40
+
41
+ #### Build the image and run the container
42
+
43
+ ```bash
44
+ make
45
+ ```
46
+
47
+ Above launches `guard`, which automatically runs tests when any file changes.
48
+
49
+ #### Run the full test suite manually from the guard prompt
50
+ ```bash
51
+ all
52
+ ```
53
+
54
+ #### Run an individual test
55
+
56
+ Add the `focus: true` annotation to an example or describe block.
57
+
58
+ #### Open a bash shell in the container
59
+
60
+ Useful, for example, to run rubocop:
61
+
62
+ ```bash
63
+ make shell
64
+ ```
65
+
66
+ > [!NOTE]
67
+ > The image builds and the gem works on ARM platform, but a few specs fail with tiny rendering output mismatches.
68
+ >
69
+ > CI uses AMD64 and is a source of truth for the specs
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'colorscore'
4
3
  require 'morandi/image_operation'
5
4
 
6
5
  module Morandi
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Morandi
4
- VERSION = '0.101.0'
4
+ VERSION = '0.102.0'
5
5
  end
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morandi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.101.0
4
+ version: 0.102.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - |+
8
8
  Geoff Youngs
9
9
 
10
10
 
11
- autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2026-01-28 00:00:00.000000000 Z
13
+ date: 1980-01-02 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: atk
@@ -41,20 +40,6 @@ dependencies:
41
40
  - - "~>"
42
41
  - !ruby/object:Gem::Version
43
42
  version: '1.0'
44
- - !ruby/object:Gem::Dependency
45
- name: colorscore
46
- requirement: !ruby/object:Gem::Requirement
47
- requirements:
48
- - - "~>"
49
- - !ruby/object:Gem::Version
50
- version: '0.0'
51
- type: :runtime
52
- prerelease: false
53
- version_requirements: !ruby/object:Gem::Requirement
54
- requirements:
55
- - - "~>"
56
- - !ruby/object:Gem::Version
57
- version: '0.0'
58
43
  - !ruby/object:Gem::Dependency
59
44
  name: gdk_pixbuf2
60
45
  requirement: !ruby/object:Gem::Requirement
@@ -116,8 +101,8 @@ email:
116
101
  - git@intersect-uk.co.uk
117
102
  executables: []
118
103
  extensions:
119
- - ext/morandi_native/extconf.rb
120
104
  - ext/gdk_pixbuf_cairo/extconf.rb
105
+ - ext/morandi_native/extconf.rb
121
106
  extra_rdoc_files: []
122
107
  files:
123
108
  - CHANGELOG.md
@@ -132,7 +117,6 @@ files:
132
117
  - ext/morandi_native/morandi_native.c
133
118
  - ext/morandi_native/rotate.h
134
119
  - ext/morandi_native/tint.h
135
- - lib/gdk_pixbuf_cairo.so
136
120
  - lib/morandi.rb
137
121
  - lib/morandi/cairo_ext.rb
138
122
  - lib/morandi/crop_utils.rb
@@ -149,14 +133,12 @@ files:
149
133
  - lib/morandi/srgb_conversion.rb
150
134
  - lib/morandi/version.rb
151
135
  - lib/morandi/vips_image_processor.rb
152
- - lib/morandi_native.so
153
136
  homepage: https://github.com/livelink/morandi-rb
154
137
  licenses:
155
138
  - MIT
156
139
  metadata:
157
140
  source_code_uri: https://github.com/livelink/morandi-rb
158
141
  rubygems_mfa_required: 'true'
159
- post_install_message:
160
142
  rdoc_options: []
161
143
  require_paths:
162
144
  - lib
@@ -171,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
153
  - !ruby/object:Gem::Version
172
154
  version: '0'
173
155
  requirements: []
174
- rubygems_version: 3.5.3
175
- signing_key:
156
+ rubygems_version: 4.0.4
176
157
  specification_version: 4
177
158
  summary: Simple Image Edits
178
159
  test_files: []
Binary file
Binary file