branch_io_cli 0.2.1 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3560ddd196fc88c52244907effc9b9df323d795d
4
- data.tar.gz: 8a4dec94f87efeb5b2905bfe3c1804644b89bb2a
3
+ metadata.gz: 3e44ff16984837cc68abcc18111323a33b52cd1f
4
+ data.tar.gz: 81f3b075bb26b8037754313ee745269c26d2c224
5
5
  SHA512:
6
- metadata.gz: bc8f5aba7438ec7040f44c0e7304d014d8751f739d3a3067947819dcff599f01121cb00670f858a7987b83166960fcb45a77942801537c576975c30ad0f312cb
7
- data.tar.gz: acabb7d24be91e51671eeaa3c56ad74ebeda167691084888358296ce096e4b3f93875f26507d622f8091c7c58134a3f09fbc27901936c25aadfd7c9a0436da11
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
- `#{command}`
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
- other_action.git_add path: pods_folder_path if options.commit
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
- `carthage update`
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
- other_action.git_add path: carthage_folder_path if options.commit
191
+ `git add #{carthage_folder_path}` if options.commit
192
+
191
193
  true
192
194
  end
193
195
 
@@ -1,3 +1,3 @@
1
1
  module BranchIOCLI
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branch