look_out 0.1.13 → 0.1.14

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: b4f13b7273583cc7bbc328e8dfb5de35384dbbaa4a1be6b01f57320922c335d5
4
- data.tar.gz: f73705ec45f94ccc73cb7c5b4a57bf87e891e229e5ab1b8bb2005db45a243073
3
+ metadata.gz: 40dfd4e29b6a41deafb14bf3bb545ba0532608933993045276b522693a1295ac
4
+ data.tar.gz: b84de83a1d30efffc24834d44751dea5c47388f857381d058321849bc4f42118
5
5
  SHA512:
6
- metadata.gz: 41db29ae8bf8be790f6be4d547fd3be8914fcfed50fe627f1d9f5160d59d12c55637e31c3b09b9947be23a4c5ecbb626fc344bcf8056db51ed0d84924041429b
7
- data.tar.gz: 2224aac38b37419c1475f35d54d9ae08cd833726ab70a53ca60c08ee274cb49038f33a83cb04a190dec30384152694f082441f07071b4b642aad27f63d3eb28d
6
+ metadata.gz: 5af9e4ee0241a5c923ab1414e5d3afb02da7175270109e408d99184d3965090d184d6e05385396c72eaf3213bf2b76ca75fca7bb2a011793baef9e549b5ba16a
7
+ data.tar.gz: 67bd5e1c901762d2d451dfb8ea1e6b06115176765eea7960f5919726f1c6fdfe46b107cbcb64e322308be13e4e4866df02b0898d73c9badfacf409b635db4f8b
data/.travis.yml CHANGED
@@ -1,13 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.4
4
3
  - 2.5
5
- - 2.3
6
-
7
- before_script:
8
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
9
- - chmod +x ./cc-test-reporter
10
- - ./cc-test-reporter before-build
11
-
12
- after_script:
13
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
4
+ - 2.6
data/History.md CHANGED
@@ -1,4 +1,10 @@
1
1
 
2
+ 0.1.14 / 2019-05-09
3
+ ==================
4
+
5
+ * Use local paths
6
+ * Remove support for ruby 2.3 and 2.4
7
+
2
8
  0.1.13 / 2019-05-03
3
9
  ==================
4
10
 
@@ -35,12 +35,16 @@ module LookOut
35
35
 
36
36
  if LookOut.config.red_cove_api_key && defined?(SimpleCov)
37
37
  SimpleCov.result.format!
38
+ data = {
39
+ 'coverage' => SimpleCov.result.to_hash['RSpec']['coverage'].
40
+ transform_keys { |key| key.sub(/^#{SimpleCov.root}/, '') }
41
+ }
38
42
  red_request = Typhoeus::Request.new(
39
43
  'https://red-cove.sea-aye.com/v1/sails',
40
44
  method: :post,
41
45
  body: {
42
46
  api_key: LookOut.config.red_cove_api_key,
43
- data: SimpleCov.result.to_hash['RSpec'].to_json,
47
+ data: data.to_json,
44
48
  sail: {
45
49
  uid: uid,
46
50
  sha: sha,
@@ -1,3 +1,3 @@
1
1
  module LookOut
2
- VERSION = '0.1.13'.freeze
2
+ VERSION = '0.1.14'.freeze
3
3
  end
data/lib/look_out.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'typhoeus'
2
- require 'utils/compact'
3
2
 
4
3
  require 'look_out/version'
5
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: look_out
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Hood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-04 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -192,7 +192,6 @@ files:
192
192
  - lib/look_out.rb
193
193
  - lib/look_out/rspec/look_out_formatter.rb
194
194
  - lib/look_out/version.rb
195
- - lib/utils/compact.rb
196
195
  - look_out.gemspec
197
196
  homepage: https://github.com/sea-aye/look-out
198
197
  licenses:
data/lib/utils/compact.rb DELETED
@@ -1,7 +0,0 @@
1
- class Hash
2
- unless Hash.instance_methods(false).include?(:compact)
3
- def compact
4
- select { |_, value| !value.nil? }
5
- end
6
- end
7
- end