cocoapods-bugsnag 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 482f70c66ea52e9633b644d594c1c8ef9bdddbe5
4
- data.tar.gz: f4a0810109c18cf8edd07bcbda48d2d84ec37d9b
2
+ SHA256:
3
+ metadata.gz: e60881092085623bd9218d8c7e08be44e3580d8ee2c11ea0a987d6a3d6853cc5
4
+ data.tar.gz: 12d938efbbeca703eaee0d8116a7494a74a534b2bd321f49e9ecbdd5c5ad6084
5
5
  SHA512:
6
- metadata.gz: 17a00ed6b43c406eba7390a722cf06930b32780c030efc2218b4d856a8a71981994fbc3925c87d4185b1ff988c7a2631c6445e1f45328e725b71dfa69a11e5ad
7
- data.tar.gz: 8432e08a32cf59006b02fbe56fc846221544aaea895eea9c5eb3ae76d6e9d7a01dd3dd0c729028ef2b5899f8c25cbc276914ffca24bea94a34d722587d9c4e57
6
+ metadata.gz: c3e2c2541c4d531cc1331c2a923a6f0c8c2b0bce74099fb9454de34247bc5dd01ad5ec605202e339c6a3150497b1934ad3c70d8232d22bdfe2f6aa5ee167c231
7
+ data.tar.gz: bf2af0466ab94413a969861b6e91891bc513b2c349fcc733d8ec5b10bf257f6bbc5384007f39bde4cab4e4e636f3d196874eee188bff2f0813729f2b239d1b0e
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.2.1 (20 Nov 2020)
4
+
5
+ ### Bug fixes
6
+
7
+ * The Xcode build phase now specifies its dependencies for improved reliability with Xcode's new build system.
8
+ | [#20](https://github.com/bugsnag/cocoapods-bugsnag/pull/20)
9
+
3
10
  ## 2.2.0 (30 Sept 2020)
4
11
 
5
12
  ### Enhancements
data/README.md CHANGED
@@ -50,3 +50,7 @@ phase in Xcode.
50
50
  * [Search open and closed issues](https://github.com/bugsnag/cocoapods-bugsnag/issues?utf8=✓&q=is%3Aissue)
51
51
  for similar problems
52
52
  * [Open an issue](https://github.com/bugsnag/cocoapods-bugsnag/issues/new)
53
+
54
+ ## License
55
+
56
+ This module is free software released under the MIT License. See [LICENSE.txt](./LICENSE.txt) for details.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "cocoapods-bugsnag"
3
- spec.version = "2.2.0"
3
+ spec.version = "2.2.1"
4
4
  spec.homepage = "https://bugsnag.com"
5
5
  spec.description = "Configures the dSYM upload phase of your project when integrated with bugsnag."
6
6
  spec.summary = "To get meaningful stacktraces from your crashes, the Bugsnag service needs your dSYM file for your build. This plugin adds an upload phase to your project where needed."
@@ -2,6 +2,10 @@ module Pod
2
2
  class Installer::UserProjectIntegrator::TargetIntegrator
3
3
 
4
4
  BUGSNAG_PHASE_NAME = "Upload Bugsnag dSYM"
5
+ BUGSNAG_PHASE_INPUT_PATHS = [
6
+ "${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}",
7
+ "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}"]
8
+ BUGSNAG_PHASE_SHELL_PATH = "/usr/bin/env ruby"
5
9
  BUGSNAG_PHASE_SCRIPT = <<'RUBY'
6
10
  api_key = nil # Insert your key here to use it directly from this script
7
11
 
@@ -56,7 +60,8 @@ RUBY
56
60
  bp.name == BUGSNAG_PHASE_NAME
57
61
  end.first || native_target.new_shell_script_build_phase(BUGSNAG_PHASE_NAME)
58
62
 
59
- phase.shell_path = "/usr/bin/env ruby"
63
+ phase.input_paths = BUGSNAG_PHASE_INPUT_PATHS
64
+ phase.shell_path = BUGSNAG_PHASE_SHELL_PATH
60
65
  phase.shell_script = BUGSNAG_PHASE_SCRIPT
61
66
  phase.show_env_vars_in_log = '0'
62
67
  end
@@ -74,7 +79,7 @@ RUBY
74
79
  @bugsnag_native_targets ||=(
75
80
  native_targets.reject do |native_target|
76
81
  native_target.shell_script_build_phases.any? do |bp|
77
- bp.name == BUGSNAG_PHASE_NAME && bp.shell_script == BUGSNAG_PHASE_SCRIPT
82
+ bp.name == BUGSNAG_PHASE_NAME && bp.input_paths == BUGSNAG_PHASE_INPUT_PATHS && bp.shell_path == BUGSNAG_PHASE_SHELL_PATH && bp.shell_script == BUGSNAG_PHASE_SCRIPT
78
83
  end
79
84
  end
80
85
  )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bugsnag
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delisa Mason
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods
@@ -72,7 +72,7 @@ homepage: https://bugsnag.com
72
72
  licenses:
73
73
  - MIT
74
74
  metadata: {}
75
- post_install_message:
75
+ post_install_message:
76
76
  rdoc_options: []
77
77
  require_paths:
78
78
  - lib
@@ -87,9 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubyforge_project:
91
- rubygems_version: 2.6.14
92
- signing_key:
90
+ rubygems_version: 3.0.3
91
+ signing_key:
93
92
  specification_version: 4
94
93
  summary: To get meaningful stacktraces from your crashes, the Bugsnag service needs
95
94
  your dSYM file for your build. This plugin adds an upload phase to your project