inline_svg 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of inline_svg might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9a81169096b9823dbcfa1c77af928523339ae95
4
- data.tar.gz: 6d04934494ecd9a788a6eeef697abf4571d5accb
3
+ metadata.gz: f01fd31a0bdd3ab4c9e7ea1f60019c63f1bab406
4
+ data.tar.gz: 8e2166fe6324a179fa700c8754df55e94432f511
5
5
  SHA512:
6
- metadata.gz: a94a7a7478d42bb94162461b548741aa5ca04ffa962b1a32aafa60432670226e9b79065493fe932cc18b0f5182d3b66899b919a683d00177308705740dd2e2d3
7
- data.tar.gz: 46920e1ee1bacc5f3225a61c3391c3457c278888346507fbee50f4e4ce9e4bf800bec1e76f7c1a060aa331220e4afde349de289c1a454756f34813927e611a64
6
+ metadata.gz: 14fc0204ff18a3d6c7dd99d3e56d7c1f7f533ed249a4e62a8bc7bbfdcfc5bcd23854de446e200a60c0cc71c208f81a318e8191fed5de7ad679ef735fe9663f0a
7
+ data.tar.gz: 5d2ead12b0f658e540285c62a88b4e062f1c646385bf4488e6a22813a52b39e795a61ab0aeb9524db89a7e8672ab1e4796259433c9572f9fc881387761fad412
@@ -5,7 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
  ## [Unreleased][unreleased]
6
6
  - Nothing
7
7
 
8
- ## [1.2.4] - 2017-10-30
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.2.4...HEAD
188
- [1.2.4]: https://github.com/jamesmartin/inline_svg/compare/v1.2.3...v1.2.4
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:, filters: [])
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)) }
@@ -1,3 +1,3 @@
1
1
  module InlineSvg
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
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.0
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-10-30 00:00:00.000000000 Z
11
+ date: 2017-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler