lighthouse-ruby 0.2.2 → 0.2.3

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: be323740074a9617846503eb3a2fe605a1c9a090283ac6961a623d359d4bc432
4
- data.tar.gz: '069238b59e16f956bd89effd4a57eb19e6cbd404d9c8fb8572ac3d2e8cb328b5'
3
+ metadata.gz: 462f6ddbdc20c71c6892a31257fe43f6c3da666ada1733b9736c39c0120e7146
4
+ data.tar.gz: f38e71e24f1cd0a50ae1ce58cf2c85f9c235cd30b58e895f44aec5da678b67f3
5
5
  SHA512:
6
- metadata.gz: 26fe6c28bc515f41a7fdd857370f16a230c415c601c143d77db423a93135ca9943324f76ef1339c2a068c002114c58c611fb351184709da3a461a7aa5030e1f1
7
- data.tar.gz: be6dc116b86e818686b8c05b1c42375eeed877c4add716ce148cc89a1f117bc64dc4a3c0eec02ec93824d881347035a78f6212572c999c3edf9db862693159f7
6
+ metadata.gz: 00d10a6a984ebb4cc27237552528dea23690dc23c7e7390a1805f595841750e04835bb2875a1dbfc314d136c887b0af26b15670cd14959562cfcfcb597e46222
7
+ data.tar.gz: d5ce8855d4cf97d3cc15311ebe37ad2ae28990afd5cea435d344e52cc2ad4af632243868194a03a90a629d8a7f030b41c6485069331d427e1dd75afc46a4c0e7
@@ -34,14 +34,15 @@ module Lighthouse
34
34
  private
35
35
 
36
36
  def get_lighthouse_cli
37
- system("npm install lighthouse") unless File.exist?(lighthouse_bin_locator)
37
+ system("npm install lighthouse") if lighthouse_bin_locator.nil?
38
38
  print("Lighthouse Version:")
39
39
  system("lighthouse --version")
40
40
  lighthouse_bin_locator
41
41
  end
42
42
 
43
43
  def lighthouse_bin_locator
44
- `which lighthouse`.gsub!("\n", " ")
44
+ lighthouse_bin = `which lighthouse`
45
+ lighthouse_bin.gsub!("\n", " ")
45
46
  end
46
47
 
47
48
  end
@@ -1,5 +1,5 @@
1
1
  module Lighthouse
2
2
  module Ruby
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lighthouse-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Budi Sugianto