fastlane 2.72.0.beta.20171230010003 → 2.72.0.beta.20171231010003
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/gym/lib/gym/detect_values.rb +5 -0
- data/gym/lib/gym/manager.rb +1 -0
- data/gym/lib/gym/options.rb +1 -5
- data/spaceship/lib/spaceship/tunes/iap_detail.rb +2 -2
- data/spaceship/lib/spaceship/tunes/iap_list.rb +3 -17
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +3 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ea6e4c7e85f8ac67127a33d9c1a7d208ccd6b7a
|
4
|
+
data.tar.gz: 0947191d1dc9d367171e686779c1cbab4a70e537
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91ad04abef436779aff0fabdf35e193164d0e16cb0cd8b04c7537379281178bd53ebb7a25b0df757432b3b2ff67bd568d2a89ad10e9625c0bea0fe272a8a7e61
|
7
|
+
data.tar.gz: 7e0fc6faef9893c65de4c597eb09a3fbb5945bd81eedbb5c908fdb1d8a8584718142fed3749bd8956719183724aa0a0408181eb2bd3c0d29bd7a0e42e98e250c
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.72.0.beta.
|
2
|
+
VERSION = '2.72.0.beta.20171231010003'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
@@ -30,6 +30,11 @@ module Gym
|
|
30
30
|
|
31
31
|
config[:build_path] ||= archive_path_from_local_xcode_preferences
|
32
32
|
|
33
|
+
# Make sure the output name is valid and remove a trailing `.ipa` extension
|
34
|
+
# as it will be added by gym for free
|
35
|
+
config[:output_name].gsub!(".ipa", "")
|
36
|
+
config[:output_name].gsub!(File::SEPARATOR, "_")
|
37
|
+
|
33
38
|
return config
|
34
39
|
end
|
35
40
|
|
data/gym/lib/gym/manager.rb
CHANGED
@@ -7,6 +7,7 @@ module Gym
|
|
7
7
|
# We go 2 folders up, to not show "Contents/Developer/"
|
8
8
|
values = Gym.config.values(ask: false)
|
9
9
|
values[:xcode_path] = File.expand_path("../..", FastlaneCore::Helper.xcode_path)
|
10
|
+
|
10
11
|
FastlaneCore::PrintTable.print_values(config: values,
|
11
12
|
hide_keys: [],
|
12
13
|
title: "Summary for gym #{Fastlane::VERSION}")
|
data/gym/lib/gym/options.rb
CHANGED
@@ -61,11 +61,7 @@ module Gym
|
|
61
61
|
short_option: "-n",
|
62
62
|
env_name: "GYM_OUTPUT_NAME",
|
63
63
|
description: "The name of the resulting ipa file",
|
64
|
-
optional: true,
|
65
|
-
verify_block: proc do |value|
|
66
|
-
value.gsub!(".ipa", "")
|
67
|
-
value.gsub!(File::SEPARATOR, "_")
|
68
|
-
end),
|
64
|
+
optional: true),
|
69
65
|
FastlaneCore::ConfigItem.new(key: :configuration,
|
70
66
|
short_option: "-q",
|
71
67
|
env_name: "GYM_CONFIGURATION",
|
@@ -98,7 +98,7 @@ module Spaceship
|
|
98
98
|
}
|
99
99
|
}
|
100
100
|
end
|
101
|
-
raw_data.set(["
|
101
|
+
raw_data.set(["pricingIntervals"], new_intervals)
|
102
102
|
end
|
103
103
|
|
104
104
|
# @return (Array) pricing intervals
|
@@ -112,7 +112,7 @@ module Spaceship
|
|
112
112
|
# }
|
113
113
|
# ]
|
114
114
|
def pricing_intervals
|
115
|
-
@pricing_intervals ||= raw_data["
|
115
|
+
@pricing_intervals ||= raw_data["pricingIntervals"].map do |interval|
|
116
116
|
{
|
117
117
|
tier: interval["value"]["tierStem"].to_i,
|
118
118
|
begin_date: interval["value"]["priceTierEffectiveDate"],
|
@@ -53,28 +53,14 @@ module Spaceship
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def edit
|
56
|
-
|
56
|
+
attrs = client.load_iap(app_id: application.apple_id, purchase_id: self.purchase_id)
|
57
|
+
attrs[:application] = application
|
58
|
+
Tunes::IAPDetail.new(attrs)
|
57
59
|
end
|
58
60
|
|
59
61
|
def delete!
|
60
62
|
client.delete_iap!(app_id: application.apple_id, purchase_id: self.purchase_id)
|
61
63
|
end
|
62
|
-
|
63
|
-
private
|
64
|
-
|
65
|
-
def build_iap
|
66
|
-
attrs = [*iap_prices, *iap_details].to_h
|
67
|
-
attrs[:application] = application
|
68
|
-
attrs
|
69
|
-
end
|
70
|
-
|
71
|
-
def iap_prices
|
72
|
-
client.load_iap_prices(app_id: application.apple_id, purchase_id: self.purchase_id)
|
73
|
-
end
|
74
|
-
|
75
|
-
def iap_details
|
76
|
-
client.load_iap_details(app_id: application.apple_id, purchase_id: self.purchase_id)
|
77
|
-
end
|
78
64
|
end
|
79
65
|
end
|
80
66
|
end
|
@@ -534,7 +534,7 @@ module Spaceship
|
|
534
534
|
end
|
535
535
|
|
536
536
|
def price_tier(app_id)
|
537
|
-
r = request(:get, "ra/apps/#{app_id}/pricing")
|
537
|
+
r = request(:get, "ra/apps/#{app_id}/pricing/intervals")
|
538
538
|
data = parse_response(r, 'data')
|
539
539
|
|
540
540
|
begin
|
@@ -1043,14 +1043,8 @@ module Spaceship
|
|
1043
1043
|
handle_itc_response(r)
|
1044
1044
|
end
|
1045
1045
|
|
1046
|
-
# Loads the
|
1047
|
-
def
|
1048
|
-
r = request(:get, "ra/apps/#{app_id}/iaps/#{purchase_id}/pricing")
|
1049
|
-
parse_response(r, 'data')
|
1050
|
-
end
|
1051
|
-
|
1052
|
-
# Loads iap full details
|
1053
|
-
def load_iap_details(app_id: nil, purchase_id: nil)
|
1046
|
+
# Loads the full In-App-Purchases
|
1047
|
+
def load_iap(app_id: nil, purchase_id: nil)
|
1054
1048
|
r = request(:get, "ra/apps/#{app_id}/iaps/#{purchase_id}")
|
1055
1049
|
parse_response(r, 'data')
|
1056
1050
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.72.0.beta.
|
4
|
+
version: 2.72.0.beta.20171231010003
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-12-
|
18
|
+
date: 2017-12-31 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|