cocoapods-rn-toolkit 0.0.3 → 0.0.4

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: 3924c5a6b7a63652bcdda3a2ffdc1efff3354a5b6fb87a21f672827a8fec1512
4
- data.tar.gz: dcfe4d5ae51907e45d16c04a69c0451a4b22c9196325d41843f4b6fc8fe40501
3
+ metadata.gz: 064d7f1c399a9ab68a5862d41129dca279f6276e278c229e96f594f63b26c2ea
4
+ data.tar.gz: bfb00350a7792ba02953dac1686beb53dc6e6f02b192ec5290188bc6bab3864b
5
5
  SHA512:
6
- metadata.gz: 5613cada4bd19361bef9f79925d5175c276e5039c7bbb2149f265eabe03c57744a10819cb0f30bf939e2e576d3e237956711918d128cc26ef59d66d8cbe57487
7
- data.tar.gz: 65bcf586ab6f455c5e55cbd440254aa10b41e4112234225ce19d3c36c30c93b5248232bb2cc84065171ac14bc4d8a7d3220f207811e556571671de0b6101b260
6
+ metadata.gz: 4ed3e2f9f00e3b3c5ce32c7a31d11f156f32ed37193ecd32a941f347b968f9b72d83d90d7c2683ea1754a9cd9a12b3ab6ab802197640eacda69c2bf0c511a9ac
7
+ data.tar.gz: 4895be7115974a0101c7e8425a829b69ac4d9b5200480c92d65deff1f17edfdb776c1d34a84a418922e7e4c63f94ee9cd6ddd824a946d012ca641f530edc93b4
@@ -1,3 +1,3 @@
1
1
  module CocoapodsRnToolkit
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1 +1,5 @@
1
1
  require 'cocoapods-rn-toolkit/command'
2
+
3
+ module CocoapodsRnToolkit
4
+ # 这里可以添加插件初始化代码
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-rn-toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nx
@@ -10,54 +10,76 @@ bindir: bin
10
10
  cert_chain: []
11
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
16
30
  requirements:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: '1.3'
33
+ version: '2.0'
20
34
  type: :development
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: '1.3'
40
+ version: '2.0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ">="
45
+ - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '0'
47
+ version: '13.0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - ">="
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '13.0'
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
+ - - "~>"
39
67
  - !ruby/object:Gem::Version
40
- version: '0'
41
- description: A short description of cocoapods-rn-toolkit.
68
+ version: '3.0'
69
+ description: A toolkit for React Native development with CocoaPods.
42
70
  email:
43
71
  - chenyg32@gmail.com
44
72
  executables: []
45
73
  extensions: []
46
74
  extra_rdoc_files: []
47
75
  files:
48
- - Gemfile
49
- - LICENSE.txt
50
76
  - README.md
51
- - Rakefile
52
- - cocoapods-rn-toolkit.gemspec
53
77
  - lib/cocoapods-rn-toolkit.rb
54
78
  - lib/cocoapods-rn-toolkit/command.rb
55
79
  - lib/cocoapods-rn-toolkit/command/toolkit.rb
56
80
  - lib/cocoapods-rn-toolkit/gem_version.rb
57
81
  - lib/cocoapods_plugin.rb
58
- - spec/command/toolkit_spec.rb
59
- - spec/spec_helper.rb
60
- homepage: https://github.com/EXAMPLE/cocoapods-rn-toolkit
82
+ homepage: https://github.com/your_username/cocoapods-rn-toolkit
61
83
  licenses:
62
84
  - MIT
63
85
  metadata: {}
@@ -79,7 +101,6 @@ requirements: []
79
101
  rubygems_version: 3.1.2
80
102
  signing_key:
81
103
  specification_version: 4
82
- summary: A longer description of cocoapods-rn-toolkit.
83
- test_files:
84
- - spec/command/toolkit_spec.rb
85
- - spec/spec_helper.rb
104
+ summary: cocoapods-rn-toolkit provides utilities and commands to streamline React
105
+ Native development using CocoaPods.
106
+ test_files: []
data/Gemfile DELETED
@@ -1,13 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in cocoapods-rn-toolkit.gemspec
4
- gemspec
5
-
6
- group :development do
7
- gem 'cocoapods'
8
-
9
- gem 'mocha'
10
- gem 'bacon'
11
- gem 'mocha-on-bacon'
12
- gem 'prettybacon'
13
- end
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2024 Nx <chenyg32@gmail.com>
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1,13 +0,0 @@
1
- require 'bundler/gem_tasks'
2
-
3
- def specs(dir)
4
- FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ')
5
- end
6
-
7
- desc 'Runs all the specs'
8
- task :specs do
9
- sh "bundle exec bacon #{specs('**')}"
10
- end
11
-
12
- task :default => :specs
13
-
@@ -1,23 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'cocoapods-rn-toolkit/gem_version.rb'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'cocoapods-rn-toolkit'
8
- spec.version = CocoapodsRnToolkit::VERSION
9
- spec.authors = ['Nx']
10
- spec.email = ['chenyg32@gmail.com']
11
- spec.description = %q{A short description of cocoapods-rn-toolkit.}
12
- spec.summary = %q{A longer description of cocoapods-rn-toolkit.}
13
- spec.homepage = 'https://github.com/EXAMPLE/cocoapods-rn-toolkit'
14
- spec.license = 'MIT'
15
-
16
- spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ['lib']
20
-
21
- spec.add_development_dependency 'bundler', '~> 1.3'
22
- spec.add_development_dependency 'rake'
23
- end
@@ -1,12 +0,0 @@
1
- require File.expand_path('../../spec_helper', __FILE__)
2
-
3
- module Pod
4
- describe Command::Toolkit do
5
- describe 'CLAide' do
6
- it 'registers it self' do
7
- Command.parse(%w{ toolkit }).should.be.instance_of Command::Toolkit
8
- end
9
- end
10
- end
11
- end
12
-
data/spec/spec_helper.rb DELETED
@@ -1,50 +0,0 @@
1
- require 'pathname'
2
- ROOT = Pathname.new(File.expand_path('../../', __FILE__))
3
- $:.unshift((ROOT + 'lib').to_s)
4
- $:.unshift((ROOT + 'spec').to_s)
5
-
6
- require 'bundler/setup'
7
- require 'bacon'
8
- require 'mocha-on-bacon'
9
- require 'pretty_bacon'
10
- require 'pathname'
11
- require 'cocoapods'
12
-
13
- Mocha::Configuration.prevent(:stubbing_non_existent_method)
14
-
15
- require 'cocoapods_plugin'
16
-
17
- #-----------------------------------------------------------------------------#
18
-
19
- module Pod
20
-
21
- # Disable the wrapping so the output is deterministic in the tests.
22
- #
23
- UI.disable_wrap = true
24
-
25
- # Redirects the messages to an internal store.
26
- #
27
- module UI
28
- @output = ''
29
- @warnings = ''
30
-
31
- class << self
32
- attr_accessor :output
33
- attr_accessor :warnings
34
-
35
- def puts(message = '')
36
- @output << "#{message}\n"
37
- end
38
-
39
- def warn(message = '', actions = [])
40
- @warnings << "#{message}\n"
41
- end
42
-
43
- def print(message)
44
- @output << message
45
- end
46
- end
47
- end
48
- end
49
-
50
- #-----------------------------------------------------------------------------#