letitcrash 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/letitcrash/reporters/upload.rb +3 -3
- data/lib/letitcrash/version.rb +1 -1
- data/spec/reporters/upload_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfef0c17578eda715477e78176c528533db28768
|
4
|
+
data.tar.gz: d5369bdbf841a5b19c9cb815ba140c66fade3a96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4d9887ecb30c06aec1f6fcdcdcac2faec4de1cd2f9069837e03ab3a164262d3cf80e8ec0ca36ffcc95f5bdc957b43fa44b51cf30d37545449199ffa28b353a6
|
7
|
+
data.tar.gz: c145d2c202330ad4332425476b022a0f22e125b7432cc317a36a12faae41673e76ccd216b8fd5e5097b034b97dec79f046092d7d26b0706c4471c5424299ff8a
|
@@ -9,10 +9,10 @@ module LetItCrash
|
|
9
9
|
|
10
10
|
def self.from_env
|
11
11
|
endpoint = ENV.fetch(
|
12
|
-
'
|
13
|
-
'https://
|
12
|
+
'LETITCRASH_COVERAGE_ENDPOINT',
|
13
|
+
'https://notify.letitcrash.io/coverage/ruby',
|
14
14
|
)
|
15
|
-
new(endpoint: endpoint, token: ENV.fetch('
|
15
|
+
new(endpoint: endpoint, token: ENV.fetch('LETITCRASH_COVERAGE_TOKEN'))
|
16
16
|
end
|
17
17
|
|
18
18
|
def initialize(endpoint:, token:)
|
data/lib/letitcrash/version.rb
CHANGED
@@ -17,11 +17,11 @@ module LetItCrash
|
|
17
17
|
before do
|
18
18
|
expect(ENV)
|
19
19
|
.to receive(:fetch)
|
20
|
-
.with('
|
20
|
+
.with('LETITCRASH_COVERAGE_ENDPOINT', start_with('https://'))
|
21
21
|
.and_return(endpoint)
|
22
22
|
expect(ENV)
|
23
23
|
.to receive(:fetch)
|
24
|
-
.with('
|
24
|
+
.with('LETITCRASH_COVERAGE_TOKEN')
|
25
25
|
.and_return(token)
|
26
26
|
end
|
27
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: letitcrash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Wyszynski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|