inertia 0.1.8 → 0.1.9
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/lib/inertia/mass.rb +2 -2
- data/lib/inertia/resistance.rb +1 -1
- data/lib/inertia/version.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: 7cfbcab66286512607ccc8cbac8cf915d1d24cb0d090edf83158389271074a82
|
4
|
+
data.tar.gz: 8a870f09bd8438711c31bde3f2a56ec993e509661800318f48004d9b612f3cf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1faae7e7c745b54c608c1bb24918e3179c5a1dab96b1e1a811bd96d807794888d1420dbcaf1822710c69c0bfdee050d8f481a164d41f1d3d56d248c9946924f
|
7
|
+
data.tar.gz: 00db0f9f6367b55a7ac92010b887c8941653ecdb9ce4c5854a853b52ae6fdca303c9963d7dd5905fc3282e4d3b16774bc895fbff359cc1b80758804657813814
|
data/Gemfile.lock
CHANGED
data/History.md
CHANGED
data/lib/inertia/mass.rb
CHANGED
@@ -8,7 +8,7 @@ module Inertia
|
|
8
8
|
attr_reader :path
|
9
9
|
|
10
10
|
def text?
|
11
|
-
@text ||=
|
11
|
+
@text ||= File.open(path) { |file| file.read.ascii_only? }
|
12
12
|
end
|
13
13
|
|
14
14
|
def scss?
|
@@ -38,7 +38,7 @@ module Inertia
|
|
38
38
|
def lines
|
39
39
|
return 0 if ignored?
|
40
40
|
|
41
|
-
@lines ||=
|
41
|
+
@lines ||= File.open(path) { |file| file.each_line.count }
|
42
42
|
end
|
43
43
|
|
44
44
|
def percent_overall_lines
|
data/lib/inertia/resistance.rb
CHANGED
data/lib/inertia/version.rb
CHANGED