jscop 0.1.7 → 0.1.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abb0cad990ebb8f7f6463cc90de10b29216c018b946b58bf1f1892552f05b6f6
4
- data.tar.gz: 7ed4516878c43730b8cf84c111b06a6c7dfb23117d67bc7ae1788083ecbc3324
3
+ metadata.gz: 4b64419ab3765a43ca858c74dc7e95b2518520c68c3c57d8a24b85e147b2963e
4
+ data.tar.gz: dc8bb2e1329895ac6a7dbfce27027c5cc6011627dd2d684ef2df9d29943e68bb
5
5
  SHA512:
6
- metadata.gz: bb84608dfa279d4090baaa5eea9edf033ae025c0f2598f4348baba29ee4bc3af4070125723741ad792ef3b2d8d54528fd47fa9816ac200844e1bad048a302a22
7
- data.tar.gz: 8d2a698f9ddd968e40e5bc939252baf5526f29b717029bd7723729af48fcb4e473a98bfa71dbf2876190d53cb2025c5ffa0c386a8b1a5ce48faf7b18a983d8b2
6
+ metadata.gz: 345026f8b2c53c1debc6e0ad81230f40fac8a04b098c9383281014724b8212437542ec1d3dbf859898974071c77e3e0f8a9421037ee1356f02723ba55cd1940f
7
+ data.tar.gz: 5cb920394d53327036d0d378efba2fe4bd5b6d5d12f83ed652df76a6acb11dec4e3df8460efebcb9823f0262d197810e26edb646d7edbe5d7b2908632a5fb5e3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jscop (0.1.6)
4
+ jscop (0.1.7)
5
5
  colorize (~> 0.8)
6
6
  tty-font (~> 0.5)
7
7
 
@@ -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
- @lines << line if !line.filename.match?(/(node_modules)/)
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)
@@ -1,3 +1,3 @@
1
1
  module Jscop
2
- VERSION = '0.1.7'.freeze
2
+ VERSION = '0.1.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jscop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezaka Alfred