yk_command 0.4.2 → 0.4.3
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/Gemfile.lock +1 -1
- data/lib/yk_command/commands.rb +5 -1
- data/lib/yk_command/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54cf65031335b6e3efd9ea4b2a1dba8d8a7fa44d41f705444bf401717e3e609a
|
|
4
|
+
data.tar.gz: 3f776966e0de6b1782fadad9175e34afbb44c33ea9d321cb0b36d31972f2835d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28ab1aef7b6ac7104d099bd4ad2f3cda76066f7c696f34df1e316c4de779335d067443bb79e8b52c903b50bafd13d2c1ee5921f51f60e6303253a9551b33c218
|
|
7
|
+
data.tar.gz: a9187bf761297067a1aad178e894d9ab66ec9e0319767528b0f54c21af2be4cdc59078ebd9dd29d0b7207b0af6038533bc265da93f4d36e3f480040bdb99b3c8
|
data/Gemfile.lock
CHANGED
data/lib/yk_command/commands.rb
CHANGED
|
@@ -237,7 +237,7 @@ module YkCommand
|
|
|
237
237
|
begin
|
|
238
238
|
g = Git.open(path,)
|
|
239
239
|
project_path = Pathname.new(g.lib.git_work_dir)
|
|
240
|
-
project_name = project_path.split[1]
|
|
240
|
+
project_name = project_path.split[1].to_s
|
|
241
241
|
rescue
|
|
242
242
|
say "No .git folder find in #{path} ,skip folder ... ", :yellow
|
|
243
243
|
say "\n<--\n", :yellow
|
|
@@ -254,6 +254,10 @@ module YkCommand
|
|
|
254
254
|
|
|
255
255
|
result = Analyzer.new.analyze(podfile_dir)
|
|
256
256
|
|
|
257
|
+
if project_name.include?"ios_"
|
|
258
|
+
project_name = project_name[4..project_name.length-1]
|
|
259
|
+
end
|
|
260
|
+
|
|
257
261
|
app_info = Request.new.get_project_info(project_name)
|
|
258
262
|
|
|
259
263
|
if app_info["id"]
|
data/lib/yk_command/version.rb
CHANGED