rubocop-katalyst 1.1.0 → 1.1.2

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: 878afbb9d22a62f802f3e4379fd9a715be12dccaf4e0b3349142c67279c597a2
4
- data.tar.gz: 5f280bcdb95e544029a7bebb381d41988ac939beca5b74c12bf4f4383be7ec32
3
+ metadata.gz: a7d49191205cbfbb749c21872e5e118d81feb3faf140634f0c8454e6eeb6aecf
4
+ data.tar.gz: 8fb4d9bb18f67f623fd484f720340328fbe4afac9487c3bc967398aedb24c04c
5
5
  SHA512:
6
- metadata.gz: 420954d6e572772b3045b2c0ffdd4515e69cf3afb4e60956cc036cd1375cf4ba6c42ed03b70bd4c6f2ce4326b21bbe23dbc546e87472d44baad9bbe54b68310b
7
- data.tar.gz: 0102a86810a38372d0d28b2fcc22c377da73349ec18f2e7545bb3d86abab2ca10dd8d484ef635cfbbd597dc8f5d57a8efd4cf3b62b25faa722747c39776a5e84
6
+ metadata.gz: 473c9d481f7d766140fe6934d1be449866de32d7a619c32424fccfebc7e324f18957f94c27a453e848341d4e128c070118d3f6874a703449197f48a779010aca
7
+ data.tar.gz: 51adfe84c63cb21066ed28739d33bf0159344cd34a52d3be6e13b3a4360668e7fbd5f68f11b21f958b8440e82a49c0342b1447d6e5d59786eede338026ff9c5d
@@ -52,13 +52,13 @@ module RuboCop
52
52
  end
53
53
 
54
54
  def config
55
- config = Pathname.new(".erb-lint.yml")
55
+ config = ::Rails.application.root.join(".erb-lint.yml")
56
56
  config = default_config unless config.exist?
57
57
  config
58
58
  end
59
59
 
60
60
  def default_config
61
- Pathname.new(__dir__).join("../../.erb-lint.yml")
61
+ Pathname.new(__dir__).join("../../../.erb-lint.yml")
62
62
  end
63
63
  end
64
64
  end
@@ -71,9 +71,12 @@ module RuboCop
71
71
 
72
72
  def paths
73
73
  %w[
74
+ app/assets/config
74
75
  app/assets/javascripts
75
76
  app/assets/stylesheets
76
- ]
77
+ app/javascript
78
+ app/packs
79
+ ].select { |path| ::Rails.application.root.join(path).exist? }
77
80
  end
78
81
  end
79
82
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Katalyst
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-katalyst
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katalyst Interactive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-19 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop