prek 0.5.0 → 0.5.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: 0e9b8d596f416308f32a226f7318886522b7169fffd11389d9f79ecab73f71eb
4
- data.tar.gz: 3a7d275bae293796d3ff4f30d903a823001a6931ca3f851eead0ea326480b19d
3
+ metadata.gz: 0bb7d1e5d58851072ec15ca1c35c789c623813161d4756e62cd1d5510efe5a67
4
+ data.tar.gz: 349c211f217cc384160722c0600c7040b454c5d576dc0798810d0f7b195e768e
5
5
  SHA512:
6
- metadata.gz: f62954e874c2fbcf32f5a983b9e586eb5e09cd91c12b1d938bde6ab804e9cc39c948edc0af24f1e78a55de9a548967708cece1ec06b52650a982057f6f648069
7
- data.tar.gz: 7ee19e57ed2622426c1b20a7177938361a5f05d9345237c9fad3eb603052c58a477d76afc4ae87feb2f2e1600b893667471ba38198136dee9440ab1be44894d6
6
+ metadata.gz: f27e3bc224c651122f3ea68cb31d7d9930fb2365fb94b96873779e6cfcce967735ab6e1501cd8798daa528ae2a138490a2b1dba1bfbf8be77a63867e98d0e27b
7
+ data.tar.gz: 6ea795248ccc30b815d9a8ff217e365d2df00a00b9b34ec7af59eee423a819822c26ffd41724214815802b0467d2d0c638279d37a3c49a3bd1316cad5bf222d8
@@ -1,3 +1,3 @@
1
1
  module Bytedance
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jialei
@@ -118,7 +118,6 @@ files:
118
118
  - lib/command/file_helper.rb
119
119
  - lib/command/lib.rb
120
120
  - lib/command/lib/create.rb
121
- - lib/command/lib/publish.rb
122
121
  - lib/command/module/create.rb
123
122
  - lib/command/mvvm.rb
124
123
  - lib/command/project.rb
@@ -1,43 +0,0 @@
1
- require 'fastlane/other_action'
2
- require 'fastlane/fastlane_require'
3
- require_relative '../file_help'
4
-
5
- module Prek
6
- class PrekManager
7
- class Lib
8
- class Publish < Lib
9
- self.summary = ''
10
-
11
- def self.options
12
-
13
- end
14
-
15
- def initialize(params)
16
- super
17
- @fastlane_helper = FastlaneHelper.new
18
- @target_repo = params.option('repo','optional')
19
- @target_project = params.option('project')
20
- @target_version = params.option('pod-version')
21
- end
22
-
23
- def validate!
24
- super
25
- if @components && !%w(none optional all).include?(@components)
26
- help! "`#{@components}' 参数无效,components = none 或 optional 或 all "
27
- end
28
-
29
- if !@target_project
30
- help! "参数错误,需要输入项目名称,bytedance lib create projectName"
31
- end
32
- end
33
-
34
- def run
35
- super
36
- puts "Publish running"
37
- @fastlane_helper.execute_fastlane_action('git_pull')
38
- end
39
-
40
- end
41
- end
42
- end
43
- end