yogi 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/yogi/version.rb +1 -1
- data/lib/yogi.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77f5a71528a12d37c68fe5392cf1e40fc24f1cea
|
|
4
|
+
data.tar.gz: 1a312351ea6273d1b901fad30fe5699b6de82c21
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d34b464b2249e80ccf1d6081077d1be069863000d62659b33f09d84198a97ca96a4dff6f3088d013f84642636d9bc1f314159332c606d8b8786287031b34fd0b
|
|
7
|
+
data.tar.gz: 12f2e3581986a7888609a9d27eab35b372421be188331efc074022ae51af96d9ed161604cb2750e1fb5fee716c8fdc6c8c5bad1f2eaa434908589c39aae38b99
|
data/lib/yogi/version.rb
CHANGED
data/lib/yogi.rb
CHANGED
|
@@ -7,7 +7,6 @@ $file_sample = $file_names.sample(5)
|
|
|
7
7
|
|
|
8
8
|
module Yogi
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
def count_em(text, substring)
|
|
12
11
|
text.scan(/(?=#{substring})/).count
|
|
13
12
|
end
|
|
@@ -188,7 +187,7 @@ module Yogi
|
|
|
188
187
|
px_fix = ((pre_diff_px - post_diff_px)/pre_diff_px)*100
|
|
189
188
|
end
|
|
190
189
|
puts " #{px_fix}% of comma errors fixed"
|
|
191
|
-
|
|
190
|
+
end
|
|
192
191
|
end
|
|
193
192
|
end
|
|
194
193
|
|