stool 0.2.19 → 0.2.22

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
- SHA1:
3
- metadata.gz: 504746bffe5e80d840273bcea845172e36e58c39
4
- data.tar.gz: 48aaaf19fb6e98a8133a1123b80d5ce70ee33834
2
+ SHA256:
3
+ metadata.gz: 5039204b974092d3b3cfabaeef67ca3816a0296a0284e81f2e5ab4f9838891fe
4
+ data.tar.gz: c1bdea4c7823fbfbcac188f525673cd7c18d074a9e04adfd3f6fabbbe8259eaf
5
5
  SHA512:
6
- metadata.gz: 29df1620f65f5fce2966af35b96a0af015bc346fc5840b923f6023d98a4bce1238038fe85cf1d9da3514eb16fa99095ca76b3e228ed7172958f2f022ef743ee5
7
- data.tar.gz: 658b01dfff4b5b9818e25f0089e37a253e8a20bdc15c581d8200be7e9cf286b4ea65274807c7e3fbf5ee9c0433c9a673f2f44a9749a4bd3eafa96a305427ca5f
6
+ metadata.gz: 02ce63b0d4f8d5267ca2469234e129e322ba2029e39b3af8e756fe2830bfadcf57270fabcefb0f405f9fbd2d9119196912bcecfcea0239d4812e8b1f55e4e7a3
7
+ data.tar.gz: 9154e9dae04989cfee84932bd1033015c51ee224e40336076172b66a6dd00d6f7ce8159d2fb40eaa3f15582becc095756047cc66c1b07a9bbc3b823bc741e06f
data/README.md CHANGED
@@ -25,6 +25,7 @@ Or install it yourself as:
25
25
 
26
26
  #stool 配置
27
27
  Config.new do |c|
28
+
28
29
  #添加一个本地lib pool,池中是你clone下来的各个pod
29
30
  #name - 随意取
30
31
  #path - lib pool的本地路径
@@ -64,23 +65,25 @@ Or install it yourself as:
64
65
 
65
66
  $ sl COMMAND
66
67
 
67
- smart tool - 对iOS相关工作,进行自动化整合,目前只暴露了iOS使用cocoapods时的自动化处理
68
+ smart tool - 对iOS相关工作,进行自动化整合。
68
69
 
69
70
  Commands:
70
71
 
71
- + lib 本地lib信息、处理
72
- + lp LibPool - 本地pod池.
73
- + ws workSpaces - 本地的Workspace项目,关于pod相关的整合
72
+ + lib 本地lib信息、处理
73
+ + lp LibPool - 本地pod池.
74
+ + rp cocoapods的repos信息,及相关操作
75
+ + util 常用工具的集合
76
+ + ws workSpaces - 本地的Workspace项目,关于pod相关的整合
74
77
 
75
78
  3、更新libpool中的某个lib版本号
76
79
 
77
- `sl lib vadd libName`
80
+ `sl lib vadd [libName]`
78
81
 
79
82
  示例:`sl lib vadd AFNetWorking`
80
83
 
81
84
  4、主工程workspace执行pod update
82
85
 
83
- `sl ws up tag`
86
+ `sl ws up [tag]`
84
87
 
85
88
  示例:`sl ws up 1`
86
89
 
data/lib/stool/Command.rb CHANGED
@@ -15,7 +15,11 @@ module Stool
15
15
  self.abstract_command = true
16
16
  self.command = 'sl'
17
17
  self.version = VERSION
18
- self.description = 'smart tool - 对iOS相关工作,进行自动化整合,目前只暴露了iOS使用cocoapods时的自动化处理'
18
+ self.description = <<-Detail
19
+ smart tool - 对iOS相关工作,进行自动化整合.
20
+ RubyGem:https://rubygems.org/gems/stool
21
+ Git:https://gitee.com/CWDong/stool
22
+ Detail
19
23
  self.plugin_prefixes = %w(claide stool)
20
24
 
21
25
  def self.options
@@ -1,5 +1,5 @@
1
1
  require 'Core/LibInfo'
2
- require "spreadsheet/excel"
2
+ require "spreadsheet"
3
3
  require 'colored2'
4
4
 
5
5
  module Stool
@@ -42,11 +42,15 @@ module Stool
42
42
 
43
43
  unless Dir.exist?(repoPath)
44
44
  puts "#{repoPath} does not exist!!".red
45
- return
45
+ puts "Now,we have found some repos,which did you mean: ".red
46
+ puts `pod repo`.white
47
+ raise
46
48
  end
47
49
 
50
+ puts "更新当前repo - #{repo}".white
48
51
  puts `pod repo update #{repo}`
49
52
 
53
+ puts "生成表格中...".white
50
54
  #创建工作表
51
55
  sheet1 = @book.create_worksheet :name => "pod_summary_" + repo
52
56
  #在表格第一行设置分类
@@ -81,10 +81,13 @@ module Stool
81
81
 
82
82
  f = File.open(@@configFilePath, "w+")
83
83
  demo = <<-EOF
84
+
84
85
  #stool 配置
86
+
85
87
  Config.new do |c|
88
+
86
89
  #添加一个本地lib pool,池中是你clone下来的各个pod
87
- #name - 随意取
90
+ #name - 根据爱好,随意取
88
91
  #path - lib pool的本地路径
89
92
  c.addPool do |p|
90
93
  p.name = '本地lib池 - 1'
@@ -97,7 +100,7 @@ module Stool
97
100
  # p.path = ''
98
101
  # end
99
102
 
100
- #添加一个主工程,iOS-workspace工程
103
+ #添加一个项目工程,iOS-workspace工程
101
104
  #name - 随意取
102
105
  #tag - 命令操作需要,工程的唯一标识
103
106
  #path - 路径目下要有workspace/podfile文件
@@ -114,6 +117,9 @@ module Stool
114
117
  t.addOtherLibUseCode(['pod4'])
115
118
  #t.allLibsUseCode
116
119
  end
120
+
121
+ #设置pod库统计时,查询的repos、Excel中sheet的名字
122
+
117
123
  end
118
124
  EOF
119
125
 
data/lib/stool/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Stool
2
- VERSION = "0.2.19"
2
+ VERSION = "0.2.22"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.19
4
+ version: 0.2.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fiend
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-24 00:00:00.000000000 Z
11
+ date: 2018-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  version: '0'
221
221
  requirements: []
222
222
  rubyforge_project:
223
- rubygems_version: 2.6.12
223
+ rubygems_version: 2.7.7
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: A tool for workflow!