fastlane_core 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f765af55f0a11a0983c37094f5d3ef3152fe1ae4
4
- data.tar.gz: 185c80d69c241ad8ba747f783566da2030de6470
3
+ metadata.gz: 198318b93613e0c18503cf0d2c733bddc1fa0332
4
+ data.tar.gz: 17b43e5a4fa5627f8543526e8ef95aece6f088b7
5
5
  SHA512:
6
- metadata.gz: 231898cba50047e62739d620452e69f28e4c4a41ce96ac43caac3d0f41e285cb0a45a08c746632092a95a7b031ffa58a8b6c72c739ce059c03ca43bf1aeceda8
7
- data.tar.gz: 71c2c7bb47ba0afdd4159ff0e05b389b119f9bfd51bdc227a50414a26d34ed4894b622dfd4906e67888606fe012c29a1e39bb6df3e15d3b7d6af6e9a7bd43919
6
+ metadata.gz: 6046e5777b345544ed06c6f7287333e9a586da91ed3d148d750d14af464470efb49f7c9b836b65ccb26937e85fddb85c8e6ba1704347c45d3e9af03a4cf76577
7
+ data.tar.gz: 144959fe14697fcc80fe091daeb9fb522b823464231aac6d9bef40eaff04dc7f9306dcafd570fcd00dead046b41438ba00c6fb4b4f41e99f51e4344ac10ce7b0
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <package xmlns="http://apple.com/itunes/importer" version="software5.4">
3
- <software_assets apple_id="<%= @data[:apple_id] %>" app_platform="<%= data[:platform] %>">
3
+ <software_assets apple_id="<%= @data[:apple_id] %>" app_platform="<%= @data[:platform] %>">
4
4
  <asset type="bundle">
5
5
  <data_file>
6
6
  <size><%= @data[:file_size] %></size>
@@ -51,8 +51,9 @@ module FastlaneCore
51
51
  def valid?(value)
52
52
  # we also allow nil values, which do not have to be verified.
53
53
  if value
54
- if string?
55
- raise "'#{self.key}' value must be a String! Found #{value.class} instead.".red unless value.kind_of? String
54
+ # Verify that value is the type that we're expecting, if we are expecting a type
55
+ if data_type && !value.kind_of?(data_type)
56
+ raise "'#{self.key}' value must be a #{data_type}! Found #{value.class} instead.".red
56
57
  end
57
58
 
58
59
  if @verify_block
@@ -3,6 +3,10 @@ require 'open3'
3
3
  module FastlaneCore
4
4
  class Simulator
5
5
  class << self
6
+ def requested_os_type
7
+ 'iOS'
8
+ end
9
+
6
10
  def all
7
11
  Helper.log.info "Fetching available devices" if $verbose
8
12
 
@@ -27,7 +31,7 @@ module FastlaneCore
27
31
  # iPad 2 (0EDE6AFC-3767-425A-9658-AAA30A60F212) (Shutdown)
28
32
  # iPad Air 2 (4F3B8059-03FD-4D72-99C0-6E9BBEE2A9CE) (Shutdown) (unavailable, device type profile not found)
29
33
  match = line.match(/\s+([^\(]+) \(([-0-9A-F]+)\) \((?:[^\(]+)\)(.*unavailable.*)?/)
30
- if match && !match[3] && os_type == 'iOS'
34
+ if match && !match[3] && os_type == requested_os_type
31
35
  @devices << Device.new(name: match[1], ios_version: os_version, udid: match[2])
32
36
  end
33
37
  end
@@ -58,12 +62,12 @@ module FastlaneCore
58
62
  # raise "xcrun simctl not working.".red
59
63
  # end
60
64
 
61
- # data["devices"].each do |ios_version, l|
65
+ # data["devices"].each do |os_version, l|
62
66
  # l.each do |device|
63
67
  # next if device['availability'].include?("unavailable")
64
- # next unless ios_version.include?("iOS")
68
+ # next unless os_version.include?(requested_os_type)
65
69
 
66
- # os = ios_version.gsub("iOS ", "").strip
70
+ # os = os_version.gsub(requested_os_type + " ", "").strip
67
71
  # @devices << Device.new(name: device['name'], ios_version: os, udid: device['udid'])
68
72
  # end
69
73
  # end
@@ -100,4 +104,12 @@ module FastlaneCore
100
104
  end
101
105
  end
102
106
  end
107
+
108
+ class SimulatorTV < Simulator
109
+ class << self
110
+ def requested_os_type
111
+ 'tvOS'
112
+ end
113
+ end
114
+ end
103
115
  end
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.30.0"
2
+ VERSION = "0.31.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2015-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -366,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
366
366
  version: '0'
367
367
  requirements: []
368
368
  rubyforge_project:
369
- rubygems_version: 2.4.0
369
+ rubygems_version: 2.4.6
370
370
  signing_key:
371
371
  specification_version: 4
372
372
  summary: Contains all shared code/dependencies of the fastlane.tools