icomoon_toys 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25f33ae9a244f4a2aa6ed885d218f69cf5d70286690f968e27e37eb22e99de5f
4
- data.tar.gz: 7df7faba93849578e848850a9e3145db3ff686faf816ee701e88eb73ba35e811
3
+ metadata.gz: 2f90e4c557850cff8f863555c40b7561ccbf8d2e75f5d6a9465a95b0b0846f72
4
+ data.tar.gz: d30b56023be3786928ded4986092b773bd139bb735919dbef3eb8a9ac67dfb3b
5
5
  SHA512:
6
- metadata.gz: 342d8c90220e397a0262192332d3cf81b275fc41883bddd2f1a23a9d168bc5dd54b38ef1d87359f05f326c260cf87095eb4b613330379aacafe1dd4e50cafa58
7
- data.tar.gz: 3bc7a384c2063f4db1047e68008463121424b7d04d5a045de4f8156776a931983f1fec0fbdde7e2421b41d2d199aa788bf88504f50199eb53323783fac92f074
6
+ metadata.gz: 2fa6a450c022597c19947b5148d3a117928e278feb3200245b313ef7be843b83040e8047cbfdb44ab62cd564dbf0f27eaa200dfb90fe348390f9deb572196b41
7
+ data.tar.gz: 3e202289cd9aa1995fa4609d831a6306da102a96c21fe547ad8490a6a78e54ccce608ddf07374c79aab1c73b99d65631bc5fcead59fa933a4b892ec498f1aa26
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.4.0 (2022-09-21)
6
+
7
+ * Allow exclude files from extraction by nil path
8
+ For example, if you don't need for `svgxuse.min.js` to support IE11.
9
+
5
10
  ## 0.3.0 (2022-09-01)
6
11
 
7
12
  * Add Ruby 3.1 support.
data/README.md CHANGED
@@ -43,6 +43,8 @@ expand IcoMoonToys::Template,
43
43
  }
44
44
  ```
45
45
 
46
+ Use `nil` value to exclude file from extraction.
47
+
46
48
  ## Development
47
49
 
48
50
  After checking out the repo, run `bundle install` to install dependencies.
@@ -18,7 +18,7 @@ module IcoMoonToys
18
18
  }.freeze
19
19
 
20
20
  def initialize(extract_map: DEFAULT_EXTRACT_MAP)
21
- @extract_map = DEFAULT_EXTRACT_MAP.merge extract_map
21
+ @extract_map = DEFAULT_EXTRACT_MAP.merge(extract_map).compact
22
22
  end
23
23
 
24
24
  on_expand do |template|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IcoMoonToys
4
- VERSION = '0.3.0'
4
+ VERSION = '0.4.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icomoon_toys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-01 00:00:00.000000000 Z
11
+ date: 2022-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: alt_memery
@@ -212,8 +212,8 @@ licenses:
212
212
  - MIT
213
213
  metadata:
214
214
  bug_tracker_uri: https://github.com/AlexWayfer/icomoon_toys/issues
215
- changelog_uri: https://github.com/AlexWayfer/icomoon_toys/blob/v0.3.0/CHANGELOG.md
216
- documentation_uri: http://www.rubydoc.info/gems/icomoon_toys/0.3.0
215
+ changelog_uri: https://github.com/AlexWayfer/icomoon_toys/blob/v0.4.0/CHANGELOG.md
216
+ documentation_uri: http://www.rubydoc.info/gems/icomoon_toys/0.4.0
217
217
  homepage_uri: https://github.com/AlexWayfer/icomoon_toys
218
218
  rubygems_mfa_required: 'true'
219
219
  source_code_uri: https://github.com/AlexWayfer/icomoon_toys