templatecop 0.2.2 → 0.3.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: 99ecfcfda78369ab1c3226c5787ead0e01e1fdc8c3b8931a47fcbb383ee60662
4
- data.tar.gz: 9f20af980d047ea49988a60e73feb02b2c551d33e65c59000c921139af38509f
3
+ metadata.gz: 1f45182757cc404cba39cb3bc1ab455fedfd4c0d66d2082279825015a6df89b3
4
+ data.tar.gz: 31d1044762cac8c8996f760b5c047c396538033a05a4c6ac8334f9afbaa73359
5
5
  SHA512:
6
- metadata.gz: 9a178853d6102610d90070b931c113fd554850bbd56777c2a524fe7614cffa3a495a730a1da4107a8ced92a58e3d2ca7cfb033f235004396d636ce0553ca9873
7
- data.tar.gz: 36c54a73a363d5d264d5c9de298ff77837e78d5c3167fe4ce630120332a5a5a8d15a61a3e0433af5a0831175580d4a8e377180a94bad9e43522d12a7b0d1f5c5
6
+ metadata.gz: 13cad1ba40ae63a8604e66b64567f172e8f63e2094eb4d7baf4e3d43c708bcbcdfba35af46f67349666b8578a1bfba31126b82550c98ef54475fb9fafb923cd1
7
+ data.tar.gz: 0ee17fa0e595a9abcf0355bf3992db7ee6b90e10883718fd25bdd1e2f4065069affb349b9b9727ce6b680a31f207e6bcdd05d87f74028280a70024b3d4d0af97
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.3.0 - 2022-03-14
6
+
7
+ ### Added
8
+
9
+ - Support Exclude and Include config.
10
+
5
11
  ## 0.2.2 - 2022-01-24
6
12
 
7
13
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- templatecop (0.2.2)
4
+ templatecop (0.3.0)
5
5
  parallel
6
6
  parser
7
7
  rubocop (>= 0.87)
data/README.md CHANGED
@@ -30,4 +30,5 @@ gem install templatecop
30
30
  See these examples:
31
31
 
32
32
  - <https://github.com/r7kamura/erbcop>
33
+ - <https://github.com/r7kamura/hamlcop>
33
34
  - <https://github.com/r7kamura/slimcop>
@@ -18,7 +18,9 @@ module Templatecop
18
18
  # @return [Array<String>]
19
19
  def call
20
20
  patterns.flat_map do |pattern|
21
- ::Pathname.glob(pattern).select(&:file?).map(&:to_s)
21
+ ::Pathname.glob(pattern).select(&:file?).map do |pathname|
22
+ pathname.expand_path.to_s
23
+ end
22
24
  end.uniq.sort
23
25
  end
24
26
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Templatecop
4
- VERSION = '0.2.2'
4
+ VERSION = '0.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: templatecop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-24 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel