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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 006c6eb975783068f106731e42a7946ab80680af
4
- data.tar.gz: 3047a7b06b7c6d208dcf51fc7438ecfa2715fcd4
3
+ metadata.gz: 788eeec9cccc9f5a468d598afb976becb4649f4b
4
+ data.tar.gz: 3c7c7659d2acd82d66fcb7aa030fd8da12803f81
5
5
  SHA512:
6
- metadata.gz: c7f8aaa19ac73a8fea33c8c8aff41b50ccaf30613f352afe1ac215fe24e9bfec04ec00c05ea88367a7bea05c4d3801f927a2f6c476ee73424aff84c26ca50948
7
- data.tar.gz: 282caef23a9c958d1e92ef2f4843dced0416ba527a4e6f8c2906bec19f334bf4e999735f7ad81081bebae9021d68e014b3ad73f588d378e772856aba3883dcfe
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
@@ -23,6 +23,7 @@ module Scan
23
23
  end
24
24
 
25
25
  def run
26
+ program :name, 'scan'
26
27
  program :version, Scan::VERSION
27
28
  program :description, Scan::DESCRIPTION
28
29
  program :help, "Author", "Felix Krause <scan@krausefx.com>"
@@ -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
- UI.error("No simulators found that are equal to the version " \
125
- "of specifier (#{version}) and greater than or equal to the version " \
126
- "of deployment target (#{deployment_target_version})") if sims.empty?
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
@@ -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|
@@ -1,4 +1,4 @@
1
1
  module Scan
2
- VERSION = "0.14.2"
2
+ VERSION = "1.0.0"
3
3
  DESCRIPTION = "The easiest way to run tests of your iOS and Mac app"
4
4
  end
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.14.2
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-21 00:00:00.000000000 Z
11
+ date: 2016-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: fastlane_core
14
+ name: fastlane
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.57.0
19
+ version: 2.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.0
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.57.0
29
+ version: 2.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 1.0.0
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: '0'
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: '0'
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.4.5.1
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