branch_io_cli 0.13.0.pre.1 → 0.13.0.pre.2
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 +4 -4
- data/LICENSE +1 -1
- data/README.md +112 -7
- data/lib/assets/completions/completion.bash +6 -1
- data/lib/assets/completions/completion.zsh +1 -1
- data/lib/assets/templates/completion.bash.erb +4 -1
- data/lib/assets/templates/completion.zsh.erb +1 -1
- data/lib/assets/templates/env_description.erb +1 -0
- data/lib/branch_io_cli.rb +9 -9
- data/lib/branch_io_cli/branch_app.rb +18 -5
- data/lib/branch_io_cli/cli.rb +1 -1
- data/lib/branch_io_cli/command.rb +5 -4
- data/lib/branch_io_cli/command/command.rb +4 -0
- data/lib/branch_io_cli/command/env_command.rb +22 -0
- data/lib/branch_io_cli/command/report_command.rb +9 -0
- data/lib/branch_io_cli/command/setup_command.rb +2 -2
- data/lib/branch_io_cli/configuration.rb +13 -10
- data/lib/branch_io_cli/configuration/configuration.rb +11 -5
- data/lib/branch_io_cli/configuration/env_configuration.rb +47 -0
- data/lib/branch_io_cli/configuration/env_options.rb +30 -0
- data/lib/branch_io_cli/configuration/environment.rb +107 -0
- data/lib/branch_io_cli/configuration/report_configuration.rb +8 -0
- data/lib/branch_io_cli/configuration/validate_configuration.rb +9 -0
- data/lib/branch_io_cli/core_ext.rb +4 -3
- data/lib/branch_io_cli/core_ext/tty_platform.rb +13 -0
- data/lib/branch_io_cli/core_ext/xcodeproj.rb +4 -4
- data/lib/branch_io_cli/format.rb +3 -3
- data/lib/branch_io_cli/helper.rb +6 -6
- data/lib/branch_io_cli/helper/branch_helper.rb +24 -10
- data/lib/branch_io_cli/helper/ios_helper.rb +15 -17
- data/lib/branch_io_cli/helper/report_helper.rb +5 -1
- data/lib/branch_io_cli/helper/tool_helper.rb +70 -31
- data/lib/branch_io_cli/rake_task.rb +2 -4
- data/lib/branch_io_cli/version.rb +1 -1
- metadata +112 -58
@@ -1,3 +1,4 @@
|
|
1
|
+
require "active_support/core_ext/string"
|
1
2
|
require "cocoapods-core"
|
2
3
|
require "fileutils"
|
3
4
|
require "pathname"
|
@@ -14,6 +15,10 @@ module BranchIOCLI
|
|
14
15
|
Configuration::Configuration.current
|
15
16
|
end
|
16
17
|
|
18
|
+
def env
|
19
|
+
Configuration::Environment
|
20
|
+
end
|
21
|
+
|
17
22
|
def helper
|
18
23
|
BranchHelper
|
19
24
|
end
|
@@ -23,10 +28,10 @@ module BranchIOCLI
|
|
23
28
|
|
24
29
|
podfile_path = options.podfile_path
|
25
30
|
|
26
|
-
install_command =
|
27
|
-
install_command
|
31
|
+
install_command = %w(pod install)
|
32
|
+
install_command << "--repo-update" if options.pod_repo_update
|
28
33
|
Dir.chdir(File.dirname(podfile_path)) do
|
29
|
-
sh
|
34
|
+
sh %w(pod init)
|
30
35
|
PatternPatch::Patch.new(
|
31
36
|
regexp: /^(\s*)# Pods for #{options.target.name}$/,
|
32
37
|
mode: :append,
|
@@ -34,7 +39,7 @@ module BranchIOCLI
|
|
34
39
|
).apply podfile_path
|
35
40
|
# Store a Pod::Podfile representation of this file.
|
36
41
|
options.open_podfile
|
37
|
-
sh
|
42
|
+
sh(*install_command)
|
38
43
|
end
|
39
44
|
|
40
45
|
return unless options.commit
|
@@ -72,7 +77,7 @@ github "BranchMetrics/ios-branch-deep-linking"
|
|
72
77
|
end
|
73
78
|
|
74
79
|
# 2. carthage update
|
75
|
-
sh "carthage
|
80
|
+
sh "carthage", options.carthage_command, chdir: File.dirname(config.cartfile_path)
|
76
81
|
|
77
82
|
# 3. Add Cartfile and Cartfile.resolved to commit (in case :commit param specified)
|
78
83
|
helper.add_change cartfile_path
|
@@ -189,10 +194,10 @@ github "BranchMetrics/ios-branch-deep-linking"
|
|
189
194
|
|
190
195
|
# 2. pod install
|
191
196
|
# command = "PATH='#{ENV['PATH']}' pod install"
|
192
|
-
command =
|
193
|
-
command
|
197
|
+
command = %w(pod install)
|
198
|
+
command << '--repo-update' if options.pod_repo_update
|
194
199
|
|
195
|
-
sh
|
200
|
+
sh(*command, chdir: File.dirname(config.podfile_path))
|
196
201
|
|
197
202
|
# 3. Add Podfile and Podfile.lock to commit (in case :commit param specified)
|
198
203
|
helper.add_change podfile_path
|
@@ -220,9 +225,9 @@ github "BranchMetrics/ios-branch-deep-linking"
|
|
220
225
|
return false unless PatchHelper.patch_cartfile cartfile_path
|
221
226
|
|
222
227
|
# 2. carthage bootstrap (or other command)
|
223
|
-
cmd = "carthage
|
224
|
-
cmd << "
|
225
|
-
sh
|
228
|
+
cmd = ["carthage", *options.carthage_command.shellsplit]
|
229
|
+
cmd << "ios-branch-deep-linking" if options.carthage_command =~ /^(update|build)/
|
230
|
+
sh(*cmd, chdir: File.dirname(config.cartfile_path))
|
226
231
|
|
227
232
|
# 3. Add Cartfile and Cartfile.resolved to commit (in case :commit param specified)
|
228
233
|
helper.add_change cartfile_path
|
@@ -258,30 +263,51 @@ github "BranchMetrics/ios-branch-deep-linking"
|
|
258
263
|
end
|
259
264
|
|
260
265
|
def verify_cocoapods
|
266
|
+
if defined?(Bundler)
|
267
|
+
begin
|
268
|
+
require "cocoapods"
|
269
|
+
rescue LoadError
|
270
|
+
# The only alternative here would be something like patch Gemfile, run bundle install
|
271
|
+
# and then exec %w(bundle exec br) + ARGV, except merge anything inferred or obtained
|
272
|
+
# by asking questions.
|
273
|
+
say %(CocoaPods is required to continue. Please add 'gem "cocoapods"' to your Gemfile, run bundle install and then rerun this command.)
|
274
|
+
exit(-1)
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
261
278
|
pod_cmd = `which pod`
|
262
279
|
return unless pod_cmd.empty?
|
263
280
|
|
264
|
-
|
265
|
-
if
|
266
|
-
say "'pod' command not available in PATH and '
|
281
|
+
cmd = `which #{install_cmd}`
|
282
|
+
if cmd.empty?
|
283
|
+
say "'pod' command not available in PATH and '#{install_command}' command not available in PATH to install cocoapods."
|
267
284
|
exit(-1)
|
268
285
|
end
|
269
286
|
|
270
|
-
|
287
|
+
sudo = env.from_homebrew? || File.writable?(Gem.dir) ? "" : "sudo "
|
288
|
+
sudo_warning = sudo.blank? ? "" : " (requires a sudo password)"
|
289
|
+
|
290
|
+
install = confirm "'pod' command not available in PATH. Install cocoapods#{sudo_warning}?", true
|
271
291
|
unless install
|
292
|
+
# TODO: There are times that --no-add-sdk is not available or doesn't avoid the need.
|
272
293
|
say "Please install cocoapods or use --no-add-sdk to continue."
|
273
294
|
exit(-1)
|
274
295
|
end
|
275
296
|
|
276
|
-
|
277
|
-
|
278
|
-
|
297
|
+
install_cmd = env.from_homebrew? ? "brew" : "gem"
|
298
|
+
|
299
|
+
if sudo.blank?
|
300
|
+
command = [install_cmd.to_s, "install", "cocoapods"]
|
279
301
|
else
|
280
|
-
|
302
|
+
command = [sudo, install_cmd.to_s, "install", "cocoapods"]
|
281
303
|
end
|
282
304
|
|
305
|
+
sh(*command)
|
306
|
+
|
283
307
|
# Ensure master podspec repo is set up (will update if it exists).
|
284
|
-
|
308
|
+
say "Synching master podspec repo. This may take some time."
|
309
|
+
sh %w(pod setup)
|
310
|
+
say "Done ✅"
|
285
311
|
end
|
286
312
|
|
287
313
|
def verify_carthage
|
@@ -300,7 +326,7 @@ github "BranchMetrics/ios-branch-deep-linking"
|
|
300
326
|
exit(-1)
|
301
327
|
end
|
302
328
|
|
303
|
-
sh
|
329
|
+
sh %w(brew install carthage)
|
304
330
|
end
|
305
331
|
|
306
332
|
def verify_git
|
@@ -321,7 +347,7 @@ github "BranchMetrics/ios-branch-deep-linking"
|
|
321
347
|
exit(-1)
|
322
348
|
end
|
323
349
|
|
324
|
-
sh
|
350
|
+
sh %w(xcode-select --install)
|
325
351
|
end
|
326
352
|
|
327
353
|
def pod_install_if_required(report = STDOUT)
|
@@ -340,10 +366,10 @@ github "BranchMetrics/ios-branch-deep-linking"
|
|
340
366
|
|
341
367
|
verify_cocoapods
|
342
368
|
|
343
|
-
install_command =
|
369
|
+
install_command = %w(pod install)
|
344
370
|
|
345
371
|
if config.pod_repo_update
|
346
|
-
install_command
|
372
|
+
install_command << " --repo-update"
|
347
373
|
else
|
348
374
|
say <<-EOF
|
349
375
|
You have disabled "pod repo update". This can cause "pod install" to fail in
|
@@ -352,11 +378,12 @@ some cases. If that happens, please rerun without --no-pod-repo-update or run
|
|
352
378
|
EOF
|
353
379
|
end
|
354
380
|
|
355
|
-
|
356
|
-
|
381
|
+
# included by sh, but this is to the screen when generating a report.
|
382
|
+
say "Running #{IO.command_from_args(*install_command)}"
|
383
|
+
if report.sh(*install_command).success?
|
357
384
|
say "Done ✅"
|
358
385
|
else
|
359
|
-
say "#{install_command
|
386
|
+
say "#{IO.command_from_args(*install_command)} failed. See report for details."
|
360
387
|
return false
|
361
388
|
end
|
362
389
|
|
@@ -379,13 +406,25 @@ some cases. If that happens, please rerun without --no-pod-repo-update or run
|
|
379
406
|
|
380
407
|
verify_carthage
|
381
408
|
|
382
|
-
|
409
|
+
checkout_command = %w(carthage checkout)
|
410
|
+
|
411
|
+
# included by sh, but this is to the screen when generating a report.
|
412
|
+
say "Running #{IO.command_from_args(*checkout_command)}"
|
413
|
+
if report.sh(*checkout_command).success?
|
414
|
+
say "Done ✅"
|
415
|
+
else
|
416
|
+
say "#{IO.command_from_args(*checkout_command)} failed. See report for details."
|
417
|
+
return false
|
418
|
+
end
|
419
|
+
|
420
|
+
build_command = %w(carthage build --platform ios)
|
383
421
|
|
384
|
-
|
385
|
-
|
422
|
+
# included by sh, but this is to the screen when generating a report.
|
423
|
+
say "Running #{IO.command_from_args(*build_command)}"
|
424
|
+
if report.sh(*build_command).success?
|
386
425
|
say "Done ✅"
|
387
426
|
else
|
388
|
-
say "#{
|
427
|
+
say "#{IO.command_from_args(*build_command)} failed. See report for details."
|
389
428
|
return false
|
390
429
|
end
|
391
430
|
|
@@ -1,13 +1,11 @@
|
|
1
1
|
require "rake"
|
2
2
|
require "rake/tasklib"
|
3
|
-
|
3
|
+
require_relative "../branch_io_cli"
|
4
4
|
require "highline/import"
|
5
5
|
|
6
6
|
module BranchIOCLI
|
7
7
|
class RakeTask < Rake::TaskLib
|
8
|
-
|
9
|
-
|
10
|
-
def initialize(name = :branch, &b)
|
8
|
+
def initialize(name = :branch)
|
11
9
|
namespace name do
|
12
10
|
add_branch_task :report, "Generate a brief Branch report"
|
13
11
|
add_branch_task :setup, "Set a project up with the Branch SDK"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: branch_io_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.0.pre.
|
4
|
+
version: 0.13.0.pre.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Branch
|
@@ -9,50 +9,50 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-01-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: CFPropertyList
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '2.3'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '2.3'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: cocoapods-core
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '1.3'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '1.3'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: commander
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '4.4'
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
55
|
+
version: '4.4'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: pattern_patch
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,6 +60,9 @@ dependencies:
|
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 0.5.4
|
63
|
+
- - "~>"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0.5'
|
63
66
|
type: :runtime
|
64
67
|
prerelease: false
|
65
68
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -67,146 +70,191 @@ dependencies:
|
|
67
70
|
- - ">="
|
68
71
|
- !ruby/object:Gem::Version
|
69
72
|
version: 0.5.4
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.5'
|
70
76
|
- !ruby/object:Gem::Dependency
|
71
77
|
name: plist
|
72
78
|
requirement: !ruby/object:Gem::Requirement
|
73
79
|
requirements:
|
74
|
-
- - "
|
80
|
+
- - "~>"
|
75
81
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
82
|
+
version: '3.3'
|
77
83
|
type: :runtime
|
78
84
|
prerelease: false
|
79
85
|
version_requirements: !ruby/object:Gem::Requirement
|
80
86
|
requirements:
|
81
|
-
- - "
|
87
|
+
- - "~>"
|
82
88
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
89
|
+
version: '3.3'
|
84
90
|
- !ruby/object:Gem::Dependency
|
85
91
|
name: rubyzip
|
86
92
|
requirement: !ruby/object:Gem::Requirement
|
87
93
|
requirements:
|
88
|
-
- - "
|
94
|
+
- - "~>"
|
89
95
|
- !ruby/object:Gem::Version
|
90
|
-
version: '
|
96
|
+
version: '1.1'
|
91
97
|
type: :runtime
|
92
98
|
prerelease: false
|
93
99
|
version_requirements: !ruby/object:Gem::Requirement
|
94
100
|
requirements:
|
95
|
-
- - "
|
101
|
+
- - "~>"
|
96
102
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
103
|
+
version: '1.1'
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: tty-platform
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.1'
|
111
|
+
type: :runtime
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.1'
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: tty-spinner
|
120
|
+
requirement: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.7'
|
125
|
+
type: :runtime
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.7'
|
98
132
|
- !ruby/object:Gem::Dependency
|
99
133
|
name: xcodeproj
|
100
134
|
requirement: !ruby/object:Gem::Requirement
|
101
135
|
requirements:
|
102
|
-
- - "
|
136
|
+
- - "~>"
|
103
137
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
138
|
+
version: '1.4'
|
105
139
|
type: :runtime
|
106
140
|
prerelease: false
|
107
141
|
version_requirements: !ruby/object:Gem::Requirement
|
108
142
|
requirements:
|
109
|
-
- - "
|
143
|
+
- - "~>"
|
110
144
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
145
|
+
version: '1.4'
|
112
146
|
- !ruby/object:Gem::Dependency
|
113
147
|
name: bundler
|
114
148
|
requirement: !ruby/object:Gem::Requirement
|
115
149
|
requirements:
|
116
|
-
- - "
|
150
|
+
- - "~>"
|
117
151
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
152
|
+
version: '1.15'
|
119
153
|
type: :development
|
120
154
|
prerelease: false
|
121
155
|
version_requirements: !ruby/object:Gem::Requirement
|
122
156
|
requirements:
|
123
|
-
- - "
|
157
|
+
- - "~>"
|
124
158
|
- !ruby/object:Gem::Version
|
125
|
-
version: '
|
159
|
+
version: '1.15'
|
126
160
|
- !ruby/object:Gem::Dependency
|
127
161
|
name: cocoapods
|
128
162
|
requirement: !ruby/object:Gem::Requirement
|
129
163
|
requirements:
|
130
|
-
- - "
|
164
|
+
- - "~>"
|
131
165
|
- !ruby/object:Gem::Version
|
132
|
-
version: '
|
166
|
+
version: '1.3'
|
133
167
|
type: :development
|
134
168
|
prerelease: false
|
135
169
|
version_requirements: !ruby/object:Gem::Requirement
|
136
170
|
requirements:
|
137
|
-
- - "
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '1.3'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: fastlane
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '2.69'
|
181
|
+
type: :development
|
182
|
+
prerelease: false
|
183
|
+
version_requirements: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
138
186
|
- !ruby/object:Gem::Version
|
139
|
-
version: '
|
187
|
+
version: '2.69'
|
140
188
|
- !ruby/object:Gem::Dependency
|
141
189
|
name: pry
|
142
190
|
requirement: !ruby/object:Gem::Requirement
|
143
191
|
requirements:
|
144
|
-
- - "
|
192
|
+
- - "~>"
|
145
193
|
- !ruby/object:Gem::Version
|
146
|
-
version: '0'
|
194
|
+
version: '0.11'
|
147
195
|
type: :development
|
148
196
|
prerelease: false
|
149
197
|
version_requirements: !ruby/object:Gem::Requirement
|
150
198
|
requirements:
|
151
|
-
- - "
|
199
|
+
- - "~>"
|
152
200
|
- !ruby/object:Gem::Version
|
153
|
-
version: '0'
|
201
|
+
version: '0.11'
|
154
202
|
- !ruby/object:Gem::Dependency
|
155
203
|
name: rake
|
156
204
|
requirement: !ruby/object:Gem::Requirement
|
157
205
|
requirements:
|
158
|
-
- - "
|
206
|
+
- - "<"
|
159
207
|
- !ruby/object:Gem::Version
|
160
|
-
version: '
|
208
|
+
version: '13'
|
161
209
|
type: :development
|
162
210
|
prerelease: false
|
163
211
|
version_requirements: !ruby/object:Gem::Requirement
|
164
212
|
requirements:
|
165
|
-
- - "
|
213
|
+
- - "<"
|
166
214
|
- !ruby/object:Gem::Version
|
167
|
-
version: '
|
215
|
+
version: '13'
|
168
216
|
- !ruby/object:Gem::Dependency
|
169
217
|
name: rspec
|
170
218
|
requirement: !ruby/object:Gem::Requirement
|
171
219
|
requirements:
|
172
|
-
- - "
|
220
|
+
- - "~>"
|
173
221
|
- !ruby/object:Gem::Version
|
174
|
-
version: '
|
222
|
+
version: '3.5'
|
175
223
|
type: :development
|
176
224
|
prerelease: false
|
177
225
|
version_requirements: !ruby/object:Gem::Requirement
|
178
226
|
requirements:
|
179
|
-
- - "
|
227
|
+
- - "~>"
|
180
228
|
- !ruby/object:Gem::Version
|
181
|
-
version: '
|
229
|
+
version: '3.5'
|
182
230
|
- !ruby/object:Gem::Dependency
|
183
231
|
name: rspec-simplecov
|
184
232
|
requirement: !ruby/object:Gem::Requirement
|
185
233
|
requirements:
|
186
|
-
- - "
|
234
|
+
- - "~>"
|
187
235
|
- !ruby/object:Gem::Version
|
188
|
-
version: '0'
|
236
|
+
version: '0.2'
|
189
237
|
type: :development
|
190
238
|
prerelease: false
|
191
239
|
version_requirements: !ruby/object:Gem::Requirement
|
192
240
|
requirements:
|
193
|
-
- - "
|
241
|
+
- - "~>"
|
194
242
|
- !ruby/object:Gem::Version
|
195
|
-
version: '0'
|
243
|
+
version: '0.2'
|
196
244
|
- !ruby/object:Gem::Dependency
|
197
245
|
name: rspec_junit_formatter
|
198
246
|
requirement: !ruby/object:Gem::Requirement
|
199
247
|
requirements:
|
200
|
-
- - "
|
248
|
+
- - "~>"
|
201
249
|
- !ruby/object:Gem::Version
|
202
|
-
version: '0'
|
250
|
+
version: '0.3'
|
203
251
|
type: :development
|
204
252
|
prerelease: false
|
205
253
|
version_requirements: !ruby/object:Gem::Requirement
|
206
254
|
requirements:
|
207
|
-
- - "
|
255
|
+
- - "~>"
|
208
256
|
- !ruby/object:Gem::Version
|
209
|
-
version: '0'
|
257
|
+
version: '0.3'
|
210
258
|
- !ruby/object:Gem::Dependency
|
211
259
|
name: rubocop
|
212
260
|
requirement: !ruby/object:Gem::Requirement
|
@@ -225,16 +273,16 @@ dependencies:
|
|
225
273
|
name: simplecov
|
226
274
|
requirement: !ruby/object:Gem::Requirement
|
227
275
|
requirements:
|
228
|
-
- - "
|
276
|
+
- - "~>"
|
229
277
|
- !ruby/object:Gem::Version
|
230
|
-
version: '0'
|
278
|
+
version: '0.15'
|
231
279
|
type: :development
|
232
280
|
prerelease: false
|
233
281
|
version_requirements: !ruby/object:Gem::Requirement
|
234
282
|
requirements:
|
235
|
-
- - "
|
283
|
+
- - "~>"
|
236
284
|
- !ruby/object:Gem::Version
|
237
|
-
version: '0'
|
285
|
+
version: '0.15'
|
238
286
|
description: Set up mobile app projects (currently iOS only) to use the Branch SDK
|
239
287
|
without opening Xcode. Validate the Universal Link settings for any project.
|
240
288
|
email:
|
@@ -293,6 +341,7 @@ files:
|
|
293
341
|
- lib/assets/templates/command.erb
|
294
342
|
- lib/assets/templates/completion.bash.erb
|
295
343
|
- lib/assets/templates/completion.zsh.erb
|
344
|
+
- lib/assets/templates/env_description.erb
|
296
345
|
- lib/assets/templates/program_description.erb
|
297
346
|
- lib/assets/templates/report_description.erb
|
298
347
|
- lib/assets/templates/setup_description.erb
|
@@ -303,11 +352,15 @@ files:
|
|
303
352
|
- lib/branch_io_cli/cli.rb
|
304
353
|
- lib/branch_io_cli/command.rb
|
305
354
|
- lib/branch_io_cli/command/command.rb
|
355
|
+
- lib/branch_io_cli/command/env_command.rb
|
306
356
|
- lib/branch_io_cli/command/report_command.rb
|
307
357
|
- lib/branch_io_cli/command/setup_command.rb
|
308
358
|
- lib/branch_io_cli/command/validate_command.rb
|
309
359
|
- lib/branch_io_cli/configuration.rb
|
310
360
|
- lib/branch_io_cli/configuration/configuration.rb
|
361
|
+
- lib/branch_io_cli/configuration/env_configuration.rb
|
362
|
+
- lib/branch_io_cli/configuration/env_options.rb
|
363
|
+
- lib/branch_io_cli/configuration/environment.rb
|
311
364
|
- lib/branch_io_cli/configuration/option.rb
|
312
365
|
- lib/branch_io_cli/configuration/option_wrapper.rb
|
313
366
|
- lib/branch_io_cli/configuration/report_configuration.rb
|
@@ -320,6 +373,7 @@ files:
|
|
320
373
|
- lib/branch_io_cli/core_ext.rb
|
321
374
|
- lib/branch_io_cli/core_ext/io.rb
|
322
375
|
- lib/branch_io_cli/core_ext/regexp.rb
|
376
|
+
- lib/branch_io_cli/core_ext/tty_platform.rb
|
323
377
|
- lib/branch_io_cli/core_ext/xcodeproj.rb
|
324
378
|
- lib/branch_io_cli/format.rb
|
325
379
|
- lib/branch_io_cli/format/highline_format.rb
|