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 +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +32 -2
- data/lib/morandi/operation/image_border.rb +0 -1
- data/lib/morandi/version.rb +1 -1
- metadata +4 -23
- data/lib/gdk_pixbuf_cairo.so +0 -0
- data/lib/morandi_native.so +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3e931b14e93f648cfbd847e686181be4d0f40add004ff52c31b126063fc46c6
|
|
4
|
+
data.tar.gz: 53f1e57062bcf23d20649ee8c2abb59d8050e21be64f125e54c77f40e0f35e7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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`.
|
|
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
|
-
|
|
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
|
data/lib/morandi/version.rb
CHANGED
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.
|
|
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:
|
|
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:
|
|
175
|
-
signing_key:
|
|
156
|
+
rubygems_version: 4.0.4
|
|
176
157
|
specification_version: 4
|
|
177
158
|
summary: Simple Image Edits
|
|
178
159
|
test_files: []
|
data/lib/gdk_pixbuf_cairo.so
DELETED
|
Binary file
|
data/lib/morandi_native.so
DELETED
|
Binary file
|