cloudimage 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +2 -0
- data/lib/cloudimage/uri.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4367d92586decc3e9c65338418bad7a9b6b741501de236f72d421a44713ec9e1
|
4
|
+
data.tar.gz: e5003ebd0e1b125007b395dfbe2c04256f52cec0d452428fa82fb154ed75eb56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d614cd97790eec3443da301aae5b12fa733018e08934b5a5bc41604179537a36573bb44997bcbd9ef6677e678874fc81a4a73a6e55e87727233a84af1f9892d
|
7
|
+
data.tar.gz: 9adeccc55a9d1a3b3368a84657ac9954243e1eefa1fc5e0fb253385bb57d08cc0e1d75f68805cdfde7352a0bcdcefea533a8606b11960402dbe7f55127543f26
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.6.0](https://github.com/scaleflex/cloudimage-rb/tree/v0.6.0) (2020-08-16)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/scaleflex/cloudimage-rb/compare/v0.5.0...v0.6.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Add srcset generation [\#27](https://github.com/scaleflex/cloudimage-rb/pull/27) ([janklimo](https://github.com/janklimo))
|
10
|
+
- Add default alias [\#26](https://github.com/scaleflex/cloudimage-rb/pull/26) ([janklimo](https://github.com/janklimo))
|
11
|
+
- Configurable API version URL component [\#25](https://github.com/scaleflex/cloudimage-rb/pull/25) ([janklimo](https://github.com/janklimo))
|
12
|
+
|
3
13
|
## [v0.5.0](https://github.com/scaleflex/cloudimage-rb/tree/v0.5.0) (2020-08-02)
|
4
14
|
|
5
15
|
[Full Changelog](https://github.com/scaleflex/cloudimage-rb/compare/v0.4.0...v0.5.0)
|
data/README.md
CHANGED
@@ -293,6 +293,7 @@ are expected to adhere to the [code of conduct][code-of-conduct].
|
|
293
293
|
Among others, `cloudimage` is used to power the following apps:
|
294
294
|
|
295
295
|
- [Robin PRO][robin-pro] - Fast, beautiful, mobile-friendly image galleries for Shopify stores.
|
296
|
+
- [Spotlightify][spotlightify] - Turning the spotlight on the best Shopify stores.
|
296
297
|
|
297
298
|
Using this gem in your app? Let us know in [this issue](https://github.com/scaleflex/cloudimage-rb/issues/8)
|
298
299
|
so that we can feature it.
|
@@ -303,4 +304,5 @@ so that we can feature it.
|
|
303
304
|
[invalidation-docs]: https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/caching-acceleration/invalidation-api
|
304
305
|
[responsive-images]: https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/responsive-images
|
305
306
|
[robin-pro]: https://apps.shopify.com/robin-pro-image-gallery
|
307
|
+
[spotlightify]: https://www.spotlightify.com/
|
306
308
|
[url-prefix]: https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/domains-urls/origin-url-prefix
|
data/lib/cloudimage/uri.rb
CHANGED
@@ -63,10 +63,13 @@ module Cloudimage
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def apply_aliases(path)
|
66
|
-
|
66
|
+
# path and aliases can be frozen
|
67
|
+
aliases = config[:aliases].dup
|
68
|
+
|
69
|
+
aliases[default_alias] = ''
|
67
70
|
|
68
71
|
path.dup.tap do |input|
|
69
|
-
|
72
|
+
aliases.each do |source, target|
|
70
73
|
input.sub!(source, target)
|
71
74
|
end
|
72
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudimage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Klimo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|