fastlane 2.42.0.beta.20170627010007 → 2.42.0.beta.20170628010031

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
  SHA1:
3
- metadata.gz: 86a25918ba8c57266a020e17023e39b2ba2e2428
4
- data.tar.gz: 3bfa3d84b853704fdc135e840a85ef2ffc8979c0
3
+ metadata.gz: b2257ff3da7101c5d2d4bbd522dabc0bdcb7cad2
4
+ data.tar.gz: 909bbff76f602a73462542cc8bc1e177762d7801
5
5
  SHA512:
6
- metadata.gz: 60b1aac9173297669ff955f6057e7c917d68da743f16356abda15149e08beedf0c0cc8f95f4974228bb56efcae41146f9c90d81697fcf04eb3b8fcbac631c9fa
7
- data.tar.gz: a24a9ebe5634704c20021edd7458cf9e78132e1b93064c437413b46dba7ab3465d26245cc198cf6323245f7e811038b142a4be9b598886ec3fcc974251734031
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
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.42.0.beta.20170627010007'.freeze
2
+ VERSION = '2.42.0.beta.20170628010031'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -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 LE 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)
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
@@ -19,6 +19,10 @@ module Precheck
19
19
  "mentioning other platforms, like Android or Blackberry"
20
20
  end
21
21
 
22
+ def allowed_lowercased_words
23
+ ["google analytics"]
24
+ end
25
+
22
26
  def lowercased_words_to_look_for
23
27
  [
24
28
  "android",
@@ -25,8 +25,7 @@ module Precheck
25
25
  "bacon ipsum",
26
26
  "lorem ipsum",
27
27
  "placeholder",
28
- "text here",
29
- "todo"
28
+ "text here"
30
29
  ].map(&:downcase)
31
30
  end
32
31
  end
@@ -1,3 +1,5 @@
1
+ require 'tempfile'
2
+
1
3
  module Spaceship
2
4
  class Client
3
5
  def handle_two_step(response)
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.20170627010007
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-27 00:00:00.000000000 Z
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
- - deliver/lib
1401
- - fastlane_core/lib
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
- - pem/lib
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
  - - ">="