cocoapods-byte-csjm 0.0.3 → 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: 557aba2b4be3b65803702667f275d8e26d58a9b649731570920cb10a2a3283d0
4
- data.tar.gz: 38fb1f7a1fb6e6ba068c9b6ebac4238f6261ac39829f6a67bfda43f6014067aa
3
+ metadata.gz: 374c780bde27274f76af08f94bf9dc0bc2697e37877c6f8a781b68a5368da3d5
4
+ data.tar.gz: d04034a4b6ed01528493a7a7f06498277f3a9ec41f26dc7c7b7e11a3743f6c07
5
5
  SHA512:
6
- metadata.gz: da1aeb813ffa790f061b05f34804bf12b3d5c292e6b31bd9bdfbbd023d523f66cb1c3805cdc28f51fc5343c2d4383c02582c022ed5cc651c5c72aba56f397b93
7
- data.tar.gz: 855c37ba8174dc683bc872cbff1d75ec5105f3e5e7c209904ba5c60a19a7109a63bb9eb8fff27c1d1281bc466fca716694a8d595f9a0bbd8f2ffe5eb45337f2d
6
+ metadata.gz: 421a89a93612e67f18d0658801cf32a74c20d0262a01b17ece8b5daa25135e5451ef99175b519fe52131acb9a4c45efb07912d35f25d4b795d64f6d0ace9e14d
7
+ data.tar.gz: '08c8478bcce199997012f480098317d5979311932e7f0b7730639d014f628a342beab1ba465b612e9b956f80493764e33572b72f4a730c8a2ec2d401604222a5'
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in cocoapods-byte-csjm.gemspec
4
+ gemspec
5
+
6
+ group :development do
7
+ gem 'cocoapods'
8
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2023 zhangtianhao.1230@bytedance.com <zhangtianhao.1230@bytedance.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/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # cocoapods-byte-csjm
2
+
3
+ A description of cocoapods-byte-csjm2.
4
+
5
+ ## Installation
6
+
7
+ $ gem install cocoapods-byte-csjm
8
+
9
+ ## Usage
10
+
11
+ $ pod spec csjm POD_NAME
data/Rakefile ADDED
@@ -0,0 +1,13 @@
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
+
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'cocoapods-byte-csjm/gem_version.rb'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'cocoapods-byte-csjm'
8
+ spec.version = CocoapodsByteCsjm::VERSION
9
+ spec.authors = ['zhangtianhao.1230@bytedance.com']
10
+ spec.email = ['zhangtianhao.1230@bytedance.com']
11
+ spec.description = 'a plugin for csjm'
12
+ spec.summary ='a plugin for csjm'
13
+ spec.homepage = 'https://github.com/EXAMPLE/cocoapods-byte-csjm'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ # spec.files = Dir['lib/**/*']
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ['lib']
21
+ spec.add_dependency "cocoapods", '>= 1.1.1', '< 2.0'
22
+ spec.add_development_dependency 'bundler', '~> 1.3'
23
+ spec.add_development_dependency 'rake'
24
+ end
@@ -1,5 +1,5 @@
1
1
  module CocoapodsByteCsjm
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  class Version
4
4
  def self.version
5
5
  VERSION
@@ -698,11 +698,8 @@ module Pod
698
698
 
699
699
  def use_gm_adapter_update!(option)
700
700
  @global_gm_build_config = GM::Recorder.instance.find_global_note option
701
-
702
-
703
701
  end
704
702
 
705
-
706
703
  alias_method :original_parse_inhibit_warnings, :parse_inhibit_warnings
707
704
  def parse_inhibit_warnings(name, requirements)
708
705
 
@@ -0,0 +1,12 @@
1
+ require File.expand_path('../../spec_helper', __FILE__)
2
+
3
+ module Pod
4
+ describe Command::Csjm do
5
+ describe 'CLAide' do
6
+ it 'registers it self' do
7
+ Command.parse(%w{ csjm }).should.be.instance_of Command::Csjm
8
+ end
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,50 @@
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
+ #-----------------------------------------------------------------------------#
metadata CHANGED
@@ -1,15 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-byte-csjm
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
  - zhangtianhao.1230@bytedance.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-03 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.1.1
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 1.1.1
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.0'
13
33
  - !ruby/object:Gem::Dependency
14
34
  name: bundler
15
35
  requirement: !ruby/object:Gem::Requirement
@@ -38,13 +58,18 @@ dependencies:
38
58
  - - ">="
39
59
  - !ruby/object:Gem::Version
40
60
  version: '0'
41
- description: A short description of cocoapods-byte-csjm.
61
+ description: a plugin for csjm
42
62
  email:
43
63
  - zhangtianhao.1230@bytedance.com
44
64
  executables: []
45
65
  extensions: []
46
66
  extra_rdoc_files: []
47
67
  files:
68
+ - Gemfile
69
+ - LICENSE.txt
70
+ - README.md
71
+ - Rakefile
72
+ - cocoapods-byte-csjm.gemspec
48
73
  - lib/cocoapods-byte-csjm.rb
49
74
  - lib/cocoapods-byte-csjm/config.rb
50
75
  - lib/cocoapods-byte-csjm/csj.rb
@@ -52,6 +77,8 @@ files:
52
77
  - lib/cocoapods-byte-csjm/gm.rb
53
78
  - lib/cocoapods-byte-csjm/net.rb
54
79
  - lib/cocoapods_plugin.rb
80
+ - spec/command/csjm_spec.rb
81
+ - spec/spec_helper.rb
55
82
  homepage: https://github.com/EXAMPLE/cocoapods-byte-csjm
56
83
  licenses:
57
84
  - MIT
@@ -74,5 +101,7 @@ requirements: []
74
101
  rubygems_version: 3.2.3
75
102
  signing_key:
76
103
  specification_version: 4
77
- summary: A longer description of cocoapods-byte-csjm.
78
- test_files: []
104
+ summary: a plugin for csjm
105
+ test_files:
106
+ - spec/command/csjm_spec.rb
107
+ - spec/spec_helper.rb