fastlane_core 0.3.4 → 0.4.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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: d5afcd707878681d7b4e435439ee0a7d73267127
         | 
| 4 | 
            +
              data.tar.gz: 878ceff4f92ae2e9a72c24abfe486d32b49f2d48
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: ac28d4def21d7d0c921c7d4b98951d122da6bdf4577dabe9c585bb92e86817ff4d0620ab707ec2fbc5626a3f1c6649ddc0becea3e95a3d0d465482f809bdb11a
         | 
| 7 | 
            +
              data.tar.gz: 7be301ca0504dfaf9db335802adbebe1ed827783cce41e113f28df5a56873b1ab8927e34489e3b7b5e2d6e08154f50536690b6dbaed11b5679e2b03ca706dffa
         | 
    
        data/lib/fastlane_core/helper.rb
    CHANGED
    
    | @@ -68,7 +68,12 @@ module FastlaneCore | |
| 68 68 |  | 
| 69 69 | 
             
                # @return the full path to the iTMSTransporter executable
         | 
| 70 70 | 
             
                def self.transporter_path
         | 
| 71 | 
            -
                  self.xcode_path + '../Applications/Application\ Loader.app/Contents/MacOS/itms/bin/iTMSTransporter'
         | 
| 71 | 
            +
                  itms_path = self.xcode_path + '../Applications/Application\ Loader.app/Contents/MacOS/itms/bin/iTMSTransporter'
         | 
| 72 | 
            +
                  if File.file?(itms_path)
         | 
| 73 | 
            +
                     return itms_path
         | 
| 74 | 
            +
                  else
         | 
| 75 | 
            +
                     return self.xcode_path + '../Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter'
         | 
| 76 | 
            +
                  end
         | 
| 72 77 | 
             
                end
         | 
| 73 78 |  | 
| 74 79 | 
             
                def self.fastlane_enabled?
         | 
| @@ -85,4 +90,4 @@ module FastlaneCore | |
| 85 90 | 
             
                  end
         | 
| 86 91 | 
             
                end
         | 
| 87 92 | 
             
              end
         | 
| 88 | 
            -
            end
         | 
| 93 | 
            +
            end
         | 
| @@ -6,6 +6,7 @@ require 'phantomjs/poltergeist' # this will download and store phantomjs | |
| 6 6 |  | 
| 7 7 | 
             
            require 'fastlane_core/itunes_connect/itunes_connect_helper.rb'
         | 
| 8 8 | 
             
            require 'fastlane_core/itunes_connect/itunes_connect_login.rb'
         | 
| 9 | 
            +
            require 'fastlane_core/itunes_connect/itunes_connect_apple_id.rb'
         | 
| 9 10 |  | 
| 10 11 | 
             
            module FastlaneCore
         | 
| 11 12 | 
             
              # Everything that can't be achived using the {FastlaneCore::ItunesTransporter}
         | 
| @@ -0,0 +1,15 @@ | |
| 1 | 
            +
            module FastlaneCore  
         | 
| 2 | 
            +
              # Find the Apple ID based on the App Identifier
         | 
| 3 | 
            +
              class ItunesConnect
         | 
| 4 | 
            +
                LIST_APPLE_IDS_URL = "https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/apps/manageyourapps/summary"
         | 
| 5 | 
            +
                def find_apple_id(app_identifier)
         | 
| 6 | 
            +
                  login
         | 
| 7 | 
            +
             | 
| 8 | 
            +
                  apps = JSON.parse(page.evaluate_script("$.ajax({type: 'GET', url: '#{LIST_APPLE_IDS_URL}', async: false})")['responseText'])['data']
         | 
| 9 | 
            +
             | 
| 10 | 
            +
                  return apps['summaries'].find { |v| v['bundleId'] == app_identifier }['adamId'].to_i
         | 
| 11 | 
            +
                rescue => ex
         | 
| 12 | 
            +
                  error_occured(ex)
         | 
| 13 | 
            +
                end
         | 
| 14 | 
            +
              end
         | 
| 15 | 
            +
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: fastlane_core
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.4.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Felix Krause
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2015- | 
| 11 | 
            +
            date: 2015-04-02 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: json
         | 
| @@ -94,20 +94,34 @@ dependencies: | |
| 94 94 | 
             
                - - '>='
         | 
| 95 95 | 
             
                  - !ruby/object:Gem::Version
         | 
| 96 96 | 
             
                    version: '0'
         | 
| 97 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 98 | 
            +
              name: excon
         | 
| 99 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 100 | 
            +
                requirements:
         | 
| 101 | 
            +
                - - ~>
         | 
| 102 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            +
                    version: 0.45.0
         | 
| 104 | 
            +
              type: :runtime
         | 
| 105 | 
            +
              prerelease: false
         | 
| 106 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 107 | 
            +
                requirements:
         | 
| 108 | 
            +
                - - ~>
         | 
| 109 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 110 | 
            +
                    version: 0.45.0
         | 
| 97 111 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 98 112 | 
             
              name: credentials_manager
         | 
| 99 113 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 100 114 | 
             
                requirements:
         | 
| 101 115 | 
             
                - - '>='
         | 
| 102 116 | 
             
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            -
                    version: 0.1 | 
| 117 | 
            +
                    version: 0.2.1
         | 
| 104 118 | 
             
              type: :runtime
         | 
| 105 119 | 
             
              prerelease: false
         | 
| 106 120 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 107 121 | 
             
                requirements:
         | 
| 108 122 | 
             
                - - '>='
         | 
| 109 123 | 
             
                  - !ruby/object:Gem::Version
         | 
| 110 | 
            -
                    version: 0.1 | 
| 124 | 
            +
                    version: 0.2.1
         | 
| 111 125 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 112 126 | 
             
              name: phantomjs
         | 
| 113 127 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -266,6 +280,7 @@ files: | |
| 266 280 | 
             
            - lib/fastlane_core/developer_center/developer_center_login.rb
         | 
| 267 281 | 
             
            - lib/fastlane_core/helper.rb
         | 
| 268 282 | 
             
            - lib/fastlane_core/itunes_connect/itunes_connect.rb
         | 
| 283 | 
            +
            - lib/fastlane_core/itunes_connect/itunes_connect_apple_id.rb
         | 
| 269 284 | 
             
            - lib/fastlane_core/itunes_connect/itunes_connect_helper.rb
         | 
| 270 285 | 
             
            - lib/fastlane_core/itunes_connect/itunes_connect_login.rb
         | 
| 271 286 | 
             
            - lib/fastlane_core/itunes_search_api.rb
         |