nixenvironment 0.0.132 → 0.0.133

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: 8c10c2c4c74d70768fd438de0dfdc14cd8fbdd8c
4
- data.tar.gz: 744251e105ce2d670513a9252339a4ad9b6b4a7e
3
+ metadata.gz: fc83052e3d3cab51497e3568e29d1b8b7544ba88
4
+ data.tar.gz: 051dacc0592e5fb05f16b51d737a72c2a6c69757
5
5
  SHA512:
6
- metadata.gz: 5f4691143bbb1c60a4307e5a26f449daa85d78bee59fbf7ab839a941e6ef0a8f7d06344764dd679460df2d38d3b43faca6a5e219c8c1f37789d86073ca3a8e5a
7
- data.tar.gz: 4b036c2fdcc7b8f5e5994769cf1a076ae23b32817848a253c9ac923b8752b93c15f2774afb694da6806b8679ea5aa87d7d06e3fecd7d956310d564164bc3183b
6
+ metadata.gz: 06de397ae7021f9d083603f67976630920921bccd048e6e1a3221433df94c0c3f26c53cf3dd4c2999e904c38cccf374a721059475ff04f0c296dec2e85e9f8dc
7
+ data.tar.gz: c3ed4242ed2e4202899437765300771e8f1a98252aa5df6c54e1cf601378747ebd9ac2dc10ec41bd0ac4c269ce70253e0ff4ccc828cafea264931feefad6e34b
@@ -628,7 +628,7 @@ module Nixenvironment
628
628
 
629
629
  # Generator. Finds matching profile and identity based on specified bundle id. Matches only valid identities.
630
630
  def get_matching_profiles_and_identities(new_bundle_id)
631
- profiles_path = File.expand_path('~/Library/MobileDevice/Provisioning Profiles/')
631
+ profiles_path = PROVISIONING_PROFILES_PATH
632
632
 
633
633
  puts_bold "--> Scan profiles at '#{profiles_path}' ..."
634
634
 
@@ -63,6 +63,8 @@ module Nixenvironment
63
63
  IOS_PLUGINS_FOLDER_NAME = 'PlugIns'
64
64
  IOS_BUILD_DIRECTORY_NAME = File.join(Dir.pwd, IOS_BUILDS_FOLDER_NAME)
65
65
 
66
+ PROVISIONING_PROFILES_PATH = File.expand_path('~/Library/MobileDevice/Provisioning Profiles/')
67
+
66
68
  # unity
67
69
  UNITY_BUILDS_IOS_PATH = 'Builds/iOS'
68
70
  UNITY_BUILDS_MACOS_PATH = 'Builds/MacOS'
@@ -9,7 +9,7 @@ module ProvisioningHelper
9
9
  end
10
10
 
11
11
  def path_to_provisioning_profiles
12
- File.expand_path("#{Dir.home}/Library/MobileDevice/Provisioning Profiles")
12
+ PROVISIONING_PROFILES_PATH
13
13
  end
14
14
 
15
15
  def path_to_backup_provisioning_profiles
@@ -26,10 +26,11 @@ module ProvisioningHelper
26
26
  end
27
27
 
28
28
  def copy_jenkins_provisioning_profiles
29
+ FileUtils::mkdir_p path_to_provisioning_profiles
29
30
  FileUtils::cp_r("#{path_to_jenkins_provisioning_profiles}/.", path_to_provisioning_profiles)
30
31
  end
31
32
 
32
33
  def remove_local_provisioning_profiles
33
- FileUtils::rm_r(path_to_provisioning_profiles)
34
+ FileUtils::rm_rf(path_to_provisioning_profiles)
34
35
  end
35
36
  end
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.132'
2
+ VERSION = '0.0.133'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nixenvironment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.132
4
+ version: 0.0.133
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen