adsedare 0.0.4 → 0.0.5

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: 5ac823e1a7112068b8ad2a7df14432af30254bf2172f8faeca7e793c4abf5a36
4
- data.tar.gz: 0251b7ec744b21bc36bc77c04fb92101496cbc3290b012a846cbb0a1ff67cd0e
3
+ metadata.gz: e068a90771b06d8294f6046e8ae63912de6ab3d59cbdd076620eaef0ef84fd25
4
+ data.tar.gz: ebdf37bae645e38f73241e4922a7be699b511b964f09c2e23311151195e55f15
5
5
  SHA512:
6
- metadata.gz: 722fb50d3a51c1e0b734aa1ba0e0312e99d6486b6bf5ce6cd182a5e0023392a6557d05592b9b370bb7584e31020c6ff33955ed93f9bb0d2ff0ec74eec9c71fb0
7
- data.tar.gz: 5404f7537f7536d2e83b58a092df634a77b585a126a1614f79fa6dbcb32759504ae86be8b261c3e81fa53ad9dcad2e04d80cdcd0f98ec05a9d08ce6fe079154d
6
+ metadata.gz: 55306707a3b8f50c1370b9d4e5ff43be7d387d90cc9e9035388e82029f120cff9f756dc905ee10fd747387a36a6f526ce4a4502fb1e49729800d68a437c577b6
7
+ data.tar.gz: 8510311c876aaf4d3101d13d1df95275b1a90d397df929d7a191f2ab7f38c3538aebea952173f295ee8a5caf91f4ca94d290d1433d56aee3f12696d1b317f466
@@ -21,7 +21,7 @@ module Adsedare
21
21
  raise "Project path is not set" unless project_path
22
22
  raise "Export path is not set" unless export_path
23
23
 
24
- logger.info "Creating export options for project'"
24
+ logger.info "Creating export options for project"
25
25
 
26
26
  project = Xcodeproj::Project.open(project_path)
27
27
  export_options = {
@@ -92,8 +92,8 @@ module Adsedare
92
92
  return
93
93
  end
94
94
 
95
- install_certificate(ad_hoc_private_key, keychain_path, ad_hoc_key_password, "priv")
96
95
  install_certificate(ad_hoc_certificate, keychain_path, "", "cert")
96
+ install_certificate(ad_hoc_private_key, keychain_path, ad_hoc_key_password, "priv")
97
97
 
98
98
  if make_default
99
99
  status = system("security default-keychain -d user -s #{keychain_path}")
@@ -122,8 +122,13 @@ module Adsedare
122
122
  end
123
123
 
124
124
  logger.info "Keychain created at '#{keychain_path}'"
125
- end
126
125
 
126
+ status = system("security find-identity -p codesigning")
127
+ unless status
128
+ logger.error "Failed to find codesigning identity"
129
+ return
130
+ end
131
+ end
127
132
  private
128
133
 
129
134
  def install_certificate(certificate_path, keychain_path, certificate_password = "", certificate_type = "cert")
@@ -132,7 +137,7 @@ module Adsedare
132
137
 
133
138
  status = system("security import #{certificate_path} -k #{keychain_path} -t #{certificate_type} -A -P #{certificate_password} -T /usr/bin/codesign -T /usr/bin/security -T /usr/bin/productbuild")
134
139
  unless status
135
- logger.error "Failed to install certificate '#{certificate_name}' to keychain '#{keychain_path}'"
140
+ logger.warn "Failed to install certificate '#{certificate_name}' to keychain '#{keychain_path}'"
136
141
  return
137
142
  end
138
143
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Adsedare
4
- VERSION = "0.0.4"
4
+ VERSION = "0.0.5"
5
5
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adsedare
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - alexstrnik
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 2025-05-04 00:00:00.000000000 Z
11
+ date: 2025-05-05 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: rake
@@ -129,6 +130,7 @@ licenses:
129
130
  metadata:
130
131
  homepage_uri: https://github.com/AlexStrNik/AdSedare
131
132
  source_code_uri: https://github.com/AlexStrNik/AdSedare
133
+ post_install_message:
132
134
  rdoc_options: []
133
135
  require_paths:
134
136
  - lib
@@ -143,7 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
145
  - !ruby/object:Gem::Version
144
146
  version: '0'
145
147
  requirements: []
146
- rubygems_version: 3.6.3
148
+ rubygems_version: 3.0.3.1
149
+ signing_key:
147
150
  specification_version: 4
148
151
  summary: A cross-platform library for seamless, pain-free iOS ad-hoc distribution.
149
152
  test_files: []