import_js 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: afd842b67ccbd03afa181fb884ee6c3ea69659eb
4
- data.tar.gz: 6f3774f63dc50abff75652fa9abf85d684f98255
3
+ metadata.gz: f759acda060eff3f55d211716772f6aa040f8ae1
4
+ data.tar.gz: 0677ca9b877988c2f48e741e553877291b52eec3
5
5
  SHA512:
6
- metadata.gz: a101d8f423ebc51413d3aa0401d6496354c1e630246c15f4390f47ce017288240f990f58f26c0b1fd17a3fa60cd1a9d19bd3442bca41fd47f110ea6a1ee6646d
7
- data.tar.gz: fa2d8caa3eff84008bc7a34e24f9bceab096e1c8e412b3d2ccb44f9f9f63d47db0926997982ab2d66205f3e7c24b4f7853b03094402707141243932befb29a39
6
+ metadata.gz: e85b323677c84e01d2a6f50f89f65fded4cd3fdf8da3d7ca70ca746a6150477a5c8edd1d48ada71b5899473f23d91ea174b2a5ed7bfbfbc96922f0824035c698
7
+ data.tar.gz: c738f98d9172d78419907580449cf49d2024ddb2b215a794effed8f791ac6dc3a1e4ee2bea0f85246c954345a1361a0bbc01cc20043855ca816f971c320fd21e
@@ -56,8 +56,8 @@ module ImportJS
56
56
  def import_all
57
57
  @config.refresh
58
58
  undefined_variables = run_eslint_command.map do |line|
59
- /"([^"]+)" is not defined/.match(line) do |match_data|
60
- match_data[1]
59
+ /(["'])([^"']+)\1 is not defined/.match(line) do |match_data|
60
+ match_data[2]
61
61
  end
62
62
  end.compact.uniq
63
63
 
@@ -1,4 +1,4 @@
1
1
  # Defines the gem version.
2
2
  module ImportJS
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: import_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henric Trotzig