inline_svg 1.3.0 → 1.3.1
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 -3
- data/lib/inline_svg/cached_asset_file.rb +1 -1
- data/lib/inline_svg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f01fd31a0bdd3ab4c9e7ea1f60019c63f1bab406
|
|
4
|
+
data.tar.gz: 8e2166fe6324a179fa700c8754df55e94432f511
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14fc0204ff18a3d6c7dd99d3e56d7c1f7f533ed249a4e62a8bc7bbfdcfc5bcd23854de446e200a60c0cc71c208f81a318e8191fed5de7ad679ef735fe9663f0a
|
|
7
|
+
data.tar.gz: 5d2ead12b0f658e540285c62a88b4e062f1c646385bf4488e6a22813a52b39e795a61ab0aeb9524db89a7e8672ab1e4796259433c9572f9fc881387761fad412
|
data/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
5
5
|
## [Unreleased][unreleased]
|
|
6
6
|
- Nothing
|
|
7
7
|
|
|
8
|
-
## [1.
|
|
8
|
+
## [1.3.1] - 2017-12-14
|
|
9
|
+
### Fixed
|
|
10
|
+
- Allow Ruby < 2.1 to work with `CachedAssetFile`
|
|
11
|
+
[#80](https://github.com/jamesmartin/inline_svg/pull/80)
|
|
12
|
+
|
|
13
|
+
## [1.3.0] - 2017-10-30
|
|
9
14
|
### Added
|
|
10
15
|
- Aria hidden attribute
|
|
11
16
|
[#78](https://github.com/jamesmartin/inline_svg/pull/78)
|
|
@@ -184,8 +189,9 @@ transformations](https://github.com/jamesmartin/inline_svg/blob/master/README.md
|
|
|
184
189
|
### Added
|
|
185
190
|
- Basic Railtie and view helper to inline SVG documents to Rails views.
|
|
186
191
|
|
|
187
|
-
[unreleased]: https://github.com/jamesmartin/inline_svg/compare/v1.
|
|
188
|
-
[1.
|
|
192
|
+
[unreleased]: https://github.com/jamesmartin/inline_svg/compare/v1.3.1...HEAD
|
|
193
|
+
[1.3.1]: https://github.com/jamesmartin/inline_svg/compare/v1.3.0...v1.3.1
|
|
194
|
+
[1.3.0]: https://github.com/jamesmartin/inline_svg/compare/v1.2.3...v1.3.0
|
|
189
195
|
[1.2.3]: https://github.com/jamesmartin/inline_svg/compare/v1.2.2...v1.2.3
|
|
190
196
|
[1.2.2]: https://github.com/jamesmartin/inline_svg/compare/v1.2.1...v1.2.2
|
|
191
197
|
[1.2.1]: https://github.com/jamesmartin/inline_svg/compare/v1.2.0...v1.2.1
|
|
@@ -14,7 +14,7 @@ module InlineSvg
|
|
|
14
14
|
# Note: Specifying no filters will cache every file found in
|
|
15
15
|
# paths.
|
|
16
16
|
#
|
|
17
|
-
def initialize(paths
|
|
17
|
+
def initialize(paths: [], filters: [])
|
|
18
18
|
@paths = Array(paths).compact.map { |p| Pathname.new(p) }
|
|
19
19
|
@filters = Array(filters).map { |f| Regexp.new(f) }
|
|
20
20
|
@assets = @paths.reduce({}) { |assets, p| assets.merge(read_assets(assets, p)) }
|
data/lib/inline_svg/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inline_svg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Martin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|