yk_command 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c6d421298e8cc9673ab4fe6e4f5751aa6899865c2d25ebca231424b1a6b70fe
4
- data.tar.gz: ec0be4a017b28c745546ffc2715395caf3d66a42bfe9deb695417583502ef82b
3
+ metadata.gz: 54cf65031335b6e3efd9ea4b2a1dba8d8a7fa44d41f705444bf401717e3e609a
4
+ data.tar.gz: 3f776966e0de6b1782fadad9175e34afbb44c33ea9d321cb0b36d31972f2835d
5
5
  SHA512:
6
- metadata.gz: ae8d630dd464e5f86a603802f8040b87652415db015281acb02c39d96f348637496f3713baced196f4a34e7d8c3a9a941d0a886d3f66683ebe101f0c4e677e99
7
- data.tar.gz: 829c3824ce27075c75cfbb4379f7c210eca171456f473ed7c311b18c4829f708dd5dcc9c4533334bf5c5fa58800053ae6456c7845d238d73e49f406e46db8e73
6
+ metadata.gz: 28ab1aef7b6ac7104d099bd4ad2f3cda76066f7c696f34df1e316c4de779335d067443bb79e8b52c903b50bafd13d2c1ee5921f51f60e6303253a9551b33c218
7
+ data.tar.gz: a9187bf761297067a1aad178e894d9ab66ec9e0319767528b0f54c21af2be4cdc59078ebd9dd29d0b7207b0af6038533bc265da93f4d36e3f480040bdb99b3c8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yk_command (0.4.2)
4
+ yk_command (0.4.3)
5
5
  bundler
6
6
  colored
7
7
  git
@@ -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"]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YkCommand
4
- VERSION = '0.4.2'.freeze
4
+ VERSION = '0.4.3'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yk_command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Major Tom