fastlane-plugin-instabug_official 0.3.4 → 0.3.5

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: 1e6833ce081d8328e739e0965360dcf8e66f6a174a0a4b11f29a430cc273ad67
4
- data.tar.gz: ec818cf7859caa254b1d6b79a0466ca428656247a2421e33c6aa03aa6cbb3a1d
3
+ metadata.gz: d8820c0121f0b710f4c3f3f405578762ef702b7296e2c4fa39d645545d52adc9
4
+ data.tar.gz: 13315139ee0da18e5dbee5d508590c59f9c2f4df6663146d4f6a574e958bf789
5
5
  SHA512:
6
- metadata.gz: 0f614749d6fb9b18483785d64de9a1475f8353fe4afa692a31f3ff9bf9a2b181779b3772e30cd361b2398ae4ebea95d73d8a472c85050a6abae597327e348784
7
- data.tar.gz: ceaa17739f8beec804fc46c1959668b53ded09f670f7e7518fc517ea36bfdba5e4f8960f228832a5c95ceda1b1253c3bb3051a425eb1b7a8ffa140e4139f83a0
6
+ metadata.gz: 7bd1ef1dd3e205dc29e4a4cfe1a75689389bb7031ef86ce5c74b5cdb2707597fee4553e62c0989241f68f8a521b5f0258516fe64c1f825363bb358450d755705
7
+ data.tar.gz: 7197092e248248aa3b5192363597dd8038db7c116d429037d0e4243838989e993b7f19f80d109152573994bc990a400532a2837c8bd93ab48fc2cff80a552624
data/README.md CHANGED
@@ -28,6 +28,16 @@ instabug_official(api_token: "<Instabug token>")
28
28
  instabug_official(api_token: "<Instabug token>", dsym_array_paths: ["./App1.dSYM.zip", "./App2.dSYM.zip"])
29
29
  ```
30
30
 
31
+ If you are using the EU cluster in the SDK you need to use the `eu` parameter to upload to the EU cluster
32
+ ```
33
+ instabug_official(api_token: "<Instabug token>", eu: true)
34
+ ```
35
+
36
+ If you're using a custom endpint please provide it using the `end_point` parameter as follows
37
+ ```
38
+ instabug_official(api_token: "<Instabug token>", end_point: "https://api.instabug.com/api/sdk/v3/symbols_files")
39
+ ```
40
+
31
41
  ## Issues and Feedback
32
42
 
33
43
  For any other issues and feedback about this plugin, please submit it to this repository.
@@ -11,8 +11,14 @@ module Fastlane
11
11
 
12
12
  UI.verbose 'Running Instabug Action'
13
13
  api_token = params[:api_token]
14
+ eu = params[:eu] || false
15
+
16
+ default_end_point = 'https://api.instabug.com/api/sdk/v3/symbols_files'
17
+ if eu
18
+ default_end_point = 'https://api-eu.instabug.com/api/sdk/v3/symbols_files'
19
+ end
14
20
 
15
- endpoint = 'https://api.instabug.com/api/sdk/v3/symbols_files'
21
+ endpoint = params[:end_point] || default_end_point
16
22
  command = "curl #{endpoint} --write-out %{http_code} --silent --output /dev/null -F os=\"ios\" -F application_token=\"#{api_token}\" -F symbols_file="
17
23
 
18
24
  dsym_paths = []
@@ -71,7 +77,9 @@ module Fastlane
71
77
  def self.example_code
72
78
  [
73
79
  'instabug_official(api_token: "<Instabug token>")',
74
- 'instabug_official(api_token: "<Instabug token>", dsym_array_paths: ["./App1.dSYM.zip", "./App2.dSYM.zip"])'
80
+ 'instabug_official(api_token: "<Instabug token>", dsym_array_paths: ["./App1.dSYM.zip", "./App2.dSYM.zip"])',
81
+ 'instabug_official(api_token: "<Instabug token>", eu: true)',
82
+ 'instabug_official(api_token: "<Instabug token>", end_point: "https://api.instabug.com/api/sdk/v3/symbols_files")'
75
83
  ]
76
84
  end
77
85
 
@@ -88,7 +96,15 @@ module Fastlane
88
96
  FastlaneCore::ConfigItem.new(key: :dsym_array_paths,
89
97
  type: Array,
90
98
  optional: true,
91
- description: 'Array of paths to *.dSYM files')
99
+ description: 'Array of paths to *.dSYM files'),
100
+ FastlaneCore::ConfigItem.new(key: :eu,
101
+ type: Boolean,
102
+ optional: true,
103
+ description: 'Should use the EU cluster or not'),
104
+ FastlaneCore::ConfigItem.new(key: :end_point,
105
+ type: String,
106
+ optional: true,
107
+ description: 'Custom end point to be used to upload the dsyms to')
92
108
  ]
93
109
  end
94
110
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module InstabugOfficial
3
- VERSION = "0.3.4"
3
+ VERSION = "0.3.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-instabug_official
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instabug
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-20 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.80.0
139
- description:
139
+ description:
140
140
  email: iosteam@instabug.com
141
141
  executables: []
142
142
  extensions: []
@@ -152,7 +152,7 @@ homepage: https://github.com/Instabug/fastlane-plugin-instabug-official
152
152
  licenses:
153
153
  - MIT
154
154
  metadata: {}
155
- post_install_message:
155
+ post_install_message:
156
156
  rdoc_options: []
157
157
  require_paths:
158
158
  - lib
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  requirements: []
170
170
  rubygems_version: 3.1.6
171
- signing_key:
171
+ signing_key:
172
172
  specification_version: 4
173
173
  summary: Plugin to upload DSYMs to Instabug Dashboard.
174
174
  test_files: []