distorted 0.4.1 → 0.5.3

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 +3 -3
  3. metadata +38 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1181821dd315d48e4ce82143c730732ac31f4bb4b378158573decd3f1084387
4
- data.tar.gz: b46049e34f5b54e16fa2b51f49eb86b197efe21eb62850cd298a33dada9146bc
3
+ metadata.gz: 2b5d9d94bc9c6ab2bbe826c6f7fe72d9e8b1268e9ecc33a554117a156609e3cc
4
+ data.tar.gz: 2d217e3ff659e59ca871b2c4345dee657686c1df67fabe2bef3da623fbcdaedb
5
5
  SHA512:
6
- metadata.gz: 6b9cf9d534cc0792ba890bac2fe59f3bf8dc6f22244639fb8fe88cca6ae2e5f08af7937536a34001a849f840c5122bf1d8b99b473a3fa55e16aa24230d64ec82
7
- data.tar.gz: af4e3630631416c55289b52553b0ea71859d5f8e020b4071d6d076344cae7090849435ad167538dc47baa62ff1a6ff178da4f91874f6f5337e722bbe551ae40c
6
+ metadata.gz: db22ab13b1c6e69bcd558608039ba0bfbb24b7c37b93b2c3884dc9cf80712dba8dcf7c78a86270266dddad4f24e9a60b99a7cd00eddc3264042459feaed7b79f
7
+ data.tar.gz: f862dce764f5baac4b2f83b42ab699af24638f4da3a26b25fc7352abeb7de35198091262135a3b7275f6c52b8bdf131893f1fd2f6218cd304e61ba3b6c3a8e07
data/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  `DistorteD` is a multimedia framework for Jekyll websites.
4
4
 
5
5
  Right now this repo contains two Gems:
6
- - `DistorteD-Jekyll` contains anything and everything that depends on Jekyll.
7
- - `DistorteD-Ruby` contains just the abstract media file format handling code. It's separate so I can use those functions in other contexts and/or easily replace the Ruby core if necessary.
6
+ - [`DistorteD-Jekyll`](https://rubygems.org/gems/distorted-jekyll) contains anything and everything that depends on Jekyll.
7
+ - [`DistorteD-Ruby`](https://rubygems.org/gems/distorted) contains just the abstract media file format handling code. It's separate so I can use those functions in other contexts and/or easily replace the Ruby core if necessary.
8
8
 
9
9
  ## Motivation
10
10
 
@@ -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.1
4
+ version: 0.5.3
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-21 00:00:00.000000000 Z
11
+ date: 2020-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,34 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: gstreamer
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.4'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: mime-types
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: ruby-vips
57
85
  requirement: !ruby/object:Gem::Requirement
@@ -67,33 +95,33 @@ dependencies:
67
95
  - !ruby/object:Gem::Version
68
96
  version: '2.0'
69
97
  - !ruby/object:Gem::Dependency
70
- name: gstreamer
98
+ name: svg_optimizer
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '3.4'
103
+ version: 0.2.5
76
104
  type: :runtime
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: '3.4'
110
+ version: 0.2.5
83
111
  - !ruby/object:Gem::Dependency
84
- name: mime-types
112
+ name: hexapdf
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
115
  - - "~>"
88
116
  - !ruby/object:Gem::Version
89
- version: '3.0'
117
+ version: 0.11.9
90
118
  type: :runtime
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
94
122
  - - "~>"
95
123
  - !ruby/object:Gem::Version
96
- version: '3.0'
124
+ version: 0.11.9
97
125
  description: Ruby implementation of core file-format operations used by DistorteD-Jekyll.
98
126
  email:
99
127
  - root@cooltrainer.org
@@ -114,14 +142,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
142
  requirements:
115
143
  - - ">="
116
144
  - !ruby/object:Gem::Version
117
- version: '0'
145
+ version: 2.7.0
118
146
  required_rubygems_version: !ruby/object:Gem::Requirement
119
147
  requirements:
120
148
  - - ">="
121
149
  - !ruby/object:Gem::Version
122
150
  version: '0'
123
151
  requirements: []
124
- rubygems_version: 3.1.2
152
+ rubygems_version: 3.1.4
125
153
  signing_key:
126
154
  specification_version: 4
127
155
  summary: Media transformation framework core functionality.