distorted 0.4.2 → 0.5.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. metadata +26 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2f2628c8c43f7f83145522247413eaa384cd8ef62aba6b274c497caf0fe884f
4
- data.tar.gz: 31f2e63e3cbe2d00447f8fde467a5fc7273f6f2eed4493535e50ab6d0b901f0e
3
+ metadata.gz: ff19bceaec049f4111e86254ee4fda44d196607300b21e2151182b0be97a0a3f
4
+ data.tar.gz: fe6cd4f539b9a93b586c2d450cc1197fc275520699bc3838348ea0fe545933f1
5
5
  SHA512:
6
- metadata.gz: 6c31fad1c4d26714c3d2ea5db9b8c2f5bcf4765400fc2c685ea0453030aae0d65dcd5df9683986510a0b3313750c5c4907a70e552d68db1d738484dbbf9e9ec4
7
- data.tar.gz: ea0f5e0421008a2008a8948c654c9d6194c80e5197ab9763dd889c646d19f0d13734255102e2377cbfc974e1ae4e9c7aa4c8fa60512a68d1305a6f57f8336d14
6
+ metadata.gz: 1c14fb62292507e14c1e9b629ebb4735c95578e53c299ccc97375bfd629ae7e2eb1df11bf122dba26a844c45a42d1abd58172af6ddc46a82fcc18d3ab6852cc4
7
+ data.tar.gz: f710e5510e7c1d4461f1258fbe616c6e570c9f3cb3ecf990a9138e219df8448d63a999c5a601718f4970b93fa2b6c1667a2088be297297ee14dede70c98855fb
data/README.md CHANGED
@@ -27,7 +27,7 @@ I wanted a solution that fit all of my preferences:
27
27
  - I try to [avoid shelling out](https://julialang.org/blog/2012/03/shelling-out-sucks/) if possible, mostly for the sake of efficiency with very large Jekyll sites so we aren't forking and spawning an entire shell just to call `convert` or `ffmpeg` for every single image in every single page. That means avoiding some popular libraries like [mini_magick](https://github.com/minimagick/minimagick/blob/master/lib/mini_magick/shell.rb) and [streamio-ffmpeg](https://github.com/streamio/streamio-ffmpeg/blob/master/lib/streamio-ffmpeg.rb).
28
28
  - I want to support many media types (images, videos, PDF, SVG, etc) with the same syntax and workflow on the source side, and with consistent look-and-feel on the output side.
29
29
  - I want my media files to be able to live in the same directory as their corresponding post/page Markdown. This is something I think Hugo gets right with its concept of [Page Bundles](https://gohugo.io/content-management/page-bundles/). You can get similar functionality with [jekyll-postfiles](https://nhoizey.github.io/jekyll-postfiles/), but it won't generate thumbnails or `<img>`/`<picture>` tags for you. Most Jekyll asset plugins want me to have a single images folder for my entire site.
30
- - I don't want to depend on any APIs, so plugins like [jekyll-cloudinary](https://nhoizey.github.io/jekyll-cloudinary/) and [S3_Video](https://gist.github.com/TimShi/a48fa83abbc8a0242557) are out.
30
+ - I don't want to depend on any APIs, so plugins like [jekyll-cloudinary](https://nhoizey.github.io/jekyll-cloudinary/), [S3_Video](https://gist.github.com/TimShi/a48fa83abbc8a0242557), and [jekyll-imgix](https://docs.imgix.com/libraries/jekyll-imgix) are out.
31
31
  - I want automatic format conversion to maximize compatibility and efficiency, e.g. JPEGs and PNGs should also generate a WebP, native WebPs should generate JPEG or PNG for older browsers, single-frame GIFs should generate a PNG/WebP, animated GIFs should generate an MPEG-4 (or other format) video, all videos should generate HLS and DASH segments/playlists, etc.
32
32
  - I want to good defaults handling of things like EXIF tag sanitization, auto-rotation, smart cropping, and chosen formats. Any of these options should be configurable per-instance with a Maruku/Kramdown-style [attribute list](https://golem.ph.utexas.edu/~distler/maruku/proposal.html).
33
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: distorted
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allison Reid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,47 +53,61 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: ruby-vips
56
+ name: gstreamer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.0'
61
+ version: '3.4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.0'
68
+ version: '3.4'
69
69
  - !ruby/object:Gem::Dependency
70
- name: gstreamer
70
+ name: mime-types
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.4'
75
+ version: '3.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.4'
82
+ version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: mime-types
84
+ name: ruby-vips
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.0'
89
+ version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.0'
96
+ version: '2.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: svg_optimizer
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.2.5
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.2.5
97
111
  description: Ruby implementation of core file-format operations used by DistorteD-Jekyll.
98
112
  email:
99
113
  - root@cooltrainer.org
@@ -121,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
135
  - !ruby/object:Gem::Version
122
136
  version: '0'
123
137
  requirements: []
124
- rubygems_version: 3.1.2
138
+ rubygems_version: 3.1.4
125
139
  signing_key:
126
140
  specification_version: 4
127
141
  summary: Media transformation framework core functionality.