fastlane-plugin-bugsnag 3.0.0 → 3.1.0

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: e8044da3301498296d3a835cdf3cae80c8c52cbb171e341c74579506b4a016da
4
- data.tar.gz: f40fd81e58b62e35f127090c1966789ce16b26dd64e2796a2043f7aed4f39950
3
+ metadata.gz: 042d2b301e0ad19225ace580396fb7e28a3c6937b886c121a397638d9045c943
4
+ data.tar.gz: 55b92ac267ac88e808bfa5b321d49619f2277915de491529315fcba948a15b18
5
5
  SHA512:
6
- metadata.gz: 811cbcd503ab874433e2ccd4faf13b8bd9d8e40ad700a7dd13308a775d751641dbb6cf6463808c9c0c6f07c7f7718559d74c577785aa52c93e90dbb99633368a
7
- data.tar.gz: 741164fd928f226de759a2cc6c6aa10206cd3957aad730a19171fe4983dd67e7689e47c86346f957657c496503adfdb6547f09e9338a0652444ce0a238c011bd
6
+ metadata.gz: f78c4a5367838ec3cad6c73babe205613fc568a46410f5d1ae229f331b7349dbfc94d6a3f06c8a205cd313e56cd30645f81fe080d89c8b9468927a815458de03
7
+ data.tar.gz: 167d065c493176c4011801d16d95b811cf4c48eef54754883b5ff98a1ee4236520f524df2458072698c373e466a3cdc0594e2e6cdd3069cfbd80ff6ecc0bc94d
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- require "xmlsimple"
1
+ require "rexml/document"
2
2
  require "json"
3
3
  require_relative "find_info_plist_path"
4
4
  require_relative "bugsnag_cli"
@@ -287,11 +287,18 @@ module Fastlane
287
287
  def self.options_from_android_manifest file_path
288
288
  options = {}
289
289
  begin
290
- meta_data = parse_android_manifest_options(XmlSimple.xml_in(file_path))
290
+ xml_content = File.read(file_path)
291
+ doc = REXML::Document.new(xml_content)
292
+ meta_data = {}
293
+ REXML::XPath.each(doc, "//meta-data") do |element|
294
+ name = element.attributes["android:name"]
295
+ value = element.attributes["android:value"]
296
+ meta_data[name] = value if name
297
+ end
291
298
  options[:apiKey] = meta_data["com.bugsnag.android.API_KEY"]
292
299
  options[:appVersion] = meta_data["com.bugsnag.android.APP_VERSION"]
293
300
  options[:releaseStage] = meta_data["com.bugsnag.android.RELEASE_STAGE"]
294
- rescue ArgumentError
301
+ rescue ArgumentError, REXML::ParseException, Errno::ENOENT, Errno::EACCES => e
295
302
  nil
296
303
  end
297
304
  options
@@ -312,6 +319,10 @@ module Fastlane
312
319
  options
313
320
  end
314
321
 
322
+ # NOTE: The following methods are no longer used.
323
+ # XML parsing is now handled directly via REXML::XPath in options_from_android_manifest.
324
+ # Kept for reference only.
325
+
315
326
  def self.parse_android_manifest_options config_hash
316
327
  map_meta_data(get_meta_data(config_hash))
317
328
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Bugsnag
3
- VERSION = "3.0.0"
3
+ VERSION = "3.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-bugsnag
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delisa Mason
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-09-22 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: xml-simple
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
12
  - !ruby/object:Gem::Dependency
28
13
  name: git
29
14
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +135,6 @@ dependencies:
150
135
  - - ">="
151
136
  - !ruby/object:Gem::Version
152
137
  version: 2.28.5
153
- description:
154
138
  email: iskanamagus@gmail.com
155
139
  executables: []
156
140
  extensions: []
@@ -190,7 +174,6 @@ homepage: https://github.com/bugsnag/fastlane-plugin-bugsnag
190
174
  licenses:
191
175
  - MIT
192
176
  metadata: {}
193
- post_install_message:
194
177
  rdoc_options: []
195
178
  require_paths:
196
179
  - lib
@@ -205,8 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
188
  - !ruby/object:Gem::Version
206
189
  version: '0'
207
190
  requirements: []
208
- rubygems_version: 3.5.3
209
- signing_key:
191
+ rubygems_version: 3.6.9
210
192
  specification_version: 4
211
193
  summary: Uploads dSYM files to Bugsnag
212
194
  test_files: