lighthouse-ruby 0.1.5 → 0.1.6

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: d1ca3844c3413f05c11059a98490eddfd08a9c7e3adf59379cade79dc326f989
4
- data.tar.gz: 30d942de593720dd36694f3e82b2e179f318597893b5fe30f4dee895957b2ada
3
+ metadata.gz: 848f2062e40f16d82d53a9360f9be22d30451f41812cb82225e5d4b6fe6067a1
4
+ data.tar.gz: 5d640301953439b48e9519236451b1d47edfbd5d6f541642ba84abaf9430f373
5
5
  SHA512:
6
- metadata.gz: 6afebb5ecd2f6f4eb9fc681319bb1e597491e4e4b0e2fec5712415c19ade2bec348fe99281c9c6b2208d877f28f8776ab848e5a0467fd0e7c208653a14a4e0fa
7
- data.tar.gz: 70b9758b20661eb5a17880aa98f90259d854913392b47fa0a1ddb167bf11af127589978a88ae5b0fb7f2db9bfb715148c1486c2b1ac832ef7e2edbc55c0dd510
6
+ metadata.gz: 8ecf377743b4e9da2666d2d970874e23de527bf919eb91963b20197e52ae1b35ca39c5c4b93df96db5d5602cb283c80d675eb2a300f76fd6d06757202975ffb7
7
+ data.tar.gz: f57f6b77bafbfb3216c882bbddbd2c3fb3b148b0d4c9a401acd50c186473deb8812b12e7249d59f6ed794df6b0d3e7a137b2ee6da0422d878b33f6207290399a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lighthouse-ruby (0.1.4)
4
+ lighthouse-ruby (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -18,11 +18,14 @@ module Lighthouse
18
18
 
19
19
  def execute
20
20
  @response = @runner.call("#{@cli} #{options}")
21
- get_test_scores(parsed_response)
22
21
  end
23
22
 
24
23
  def parsed_response
25
- @parsed_response = JSON.parse(@response)
24
+ get_test_scores(raw_response)
25
+ end
26
+
27
+ def raw_response
28
+ JSON.parse(@response)
26
29
  end
27
30
 
28
31
  private
@@ -1,5 +1,5 @@
1
1
  module Lighthouse
2
2
  module Ruby
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
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.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Budi Sugianto
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -82,7 +82,7 @@ metadata:
82
82
  homepage_uri: https://github.com/UseFedora/lighthouse-ruby
83
83
  source_code_uri: https://github.com/UseFedora/lighthouse-ruby
84
84
  changelog_uri: https://github.com/UseFedora/lighthouse-ruby/blob/master/CHANGELOG.md
85
- post_install_message:
85
+ post_install_message:
86
86
  rdoc_options: []
87
87
  require_paths:
88
88
  - lib
@@ -97,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
- rubygems_version: 3.0.3
101
- signing_key:
100
+ rubygems_version: 3.0.8
101
+ signing_key:
102
102
  specification_version: 4
103
103
  summary: Ruby wrapper for lighthouse-cli command by execute and evaluate for Lighthouse-cli
104
104
  test JSON report ~ inspired from lighthouse-matchers gem by Ackama Group ~