jscop 0.1.7 → 0.1.8
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/lib/classes/js_parser.rb +4 -1
- data/lib/jscop/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: 4b64419ab3765a43ca858c74dc7e95b2518520c68c3c57d8a24b85e147b2963e
|
4
|
+
data.tar.gz: dc8bb2e1329895ac6a7dbfce27027c5cc6011627dd2d684ef2df9d29943e68bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 345026f8b2c53c1debc6e0ad81230f40fac8a04b098c9383281014724b8212437542ec1d3dbf859898974071c77e3e0f8a9421037ee1356f02723ba55cd1940f
|
7
|
+
data.tar.gz: 5cb920394d53327036d0d378efba2fe4bd5b6d5d12f83ed652df76a6acb11dec4e3df8460efebcb9823f0262d197810e26edb646d7edbe5d7b2908632a5fb5e3
|
data/Gemfile.lock
CHANGED
data/lib/classes/js_parser.rb
CHANGED
@@ -14,7 +14,10 @@ class JsParser
|
|
14
14
|
all_lines = file.readlines.map(&:chomp)
|
15
15
|
init_lines = lambda { |val, index|
|
16
16
|
line = Line.new(index + 1, val, @filename)
|
17
|
-
|
17
|
+
config_folders = line.filename.match?(/(node_modules|config|babel)/)
|
18
|
+
next if config_folders
|
19
|
+
|
20
|
+
@lines << line
|
18
21
|
}
|
19
22
|
|
20
23
|
all_lines.each_with_index(&init_lines)
|
data/lib/jscop/version.rb
CHANGED