fastlane-plugin-dynatrace 0.1.3 → 0.1.4

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: 8829b20a5286c7ea44c321e874f1f49737e494f3a86792dfa5cb82a7008a9a1d
4
- data.tar.gz: a7bdf898b7ecdf8b49dc97efb54f356b52efd870d07cdd3214c39486a873c3c9
3
+ metadata.gz: a86e362b93b41e06e7ce3db6653103addf3e5da5bf1053d8cf3e44e3dd21cb90
4
+ data.tar.gz: 37631fb83147d67d7c7da9de353fa08eba63d5e60dc19717876f0f23347f57a9
5
5
  SHA512:
6
- metadata.gz: 21f444b3a3d6d378431fb67c01ee0bd3551ab6e4ef43aab15f7e3b14954f724ab40a7c4af0a8b739a423f3903f226928e7af6bd4767b6f1991d6746d16a0c388
7
- data.tar.gz: c70d1763a6d020372002152bdfe55af7466fe2b9aa23d957ef73c06d3c54139dfa9d7a41b3ec2f93e8fd9a55cb448cde1d49b90a2419138a0d39dab0519a8e3b
6
+ metadata.gz: 40c79d0e3639d26a808e5edf628ea931baf023b6f90414096afc5c6decd142255101b660e800f06fe008c198582aa43e9c3e9e01a36266bc79bbc60b7bc3d430
7
+ data.tar.gz: 89475eb03534935c589d21a1267398f9ae5635c607aa3ca7770b4ed8fbd8dd59e1d4251fa82fcb025d9d969dbfd8ddbf6effed59613405636f3a960c5fe397c6
@@ -24,6 +24,7 @@ module Fastlane
24
24
 
25
25
 
26
26
  dsym_paths = []
27
+ symbolFilesKey = "symbolsfile" #default to iOS
27
28
 
28
29
  if (params[:os] == "ios")
29
30
  begin
@@ -63,15 +64,16 @@ module Fastlane
63
64
 
64
65
  else #android
65
66
  dsym_paths << params[:symbolsfile] if params[:symbolsfile]
67
+ symbolFilesKey = "file"
66
68
  end
67
69
 
68
70
  #check if we have dsyms to proceed with
69
71
  if (dsym_paths.count == 0)
70
72
  UI.message "Symbol file path: #{params[:symbolsfile]}" #Ask the user for the symbolFiles path
71
73
  dsym_paths = params[:symbolsfile]
72
- symbolFilesCommandSnippet = "symbolsfile=\"#{dsym_paths}\""
74
+ symbolFilesCommandSnippet = "#{symbolFilesKey}=\"#{dsym_paths}\""
73
75
  else
74
- symbolFilesCommandSnippet = "symbolsfile=\"#{dsym_paths[0]}\""
76
+ symbolFilesCommandSnippet = "#{symbolFilesKey}=\"#{dsym_paths[0]}\""
75
77
  end
76
78
 
77
79
  #Start constructing the command that will trigger the DTXDssClient
@@ -82,7 +84,11 @@ module Fastlane
82
84
  command << "apitoken=\"#{params[:apitoken]}\""
83
85
  command << "os=#{params[:os]}"
84
86
  command << "bundleId=\"#{bundleId}\""
85
- command << "versionStr=\"#{version}\""
87
+ if params[:os] == "ios"
88
+ command << "versionStr=\"#{version}\""
89
+ else
90
+ command << "versionStr=\"#{params[:versionStr]}\""
91
+ end
86
92
  command << "version=\"#{params[:version]}\""
87
93
  command << symbolFilesCommandSnippet
88
94
  command << "server=\"#{params[:server]}\""
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Dynatrace
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-dynatrace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohamed Nassar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-03 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry