albacore 3.0.0.pre.alpha.2 → 3.0.0.pre.alpha.3
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/albacore/nuget_model.rb +3 -3
 - data/lib/albacore/task_types/nugets_pack.rb +3 -1
 - data/lib/albacore/version.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: c52d3c10d5169db857d9c41ac91cea72e9d5c9bb
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 7bfd829c7a4609e5e08d4d2e3de484a0e5551623
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 95d5c3bfe665576aeccde8aa0435d935d25744f699ab34e746c81cb10525ca18e53f9b6928f285c116b275a3f4dc67b859a40a131f3417a6209d486dfd4a558f
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: c3c79b0eddccc075d9f25718c2cfb18060024f5147ae6af89a477e809934ed5c0130a999ca9775ec74bcfb5425700381b04f8a1b77c732968aef6963b8998776
         
     | 
    
        data/lib/albacore/nuget_model.rb
    CHANGED
    
    | 
         @@ -151,9 +151,9 @@ end}) 
     | 
|
| 
       151 
151 
     | 
    
         
             
                    # fields
         
     | 
| 
       152 
152 
     | 
    
         
             
                    @set_fields.each do |f|
         
     | 
| 
       153 
153 
     | 
    
         
             
                      key, value = Metadata.pascal_case(f), send(f)
         
     | 
| 
       154 
     | 
    
         
            -
                      if value. 
     | 
| 
      
 154 
     | 
    
         
            +
                      if value.is_a?(Array)
         
     | 
| 
       155 
155 
     | 
    
         
             
                        lines << "#{key}"
         
     | 
| 
       156 
     | 
    
         
            -
                        value. 
     | 
| 
      
 156 
     | 
    
         
            +
                        value.map{ |line| "  #{line}" }.each do |line|
         
     | 
| 
       157 
157 
     | 
    
         
             
                          lines << line
         
     | 
| 
       158 
158 
     | 
    
         
             
                        end
         
     | 
| 
       159 
159 
     | 
    
         
             
                      else
         
     | 
| 
         @@ -381,7 +381,7 @@ end}) 
     | 
|
| 
       381 
381 
     | 
    
         
             
                      end
         
     | 
| 
       382 
382 
     | 
    
         
             
                    end
         
     | 
| 
       383 
383 
     | 
    
         | 
| 
       384 
     | 
    
         
            -
                    lines 
     | 
| 
      
 384 
     | 
    
         
            +
                    lines
         
     | 
| 
       385 
385 
     | 
    
         
             
                  end
         
     | 
| 
       386 
386 
     | 
    
         | 
| 
       387 
387 
     | 
    
         
             
                  # gets the current package as a xml builder
         
     | 
| 
         @@ -119,7 +119,9 @@ module Albacore 
     | 
|
| 
       119 
119 
     | 
    
         
             
                        path = File.join(proj.proj_path_base, "paket.template")
         
     | 
| 
       120 
120 
     | 
    
         | 
| 
       121 
121 
     | 
    
         
             
                        File.open(path, 'w') do |template|
         
     | 
| 
       122 
     | 
    
         
            -
                           
     | 
| 
      
 122 
     | 
    
         
            +
                          contents = package.to_template.join("\n")
         
     | 
| 
      
 123 
     | 
    
         
            +
                          template.write contents
         
     | 
| 
      
 124 
     | 
    
         
            +
                          debug { "Wrote paket.template file:\n#{contents}" }
         
     | 
| 
       123 
125 
     | 
    
         
             
                        end
         
     | 
| 
       124 
126 
     | 
    
         | 
| 
       125 
127 
     | 
    
         
             
                        parameters = defaults config
         
     | 
    
        data/lib/albacore/version.rb
    CHANGED