fastlane-plugin-sentry 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 4e69a9ca0ab83f1dfb1a3945941d1cbdffe7fa3f
4
- data.tar.gz: 788f571d8827f744c043d9a825ef967389fb5e9b
3
+ metadata.gz: a7c0ddfcb4fc811910d494f8055fcd8156ca73e5
4
+ data.tar.gz: 3e1bef9c98f06964611edaa4e025ff007fc02688
5
5
  SHA512:
6
- metadata.gz: ddc48fe46dca0b22e1028037ca06a4933427341d8c9294be7e9f970dcad5ea5c0deb24289d12b72d7c874561bde820d6b680fbbcb9f3545890fe0db7f1dd6a51
7
- data.tar.gz: e69f9e50393323765acb76d2cbaa50e88f4b24f43775a3da24303c1ec43e45fffd24e5a6fa5dac91f11e26da429558b68898550462b15479aab59c8ab162c80e
6
+ metadata.gz: 628ff5d4b6727108598d2f98ee4176d19f0ff12ea52af2040943cdc3cf561c767cbbe2e23fe884a0a24e22d715b176e0ae843f7f560e79f84daec55db937bf89
7
+ data.tar.gz: 1107d945f911b61b5b8a9e128a6c37792e4f4b596d38ec1794816ef1c555506362df2fec8c01589203994b8701d3f121375d9ab0f735c9f76f2c792ff94ac45b
@@ -30,7 +30,7 @@ module Fastlane
30
30
  ENV['SENTRY_API_KEY'] = api_key unless api_key.to_s.empty?
31
31
  ENV['SENTRY_AUTH_TOKEN'] = auth_token unless auth_token.to_s.empty?
32
32
  ENV['SENTRY_URL'] = url unless url.to_s.empty?
33
- ENV['SENTRY_LOG_LEVEL'] = 'info' if $verbose
33
+ ENV['SENTRY_LOG_LEVEL'] = 'debug' if FastlaneCore::Globals.verbose?
34
34
 
35
35
  # Verify dsym(s)
36
36
  dsym_paths += [dsym_path] unless dsym_path.nil?
@@ -70,9 +70,15 @@ module Fastlane
70
70
  org = Shellwords.escape(org)
71
71
  project = Shellwords.escape(project)
72
72
  error = []
73
- Open3.popen3("sentry-cli upload-dsym '#{dsym_paths.join("','")}' --org #{org} --project #{project}") do |stdin, stdout, stderr, wait_thr|
73
+ command = "sentry-cli upload-dsym '#{dsym_paths.join("','")}' --org #{org} --project #{project}"
74
+ if FastlaneCore::Globals.verbose?
75
+ UI.verbose("sentry-cli command:\n\n")
76
+ UI.command("#{command}")
77
+ UI.verbose("\n\n")
78
+ end
79
+ Open3.popen3(command) do |stdin, stdout, stderr, wait_thr|
74
80
  while line = stderr.gets do
75
- error << line.strip!
81
+ error << line.strip!
76
82
  end
77
83
  while line = stdout.gets do
78
84
  UI.message(line.strip!)
@@ -88,11 +94,11 @@ module Fastlane
88
94
  fatal = false
89
95
  for error in errors do
90
96
  if error
91
- if error.include?('[INFO]')
92
- UI.verbose("#{error}")
93
- else
97
+ if /error/.match(error)
94
98
  UI.error("#{error}")
95
99
  fatal = true
100
+ else
101
+ UI.verbose("#{error}")
96
102
  end
97
103
  end
98
104
  end
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  CLI_VERSION = "0.25.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-sentry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Holtz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-22 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.93.0
61
+ version: 2.10.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 1.93.0
68
+ version: 2.10.0
69
69
  description:
70
70
  email: josh@rokkincat.com
71
71
  executables: []