fastlane-plugin-bundletool 1.0.10 → 1.0.11

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: 22cb77c485e131d1f8b9128d298c5effc344d634469d710072927fee0be584ef
4
- data.tar.gz: f78e42917e33f53a843f40bad59e3fc981f32ee29363701fd2cf7559f191e0ab
3
+ metadata.gz: b2656e2f3d17ab99447189a43f7337906d1f84eeb4418ad25ec2f9203564764a
4
+ data.tar.gz: b2ee465e8168baa2926a119059157747a51e12b9334e1c87ab116b713f96d200
5
5
  SHA512:
6
- metadata.gz: eb1f99005373b99554168e34d71331bcf6c4ae6461357ae7b90766df85139fb128d04f6de58e97aac58ebcf85149fec03d7f3e2c1b62d9d4dce08ff3ed07b3a0
7
- data.tar.gz: e66c62ba7e0b16a3b773479f39a445615beb5502312b634108a6c9949000efc8b4a18dadad06a4bf30e12000621ea578a51e79d0c79d178964076a954dfe2fb1
6
+ metadata.gz: d2680c1e5c950a3b222c6de916ca7b9cba00cb963814fa09e3c8bfd5854708a440f7d83e73345f082ab6394f7f9a2a131750149571aa8d2101ce5fb1abe4069f
7
+ data.tar.gz: 446ec9ecd3775d0c8f94b9287facba2e999b6b3471eeb61ecf230f8b248b25aa45b640cfb8f3db4ad6afa0cd78ebaca5ca868463b42ced328bd928e793f9595a
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Bundletool for Fastlane
2
2
 
3
- [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-bundletool)
3
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-bundletool) ![Gem Version](https://badge.fury.io/rb/fastlane-plugin-bundletool.svg) ![](https://ruby-gem-downloads-badge.herokuapp.com/fastlane-plugin-bundletool) [![YourActionName Actions Status](https://github.com/MartinGonzalez/fastlane-plugin-bundletool/workflows/Release/badge.svg)](https://github.com/MartinGonzalez/fastlane-plugin-bundletool/actions) ![Gem Total Downloads](https://img.shields.io/gem/dtv/fastlane-plugin-bundletool)
4
4
 
5
5
  ## Getting Started
6
6
 
@@ -13,7 +13,7 @@ fastlane add_plugin bundletool
13
13
  or in your Pluginfile under fastlane folder write the following line and run `bundle install`.
14
14
 
15
15
  ```
16
- gem 'fastlane-plugin-bundletool', '1.0.8'
16
+ gem 'fastlane-plugin-bundletool'
17
17
  ```
18
18
 
19
19
  ## About bundletool
@@ -43,7 +43,7 @@ module Fastlane
43
43
  end
44
44
 
45
45
  unless download_url.nil?
46
- bundletool_filename = "bundletool_#{id = Digest::SHA256.hexdigest(download_url)}.jar"
46
+ bundletool_filename = "bundletool_#{Digest::SHA256.hexdigest(download_url)}.jar"
47
47
  else
48
48
  bundletool_filename = "bundletool_#{bundletool_version}.jar"
49
49
  end
@@ -120,9 +120,11 @@ module Fastlane
120
120
  puts_important("Creating path #{target_dir_name} since does not exist")
121
121
  FileUtils.mkdir_p target_dir_name
122
122
  end
123
- cmd = "mv \"#{output_path}\" \"#{@bundletool_temp_path}/output.zip\" &&
124
- unzip \"#{@bundletool_temp_path}/output.zip\" -d \"#{@bundletool_temp_path}\" &&
125
- mv \"#{@bundletool_temp_path}/universal.apk\" \"#{target_path}\""
123
+
124
+ cmd = "mv \"#{output_path}\" \"#{@bundletool_temp_path}/output.zip\" &&"\
125
+ "unzip \"#{@bundletool_temp_path}/output.zip\" -d \"#{@bundletool_temp_path}\" &&"\
126
+ "mv \"#{@bundletool_temp_path}/universal.apk\" \"#{target_path}\""
127
+
126
128
  Open3.popen3(cmd) do |_, _, stderr, wait_thr|
127
129
  exit_status = wait_thr.value
128
130
  raise stderr.read unless exit_status.success?
@@ -245,7 +247,6 @@ module Fastlane
245
247
  [:android].include?(platform)
246
248
  end
247
249
 
248
- private
249
250
 
250
251
  def self.download_and_write_bundletool(download_url, bundletool_filename, installation_path)
251
252
  if(File.exist?"#{installation_path}/#{bundletool_filename}")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Bundletool
3
- VERSION = "1.0.10"
3
+ VERSION = "1.0.11"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-bundletool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Gonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-28 00:00:00.000000000 Z
11
+ date: 2024-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry