yogi 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/yogi/version.rb +1 -1
- data/lib/yogi.rb +3 -3
- 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: 139776fb1d27cf3499e4927f15d507978455c1ad
|
4
|
+
data.tar.gz: 8d45fd7dda272d201fed80e6a7cae05f97016ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbf820160692f495a0103d009313cfff415240c85a9adb04a86571a6b953fcb9926b50f7933f070b5578502fee668e9e92f516f2d616c6b3328928b9146c8660
|
7
|
+
data.tar.gz: 983832427243eb0d38e84980ce847bc1ac1072f69ef5a15be92c3f23a8b7096b74f0da739e7b0f22131aafc3924a6fac224e34624c170a075a9304bf73cb44d8
|
data/README.md
CHANGED
@@ -22,7 +22,9 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
type "activate" to generate some errors in your rails project...happy debugging
|
26
|
+
to check yourself type "checkme"
|
27
|
+
sick of debugging type "fixme"
|
26
28
|
|
27
29
|
## Development
|
28
30
|
|
@@ -32,10 +34,9 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
34
|
|
33
35
|
## Contributing
|
34
36
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Yogibeer/yogi. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
38
|
|
37
39
|
|
38
40
|
## License
|
39
41
|
|
40
42
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
data/lib/yogi/version.rb
CHANGED
data/lib/yogi.rb
CHANGED
@@ -57,7 +57,7 @@ module Yogi
|
|
57
57
|
puts "px : #{$pre_counted_px}"
|
58
58
|
|
59
59
|
#counts total symbols to be effected
|
60
|
-
pre_total = pre_counted_comma + pre_counted_semicolon + pre_counted_l + pre_counted_3 + pre_counted_s + pre_counted_bracket + pre_counted_px
|
60
|
+
# pre_total = pre_counted_comma + pre_counted_semicolon + pre_counted_l + pre_counted_3 + pre_counted_s + pre_counted_bracket + pre_counted_px
|
61
61
|
# puts pre_total
|
62
62
|
|
63
63
|
# To merely print the contents of the file, use:
|
@@ -93,7 +93,7 @@ module Yogi
|
|
93
93
|
puts "} : #{post_counted_bracket}"
|
94
94
|
puts "px : #{post_counted_px}"
|
95
95
|
#counts total symbols to be effected
|
96
|
-
post_total = post_counted_comma + post_counted_semicolon + post_counted_l + post_counted_3 + post_counted_s + post_counted_bracket + post_counted_px
|
96
|
+
# post_total = post_counted_comma + post_counted_semicolon + post_counted_l + post_counted_3 + post_counted_s + post_counted_bracket + post_counted_px
|
97
97
|
# puts post_total
|
98
98
|
|
99
99
|
$pre_diff_comma = $pre_counted_comma - post_counted_comma
|
@@ -117,7 +117,7 @@ module Yogi
|
|
117
117
|
end
|
118
118
|
|
119
119
|
class CheckErrors
|
120
|
-
|
120
|
+
|
121
121
|
def count_em(text, substring)
|
122
122
|
text.scan(/(?=#{substring})/).count
|
123
123
|
end
|