lighthouse-ruby 0.2.1 → 0.2.2

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: 5ac8778763d260e57a58b2468562b1aa3e86d0538756b96b4144773b4566e7fc
4
- data.tar.gz: 5fa07b457f6585ddf2322799a8ab3ef92a9273e9acd0c788d57a9df203c71bc3
3
+ metadata.gz: be323740074a9617846503eb3a2fe605a1c9a090283ac6961a623d359d4bc432
4
+ data.tar.gz: '069238b59e16f956bd89effd4a57eb19e6cbd404d9c8fb8572ac3d2e8cb328b5'
5
5
  SHA512:
6
- metadata.gz: 69e2487e4c51ee1ffed921220dd9d4de7ceb645c3f988674aa9594804423fa00740252bc05bfab6bc0e3dc25a00b6b7c61215a0c96547eaca02034c916de6a67
7
- data.tar.gz: b919dcb91cc55bf9fb680bd4f388ef8f55b37bcab421464f3a9fabbb452df6af5a3ee3ed9672a1c6ba4d9adba1287f695854531f59cfc2f29df33aaa0c4be0dd
6
+ metadata.gz: 26fe6c28bc515f41a7fdd857370f16a230c415c601c143d77db423a93135ca9943324f76ef1339c2a068c002114c58c611fb351184709da3a461a7aa5030e1f1
7
+ data.tar.gz: be6dc116b86e818686b8c05b1c42375eeed877c4add716ce148cc89a1f117bc64dc4a3c0eec02ec93824d881347035a78f6212572c999c3edf9db862693159f7
@@ -14,7 +14,7 @@ module Lighthouse
14
14
  end
15
15
 
16
16
  def runner
17
- @runner ||= proc { |cmd| `#{cmd}` }
17
+ @runner ||= proc { |cmd| `npx #{cmd}` }
18
18
  end
19
19
 
20
20
  def lighthouse_options
@@ -34,7 +34,7 @@ module Lighthouse
34
34
  private
35
35
 
36
36
  def get_lighthouse_cli
37
- system("npm install -g lighthouse") unless File.exist?(lighthouse_bin_locator)
37
+ system("npm install lighthouse") unless File.exist?(lighthouse_bin_locator)
38
38
  print("Lighthouse Version:")
39
39
  system("lighthouse --version")
40
40
  lighthouse_bin_locator
@@ -1,5 +1,5 @@
1
1
  module Lighthouse
2
2
  module Ruby
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lighthouse-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Budi Sugianto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-26 00:00:00.000000000 Z
11
+ date: 2023-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler