hive-runner-ios 1.1.4 → 1.1.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hive/worker/ios.rb +7 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a21995c69ace766b60c86a8bd9d189693a80608
4
- data.tar.gz: b76f3fd97dd0667becaebd58c509104030f34ef6
3
+ metadata.gz: 482bedd7551e909154c5a6680daf01cfd9464ef0
4
+ data.tar.gz: 08bbbcbbc122a0f342c102a075770b3cbd73e392
5
5
  SHA512:
6
- metadata.gz: 1cae5fc031fc8380ca85d0ba9f823c7ff4200465f7a25b5fc85ff377e202ab5a95fb94bdbdcf1ed869e7440c6b8e67fab3938bd8987940f2a60ad9dee88a21a4
7
- data.tar.gz: db0596f92d660c4e46b2239aee3fd55f840f6fa80c9685ba4a85b4044d1f61281886e3a3d8c2c7cfb328a78786b196e1bdef07a10489ee9dfb6a99a4b32dc663
6
+ metadata.gz: 7c441d0bbbedc7450d1534cdcd99b87667382255d9b220f1d0cefbfce61e75767712cbc79d7e60aaeb5250d477db0264188e09422d680bc1a0805f59cd7b4b04
7
+ data.tar.gz: 5a428cdd0c5383e627fd44bf74a21722ddeee32363429948f721f9383ee7b2b3f56e7be050ec859f95a0f8bf42cb216a29db8f43e318a98715e074b7278fc9c0
@@ -73,7 +73,7 @@ module Hive
73
73
 
74
74
  file_system.fetch_build(job.build, app_path)
75
75
  entitlements = FruityBuilder::IOS::Signing.enable_get_tasks(app_path)
76
- FruityBuilder::IOS::Signing.sign_app(@options['signing_identity'], entitlements: entitlements, app: app_path)
76
+ FruityBuilder::IOS::Signing.sign_app({ cert: @options['signing_identity'], entitlements: entitlements, app: app_path } )
77
77
  app_info = FruityBuilder::IOS::Plistutil.get_bundle_id_from_app(app_path)
78
78
  app_bundle = app_info['CFBundleIdentifier']
79
79
  device.install(app_path)
@@ -84,6 +84,12 @@ module Hive
84
84
 
85
85
  ip_address = DeviceAPI::IOS::IPAddress.address(self.device['serial'])
86
86
 
87
+ if ip_address.nil?
88
+ # There is a bug in the IPAddress app that stopping the IP address from being
89
+ # returned when it's first run, however it works the second time around.
90
+ # This is a *temporary* fix until that issue can be resolved.
91
+ ip_address = DeviceAPI::IOS::IPAddress.address(self.device['serial'])
92
+ end
87
93
  script.set_env 'CHARLES_PROXY_PORT', @worker_ports.reserve(queue_name: 'Charles') { @port_allocator.allocate_port }
88
94
 
89
95
  # TODO: Allow the scheduler to specify the ports to use
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hive-runner-ios
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Wilson