fastlane-plugin-raven 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/raven/version.rb +1 -1
- data/lib/sentry/client.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f42d5534403bd99b0ee457213744115b81470a9
|
4
|
+
data.tar.gz: 6808b401add9e699202ed60aff33a427181d4213
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79aba3c2e5219f58642749dac03d8e65c413e2b74299f8f690cf66ece94effecb1e47221befd8e6cadc5a29e7dd09007f252c631682266aafdd7261ec3052b02
|
7
|
+
data.tar.gz: da70e5ec65314666ad967ae81ec9d47c1931db39a9561cd876554d3bcd8dc01d5e7fd37656125941a8c856a7dd851a4b2f9b27a217b17fc6070b9c1d48ba2f19
|
data/lib/sentry/client.rb
CHANGED
@@ -8,6 +8,7 @@ module Sentry
|
|
8
8
|
self.token = token
|
9
9
|
self.slug = slug
|
10
10
|
self.base_url = "https://sentry.io/api/0/projects/"
|
11
|
+
self.prefix = "/"
|
11
12
|
end
|
12
13
|
|
13
14
|
def create_release(version)
|
@@ -39,9 +40,8 @@ module Sentry
|
|
39
40
|
headers: { "Authorization" => "Bearer #{token}" },
|
40
41
|
body: {
|
41
42
|
file: File.open(artifact_path, "r"),
|
42
|
-
name: File.
|
43
|
+
name: "#{prefix}#{File.open(artifact_path}")
|
43
44
|
}
|
44
|
-
)
|
45
45
|
end
|
46
46
|
end
|
47
47
|
end
|