fastlane-plugin-sentry 1.0.0 → 1.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
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: a7c0ddfcb4fc811910d494f8055fcd8156ca73e5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 3e1bef9c98f06964611edaa4e025ff007fc02688
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 628ff5d4b6727108598d2f98ee4176d19f0ff12ea52af2040943cdc3cf561c767cbbe2e23fe884a0a24e22d715b176e0ae843f7f560e79f84daec55db937bf89
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 1107d945f911b61b5b8a9e128a6c37792e4f4b596d38ec1794816ef1c555506362df2fec8c01589203994b8701d3f121375d9ab0f735c9f76f2c792ff94ac45b
         
     | 
| 
         @@ -30,7 +30,7 @@ module Fastlane 
     | 
|
| 
       30 
30 
     | 
    
         
             
                    ENV['SENTRY_API_KEY'] = api_key unless api_key.to_s.empty?
         
     | 
| 
       31 
31 
     | 
    
         
             
                    ENV['SENTRY_AUTH_TOKEN'] = auth_token unless auth_token.to_s.empty?
         
     | 
| 
       32 
32 
     | 
    
         
             
                    ENV['SENTRY_URL'] = url unless url.to_s.empty?
         
     | 
| 
       33 
     | 
    
         
            -
                    ENV['SENTRY_LOG_LEVEL'] = ' 
     | 
| 
      
 33 
     | 
    
         
            +
                    ENV['SENTRY_LOG_LEVEL'] = 'debug' if FastlaneCore::Globals.verbose?
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
35 
     | 
    
         
             
                    # Verify dsym(s)
         
     | 
| 
       36 
36 
     | 
    
         
             
                    dsym_paths += [dsym_path] unless dsym_path.nil?
         
     | 
| 
         @@ -70,9 +70,15 @@ module Fastlane 
     | 
|
| 
       70 
70 
     | 
    
         
             
                    org = Shellwords.escape(org)
         
     | 
| 
       71 
71 
     | 
    
         
             
                    project = Shellwords.escape(project)
         
     | 
| 
       72 
72 
     | 
    
         
             
                    error = []
         
     | 
| 
       73 
     | 
    
         
            -
                     
     | 
| 
      
 73 
     | 
    
         
            +
                    command = "sentry-cli upload-dsym '#{dsym_paths.join("','")}' --org #{org} --project #{project}"
         
     | 
| 
      
 74 
     | 
    
         
            +
                    if FastlaneCore::Globals.verbose?
         
     | 
| 
      
 75 
     | 
    
         
            +
                      UI.verbose("sentry-cli command:\n\n")
         
     | 
| 
      
 76 
     | 
    
         
            +
                      UI.command("#{command}")
         
     | 
| 
      
 77 
     | 
    
         
            +
                      UI.verbose("\n\n")
         
     | 
| 
      
 78 
     | 
    
         
            +
                    end
         
     | 
| 
      
 79 
     | 
    
         
            +
                    Open3.popen3(command) do |stdin, stdout, stderr, wait_thr|
         
     | 
| 
       74 
80 
     | 
    
         
             
                      while line = stderr.gets do
         
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
      
 81 
     | 
    
         
            +
                          error << line.strip!
         
     | 
| 
       76 
82 
     | 
    
         
             
                      end
         
     | 
| 
       77 
83 
     | 
    
         
             
                      while line = stdout.gets do
         
     | 
| 
       78 
84 
     | 
    
         
             
                        UI.message(line.strip!)
         
     | 
| 
         @@ -88,11 +94,11 @@ module Fastlane 
     | 
|
| 
       88 
94 
     | 
    
         
             
                    fatal = false
         
     | 
| 
       89 
95 
     | 
    
         
             
                    for error in errors do
         
     | 
| 
       90 
96 
     | 
    
         
             
                      if error
         
     | 
| 
       91 
     | 
    
         
            -
                        if error 
     | 
| 
       92 
     | 
    
         
            -
                          UI.verbose("#{error}")
         
     | 
| 
       93 
     | 
    
         
            -
                        else
         
     | 
| 
      
 97 
     | 
    
         
            +
                        if /error/.match(error)
         
     | 
| 
       94 
98 
     | 
    
         
             
                          UI.error("#{error}")
         
     | 
| 
       95 
99 
     | 
    
         
             
                          fatal = true
         
     | 
| 
      
 100 
     | 
    
         
            +
                        else
         
     | 
| 
      
 101 
     | 
    
         
            +
                          UI.verbose("#{error}")
         
     | 
| 
       96 
102 
     | 
    
         
             
                        end
         
     | 
| 
       97 
103 
     | 
    
         
             
                      end
         
     | 
| 
       98 
104 
     | 
    
         
             
                    end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: fastlane-plugin-sentry
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Josh Holtz
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2017-02 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2017-03-02 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: pry
         
     | 
| 
         @@ -58,14 +58,14 @@ dependencies: 
     | 
|
| 
       58 
58 
     | 
    
         
             
                requirements:
         
     | 
| 
       59 
59 
     | 
    
         
             
                - - ">="
         
     | 
| 
       60 
60 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       61 
     | 
    
         
            -
                    version:  
     | 
| 
      
 61 
     | 
    
         
            +
                    version: 2.10.0
         
     | 
| 
       62 
62 
     | 
    
         
             
              type: :development
         
     | 
| 
       63 
63 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       64 
64 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       65 
65 
     | 
    
         
             
                requirements:
         
     | 
| 
       66 
66 
     | 
    
         
             
                - - ">="
         
     | 
| 
       67 
67 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       68 
     | 
    
         
            -
                    version:  
     | 
| 
      
 68 
     | 
    
         
            +
                    version: 2.10.0
         
     | 
| 
       69 
69 
     | 
    
         
             
            description: 
         
     | 
| 
       70 
70 
     | 
    
         
             
            email: josh@rokkincat.com
         
     | 
| 
       71 
71 
     | 
    
         
             
            executables: []
         
     |