cocoapods-push-nolint 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 39676fa4a1655e774f0ff512f726bef431943a793bece24d1b782b6dfb57c8d2
4
+ data.tar.gz: a1b0c9ba763a9538ea8d3630b38c71bc387f8837973a3f3d2f6aea973fec2b71
5
+ SHA512:
6
+ metadata.gz: e020a6562966a916078dc7ca99e751ae5a784830d56cc370dae2a5f649d57406886e32f9b7de8d1d11605d06ced5005a9166feb75b663e06d58dc819480303c9
7
+ data.tar.gz: 20da85ad0ed6e99b350865f3fc9f4544e24dfa7ca15b52ffdac8d5ac46bd215fe102507d352803d40d9d5c4807c450ecdc4cbcb19f85de754e50397e0daf2af2
@@ -0,0 +1 @@
1
+ require 'pod/gem_version'
@@ -0,0 +1 @@
1
+ require 'pod/command/repo/push/nolint'
@@ -0,0 +1 @@
1
+ require 'pod/command/repo/push/nolint'
@@ -0,0 +1,60 @@
1
+ module Pod
2
+ class Command
3
+ class Repo < Command
4
+ class Push < Repo
5
+ # This is an example of a cocoapods plugin adding a top-level subcommand
6
+ # to the 'pod' command.
7
+ #
8
+ # You can also create subcommands of existing or new commands. Say you
9
+ # wanted to add a subcommand to `list` to show newly deprecated pods,
10
+ # (e.g. `pod list deprecated`), there are a few things that would need
11
+ # to change.
12
+ #
13
+ # - move this file to `lib/pod/command/list/deprecated.rb` and update
14
+ # the class to exist in the the Pod::Command::List namespace
15
+ # - change this class to extend from `List` instead of `Command`. This
16
+ # tells the plugin system that it is a subcommand of `list`.
17
+ # - edit `lib/cocoapods_plugins.rb` to require this file
18
+ #
19
+ # @todo Create a PR to add your plugin to CocoaPods/cocoapods.org
20
+ # in the `plugins.json` file, once your plugin is released.
21
+ #
22
+ class Nolint < Push
23
+ self.summary = 'Update Pods without Lint.'
24
+
25
+ self.description = <<-DESC
26
+ Update Pods without Lint.
27
+ DESC
28
+
29
+ # self.arguments = 'NAME'
30
+
31
+ def initialize(argv)
32
+ # @name = argv.shift_argument
33
+ super
34
+ end
35
+
36
+ def validate!
37
+ super
38
+ # help! 'A Pod name is requiredjahahahah.' unless @name
39
+ end
40
+
41
+ def run
42
+ open_editor if @commit_message && @message.nil?
43
+ UI.puts "check_if_push_allowed"
44
+ check_if_push_allowed
45
+ UI.puts "check_repo_status"
46
+ # validate_podspec_files
47
+ check_repo_status
48
+ UI.puts "update_repo"
49
+ update_repo
50
+ UI.puts "add_specs_to_repo"
51
+ add_specs_to_repo
52
+ UI.puts "push_repo"
53
+ push_repo unless @local_only
54
+
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,3 @@
1
+ module CocoapodsPushNolint
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,76 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cocoapods-push-nolint
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - 李科
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-04-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: A short description of cocoapods-push-nolint.
42
+ email:
43
+ - like@xiaomai5.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - lib/cocoapods-push-nolint.rb
49
+ - lib/cocoapods_plugin.rb
50
+ - lib/pod/command.rb
51
+ - lib/pod/command/repo/push/nolint.rb
52
+ - lib/pod/gem_version.rb
53
+ homepage: https://github.com/EXAMPLE/cocoapods-push-nolint
54
+ licenses:
55
+ - MIT
56
+ metadata: {}
57
+ post_install_message:
58
+ rdoc_options: []
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ requirements: []
72
+ rubygems_version: 3.2.16
73
+ signing_key:
74
+ specification_version: 4
75
+ summary: A longer description of cocoapods-push-nolint.
76
+ test_files: []