cocoapods-gd 0.0.1
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 +7 -0
 - data/Gemfile +13 -0
 - data/Gemfile.lock +131 -0
 - data/LICENSE +22 -0
 - data/README.md +42 -0
 - data/Rakefile +29 -0
 - data/cocoapods-gd.gemspec +22 -0
 - data/lib/cocoapods-gd.rb +5 -0
 - data/lib/cocoapods-gd/builder.rb +393 -0
 - data/lib/cocoapods-gd/framework.rb +66 -0
 - data/lib/cocoapods-gd/install_frameworks.rb +77 -0
 - data/lib/cocoapods-gd/mangle.rb +32 -0
 - data/lib/cocoapods-gd/pod_utils.rb +246 -0
 - data/lib/cocoapods-gd/podfile_env.rb +26 -0
 - data/lib/cocoapods-gd/spec_builder.rb +72 -0
 - data/lib/cocoapods-gd/symbols.rb +42 -0
 - data/lib/cocoapods-gd/uploader.rb +70 -0
 - data/lib/cocoapods-gd/user_interface/build_failed_report.rb +15 -0
 - data/lib/cocoapods_plugin.rb +10 -0
 - data/lib/pod/command/gd.rb +185 -0
 - data/scripts/lstconst.sh +9 -0
 - data/scripts/lstsym.sh +8 -0
 - data/spec/command/error_spec.rb +81 -0
 - data/spec/command/gd_spec.rb +420 -0
 - data/spec/command/subspecs_spec.rb +30 -0
 - data/spec/fixtures/Archs.podspec +13 -0
 - data/spec/fixtures/Builder.podspec +25 -0
 - data/spec/fixtures/CPDColors.podspec +19 -0
 - data/spec/fixtures/FH.podspec +18 -0
 - data/spec/fixtures/KFData.podspec +73 -0
 - data/spec/fixtures/LibraryConsumerDemo/.gitignore +22 -0
 - data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj +311 -0
 - data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
 - data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/xcshareddata/xcschemes/LibraryConsumer.xcscheme +100 -0
 - data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.h +17 -0
 - data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m +27 -0
 - data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/Info.plist +40 -0
 - data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/main.m +16 -0
 - data/spec/fixtures/LibraryConsumerDemo/Podfile +5 -0
 - data/spec/fixtures/LibraryDemo.podspec +14 -0
 - data/spec/fixtures/LocalSources/LICENSE +0 -0
 - data/spec/fixtures/LocalSources/LocalNikeKit.h +4 -0
 - data/spec/fixtures/LocalSources/LocalNikeKit.m +9 -0
 - data/spec/fixtures/LocalSources/LocalNikeKit.podspec +19 -0
 - data/spec/fixtures/NikeKit.podspec +19 -0
 - data/spec/fixtures/OpenSans.podspec +18 -0
 - data/spec/fixtures/PackagerTest/.gitignore +21 -0
 - data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj +507 -0
 - data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
 - data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/xcshareddata/xcschemes/PackagerTest.xcscheme +110 -0
 - data/spec/fixtures/PackagerTest/PackagerTest.xcworkspace/contents.xcworkspacedata +1 -0
 - data/spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.h +15 -0
 - data/spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.m +49 -0
 - data/spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/AppIcon.appiconset/Contents.json +23 -0
 - data/spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
 - data/spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Info.plist +38 -0
 - data/spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Prefix.pch +16 -0
 - data/spec/fixtures/PackagerTest/PackagerTest/en.lproj/InfoPlist.strings +2 -0
 - data/spec/fixtures/PackagerTest/PackagerTest/main.m +18 -0
 - data/spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests-Info.plist +22 -0
 - data/spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests.m +34 -0
 - data/spec/fixtures/PackagerTest/PackagerTestTests/en.lproj/InfoPlist.strings +2 -0
 - data/spec/fixtures/PackagerTest/Podfile +10 -0
 - data/spec/fixtures/PackagerTest/Podfile.lock +36 -0
 - data/spec/fixtures/Weakly.podspec +13 -0
 - data/spec/fixtures/a.podspec +19 -0
 - data/spec/fixtures/foo-bar.podspec +19 -0
 - data/spec/fixtures/layer-client-messaging-schema.podspec +13 -0
 - data/spec/integration/project_spec.rb +70 -0
 - data/spec/spec_helper.rb +79 -0
 - data/spec/unit/pod/utils_spec.rb +58 -0
 - data/spec/unit/specification/builder_spec.rb +62 -0
 - data/spec/unit/specification/spec_builder_spec.rb +61 -0
 - data/spec/unit/user_interface/build_failed_report_spec.rb +11 -0
 - metadata +217 -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      =  "Gds 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::Gd 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/GdTest/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{ gd spec/fixtures/NikeKit.podspec })
         
     | 
