config_templates 0.0.2 → 0.0.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
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: fc8b11d7ca7acb11e83e9287eec0bc0cf8cf8b16
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: d37ad35203202dfcb1661fdc2335662dece16d0d
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: ad630cea888a5a254ed4d77344617c985b5f2664e68e610c4cf52b2ff6647db5860469ab9c7c053241b6cf2147fd217c785fb80f92925419ae40fb3eb8a01f33
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b1023f9a1b8c27706138eff79eafe328b8e2012e98f4bf51c0dc3c430374074b6f458cbd8e8679f35705425e9e5d4394ed269333dd377aa2a2def3ed849c1a55
         
     | 
| 
         @@ -14,10 +14,10 @@ module ConfigTemplates::Models 
     | 
|
| 
       14 
14 
     | 
    
         
             
                end
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
                def destination
         
     | 
| 
       17 
     | 
    
         
            -
                  ::File.join(
         
     | 
| 
      
 17 
     | 
    
         
            +
                  engine.prepare_file_name ::File.join(
         
     | 
| 
       18 
18 
     | 
    
         
             
                    @config.destination_path,
         
     | 
| 
       19 
19 
     | 
    
         
             
                    @config.stage.to_s,
         
     | 
| 
       20 
     | 
    
         
            -
                    @path.sub(@config.templates_path, '') 
     | 
| 
      
 20 
     | 
    
         
            +
                    @path.sub(@config.templates_path, '')
         
     | 
| 
       21 
21 
     | 
    
         
             
                  )
         
     | 
| 
       22 
22 
     | 
    
         
             
                end
         
     | 
| 
       23 
23 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: config_templates
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.3
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - g.ivanov
         
     | 
| 
         @@ -96,6 +96,7 @@ files: 
     | 
|
| 
       96 
96 
     | 
    
         
             
            - lib/config_templates/repositories/validators.rb
         
     | 
| 
       97 
97 
     | 
    
         
             
            - lib/config_templates/validators/composite.rb
         
     | 
| 
       98 
98 
     | 
    
         
             
            - lib/config_templates/version.rb
         
     | 
| 
      
 99 
     | 
    
         
            +
            - spec/fixtures/dest/production/kapacitor/config
         
     | 
| 
       99 
100 
     | 
    
         
             
            - spec/fixtures/settings/settings.production.yml
         
     | 
| 
       100 
101 
     | 
    
         
             
            - spec/fixtures/settings/settings.yml
         
     | 
| 
       101 
102 
     | 
    
         
             
            - spec/fixtures/src/kapacitor/config.erb
         
     | 
| 
         @@ -126,6 +127,7 @@ signing_key: 
     | 
|
| 
       126 
127 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       127 
128 
     | 
    
         
             
            summary: config_templates
         
     | 
| 
       128 
129 
     | 
    
         
             
            test_files:
         
     | 
| 
      
 130 
     | 
    
         
            +
            - spec/fixtures/dest/production/kapacitor/config
         
     | 
| 
       129 
131 
     | 
    
         
             
            - spec/fixtures/src/kapacitor/config.erb
         
     | 
| 
       130 
132 
     | 
    
         
             
            - spec/fixtures/settings/settings.yml
         
     | 
| 
       131 
133 
     | 
    
         
             
            - spec/fixtures/settings/settings.production.yml
         
     |