fastlane 2.42.0.beta.20170627010007 → 2.42.0.beta.20170628010031
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/actions/appetize_viewing_url_generator.rb +6 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/frameit/README.md +1 -1
- data/precheck/lib/precheck/rule_processor.rb +0 -6
- data/precheck/lib/precheck/rules/abstract_text_match_rule.rb +16 -0
- data/precheck/lib/precheck/rules/other_platforms_rule.rb +4 -0
- data/precheck/lib/precheck/rules/placeholder_words_rule.rb +1 -2
- data/spaceship/lib/spaceship/two_step_client.rb +2 -0
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2257ff3da7101c5d2d4bbd522dabc0bdcb7cad2
|
4
|
+
data.tar.gz: 909bbff76f602a73462542cc8bc1e177762d7801
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a73ac8784d47ef04754c5455837b9acf980d7ce7c7ee1e56b6e8a7aa571b408db9778736475942958c1290c1f671b330afc5a3fa7e82758f586ffbebab1c85a
|
7
|
+
data.tar.gz: c1f96f871c82a9cc605cccdcb2dfee397929b1dcb912dc0027ccc9f241d9c3696b3ac8ed9968dfbca6db1899345ce608a83bcb196d6cc0660db2159619725b1b
|
@@ -26,6 +26,7 @@ module Fastlane
|
|
26
26
|
url_params << "scale=#{params[:scale]}"
|
27
27
|
url_params << "launchUrl=#{params[:launch_url]}" if params[:launch_url]
|
28
28
|
url_params << "language=#{params[:language]}" if params[:language]
|
29
|
+
url_params << "osVersion=#{params[:os_version]}" if params[:os_version]
|
29
30
|
|
30
31
|
return link + "?" + url_params.join("&")
|
31
32
|
end
|
@@ -97,6 +98,11 @@ module Fastlane
|
|
97
98
|
env_name: "APPETIZE_VIEWING_URL_GENERATOR_LAUNCH_URL",
|
98
99
|
description: "Specify a deep link to open when your app is launched",
|
99
100
|
is_string: true,
|
101
|
+
optional: true),
|
102
|
+
FastlaneCore::ConfigItem.new(key: :os_version,
|
103
|
+
env_name: "APPETIZE_VIEWING_URL_GENERATOR_OS_VERSION",
|
104
|
+
description: "The operating system version on which to run your app, e.g. 10.3, 8.0",
|
105
|
+
is_string: true,
|
100
106
|
optional: true)
|
101
107
|
]
|
102
108
|
end
|
data/frameit/README.md
CHANGED
@@ -188,7 +188,7 @@ To define the title and optionally the keyword, put two `.strings` files into th
|
|
188
188
|
|
189
189
|
The `keyword.strings` and `title.strings` are standard `.strings` file you already use for your iOS apps, making it easy to use your existing translation service to get localized titles.
|
190
190
|
|
191
|
-
**Note:** These `.strings` files **MUST** be utf-16 encoded (UTF-16
|
191
|
+
**Note:** These `.strings` files **MUST** be utf-16 encoded (UTF-16 BE with BOM). They also must begin with an empty line. If you are having trouble see [issue #1740](https://github.com/fastlane/fastlane/issues/1740)
|
192
192
|
|
193
193
|
**Note:** You **MUST** provide a background if you want titles. `frameit` will not add the tiles if a background is not specified.
|
194
194
|
|
@@ -140,12 +140,6 @@ module Precheck
|
|
140
140
|
def self.generate_text_items_to_check(app: nil, app_version: nil)
|
141
141
|
items = []
|
142
142
|
items << TextItemToCheck.new(app_version.copyright, :copyright, "copyright")
|
143
|
-
items << TextItemToCheck.new(app_version.review_first_name, :review_first_name, "review first name")
|
144
|
-
items << TextItemToCheck.new(app_version.review_last_name, :review_last_name, "review last name")
|
145
|
-
items << TextItemToCheck.new(app_version.review_phone_number, :review_phone_number, "review phone number")
|
146
|
-
items << TextItemToCheck.new(app_version.review_email, :review_email, "review email")
|
147
|
-
items << TextItemToCheck.new(app_version.review_demo_user, :review_demo_user, "review demo user")
|
148
|
-
items << TextItemToCheck.new(app_version.review_notes, :review_notes, "review notes")
|
149
143
|
|
150
144
|
items += collect_text_items_from_language_item(hash: app_version.keywords,
|
151
145
|
item_name: :keywords,
|
@@ -14,6 +14,12 @@ module Precheck
|
|
14
14
|
not_implemented(__method__)
|
15
15
|
end
|
16
16
|
|
17
|
+
# list of words or phrases that should be excluded from this rule
|
18
|
+
# they will be removed from the text string before the rule is executed
|
19
|
+
def allowed_lowercased_words
|
20
|
+
[]
|
21
|
+
end
|
22
|
+
|
17
23
|
def pass_if_empty?
|
18
24
|
return true
|
19
25
|
end
|
@@ -22,6 +28,14 @@ module Precheck
|
|
22
28
|
WORD_SEARCH_TYPES[:fail_on_inclusion]
|
23
29
|
end
|
24
30
|
|
31
|
+
def remove_safe_words(text: nil)
|
32
|
+
text_without_safe_words = text
|
33
|
+
allowed_lowercased_words.each do |safe_word|
|
34
|
+
text_without_safe_words.gsub!(safe_word, '')
|
35
|
+
end
|
36
|
+
return text_without_safe_words
|
37
|
+
end
|
38
|
+
|
25
39
|
# rule block that checks text for any instance of each string in lowercased_words_to_look_for
|
26
40
|
def rule_block
|
27
41
|
return lambda { |text|
|
@@ -34,6 +48,8 @@ module Precheck
|
|
34
48
|
end
|
35
49
|
end
|
36
50
|
|
51
|
+
text = remove_safe_words(text: text)
|
52
|
+
|
37
53
|
matches = lowercased_words_to_look_for.each_with_object([]) do |word, found_words|
|
38
54
|
if text.include?(word)
|
39
55
|
found_words << word
|
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.42.0.beta.
|
4
|
+
version: 2.42.0.beta.20170628010031
|
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-06-
|
18
|
+
date: 2017-06-28 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|
@@ -1397,24 +1397,24 @@ metadata:
|
|
1397
1397
|
post_install_message:
|
1398
1398
|
rdoc_options: []
|
1399
1399
|
require_paths:
|
1400
|
-
-
|
1401
|
-
-
|
1400
|
+
- precheck/lib
|
1401
|
+
- produce/lib
|
1402
|
+
- pem/lib
|
1402
1403
|
- screengrab/lib
|
1404
|
+
- fastlane_core/lib
|
1405
|
+
- supply/lib
|
1403
1406
|
- spaceship/lib
|
1407
|
+
- scan/lib
|
1408
|
+
- pilot/lib
|
1404
1409
|
- fastlane/lib
|
1410
|
+
- match/lib
|
1411
|
+
- cert/lib
|
1405
1412
|
- sigh/lib
|
1406
|
-
-
|
1413
|
+
- gym/lib
|
1414
|
+
- deliver/lib
|
1407
1415
|
- frameit/lib
|
1408
|
-
- produce/lib
|
1409
|
-
- precheck/lib
|
1410
|
-
- scan/lib
|
1411
|
-
- match/lib
|
1412
|
-
- supply/lib
|
1413
|
-
- pilot/lib
|
1414
1416
|
- credentials_manager/lib
|
1415
1417
|
- snapshot/lib
|
1416
|
-
- cert/lib
|
1417
|
-
- gym/lib
|
1418
1418
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1419
1419
|
requirements:
|
1420
1420
|
- - ">="
|