branch_io_cli 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/branch_io_cli/command.rb +7 -5
- data/lib/branch_io_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e44ff16984837cc68abcc18111323a33b52cd1f
|
4
|
+
data.tar.gz: 81f3b075bb26b8037754313ee745269c26d2c224
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1482aad528f89e1d23d031719fab36d10611104c39edb0e113e099bdbfaee5d533855a5555d8a50dc12d056c6b14b388f6842c8f98f96802826b694bbd06cb3e
|
7
|
+
data.tar.gz: a664d4adfebdacd3e9e5874a47ce01a469d3d9224c32c7ccff9e3464c4d169ecf106fbcbb292800d77d3d3a7cae6f9bdbf7734d485c144bcfe61a68882730832
|
@@ -38,7 +38,7 @@ module BranchIOCLI
|
|
38
38
|
|
39
39
|
return unless options.commit
|
40
40
|
|
41
|
-
`git commit #{helper.changes.join(" ")} -m '[branch_io_cli] Branch SDK integration'`
|
41
|
+
`git commit #{helper.changes.to_a.join(" ")} -m '[branch_io_cli] Branch SDK integration'`
|
42
42
|
end
|
43
43
|
|
44
44
|
def validate(options)
|
@@ -130,7 +130,7 @@ module BranchIOCLI
|
|
130
130
|
command += ' --repo-update' unless options.no_pod_repo_update
|
131
131
|
|
132
132
|
Dir.chdir(File.dirname(podfile_path)) do
|
133
|
-
|
133
|
+
system command
|
134
134
|
end
|
135
135
|
|
136
136
|
# 3. Add Podfile and Podfile.lock to commit (in case :commit param specified)
|
@@ -144,7 +144,8 @@ module BranchIOCLI
|
|
144
144
|
|
145
145
|
# 5. If so, add the Pods folder to the commit (in case :commit param specified)
|
146
146
|
helper.add_change pods_folder_path
|
147
|
-
|
147
|
+
`git add #{pods_folder_path}` if options.commit
|
148
|
+
|
148
149
|
true
|
149
150
|
end
|
150
151
|
|
@@ -157,7 +158,7 @@ module BranchIOCLI
|
|
157
158
|
|
158
159
|
# 2. carthage update
|
159
160
|
Dir.chdir(File.dirname(cartfile_path)) do
|
160
|
-
|
161
|
+
system "carthage update"
|
161
162
|
end
|
162
163
|
|
163
164
|
# 3. Add Cartfile and Cartfile.resolved to commit (in case :commit param specified)
|
@@ -187,7 +188,8 @@ module BranchIOCLI
|
|
187
188
|
|
188
189
|
# 7. If so, add the Pods folder to the commit (in case :commit param specified)
|
189
190
|
helper.add_change carthage_folder_path
|
190
|
-
|
191
|
+
`git add #{carthage_folder_path}` if options.commit
|
192
|
+
|
191
193
|
true
|
192
194
|
end
|
193
195
|
|