xcodeproj 1.16.0 → 1.17.0
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 +4 -4
 - data/lib/xcodeproj/constants.rb +2 -1
 - data/lib/xcodeproj/gem_version.rb +1 -1
 - data/lib/xcodeproj/project/object/helpers/file_references_factory.rb +3 -1
 - data/lib/xcodeproj/project/object/target_dependency.rb +1 -0
 - data/lib/xcodeproj/workspace.rb +3 -2
 - data/lib/xcodeproj/workspace/file_reference.rb +1 -1
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: '07911f95b24cf5e6d26bbfeca1b8374001ee97c61a94ec53ffabb0967e8303b5'
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: a9223334f63670e3385877afb7c097be717604bac8195376d0eafa1c3c9611a4
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1d2d8516fc689a28df9a71f0d5fac7ef4dadb8b8196c162ca3a6faa1746c4d8c12f5567b2b798e85a905c7fe6477179c0b7856c78fc409a1ebeda1dd04a0357c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 40a40c7b1f908739005ab167e920bbd2299f6db144a7c2c4189a5746f25747db9b7ce61b6ee231dff85d182f45239b176e0c420ac8d632fabe8586f18cd9abb4
         
     | 
    
        data/lib/xcodeproj/constants.rb
    CHANGED
    
    | 
         @@ -32,7 +32,7 @@ module Xcodeproj 
     | 
|
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
                # @return [String] The last known object version to Xcodeproj.
         
     | 
| 
       34 
34 
     | 
    
         
             
                #
         
     | 
| 
       35 
     | 
    
         
            -
                LAST_KNOWN_OBJECT_VERSION =  
     | 
| 
      
 35 
     | 
    
         
            +
                LAST_KNOWN_OBJECT_VERSION = 54
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
                # @return [String] The last known object version to Xcodeproj.
         
     | 
| 
       38 
38 
     | 
    
         
             
                #
         
     | 
| 
         @@ -126,6 +126,7 @@ module Xcodeproj 
     | 
|
| 
       126 
126 
     | 
    
         
             
                # @return [Hash] The compatibility version string for different object versions.
         
     | 
| 
       127 
127 
     | 
    
         
             
                #
         
     | 
| 
       128 
128 
     | 
    
         
             
                COMPATIBILITY_VERSION_BY_OBJECT_VERSION = {
         
     | 
| 
      
 129 
     | 
    
         
            +
                  54 => 'Xcode 12.0',
         
     | 
| 
       129 
130 
     | 
    
         
             
                  53 => 'Xcode 11.4',
         
     | 
| 
       130 
131 
     | 
    
         
             
                  52 => 'Xcode 11.0',
         
     | 
| 
       131 
132 
     | 
    
         
             
                  51 => 'Xcode 10.0',
         
     | 
| 
         @@ -52,7 +52,9 @@ module Xcodeproj 
     | 
|
| 
       52 
52 
     | 
    
         
             
                          prefix = 'lib'
         
     | 
| 
       53 
53 
     | 
    
         
             
                        end
         
     | 
| 
       54 
54 
     | 
    
         
             
                        extension = Constants::PRODUCT_UTI_EXTENSIONS[product_type]
         
     | 
| 
       55 
     | 
    
         
            -
                         
     | 
| 
      
 55 
     | 
    
         
            +
                        path = "#{prefix}#{target_name}"
         
     | 
| 
      
 56 
     | 
    
         
            +
                        path += ".#{extension}" if extension
         
     | 
| 
      
 57 
     | 
    
         
            +
                        ref = new_reference(group, path, :built_products)
         
     | 
| 
       56 
58 
     | 
    
         
             
                        ref.include_in_index = '0'
         
     | 
| 
       57 
59 
     | 
    
         
             
                        ref.set_explicit_file_type
         
     | 
| 
       58 
60 
     | 
    
         
             
                        ref
         
     | 
    
        data/lib/xcodeproj/workspace.rb
    CHANGED
    
    | 
         @@ -107,8 +107,9 @@ module Xcodeproj 
     | 
|
| 
       107 
107 
     | 
    
         
             
                  else
         
     | 
| 
       108 
108 
     | 
    
         
             
                    raise ArgumentError, "Input to the << operator must be a file path or FileReference, got #{path_or_reference.inspect}"
         
     | 
| 
       109 
109 
     | 
    
         
             
                  end
         
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
      
 110 
     | 
    
         
            +
                  unless file_references.any? { |ref| project_file_reference.eql? ref }
         
     | 
| 
      
 111 
     | 
    
         
            +
                    @document.root.add_element(project_file_reference.to_node)
         
     | 
| 
      
 112 
     | 
    
         
            +
                  end
         
     | 
| 
       112 
113 
     | 
    
         
             
                  load_schemes_from_project File.expand_path(projpath || project_file_reference.path)
         
     | 
| 
       113 
114 
     | 
    
         
             
                end
         
     | 
| 
       114 
115 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: xcodeproj
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.17.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Eloy Duran
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2020- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2020-06-23 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: atomos
         
     | 
| 
         @@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       183 
183 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       184 
184 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       185 
185 
     | 
    
         
             
            requirements: []
         
     | 
| 
       186 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
      
 186 
     | 
    
         
            +
            rubygems_version: 3.0.4
         
     | 
| 
       187 
187 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       188 
188 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       189 
189 
     | 
    
         
             
            summary: Create and modify Xcode projects from Ruby.
         
     |