cocoapods-packager-mls 1.5.0.21

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.
Files changed (79) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +5 -0
  4. data/.rubocop-cocoapods.yml +71 -0
  5. data/.rubocop.yml +38 -0
  6. data/.travis.yml +17 -0
  7. data/Gemfile +12 -0
  8. data/Gemfile.lock +131 -0
  9. data/LICENSE +22 -0
  10. data/README.md +42 -0
  11. data/Rakefile +29 -0
  12. data/cocoapods-packager.gemspec +22 -0
  13. data/lib/cocoapods-packager/builder.rb +457 -0
  14. data/lib/cocoapods-packager/framework.rb +66 -0
  15. data/lib/cocoapods-packager/mangle.rb +32 -0
  16. data/lib/cocoapods-packager/pod_utils.rb +324 -0
  17. data/lib/cocoapods-packager/spec_builder.rb +171 -0
  18. data/lib/cocoapods-packager/symbols.rb +42 -0
  19. data/lib/cocoapods-packager/tal_installer.rb +33 -0
  20. data/lib/cocoapods-packager/tal_target_validator.rb +62 -0
  21. data/lib/cocoapods-packager/user_interface/build_failed_report.rb +15 -0
  22. data/lib/cocoapods_packager.rb +5 -0
  23. data/lib/cocoapods_plugin.rb +16 -0
  24. data/lib/pod/command/package.rb +243 -0
  25. data/scripts/lstconst.sh +9 -0
  26. data/scripts/lstsym.sh +8 -0
  27. data/spec/command/error_spec.rb +81 -0
  28. data/spec/command/package_spec.rb +420 -0
  29. data/spec/command/subspecs_spec.rb +30 -0
  30. data/spec/fixtures/Archs.podspec +13 -0
  31. data/spec/fixtures/Builder.podspec +25 -0
  32. data/spec/fixtures/CPDColors.podspec +19 -0
  33. data/spec/fixtures/FH.podspec +18 -0
  34. data/spec/fixtures/KFData.podspec +73 -0
  35. data/spec/fixtures/LibraryConsumerDemo/.gitignore +22 -0
  36. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj +311 -0
  37. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  38. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/xcshareddata/xcschemes/LibraryConsumer.xcscheme +100 -0
  39. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.h +17 -0
  40. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m +27 -0
  41. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/Info.plist +40 -0
  42. data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/main.m +16 -0
  43. data/spec/fixtures/LibraryConsumerDemo/Podfile +5 -0
  44. data/spec/fixtures/LibraryDemo.podspec +14 -0
  45. data/spec/fixtures/LocalSources/LICENSE +0 -0
  46. data/spec/fixtures/LocalSources/LocalNikeKit.h +4 -0
  47. data/spec/fixtures/LocalSources/LocalNikeKit.m +9 -0
  48. data/spec/fixtures/LocalSources/LocalNikeKit.podspec +19 -0
  49. data/spec/fixtures/NikeKit.podspec +19 -0
  50. data/spec/fixtures/OpenSans.podspec +18 -0
  51. data/spec/fixtures/PackagerTest/.gitignore +21 -0
  52. data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj +507 -0
  53. data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  54. data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/xcshareddata/xcschemes/PackagerTest.xcscheme +110 -0
  55. data/spec/fixtures/PackagerTest/PackagerTest.xcworkspace/contents.xcworkspacedata +1 -0
  56. data/spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.h +15 -0
  57. data/spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.m +49 -0
  58. data/spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/AppIcon.appiconset/Contents.json +23 -0
  59. data/spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
  60. data/spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Info.plist +38 -0
  61. data/spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Prefix.pch +16 -0
  62. data/spec/fixtures/PackagerTest/PackagerTest/en.lproj/InfoPlist.strings +2 -0
  63. data/spec/fixtures/PackagerTest/PackagerTest/main.m +18 -0
  64. data/spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests-Info.plist +22 -0
  65. data/spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests.m +34 -0
  66. data/spec/fixtures/PackagerTest/PackagerTestTests/en.lproj/InfoPlist.strings +2 -0
  67. data/spec/fixtures/PackagerTest/Podfile +10 -0
  68. data/spec/fixtures/PackagerTest/Podfile.lock +36 -0
  69. data/spec/fixtures/Weakly.podspec +13 -0
  70. data/spec/fixtures/a.podspec +19 -0
  71. data/spec/fixtures/foo-bar.podspec +19 -0
  72. data/spec/fixtures/layer-client-messaging-schema.podspec +13 -0
  73. data/spec/integration/project_spec.rb +70 -0
  74. data/spec/spec_helper.rb +79 -0
  75. data/spec/unit/pod/utils_spec.rb +58 -0
  76. data/spec/unit/specification/builder_spec.rb +62 -0
  77. data/spec/unit/specification/spec_builder_spec.rb +61 -0
  78. data/spec/unit/user_interface/build_failed_report_spec.rb +11 -0
  79. metadata +223 -0
