asca 1.0.1 → 1.0.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
  SHA256:
3
- metadata.gz: 5c715bb7395fb39231c5a0b4fb07151135e8b03a7858f19bfcf3a012bd11ebc7
4
- data.tar.gz: 474d92c7138cd5473670be1d98b01379da3e59ccfb7ec96abccab9171e0eeba2
3
+ metadata.gz: 137f7073a5bf2438aeb4956d68bd9db97b08c5fdc8fb0bc8cfbf3512f3907651
4
+ data.tar.gz: cd9a3407a0fdba3cc8abb327062ddc04e62471409565bc002f4844067f68f88d
5
5
  SHA512:
6
- metadata.gz: 53d468d7e463bf67ec9be6ba55a5156eae1545e73d6a5793a8ddc282e140fb98800e1735be49aa8551a31129f6c3d0eb8fdda65ef0bf500f02516278448cbfb7
7
- data.tar.gz: a057952623638f3bd984b8e96fc8b801b37abfcb877004c460200c2810e2e37b72e80595f3c21ab29be91678e79f58302f2f950559d379297c5acc64bb62b455
6
+ metadata.gz: a10ee69cc466081e8418cb2c5f8a09818509a1b43845e751322f18036a7edf304ab7a59c41aaaf02a7227172fca6865c73e35efd5ac8655e895f8c71bd51890d
7
+ data.tar.gz: 1f91855e1833417c3b5547d67b8f0bff7a8f701333cd106dae5fab89f12afaf522fa146d2370a3ca7e3edd3980711e33bb5a74c37c0d87d8020132349903f142
@@ -36,7 +36,8 @@ module Asca
36
36
  profile_file_path = File.expand_path(profile_name + ".mobileprovision", Asca::Tools::Configuration::CACHE_DIR)
37
37
 
38
38
  # install profile
39
- `open #{profile_file_path}`
39
+ FileUtils.cp(profile_file_path, File.expand_path('~/Library/MobileDevice/Provisioning Profiles'))
40
+ Asca::Tools::Log.info("#{profile_name} installed successfully!")
40
41
  end
41
42
 
42
43
  # notion: bundle_id is not bundle identifier and device id is udid。They are the corresponding api id.
@@ -1,3 +1,3 @@
1
1
  module Asca
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asca
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - xueminghao
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-31 00:00:00.000000000 Z
11
+ date: 2020-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler