inertia 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/History.md +6 -0
- data/exe/in +1 -0
- data/lib/inertia/mass.rb +7 -2
- data/lib/inertia/version.rb +1 -1
- data/lib/inertia.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14c39cc6d0dfcd0237cfc922d2b5c6f1e5f680744265212014c2ead471963f3f
|
4
|
+
data.tar.gz: 4c1c709b90ea2fd87279ab783fb563b2801cd7f47fe3f88a4a9322ea76cc907d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad2334f079c89a4dcc262084bd214689d07ef06c93b8daf834da72519d9249ab6abc11ab91228afef3d11d79363032be9a9b4e5c0e50184f2bc598e9320d52b
|
7
|
+
data.tar.gz: 79bf49d55ad5fa5f1b742becad36e2ee1b4a8fd9855c977efe297b2d8e111d5e93947746d700980c4ed1ac019c26a359048f75b968c430fd5a4dd524d0f84254
|
data/Gemfile.lock
CHANGED
data/History.md
CHANGED
data/exe/in
CHANGED
data/lib/inertia/mass.rb
CHANGED
@@ -12,7 +12,11 @@ module Inertia
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def scss?
|
15
|
-
@scss ||= File.extname(path) == 'scss'
|
15
|
+
@scss ||= File.extname(path) == '.scss'
|
16
|
+
end
|
17
|
+
|
18
|
+
def js?
|
19
|
+
@js ||= File.extname(path) == '.js'
|
16
20
|
end
|
17
21
|
|
18
22
|
def lines
|
@@ -35,7 +39,8 @@ module Inertia
|
|
35
39
|
|
36
40
|
def ignored?
|
37
41
|
!text? ||
|
38
|
-
scss? && Inertia.config.ignore_scss
|
42
|
+
scss? && Inertia.config.ignore_scss ||
|
43
|
+
js? && Inertia.config.ignore_js
|
39
44
|
end
|
40
45
|
end
|
41
46
|
end
|
data/lib/inertia/version.rb
CHANGED
data/lib/inertia.rb
CHANGED