@@ -0,0 +1,19 @@
1
+ Pod::Spec.new do |s|
2
+ s.name = 'a'
3
+ s.version = '0.0.1'
4
+ s.summary = 'Objective-C implementation of the Nike+ API.'
5
+ s.homepage = 'https://github.com/neonichu/NikeKit'
6
+ s.license = {:type => 'MIT', :file => 'LICENSE'}
7
+ s.authors = { 'Boris Bügling' => 'http://buegling.com' }
8
+ s.source = { :git => 'https://github.com/neonichu/NikeKit.git', :tag => s.version.to_s }
9
+ s.platform = :ios, '8.0'
10
+
11
+ s.public_header_files = '*.h'
12
+ s.source_files = '*.{h,m}'
13
+ s.frameworks = 'Foundation'
14
+ s.requires_arc = true
15
+
16
+ s.dependency 'AFNetworking'
17
+ s.dependency 'ISO8601DateFormatter'
18
+ s.dependency 'KZPropertyMapper'
19
+ end
@@ -0,0 +1,19 @@
1
+ Pod::Spec.new do |s|
2
+ s.name = 'foo-bar'
3
+ s.version = '0.0.1'
4
+ s.summary = 'Objective-C implementation of the Nike+ API.'
5
+ s.homepage = 'https://github.com/neonichu/NikeKit'
6
+ s.license = {:type => 'MIT', :file => 'LICENSE'}
7
+ s.authors = { 'Boris Bügling' => 'http://buegling.com' }
8
+ s.source = { :git => 'https://github.com/neonichu/NikeKit.git', :tag => s.version.to_s }
9
+ s.platform = :ios, '8.0'
10
+
11
+ s.public_header_files = '*.h'
12
+ s.source_files = '*.{h,m}'
13
+ s.frameworks = 'Foundation'
14
+ s.requires_arc = true
15
+
16
+ s.dependency 'AFNetworking'
17
+ s.dependency 'ISO8601DateFormatter'
18
+ s.dependency 'KZPropertyMapper'
19
+ end
@@ -0,0 +1,13 @@
1
+ Pod::Spec.new do |s|
2
+ s.name = "layer-client-messaging-schema"
3
+ s.version = "20140715104949748"
4
+ s.summary = "Packages the database schema and migrations for layer-client-messaging-schema"
5
+ s.homepage = "http://github.com/layerhq"
6
+ s.author = { "Steven Jones" => "steven@layer.com" }
7
+ s.source = { :git => "https://github.com/neonichu/CPDColors.git",
8
+ :tag => "0.1.0" }
9
+ s.license = 'Commercial'
10
+ s.requires_arc = true
11
+ s.platform = :ios, '7.0'
12
+ s.resource_bundles = { 'layer-client-messaging-schema' => ['Code/**/*.h'] }
13
+ end
@@ -0,0 +1,70 @@
1
+ require File.expand_path('../../spec_helper', __FILE__)
2
+
3
+ module Pod
4
+
5
+ DONT_CODESIGN = true
6
+
7
+ describe Command::Spec::Package do
8
+ describe 'IntegrationTests' do
9
+ after do
10
+ Dir.glob("NikeKit-*").each { |dir| Pathname.new(dir).rmtree }
11
+ Dir.glob("LibraryDemo-*").each { |dir| Pathname.new(dir).rmtree }
12
+ FileUtils.rm_rf('spec/fixtures/PackagerTest/NikeKit.framework')
13
+ end
14
+
15
+ it 'Allow integration into project alongside CocoaPods' do
16
+ Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
17
+
18
+ command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec })
19
+ command.run
20
+ `cp -Rp NikeKit-*/ios/NikeKit.framework spec/fixtures/PackagerTest`
21
+
22
+ log = ''
23
+
24
+ Dir.chdir('spec/fixtures/PackagerTest') do
25
+ `pod install 2>&1`
26
+ log << `xcodebuild -workspace PackagerTest.xcworkspace -scheme PackagerTest -sdk iphonesimulator CODE_SIGN_IDENTITY=- 2>&1`
27
+ end
28
+
29
+ puts log if $?.exitstatus != 0
30
+ $?.exitstatus.should == 0
31
+ end
32
+
33
+ it 'Allow integration of dynamic framework into project alongside CocoaPods' do
34
+ Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
35
+
36
+ command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --dynamic })
37
+ command.run
38
+ `cp -Rp NikeKit-*/ios/NikeKit.framework spec/fixtures/PackagerTest`
39
+
40
+ log = ''
41
+
42
+ Dir.chdir('spec/fixtures/PackagerTest') do
43
+ `pod install 2>&1`
44
+ log << `xcodebuild -workspace PackagerTest.xcworkspace -scheme PackagerTest -sdk iphonesimulator CODE_SIGN_IDENTITY=- 2>&1`
45
+ end
46
+
47
+ puts log if $?.exitstatus != 0
48
+ $?.exitstatus.should == 0
49
+ end
50
+
51
+ it 'allows integration of a library without dependencies' do
52
+ Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
53
+
54
+ command = Command.parse(%w{ package spec/fixtures/LibraryDemo.podspec })
55
+ command.run
56
+
57
+ log = ''
58
+
59
+ Dir.chdir('spec/fixtures/LibraryConsumerDemo') do
60
+ `pod install 2>&1`
61
+ log << `xcodebuild -workspace LibraryConsumer.xcworkspace -scheme LibraryConsumer 2>&1`
62
+ log << `xcodebuild -sdk iphonesimulator -workspace LibraryConsumer.xcworkspace -scheme LibraryConsumer 2>&1`
63
+ end
64
+
65
+ puts log if $?.exitstatus != 0
66
+ $?.exitstatus.should == 0
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,79 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
4
+ require 'pathname'
5
+ ROOT = Pathname.new(File.expand_path('../../', __FILE__))
6
+ $:.unshift((ROOT + 'lib').to_s)
7
+ $:.unshift((ROOT + 'spec').to_s)
8
+
9
+ require 'bundler/setup'
10
+ require 'bacon'
11
+ require 'mocha-on-bacon'
12
+ require 'pretty_bacon'
13
+ require 'cocoapods'
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
+ #-----------------------------------------------------------------------------#
51
+
52
+ module SpecHelper
53
+ def self.fixture(name)
54
+ Fixture.fixture(name)
55
+ end
56
+
57
+ def self.temporary_directory
58
+ ROOT + 'tmp'
59
+ end
60
+
61
+ module Fixture
62
+ ROOT = Pathname('fixtures').expand_path(__dir__)
63
+
64
+ def fixture(name)
65
+ ROOT + name
66
+ end
67
+ module_function :fixture
68
+ end
69
+ end
70
+
71
+ module Bacon
72
+ class Context
73
+ include SpecHelper::Fixture
74
+
75
+ def temporary_directory
76
+ SpecHelper.temporary_directory
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,58 @@
1
+ require File.expand_path('../../../spec_helper', __FILE__)
2
+
3
+ module Pod
4
+ describe Command::Package do
5
+ after do
6
+ Dir.glob("Pods").each { |dir| Pathname.new(dir).rmtree }
7
+ end
8
+
9
+ it "uses additional spec repos passed on the command line" do
10
+ Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
11
+ nil::NilClass.any_instance.stubs(:install!)
12
+ Installer.expects(:new).with {
13
+ |sandbox, podfile| podfile.sources == ['foo', 'bar']
14
+ }
15
+
16
+ command = Command.parse(%w{ package spec/fixtures/KFData.podspec --spec-sources=foo,bar})
17
+ command.send(:install_pod, :osx, nil)
18
+
19
+ end
20
+
21
+ it "uses only the master repo if no spec repos were passed" do
22
+ Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
23
+ nil::NilClass.any_instance.stubs(:install!)
24
+ Installer.expects(:new).with {
25
+ |sandbox, podfile| podfile.sources == ['https://github.com/CocoaPods/Specs.git']
26
+ }
27
+
28
+ command = Command.parse(%w{ package spec/fixtures/KFData.podspec })
29
+ command.send(:install_pod, :osx, nil)
30
+ end
31
+
32
+ it "creates separate static and dynamic target if dynamic is passed" do
33
+ source_dir = Dir.pwd
34
+
35
+ Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
36
+
37
+ command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec -dynamic})
38
+ t, w = command.send(:create_working_directory)
39
+
40
+ command.config.installation_root = Pathname.new(w)
41
+ command.config.sandbox_root = 'Pods'
42
+
43
+ static_sandbox = command.send(:build_static_sandbox, true)
44
+ static_installer = command.send(:install_pod, :ios, static_sandbox)
45
+
46
+ dynamic_sandbox = command.send(:build_dynamic_sandbox, static_sandbox, static_installer)
47
+ command.send(:install_dynamic_pod, dynamic_sandbox, static_sandbox, static_installer, Platform.ios)
48
+
49
+ static_sandbox_dir = Dir.new(Dir.pwd << "/Pods/Static")
50
+ dynamic_sandbox_dir = Dir.new(Dir.pwd << "/Pods/Dynamic")
51
+
52
+ static_sandbox_dir.to_s.should.not.be.empty
53
+ dynamic_sandbox_dir.to_s.should.not.be.empty
54
+
55
+ Dir.chdir(source_dir)
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,62 @@
1
+ require File.expand_path('../../../spec_helper', __FILE__)
2
+
3
+ module Pod
4
+ describe Builder do
5
+ describe 'In general' do
6
+ before do
7
+ @spec = Specification.from_file('spec/fixtures/Builder.podspec')
8
+ @static_sandbox_dir = temporary_directory + 'Pods'
9
+ @installer = stub('Installer', :pod_targets => [])
10
+ @builder = Builder.new(Platform.new(:ios), @installer, nil, @static_sandbox_dir, nil, nil, @spec, nil, nil, nil, nil, nil, nil)
11
+ end
12
+
13
+ it 'copies the license file if it exists' do
14
+ path = @static_sandbox_dir + 'Builder/LICENSE.md'
15
+ path.dirname.mkpath
16
+ File.open(path, 'w') { |f| f.puts 'Permission is granted...' }
17
+ @spec.stubs(:license).returns({ :file => 'LICENSE.md'})
18
+ FileUtils.expects(:cp).with(path, '.')
19
+ @builder.send(:copy_license)
20
+ FileUtils.rm_rf(path.dirname)
21
+ end
22
+ end
23
+
24
+ describe 'Xcodebuild command' do
25
+ describe 'compiler flags' do
26
+ before do
27
+ @spec = Specification.from_file('spec/fixtures/Builder.podspec')
28
+ @installer = stub('Installer', :pod_targets => [])
29
+ end
30
+
31
+ it "includes proper compiler flags for iOS" do
32
+ @builder = Builder.new(Platform.new(:ios), @installer, nil, nil, nil, nil, @spec, nil, nil, nil, nil, nil, nil)
33
+ @builder.expects(:xcodebuild).with("GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_Builder=PodsDummy_PodPackage_Builder' -DBASE_FLAG -DIOS_FLAG", "ARCHS='x86_64 i386 arm64 armv7 armv7s' OTHER_CFLAGS='-fembed-bitcode -Qunused-arguments'").returns(nil)
34
+ @builder.send(:compile)
35
+ end
36
+
37
+ it "includes proper compiler flags for OSX" do
38
+ @builder = Builder.new(Platform.new(:osx), @installer, nil, nil, nil, nil, @spec, nil, nil, nil, nil, nil, nil)
39
+ @builder.expects(:xcodebuild).with("GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_Builder=PodsDummy_PodPackage_Builder' -DBASE_FLAG -DOSX_FLAG", nil).returns(nil)
40
+ @builder.send(:compile)
41
+ end
42
+ end
43
+
44
+ describe 'on build failure' do
45
+ before do
46
+ @spec = Specification.from_file('spec/fixtures/Builder.podspec')
47
+ @installer = stub('Installer', :pod_targets => [])
48
+ @builder = Builder.new(Platform.new(:ios), @installer, nil, nil, nil, nil, @spec, nil, nil, nil, nil, nil, nil)
49
+ end
50
+
51
+ it 'dumps report and terminates' do
52
+ UI::BuildFailedReport.expects(:report).returns(nil)
53
+
54
+ should.raise SystemExit do
55
+ # TODO: check that it dumps report
56
+ @builder.send(:compile)
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,61 @@
1
+ require File.expand_path('../../../spec_helper', __FILE__)
2
+
3
+ module Pod
4
+ describe SpecBuilder do
5
+ def compare_attributes(first_spec, second_spec, attribute_name)
6
+ first_spec.attributes_hash[attribute_name].should ==
7
+ second_spec.attributes_hash[attribute_name]
8
+
9
+ %w(ios osx).each do |platform|
10
+ first_spec.attributes_hash[platform][attribute_name].should ==
11
+ second_spec.attributes_hash[platform][attribute_name]
12
+ end
13
+ end
14
+
15
+ def specification_from_builder(builder)
16
+ spec_string = builder.spec_metadata
17
+ spec_string += builder.spec_platform(Platform.ios)
18
+ spec_string += builder.spec_platform(Platform.osx)
19
+ spec_string += builder.spec_close
20
+
21
+ return Specification.from_string(spec_string, 'Builder.podspec')
22
+ end
23
+
24
+ describe 'Preserve attributes from source specification' do
25
+ before do
26
+ @spec = Specification.from_file('spec/fixtures/Builder.podspec')
27
+ @builder = SpecBuilder.new(@spec, nil, false, nil)
28
+ end
29
+
30
+ it "preserves platform.frameworks" do
31
+ spec = specification_from_builder(@builder)
32
+ compare_attributes(spec, @spec, 'frameworks')
33
+ end
34
+
35
+ it "preserves platform.weak_frameworks" do
36
+ spec = specification_from_builder(@builder)
37
+ compare_attributes(spec, @spec, 'weak_frameworks')
38
+ end
39
+
40
+ it "preserves platform.libraries" do
41
+ spec = specification_from_builder(@builder)
42
+ compare_attributes(spec, @spec, 'libraries')
43
+ end
44
+
45
+ it "preserves platform.requires_arc" do
46
+ spec = specification_from_builder(@builder)
47
+ compare_attributes(spec, @spec, 'requires_arc')
48
+ end
49
+
50
+ it "preserves platform.deployment_target" do
51
+ spec = specification_from_builder(@builder)
52
+ compare_attributes(spec, @spec, 'deployment_target')
53
+ end
54
+
55
+ it "preserves platform.xcconfig" do
56
+ spec = specification_from_builder(@builder)
57
+ compare_attributes(spec, @spec, 'xcconfig')
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,11 @@
1
+ require File.expand_path('../../../spec_helper', __FILE__)
2
+
3
+ module Pod
4
+ module UserInterface
5
+ describe BuildFailedReport do
6
+ it 'should format a report correctly' do
7
+ UI::BuildFailedReport.report('a', ['b']).should == "Build command failed: a\nOutput:\n b\n"
8
+ end
9
+ end
10
+ end
11
+ end
metadata ADDED
@@ -0,0 +1,223 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cocoapods-packager-mls
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.5.0.21
5
+ platform: ruby
6
+ authors:
7
+ - Kyle Fuller
8
+ - Boris Bügling
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2019-08-15 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: cocoapods
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: 1.5.3
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '2.0'
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: 1.5.3
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ - !ruby/object:Gem::Dependency
35
+ name: bundler
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ type: :development
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.3'
48
+ - !ruby/object:Gem::Dependency
49
+ name: rake
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ description:
63
+ email:
64
+ executables: []
65
+ extensions: []
66
+ extra_rdoc_files: []
67
+ files:
68
+ - ".coveralls.yml"
69
+ - ".gitignore"
70
+ - ".rubocop-cocoapods.yml"
71
+ - ".rubocop.yml"
72
+ - ".travis.yml"
73
+ - Gemfile
74
+ - Gemfile.lock
75
+ - LICENSE
76
+ - README.md
77
+ - Rakefile
78
+ - cocoapods-packager.gemspec
79
+ - lib/cocoapods-packager/builder.rb
80
+ - lib/cocoapods-packager/framework.rb
81
+ - lib/cocoapods-packager/mangle.rb
82
+ - lib/cocoapods-packager/pod_utils.rb
83
+ - lib/cocoapods-packager/spec_builder.rb
84
+ - lib/cocoapods-packager/symbols.rb
85
+ - lib/cocoapods-packager/tal_installer.rb
86
+ - lib/cocoapods-packager/tal_target_validator.rb
87
+ - lib/cocoapods-packager/user_interface/build_failed_report.rb
88
+ - lib/cocoapods_packager.rb
89
+ - lib/cocoapods_plugin.rb
90
+ - lib/pod/command/package.rb
91
+ - scripts/lstconst.sh
92
+ - scripts/lstsym.sh
93
+ - spec/command/error_spec.rb
94
+ - spec/command/package_spec.rb
95
+ - spec/command/subspecs_spec.rb
96
+ - spec/fixtures/Archs.podspec
97
+ - spec/fixtures/Builder.podspec
98
+ - spec/fixtures/CPDColors.podspec
99
+ - spec/fixtures/FH.podspec
100
+ - spec/fixtures/KFData.podspec
101
+ - spec/fixtures/LibraryConsumerDemo/.gitignore
102
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj
103
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
104
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/xcshareddata/xcschemes/LibraryConsumer.xcscheme
105
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcworkspace/contents.xcworkspacedata
106
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.h
107
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m
108
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/Info.plist
109
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/main.m
110
+ - spec/fixtures/LibraryConsumerDemo/Podfile
111
+ - spec/fixtures/LibraryDemo.podspec
112
+ - spec/fixtures/LocalSources/LICENSE
113
+ - spec/fixtures/LocalSources/LocalNikeKit.h
114
+ - spec/fixtures/LocalSources/LocalNikeKit.m
115
+ - spec/fixtures/LocalSources/LocalNikeKit.podspec
116
+ - spec/fixtures/NikeKit.podspec
117
+ - spec/fixtures/OpenSans.podspec
118
+ - spec/fixtures/PackagerTest/.gitignore
119
+ - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj
120
+ - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
121
+ - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/xcshareddata/xcschemes/PackagerTest.xcscheme
122
+ - spec/fixtures/PackagerTest/PackagerTest.xcworkspace/contents.xcworkspacedata
123
+ - spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.h
124
+ - spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.m
125
+ - spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/AppIcon.appiconset/Contents.json
126
+ - spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/LaunchImage.launchimage/Contents.json
127
+ - spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Info.plist
128
+ - spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Prefix.pch
129
+ - spec/fixtures/PackagerTest/PackagerTest/en.lproj/InfoPlist.strings
130
+ - spec/fixtures/PackagerTest/PackagerTest/main.m
131
+ - spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests-Info.plist
132
+ - spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests.m
133
+ - spec/fixtures/PackagerTest/PackagerTestTests/en.lproj/InfoPlist.strings
134
+ - spec/fixtures/PackagerTest/Podfile
135
+ - spec/fixtures/PackagerTest/Podfile.lock
136
+ - spec/fixtures/Weakly.podspec
137
+ - spec/fixtures/a.podspec
138
+ - spec/fixtures/foo-bar.podspec
139
+ - spec/fixtures/layer-client-messaging-schema.podspec
140
+ - spec/integration/project_spec.rb
141
+ - spec/spec_helper.rb
142
+ - spec/unit/pod/utils_spec.rb
143
+ - spec/unit/specification/builder_spec.rb
144
+ - spec/unit/specification/spec_builder_spec.rb
145
+ - spec/unit/user_interface/build_failed_report_spec.rb
146
+ homepage: https://github.com/Minlison/cocoapods-packager.git
147
+ licenses:
148
+ - MIT
149
+ metadata: {}
150
+ post_install_message:
151
+ rdoc_options: []
152
+ require_paths:
153
+ - lib
154
+ required_ruby_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ required_rubygems_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ requirements: []
165
+ rubygems_version: 3.0.4
166
+ signing_key:
167
+ specification_version: 4
168
+ summary: CocoaPods plugin which allows you to generate a framework or static library
169
+ from a podspec.
170
+ test_files:
171
+ - spec/command/error_spec.rb
172
+ - spec/command/package_spec.rb
173
+ - spec/command/subspecs_spec.rb
174
+ - spec/fixtures/Archs.podspec
175
+ - spec/fixtures/Builder.podspec
176
+ - spec/fixtures/CPDColors.podspec
177
+ - spec/fixtures/FH.podspec
178
+ - spec/fixtures/KFData.podspec
179
+ - spec/fixtures/LibraryConsumerDemo/.gitignore
180
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj
181
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
182
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/xcshareddata/xcschemes/LibraryConsumer.xcscheme
183
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcworkspace/contents.xcworkspacedata
184
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.h
185
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m
186
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/Info.plist
187
+ - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/main.m
188
+ - spec/fixtures/LibraryConsumerDemo/Podfile
189
+ - spec/fixtures/LibraryDemo.podspec
190
+ - spec/fixtures/LocalSources/LICENSE
191
+ - spec/fixtures/LocalSources/LocalNikeKit.h
192
+ - spec/fixtures/LocalSources/LocalNikeKit.m
193
+ - spec/fixtures/LocalSources/LocalNikeKit.podspec
194
+ - spec/fixtures/NikeKit.podspec
195
+ - spec/fixtures/OpenSans.podspec
196
+ - spec/fixtures/PackagerTest/.gitignore
197
+ - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj
198
+ - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
199
+ - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/xcshareddata/xcschemes/PackagerTest.xcscheme
200
+ - spec/fixtures/PackagerTest/PackagerTest.xcworkspace/contents.xcworkspacedata
201
+ - spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.h
202
+ - spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.m
203
+ - spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/AppIcon.appiconset/Contents.json
204
+ - spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/LaunchImage.launchimage/Contents.json
205
+ - spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Info.plist
206
+ - spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Prefix.pch
207
+ - spec/fixtures/PackagerTest/PackagerTest/en.lproj/InfoPlist.strings
208
+ - spec/fixtures/PackagerTest/PackagerTest/main.m
209
+ - spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests-Info.plist
210
+ - spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests.m
211
+ - spec/fixtures/PackagerTest/PackagerTestTests/en.lproj/InfoPlist.strings
212
+ - spec/fixtures/PackagerTest/Podfile
213
+ - spec/fixtures/PackagerTest/Podfile.lock
214
+ - spec/fixtures/Weakly.podspec
215
+ - spec/fixtures/a.podspec
216
+ - spec/fixtures/foo-bar.podspec
217
+ - spec/fixtures/layer-client-messaging-schema.podspec
218
+ - spec/integration/project_spec.rb
219
+ - spec/spec_helper.rb
220
+ - spec/unit/pod/utils_spec.rb
221
+ - spec/unit/specification/builder_spec.rb
222
+ - spec/unit/specification/spec_builder_spec.rb
223
+ - spec/unit/user_interface/build_failed_report_spec.rb