| 
      
 19 
     | 
    
         
            +
                    command.run
         
     | 
| 
      
 20 
     | 
    
         
            +
                    `cp -Rp NikeKit-*/ios/NikeKit.framework spec/fixtures/GdTest`
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
                    log = ''
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                    Dir.chdir('spec/fixtures/GdTest') do
         
     | 
| 
      
 25 
     | 
    
         
            +
                      `pod install 2>&1`
         
     | 
| 
      
 26 
     | 
    
         
            +
                      log << `xcodebuild -workspace GdTest.xcworkspace -scheme GdTest -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{ gd spec/fixtures/NikeKit.podspec --dynamic })
         
     | 
| 
      
 37 
     | 
    
         
            +
                    command.run
         
     | 
| 
      
 38 
     | 
    
         
            +
                    `cp -Rp NikeKit-*/ios/NikeKit.framework spec/fixtures/GdTest`
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                    log = ''
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
                    Dir.chdir('spec/fixtures/GdTest') do
         
     | 
| 
      
 43 
     | 
    
         
            +
                      `pod install 2>&1`
         
     | 
| 
      
 44 
     | 
    
         
            +
                      log << `xcodebuild -workspace GdTest.xcworkspace -scheme GdTest -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{ gd 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
         
     | 
    
        data/spec/spec_helper.rb
    ADDED
    
    | 
         @@ -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::Gd 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{ gd 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{ gd 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{ gd 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 GDBuilder 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 = GDBuilder.new(Platform.new(:ios), @installer, nil, @static_sandbox_dir, 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 = GDBuilder.new(Platform.new(:ios), @installer, nil, nil, nil, @spec, nil, nil, nil, nil, nil, nil)
         
     | 
| 
      
 33 
     | 
    
         
            +
                      @builder.expects(:xcodebuild).with("GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_Builder=PodsDummy_PodGd_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 = GDBuilder.new(Platform.new(:osx), @installer, nil, nil, nil, @spec, nil, nil, nil, nil, nil, nil)
         
     | 
| 
      
 39 
     | 
    
         
            +
                      @builder.expects(:xcodebuild).with("GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_Builder=PodsDummy_PodGd_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 = GDBuilder.new(Platform.new(:ios), @installer, 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, 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,217 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: cocoapods-gd
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.1
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Kyle Fuller
         
     | 
| 
      
 8 
     | 
    
         
            +
            - Boris Bügling
         
     | 
| 
      
 9 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 10 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 11 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2020-12-14 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.7.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.7.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: '0'
         
     | 
| 
      
 41 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 42 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 43 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 44 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 45 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 46 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 47 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
      
 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 
     | 
    
         
            +
            - Gemfile
         
     | 
| 
      
 69 
     | 
    
         
            +
            - Gemfile.lock
         
     | 
| 
      
 70 
     | 
    
         
            +
            - LICENSE
         
     | 
| 
      
 71 
     | 
    
         
            +
            - README.md
         
     | 
| 
      
 72 
     | 
    
         
            +
            - Rakefile
         
     | 
| 
      
 73 
     | 
    
         
            +
            - cocoapods-gd.gemspec
         
     | 
| 
      
 74 
     | 
    
         
            +
            - lib/cocoapods-gd.rb
         
     | 
| 
      
 75 
     | 
    
         
            +
            - lib/cocoapods-gd/builder.rb
         
     | 
| 
      
 76 
     | 
    
         
            +
            - lib/cocoapods-gd/framework.rb
         
     | 
| 
      
 77 
     | 
    
         
            +
            - lib/cocoapods-gd/install_frameworks.rb
         
     | 
| 
      
 78 
     | 
    
         
            +
            - lib/cocoapods-gd/mangle.rb
         
     | 
| 
      
 79 
     | 
    
         
            +
            - lib/cocoapods-gd/pod_utils.rb
         
     | 
| 
      
 80 
     | 
    
         
            +
            - lib/cocoapods-gd/podfile_env.rb
         
     | 
| 
      
 81 
     | 
    
         
            +
            - lib/cocoapods-gd/spec_builder.rb
         
     | 
| 
      
 82 
     | 
    
         
            +
            - lib/cocoapods-gd/symbols.rb
         
     | 
| 
      
 83 
     | 
    
         
            +
            - lib/cocoapods-gd/uploader.rb
         
     | 
| 
      
 84 
     | 
    
         
            +
            - lib/cocoapods-gd/user_interface/build_failed_report.rb
         
     | 
| 
      
 85 
     | 
    
         
            +
            - lib/cocoapods_plugin.rb
         
     | 
| 
      
 86 
     | 
    
         
            +
            - lib/pod/command/gd.rb
         
     | 
| 
      
 87 
     | 
    
         
            +
            - scripts/lstconst.sh
         
     | 
| 
      
 88 
     | 
    
         
            +
            - scripts/lstsym.sh
         
     | 
| 
      
 89 
     | 
    
         
            +
            - spec/command/error_spec.rb
         
     | 
| 
      
 90 
     | 
    
         
            +
            - spec/command/gd_spec.rb
         
     | 
| 
      
 91 
     | 
    
         
            +
            - spec/command/subspecs_spec.rb
         
     | 
| 
      
 92 
     | 
    
         
            +
            - spec/fixtures/Archs.podspec
         
     | 
| 
      
 93 
     | 
    
         
            +
            - spec/fixtures/Builder.podspec
         
     | 
| 
      
 94 
     | 
    
         
            +
            - spec/fixtures/CPDColors.podspec
         
     | 
| 
      
 95 
     | 
    
         
            +
            - spec/fixtures/FH.podspec
         
     | 
| 
      
 96 
     | 
    
         
            +
            - spec/fixtures/KFData.podspec
         
     | 
| 
      
 97 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/.gitignore
         
     | 
| 
      
 98 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj
         
     | 
| 
      
 99 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
         
     | 
| 
      
 100 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/xcshareddata/xcschemes/LibraryConsumer.xcscheme
         
     | 
| 
      
 101 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.h
         
     | 
| 
      
 102 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m
         
     | 
| 
      
 103 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/Info.plist
         
     | 
| 
      
 104 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/main.m
         
     | 
| 
      
 105 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/Podfile
         
     | 
| 
      
 106 
     | 
    
         
            +
            - spec/fixtures/LibraryDemo.podspec
         
     | 
| 
      
 107 
     | 
    
         
            +
            - spec/fixtures/LocalSources/LICENSE
         
     | 
| 
      
 108 
     | 
    
         
            +
            - spec/fixtures/LocalSources/LocalNikeKit.h
         
     | 
| 
      
 109 
     | 
    
         
            +
            - spec/fixtures/LocalSources/LocalNikeKit.m
         
     | 
| 
      
 110 
     | 
    
         
            +
            - spec/fixtures/LocalSources/LocalNikeKit.podspec
         
     | 
| 
      
 111 
     | 
    
         
            +
            - spec/fixtures/NikeKit.podspec
         
     | 
| 
      
 112 
     | 
    
         
            +
            - spec/fixtures/OpenSans.podspec
         
     | 
| 
      
 113 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/.gitignore
         
     | 
| 
      
 114 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj
         
     | 
| 
      
 115 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
         
     | 
| 
      
 116 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/xcshareddata/xcschemes/PackagerTest.xcscheme
         
     | 
| 
      
 117 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest.xcworkspace/contents.xcworkspacedata
         
     | 
| 
      
 118 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.h
         
     | 
| 
      
 119 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.m
         
     | 
| 
      
 120 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/AppIcon.appiconset/Contents.json
         
     | 
| 
      
 121 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/LaunchImage.launchimage/Contents.json
         
     | 
| 
      
 122 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Info.plist
         
     | 
| 
      
 123 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Prefix.pch
         
     | 
| 
      
 124 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/en.lproj/InfoPlist.strings
         
     | 
| 
      
 125 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/main.m
         
     | 
| 
      
 126 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests-Info.plist
         
     | 
| 
      
 127 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests.m
         
     | 
| 
      
 128 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTestTests/en.lproj/InfoPlist.strings
         
     | 
| 
      
 129 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/Podfile
         
     | 
| 
      
 130 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/Podfile.lock
         
     | 
| 
      
 131 
     | 
    
         
            +
            - spec/fixtures/Weakly.podspec
         
     | 
| 
      
 132 
     | 
    
         
            +
            - spec/fixtures/a.podspec
         
     | 
| 
      
 133 
     | 
    
         
            +
            - spec/fixtures/foo-bar.podspec
         
     | 
| 
      
 134 
     | 
    
         
            +
            - spec/fixtures/layer-client-messaging-schema.podspec
         
     | 
| 
      
 135 
     | 
    
         
            +
            - spec/integration/project_spec.rb
         
     | 
| 
      
 136 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 137 
     | 
    
         
            +
            - spec/unit/pod/utils_spec.rb
         
     | 
| 
      
 138 
     | 
    
         
            +
            - spec/unit/specification/builder_spec.rb
         
     | 
| 
      
 139 
     | 
    
         
            +
            - spec/unit/specification/spec_builder_spec.rb
         
     | 
| 
      
 140 
     | 
    
         
            +
            - spec/unit/user_interface/build_failed_report_spec.rb
         
     | 
| 
      
 141 
     | 
    
         
            +
            homepage: https://github.com/CocoaPods/cocoapods-gd
         
     | 
| 
      
 142 
     | 
    
         
            +
            licenses:
         
     | 
| 
      
 143 
     | 
    
         
            +
            - MIT
         
     | 
| 
      
 144 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
      
 145 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 146 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 147 
     | 
    
         
            +
            require_paths:
         
     | 
| 
      
 148 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 149 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 150 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 151 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 152 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 153 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 154 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 155 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 156 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 157 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 158 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 159 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 160 
     | 
    
         
            +
            rubygems_version: 3.1.2
         
     | 
| 
      
 161 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 162 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
      
 163 
     | 
    
         
            +
            summary: CocoaPods plugin which allows you to generate a framework or static library
         
     | 
| 
      
 164 
     | 
    
         
            +
              from a podspec.
         
     | 
| 
      
 165 
     | 
    
         
            +
            test_files:
         
     | 
| 
      
 166 
     | 
    
         
            +
            - spec/command/error_spec.rb
         
     | 
| 
      
 167 
     | 
    
         
            +
            - spec/command/gd_spec.rb
         
     | 
| 
      
 168 
     | 
    
         
            +
            - spec/command/subspecs_spec.rb
         
     | 
| 
      
 169 
     | 
    
         
            +
            - spec/fixtures/Archs.podspec
         
     | 
| 
      
 170 
     | 
    
         
            +
            - spec/fixtures/Builder.podspec
         
     | 
| 
      
 171 
     | 
    
         
            +
            - spec/fixtures/CPDColors.podspec
         
     | 
| 
      
 172 
     | 
    
         
            +
            - spec/fixtures/FH.podspec
         
     | 
| 
      
 173 
     | 
    
         
            +
            - spec/fixtures/KFData.podspec
         
     | 
| 
      
 174 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/.gitignore
         
     | 
| 
      
 175 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj
         
     | 
| 
      
 176 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
         
     | 
| 
      
 177 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/xcshareddata/xcschemes/LibraryConsumer.xcscheme
         
     | 
| 
      
 178 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.h
         
     | 
| 
      
 179 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m
         
     | 
| 
      
 180 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/Info.plist
         
     | 
| 
      
 181 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/LibraryConsumer/main.m
         
     | 
| 
      
 182 
     | 
    
         
            +
            - spec/fixtures/LibraryConsumerDemo/Podfile
         
     | 
| 
      
 183 
     | 
    
         
            +
            - spec/fixtures/LibraryDemo.podspec
         
     | 
| 
      
 184 
     | 
    
         
            +
            - spec/fixtures/LocalSources/LICENSE
         
     | 
| 
      
 185 
     | 
    
         
            +
            - spec/fixtures/LocalSources/LocalNikeKit.h
         
     | 
| 
      
 186 
     | 
    
         
            +
            - spec/fixtures/LocalSources/LocalNikeKit.m
         
     | 
| 
      
 187 
     | 
    
         
            +
            - spec/fixtures/LocalSources/LocalNikeKit.podspec
         
     | 
| 
      
 188 
     | 
    
         
            +
            - spec/fixtures/NikeKit.podspec
         
     | 
| 
      
 189 
     | 
    
         
            +
            - spec/fixtures/OpenSans.podspec
         
     | 
| 
      
 190 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/.gitignore
         
     | 
| 
      
 191 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj
         
     | 
| 
      
 192 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
         
     | 
| 
      
 193 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest.xcodeproj/xcshareddata/xcschemes/PackagerTest.xcscheme
         
     | 
| 
      
 194 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest.xcworkspace/contents.xcworkspacedata
         
     | 
| 
      
 195 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.h
         
     | 
| 
      
 196 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.m
         
     | 
| 
      
 197 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/AppIcon.appiconset/Contents.json
         
     | 
| 
      
 198 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/LaunchImage.launchimage/Contents.json
         
     | 
| 
      
 199 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Info.plist
         
     | 
| 
      
 200 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Prefix.pch
         
     | 
| 
      
 201 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/en.lproj/InfoPlist.strings
         
     | 
| 
      
 202 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTest/main.m
         
     | 
| 
      
 203 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests-Info.plist
         
     | 
| 
      
 204 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests.m
         
     | 
| 
      
 205 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/PackagerTestTests/en.lproj/InfoPlist.strings
         
     | 
| 
      
 206 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/Podfile
         
     | 
| 
      
 207 
     | 
    
         
            +
            - spec/fixtures/PackagerTest/Podfile.lock
         
     | 
| 
      
 208 
     | 
    
         
            +
            - spec/fixtures/Weakly.podspec
         
     | 
| 
      
 209 
     | 
    
         
            +
            - spec/fixtures/a.podspec
         
     | 
| 
      
 210 
     | 
    
         
            +
            - spec/fixtures/foo-bar.podspec
         
     | 
| 
      
 211 
     | 
    
         
            +
            - spec/fixtures/layer-client-messaging-schema.podspec
         
     | 
| 
      
 212 
     | 
    
         
            +
            - spec/integration/project_spec.rb
         
     | 
| 
      
 213 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 214 
     | 
    
         
            +
            - spec/unit/pod/utils_spec.rb
         
     | 
| 
      
 215 
     | 
    
         
            +
            - spec/unit/specification/builder_spec.rb
         
     | 
| 
      
 216 
     | 
    
         
            +
            - spec/unit/specification/spec_builder_spec.rb
         
     | 
| 
      
 217 
     | 
    
         
            +
            - spec/unit/user_interface/build_failed_report_spec.rb
         
     |