cocoapods-generator-minlison 0.1.0 → 0.1.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5a219100fc988814674830e0acda2b8588ea3f535adf8312f05de799f05af84
|
4
|
+
data.tar.gz: 70314eb29a1395483a88d76d774b5f5cf5004d53a83f1950a5317e5f8b033cb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f19e895385a62c0603c6487ef4c31be9368fb729de6e99c75f4ad0e671284cb05a9aad21e45de9a2cdcbf290d6b1499b794699cc2ed60776aa9b036e949b6b4b
|
7
|
+
data.tar.gz: 58a2a5261fdf69c4f86175dbddc9a92a4445910afe83d8e4c9842a5624a952426286ea689ffbc4760541d204c534232a3bdca4c0063af64355e9c124bcb91524
|
data/Gemfile.lock
CHANGED
Binary file
|
@@ -26,7 +26,7 @@ module Pod
|
|
26
26
|
2. Please make sure project name same to spec_name, else can't find *.xcodeproj file.
|
27
27
|
DESC
|
28
28
|
|
29
|
-
self.arguments = [CLAide::Argument.new('spec_name', true)]
|
29
|
+
self.arguments = [CLAide::Argument.new('spec_name', true), CLAide::Argument.new('lint', false)]
|
30
30
|
|
31
31
|
|
32
32
|
SPEC_SUBGROUPS = {
|
@@ -45,6 +45,7 @@ module Pod
|
|
45
45
|
|
46
46
|
def initialize(argv)
|
47
47
|
@spec_name = argv.shift_argument
|
48
|
+
@lint_project = argv.shift_argument
|
48
49
|
@current_path = Dir.pwd
|
49
50
|
@spec_path = @current_path + '/' + @spec_name if @current_path && @spec_name
|
50
51
|
super
|
@@ -66,6 +67,9 @@ module Pod
|
|
66
67
|
end
|
67
68
|
|
68
69
|
def validatePodspec
|
70
|
+
if @lint_project.nil? || @lint_project == 'no'
|
71
|
+
return
|
72
|
+
end
|
69
73
|
linter = Specification::Linter.new(@spec_path)
|
70
74
|
linter.lint
|
71
75
|
results = []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-generator-minlison
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 从权
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- Rakefile
|
70
70
|
- Resoures/After.png
|
71
71
|
- Resoures/Before.png
|
72
|
+
- cocoapods-generator-minlison-0.1.0.gem
|
72
73
|
- cocoapods-generator-minlison.gemspec
|
73
74
|
- lib/cocoapods-generator-minlison.rb
|
74
75
|
- lib/cocoapods-generator-minlison/command.rb
|