cfhighlander 0.10.4.alpha.1575543782 → 0.10.4.alpha.1575860593
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/cfhighlander.dsl.subcomponent.rb +5 -4
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: e9a2efcb268f7fb58d37b41d2e5749f685069c106d54fdd2f4ff5a80a872c6ce
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 4c46fedcdaa7620784d844ad72a8d79a1a252c9a280e19232bf6511a1f6c7457
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 5e5cbf130bc7783cea0e671c910de2c4f61016ed8c5cf984c59b87d42fd6810a06dcf3b7cfc755d3df11810ad073df668209a381336519a5ea89a67918511dcd
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 47982a96d52f4202c191b6d6b352185b0c98879813da09959b769a8ac711fc471abfb606fa99786bdc0c717c46406ca598e06c1f2f7a8b1752cd4c11e07c31cb
         
     | 
| 
         @@ -93,13 +93,14 @@ module Cfhighlander 
     | 
|
| 
       93 
93 
     | 
    
         | 
| 
       94 
94 
     | 
    
         
             
                    # add condition to parent if conditonal component
         
     | 
| 
       95 
95 
     | 
    
         
             
                    if @conditional
         
     | 
| 
       96 
     | 
    
         
            -
                       
     | 
| 
       97 
     | 
    
         
            -
                      @ 
     | 
| 
       98 
     | 
    
         
            -
             
     | 
| 
      
 96 
     | 
    
         
            +
                      condition = "Enable#{@cfn_name}" if @condition.nil?
         
     | 
| 
      
 97 
     | 
    
         
            +
                      @condition = condition
         
     | 
| 
      
 98 
     | 
    
         
            +
                      @parent.Condition(condition, CfnDsl::Fn.new('Equals', [
         
     | 
| 
      
 99 
     | 
    
         
            +
                          CfnDsl::RefDefinition.new(condition),
         
     | 
| 
       99 
100 
     | 
    
         
             
                          'true'
         
     | 
| 
       100 
101 
     | 
    
         
             
                      ]).to_json)
         
     | 
| 
       101 
102 
     | 
    
         
             
                      @parent.Parameters do
         
     | 
| 
       102 
     | 
    
         
            -
                        ComponentParam  
     | 
| 
      
 103 
     | 
    
         
            +
                        ComponentParam condition, enabled.to_s, allowedValues: %w(true false)
         
     | 
| 
       103 
104 
     | 
    
         
             
                      end
         
     | 
| 
       104 
105 
     | 
    
         
             
                    end
         
     | 
| 
       105 
106 
     | 
    
         
             
                  end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: cfhighlander
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.10.4.alpha. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.10.4.alpha.1575860593
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Nikola Tosic
         
     | 
| 
         @@ -10,7 +10,7 @@ authors: 
     | 
|
| 
       10 
10 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       11 
11 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       12 
12 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
            date: 2019-12- 
     | 
| 
      
 13 
     | 
    
         
            +
            date: 2019-12-09 00:00:00.000000000 Z
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
16 
     | 
    
         
             
              name: highline
         
     |