fastlane-plugin-flurry 0.1.1 → 0.1.2

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: 753e4ccd06c6fe38d9e1eb09f80dfad7bce0bfa1
4
- data.tar.gz: 3fe5540295a6b607f53e321356fa9c3567b27aa1
3
+ metadata.gz: 510de5c00af8c9e719fed8c41683ccb64d5ce51c
4
+ data.tar.gz: '09578735e2561920d0a39360cd067395331319c7'
5
5
  SHA512:
6
- metadata.gz: 3ef3b19020f4e0edbfb38f569130ce089b3d011765c186d883fef4c8af2cd6c332d9feb77667b2214cac90014f8bafb30927e20d175e9d2c2a43ab17708a16b5
7
- data.tar.gz: 814808409c3ccc68ca474e5cbfe7f92e7ff131aac1e70f8ec1c833e8337d1cb742f397c814310074e702e42843edec182243bb87d237af7e78b170846ea52f71
6
+ metadata.gz: 4228d4b594f88b9588d0becd45beeef23beee376b51900f284d82a400ccefc05723c717b3fc5f42981f4cbe5a4fe0db810222bb79453e952097fe45599d3e7c7
7
+ data.tar.gz: 8be1fa38070fce50aea3f21cd40aef17ac6254bd17edc0222d8ea8749280106d83930b820704ff43bcf7d0163393f90aee47e493a9b449ebed6041ceb60896ba
@@ -21,14 +21,15 @@ module Fastlane
21
21
  project_id = find_project(api_key, auth_token)
22
22
 
23
23
  # Params - dSYM
24
- dsym_path = params[:dsym_paths] || []
25
- dsym_path += [params[:dsym_path]]
24
+ dsym_paths = []
25
+ dsym_paths += [params[:dsym_path]] if params[:dsym_path]
26
+ dsym_paths += params[:dsym_paths] if params[:dsym_paths]
26
27
 
27
- if dsym_path.size == 0
28
+ if dsym_paths.count == 0
28
29
  UI.user_error! "Couldn't find any DSYMs. Please pass them using the dsym_path option)"
29
30
  end
30
31
 
31
- dsym_path.compact.map do | single_dsym_path |
32
+ dsym_paths.compact.map do | single_dsym_path |
32
33
  if single_dsym_path.end_with?('.zip')
33
34
  UI.message("Extracting '#{single_dsym_path}'...")
34
35
  single_dsym_path = unzip_file(single_dsym_path)
@@ -187,6 +188,7 @@ module Fastlane
187
188
  env_name: 'FLURRY_DSYM_PATH',
188
189
  description: 'Path to the DSYM file to upload',
189
190
  default_value: Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH],
191
+ optional: true,
190
192
  verify_block: proc do |value|
191
193
  UI.user_error!("Couldn't find file at path '#{File.expand_path(value)}'") unless File.exist?(value)
192
194
  UI.user_error!('Symbolication file needs to be dSYM or zip') unless value.end_with?('.dSYM', '.zip')
@@ -4,6 +4,6 @@
4
4
 
5
5
  module Fastlane
6
6
  module Flurry
7
- VERSION = "0.1.1"
7
+ VERSION = "0.1.2"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-flurry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akash Duseja