scan 0.14.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/scan +7 -0
- data/lib/scan/commands_generator.rb +1 -0
- data/lib/scan/detect_values.rb +5 -3
- data/lib/scan/options.rb +1 -0
- data/lib/scan/version.rb +1 -1
- metadata +28 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 788eeec9cccc9f5a468d598afb976becb4649f4b
|
4
|
+
data.tar.gz: 3c7c7659d2acd82d66fcb7aa030fd8da12803f81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fc59c9c91cad28eb34b3efe173375489a661af27c2a47b82f56ceae1d2f7524c343030c43fd112921242c4e60b18464c419379fd7cb658d9ea395d89c2398e5
|
7
|
+
data.tar.gz: 62c772356cdc4d0da0bb7244e933814e2a5c352851825616a0a35f07fc40e5c628d314f68280e07ba644bc884cb7d3b57b2d6c3d44a49bb8d55b5113b6258227
|
data/bin/scan
CHANGED
@@ -3,4 +3,11 @@ $LOAD_PATH.push File.expand_path("../../lib", __FILE__)
|
|
3
3
|
|
4
4
|
require "scan"
|
5
5
|
require "scan/commands_generator"
|
6
|
+
require 'colored'
|
7
|
+
require 'shellwords'
|
8
|
+
tool_name = "scan"
|
9
|
+
full_params = ARGV.shelljoin
|
10
|
+
puts "[WARNING] You are calling #{tool_name} directly. Usage of the tool name without the `fastlane` prefix is deprecated in fastlane 2.0".yellow
|
11
|
+
puts "Please update your scripts to use `fastlane #{tool_name} #{full_params}` instead.".yellow
|
12
|
+
|
6
13
|
Scan::CommandsGenerator.start
|
data/lib/scan/detect_values.rb
CHANGED
@@ -121,9 +121,11 @@ module Scan
|
|
121
121
|
else # pieces.count == 2 -- mathematically, because of the 'end of line' part of our regular expression
|
122
122
|
version = pieces[1].tr('()', '')
|
123
123
|
potential_emptiness_error = lambda do |sims|
|
124
|
-
|
125
|
-
|
126
|
-
|
124
|
+
if sims.empty?
|
125
|
+
UI.error("No simulators found that are equal to the version " \
|
126
|
+
"of specifier (#{version}) and greater than or equal to the version " \
|
127
|
+
"of deployment target (#{deployment_target_version})")
|
128
|
+
end
|
127
129
|
end
|
128
130
|
filter_simulators(simulators, :equal, version).tap(&potential_emptiness_error).select(&selector)
|
129
131
|
end
|
data/lib/scan/options.rb
CHANGED
@@ -151,6 +151,7 @@ module Scan
|
|
151
151
|
FastlaneCore::ConfigItem.new(key: :slack_url,
|
152
152
|
short_option: "-i",
|
153
153
|
env_name: "SLACK_URL",
|
154
|
+
sensitive: true,
|
154
155
|
description: "Create an Incoming WebHook for your Slack group to post results there",
|
155
156
|
optional: true,
|
156
157
|
verify_block: proc do |value|
|
data/lib/scan/version.rb
CHANGED
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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: 2016-
|
11
|
+
date: 2016-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: fastlane
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 2.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 3.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 2.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 3.0.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: xcpretty
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,6 +98,20 @@ dependencies:
|
|
98
98
|
- - "<"
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: 2.0.0
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: colored
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
type: :runtime
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
101
115
|
- !ruby/object:Gem::Dependency
|
102
116
|
name: bundler
|
103
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,16 +144,16 @@ dependencies:
|
|
130
144
|
name: rake
|
131
145
|
requirement: !ruby/object:Gem::Requirement
|
132
146
|
requirements:
|
133
|
-
- - "
|
147
|
+
- - "<"
|
134
148
|
- !ruby/object:Gem::Version
|
135
|
-
version: '
|
149
|
+
version: '12'
|
136
150
|
type: :development
|
137
151
|
prerelease: false
|
138
152
|
version_requirements: !ruby/object:Gem::Requirement
|
139
153
|
requirements:
|
140
|
-
- - "
|
154
|
+
- - "<"
|
141
155
|
- !ruby/object:Gem::Version
|
142
|
-
version: '
|
156
|
+
version: '12'
|
143
157
|
- !ruby/object:Gem::Dependency
|
144
158
|
name: rspec
|
145
159
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,7 +280,8 @@ homepage: https://fastlane.tools
|
|
266
280
|
licenses:
|
267
281
|
- MIT
|
268
282
|
metadata: {}
|
269
|
-
post_install_message:
|
283
|
+
post_install_message: "\e[1;33;40mPlease use `fastlane scan` instead of `scan` from
|
284
|
+
now on.\e[0m"
|
270
285
|
rdoc_options: []
|
271
286
|
require_paths:
|
272
287
|
- lib
|
@@ -282,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
282
297
|
version: '0'
|
283
298
|
requirements: []
|
284
299
|
rubyforge_project:
|
285
|
-
rubygems_version: 2.
|
300
|
+
rubygems_version: 2.6.8
|
286
301
|
signing_key:
|
287
302
|
specification_version: 4
|
288
303
|
summary: The easiest way to run tests of your iOS and Mac app
|