cocoapods-rn-toolkit 0.0.2 → 0.0.4

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: bfdc139a52be377adc0d28ac1b7bcca9d5298823d2c5f66a481ea80ca63a733d
4
- data.tar.gz: 98fb5097778a7b957dcaafd00e1fa2e554fc30dde96516fdb6a198b0b9531ed7
3
+ metadata.gz: 064d7f1c399a9ab68a5862d41129dca279f6276e278c229e96f594f63b26c2ea
4
+ data.tar.gz: bfb00350a7792ba02953dac1686beb53dc6e6f02b192ec5290188bc6bab3864b
5
5
  SHA512:
6
- metadata.gz: bab23f97ba2dfdfc4b0a9151739fbb239801cbb91b79e79ab185997d227744f38b8e2127abdcb47a5443f418425b4d401c792934f0c2d6d13f7377f39d4e86f2
7
- data.tar.gz: 1d42bdaa19a92e2eb6e46a3bf81edc489babc17e52c0b38af7fbca683fe8836cf924735495d27c933f00f06f31c1eb05ae1a336ecfa28cf72cffa620cb87bc06
6
+ metadata.gz: 4ed3e2f9f00e3b3c5ce32c7a31d11f156f32ed37193ecd32a941f347b968f9b72d83d90d7c2683ea1754a9cd9a12b3ab6ab802197640eacda69c2bf0c511a9ac
7
+ data.tar.gz: 4895be7115974a0101c7e8425a829b69ac4d9b5200480c92d65deff1f17edfdb776c1d34a84a418922e7e4c63f94ee9cd6ddd824a946d012ca641f530edc93b4
@@ -0,0 +1,44 @@
1
+ module Pod
2
+ class Command
3
+ # This is an example of a cocoapods plugin adding a top-level subcommand
4
+ # to the 'pod' command.
5
+ #
6
+ # You can also create subcommands of existing or new commands. Say you
7
+ # wanted to add a subcommand to `list` to show newly deprecated pods,
8
+ # (e.g. `pod list deprecated`), there are a few things that would need
9
+ # to change.
10
+ #
11
+ # - move this file to `lib/pod/command/list/deprecated.rb` and update
12
+ # the class to exist in the the Pod::Command::List namespace
13
+ # - change this class to extend from `List` instead of `Command`. This
14
+ # tells the plugin system that it is a subcommand of `list`.
15
+ # - edit `lib/cocoapods_plugins.rb` to require this file
16
+ #
17
+ # @todo Create a PR to add your plugin to CocoaPods/cocoapods.org
18
+ # in the `plugins.json` file, once your plugin is released.
19
+ #
20
+ class Toolkit < Command
21
+ self.summary = 'Short description of cocoapods-rn-toolkit.'
22
+
23
+ self.description = <<-DESC
24
+ Longer description of cocoapods-rn-toolkit.
25
+ DESC
26
+
27
+ self.arguments = 'NAME'
28
+
29
+ def initialize(argv)
30
+ @name = argv.shift_argument
31
+ super
32
+ end
33
+
34
+ def validate!
35
+ super
36
+ help! 'A Pod name is required.' unless @name
37
+ end
38
+
39
+ def run
40
+ UI.puts "Add your implementation for the cocoapods-rn-toolkit plugin in #{__FILE__}"
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1 @@
1
+ require 'cocoapods-rn-toolkit/command/toolkit'
@@ -1,3 +1,3 @@
1
1
  module CocoapodsRnToolkit
2
- VERSION = "0.0.2"
3
- end
2
+ VERSION = "0.0.4"
3
+ end
@@ -0,0 +1 @@
1
+ require 'cocoapods-rn-toolkit/gem_version'
@@ -0,0 +1,5 @@
1
+ require 'cocoapods-rn-toolkit/command'
2
+
3
+ module CocoapodsRnToolkit
4
+ # 这里可以添加插件初始化代码
5
+ end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-rn-toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-06 00:00:00.000000000 Z
11
+ date: 2024-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: cocoapods
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,8 +52,21 @@ dependencies:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
54
  version: '13.0'
41
- description: This CocoaPods plugin provides a toolkit for React Native development,
42
- offering various utilities and helpers to streamline the development process.
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ description: A toolkit for React Native development with CocoaPods.
43
70
  email:
44
71
  - chenyg32@gmail.com
45
72
  executables: []
@@ -47,8 +74,12 @@ extensions: []
47
74
  extra_rdoc_files: []
48
75
  files:
49
76
  - README.md
77
+ - lib/cocoapods-rn-toolkit.rb
78
+ - lib/cocoapods-rn-toolkit/command.rb
79
+ - lib/cocoapods-rn-toolkit/command/toolkit.rb
50
80
  - lib/cocoapods-rn-toolkit/gem_version.rb
51
- homepage: https://github.com/EXAMPLE/cocoapods-rn-toolkit
81
+ - lib/cocoapods_plugin.rb
82
+ homepage: https://github.com/your_username/cocoapods-rn-toolkit
52
83
  licenses:
53
84
  - MIT
54
85
  metadata: {}
@@ -60,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
91
  requirements:
61
92
  - - ">="
62
93
  - !ruby/object:Gem::Version
63
- version: 2.6.0
94
+ version: '0'
64
95
  required_rubygems_version: !ruby/object:Gem::Requirement
65
96
  requirements:
66
97
  - - ">="
@@ -70,5 +101,6 @@ requirements: []
70
101
  rubygems_version: 3.1.2
71
102
  signing_key:
72
103
  specification_version: 4
73
- summary: A CocoaPods plugin for React Native development
104
+ summary: cocoapods-rn-toolkit provides utilities and commands to streamline React
105
+ Native development using CocoaPods.
74
106
  test_files: []