app-tools 1.8.0 → 1.8.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: e09105cf7da5752ae13aac5a3313424f44fc8d0f
4
- data.tar.gz: e208a748c0697832a6ae056ffbdd3fa5d4d1cd5b
3
+ metadata.gz: 9e10adea499043f91c809ae91356e1b06daabece
4
+ data.tar.gz: 81f1a75a3a4c64f74d1dd13d0af82ccebabd8842
5
5
  SHA512:
6
- metadata.gz: cc18427da3273c5454e5fb1af4db1c1a577aa6bc50d88fa30059378080939c45639984234a67df2d3095b77448000ed1e6ed5f067f5f78925a42e597adbc587e
7
- data.tar.gz: 35a6e1f2abbd9a8b25a71391d2505c0e03791ba0bfad72d6fdfcee275b2492c9e3c98ce3f41f5828c0e566d29634f2c0b70dd0afbc2127d92eaf159590c07e61
6
+ metadata.gz: 54c73684dbbcd18550533bc5aaad38f87b6322c412a5d1d666b5196c224bd0f809063dcb0b15a768b04f035350cdd05e6c44046465bd0c9cbdcd69119c6f7a69
7
+ data.tar.gz: b5f94e4b5cae1f24020543a0c43b2739e803b1649105ac52283496e05a989fd4579760578287ea97be0b8db001ddec50bc1673c686bb43e31c4004aa180788d9
data/bin/resignipa CHANGED
@@ -105,14 +105,13 @@ module AppTools
105
105
  end
106
106
 
107
107
  ## Repack
108
- new_ipa_dir = File.join(File.dirname(ipa_path), ipa_basename + ".resigned")
108
+ new_ipa_dir = File.join(File.dirname(ipa_path), ipa_basename + '.' + [*('a'..'z'),*('0'..'9')].shuffle[0,8].join)
109
109
  new_ipa_path = File.expand_path(File.join(new_ipa_dir, File.basename(ipa_path)))
110
110
  FileUtils.rm_rf new_ipa_dir
111
111
  FileUtils.mkdir new_ipa_dir
112
112
 
113
- # NOTE: The zip tool
113
+ # NOTE: The zip tool...
114
114
  `cd #{contents_dir}; zip -r #{new_ipa_path} *`
115
- #FileUtils.rm_rf temp_dir
116
115
  puts new_ipa_path
117
116
  end
118
117
 
@@ -1,3 +1,3 @@
1
1
  module AppTools
2
- VERSION = "1.8.0"
2
+ VERSION = "1.8.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Lyon-Smith