branch_io_cli 0.12.6 → 0.12.7
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/README.md +1 -1
- data/lib/branch_io_cli/command/setup_command.rb +3 -3
- data/lib/branch_io_cli/configuration/report_configuration.rb +5 -0
- data/lib/branch_io_cli/configuration/setup_configuration.rb +8 -1
- data/lib/branch_io_cli/configuration/setup_options.rb +1 -0
- data/lib/branch_io_cli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f4b56f1ff4b570ba8dfd1efbfa07ce22bfc5845203e1cda6362de90af8c61a5
|
|
4
|
+
data.tar.gz: ccd9d333c5163062dee9ed5f241614e2a52f1ca450bf24d7a22a891ded00c44a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4101b50e8f1751a8fbbe4e6b1ef79dc3cd014dd79b9f6a23e16eee0475a0df6f666ccbf83f6816e106b7d68b77df8cd79de2eec80488690d9c76cd016cb22eff
|
|
7
|
+
data.tar.gz: a10b7cba90bb2ccd86bd3b3e04a67d27272331addc3844d5e55ad71de43f55ec8b77ac640bc7824d5b32c8e3f21ac6fffe90526e311c33d596ff741ee6c0886e
|
data/README.md
CHANGED
|
@@ -145,7 +145,7 @@ See https://github.com/BranchMetrics/branch_io_cli#setup-command for more inform
|
|
|
145
145
|
|-T, --test-key key_test_yyyy|Branch test key|BRANCH_TEST_KEY|
|
|
146
146
|
|-D, --domains example.com,www.example.com|Comma-separated list of custom domain(s) or non-Branch domain(s)|BRANCH_DOMAINS|
|
|
147
147
|
|--app-link-subdomain myapp|Branch app.link subdomain, e.g. myapp for myapp.app.link|BRANCH_APP_LINK_SUBDOMAIN|
|
|
148
|
-
|-U, --uri-scheme myurischeme[://]|Custom URI scheme used in the Branch Dashboard for this app|BRANCH_URI_SCHEME|
|
|
148
|
+
|-U, --[no-]uri-scheme [myurischeme[://]]|Custom URI scheme used in the Branch Dashboard for this app|BRANCH_URI_SCHEME|
|
|
149
149
|
|-s, --setting [BRANCH_KEY_SETTING]|Use a custom build setting for the Branch key (default: Use Info.plist)|BRANCH_SETTING|
|
|
150
150
|
|--[no-]test-configurations [config1,config2]|List of configurations that use the test key with a user-defined setting (default: Debug configurations)|BRANCH_TEST_CONFIGURATIONS|
|
|
151
151
|
|--xcodeproj MyProject.xcodeproj|Path to an Xcode project to update|BRANCH_XCODEPROJ|
|
|
@@ -31,12 +31,12 @@ module BranchIOCLI
|
|
|
31
31
|
sh "pod install", chdir: File.dirname(config.podfile_path)
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
# Add SDK via CocoaPods, Carthage or direct download (no-op if disabled).
|
|
35
|
-
add_sdk
|
|
36
|
-
|
|
37
34
|
# Set up Universal Links and Branch key(s)
|
|
38
35
|
update_project_settings
|
|
39
36
|
|
|
37
|
+
# Add SDK via CocoaPods, Carthage or direct download (no-op if disabled).
|
|
38
|
+
add_sdk
|
|
39
|
+
|
|
40
40
|
# Patch source code if so instructed.
|
|
41
41
|
patch_helper.patch_source config.xcodeproj if config.patch_source
|
|
42
42
|
|
|
@@ -31,6 +31,7 @@ module BranchIOCLI
|
|
|
31
31
|
attr_reader :all_domains
|
|
32
32
|
|
|
33
33
|
def initialize(options)
|
|
34
|
+
@confirm = options.confirm
|
|
34
35
|
super
|
|
35
36
|
# Configuration has been validated and logged to the screen.
|
|
36
37
|
confirm_with_user if options.confirm
|
|
@@ -177,8 +178,14 @@ module BranchIOCLI
|
|
|
177
178
|
# No validation at the moment. Just strips off any trailing ://
|
|
178
179
|
uri_scheme = options.uri_scheme
|
|
179
180
|
|
|
181
|
+
# --no-uri-scheme/uri_scheme: false
|
|
182
|
+
if options.uri_scheme == false
|
|
183
|
+
@uri_scheme = nil
|
|
184
|
+
return
|
|
185
|
+
end
|
|
186
|
+
|
|
180
187
|
if confirm
|
|
181
|
-
uri_scheme ||= ask "Please enter any URI scheme you entered in the Branch Dashboard
|
|
188
|
+
uri_scheme ||= ask "Please enter any URI scheme you entered in the Branch Dashboard [enter for none]: "
|
|
182
189
|
end
|
|
183
190
|
|
|
184
191
|
@uri_scheme = self.class.uri_scheme_without_suffix uri_scheme
|
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.12.
|
|
4
|
+
version: 0.12.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Branch
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-12-
|
|
12
|
+
date: 2017-12-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: CFPropertyList
|
|
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
355
355
|
version: '0'
|
|
356
356
|
requirements: []
|
|
357
357
|
rubyforge_project:
|
|
358
|
-
rubygems_version: 2.7.
|
|
358
|
+
rubygems_version: 2.7.4
|
|
359
359
|
signing_key:
|
|
360
360
|
specification_version: 4
|
|
361
361
|
summary: Branch.io command-line interface for mobile app integration
|