gct 0.1.7 → 0.1.8
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/lib/gct/command/spec/lint.rb +32 -0
- data/lib/gct/command/spec.rb +13 -0
- data/lib/gct/command.rb +1 -0
- data/lib/gct/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e18bb9c83c63a7d74ae25f4daad3c587bfefa34b075f5ca86d4215364a5b439
|
4
|
+
data.tar.gz: 1d042cfe7f8e377d80dfe519edde7ea234a146335e545b09d460c661126031ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a46115162428815439183e1c394568553cb35ee695819f6b800b89e0899ed3bf7dc5707ea317ed83867e1146c62464b68a302ee3081d237f3a672a5a30db2fe3
|
7
|
+
data.tar.gz: 4c9b1c2717007e576ab04e1a3293c8c0fef91e504a8d56d04ee88094477ab02641e9575614cfffeffc2165d8ab47e730445f612fe279aebbe9b9a9af71026393
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module Gct
|
2
|
+
class Command
|
3
|
+
class Spec < Command
|
4
|
+
class Lint < Spec
|
5
|
+
|
6
|
+
self.summary = '校验podspec文件的准确性'
|
7
|
+
self.description = <<-DESC
|
8
|
+
校验podspec文件的准确性
|
9
|
+
DESC
|
10
|
+
|
11
|
+
self.arguments = [
|
12
|
+
]
|
13
|
+
|
14
|
+
def initialize(argv)
|
15
|
+
super
|
16
|
+
end
|
17
|
+
|
18
|
+
def validate!
|
19
|
+
super
|
20
|
+
end
|
21
|
+
|
22
|
+
def run
|
23
|
+
check_pod_spec
|
24
|
+
end
|
25
|
+
|
26
|
+
def check_pod_spec
|
27
|
+
system "pod spec lint --sources='https://gi-dev.ccrgt.com/ios/iOSCRGTPodSource.git' --use-libraries --allow-warnings"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
data/lib/gct/command.rb
CHANGED
data/lib/gct/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jieming
|
@@ -135,6 +135,8 @@ files:
|
|
135
135
|
- lib/gct/command/op/gems.rb
|
136
136
|
- lib/gct/command/op/gitconf.rb
|
137
137
|
- lib/gct/command/op/xcache.rb
|
138
|
+
- lib/gct/command/spec.rb
|
139
|
+
- lib/gct/command/spec/lint.rb
|
138
140
|
- lib/gct/constant.rb
|
139
141
|
- lib/gct/version.rb
|
140
142
|
homepage: https://gi-dev.ccrgt.com/ios-thirdpart/gct
|