cocoapods-generator-minlison 0.1.0 → 0.1.1

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: 844dd20d928ff4efe80869d5a692b3da5b63acefbcccf24757f86d2bb7558259
4
- data.tar.gz: d441dcbaecb5ab74eea97c5ba74395e7428f290c8f92fd2aa48e6e0358a64e08
3
+ metadata.gz: b5a219100fc988814674830e0acda2b8588ea3f535adf8312f05de799f05af84
4
+ data.tar.gz: 70314eb29a1395483a88d76d774b5f5cf5004d53a83f1950a5317e5f8b033cb7
5
5
  SHA512:
6
- metadata.gz: 3df3dc90537c713fcf823da8c94e5b4a322e1431977faf7f6fef8a91e6ec90bf59252901803c17226d4c5592b43cb6374bfe562c2d8d574ac8bf82d35b0e666c
7
- data.tar.gz: 43b0e2a62d789e91627d7b85e57ea4d1650c8285ce936d9747f09ab88e560c754d1cae1c723f50cf49bdb0b7d7552076f49d4916300ee4bea2955c8d374f30d1
6
+ metadata.gz: f19e895385a62c0603c6487ef4c31be9368fb729de6e99c75f4ad0e671284cb05a9aad21e45de9a2cdcbf290d6b1499b794699cc2ed60776aa9b036e949b6b4b
7
+ data.tar.gz: 58a2a5261fdf69c4f86175dbddc9a92a4445910afe83d8e4c9842a5624a952426286ea689ffbc4760541d204c534232a3bdca4c0063af64355e9c124bcb91524
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-generator-minlison (0.0.1)
4
+ cocoapods-generator-minlison (0.1.0)
5
5
  cocoapods
6
6
 
7
7
  GEM
@@ -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 = []
@@ -1,3 +1,3 @@
1
1
  module CocoapodsGenerator
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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