simnos 0.1.0 → 0.1.1.beta1
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/simnos/dsl/topic.rb +1 -1
- data/lib/simnos/utils.rb +2 -0
- data/lib/simnos/version.rb +1 -1
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: f7852e8296f11712e300ceff4199a87244afa228
         | 
| 4 | 
            +
              data.tar.gz: 60783438422b07f0bbed97fa714c09fca1dc0c68
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 6c867759e0989739c9400ff6d9cf3fe255ffe05a43e1b84894c0c5ba78b46d442839faaf4d2b26a598bcc992f17bc77ac617fa888f8b7cc9c0f9d5207e65068a
         | 
| 7 | 
            +
              data.tar.gz: c3322803fb225d76b0753af9818698e579654147f9eda3b1f6386c93cc37de3e6446ff7122a41920a658d9d430f3c10d49f2ba7b961648b157310ed022eeb78c
         | 
    
        data/lib/simnos/dsl/topic.rb
    CHANGED
    
    | @@ -91,7 +91,7 @@ module Simnos | |
| 91 91 |  | 
| 92 92 | 
             
                    def modify_attr_hash(dsl_val, attr_name)
         | 
| 93 93 | 
             
                      aws_val = JSON.parse(@aws_topic[:attrs].attributes[attr_name])
         | 
| 94 | 
            -
                      return if dsl_val == aws_val
         | 
| 94 | 
            +
                      return if Simnos::Utils.normalize_hash(dsl_val) == Simnos::Utils.normalize_hash(aws_val)
         | 
| 95 95 | 
             
                      Simnos.logger.info("Modify Topic `#{name}` #{attr_name} attributes.#{@options[:dry_run] ? ' [dry-run]' : ''}")
         | 
| 96 96 | 
             
                      dsl_attrs = {
         | 
| 97 97 | 
             
                        attribute_name: attr_name,
         | 
    
        data/lib/simnos/utils.rb
    CHANGED
    
    
    
        data/lib/simnos/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: simnos
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.1.beta1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - wata
         | 
| @@ -185,9 +185,9 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 185 185 | 
             
                  version: '0'
         | 
| 186 186 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 187 187 | 
             
              requirements:
         | 
| 188 | 
            -
              - - " | 
| 188 | 
            +
              - - ">"
         | 
| 189 189 | 
             
                - !ruby/object:Gem::Version
         | 
| 190 | 
            -
                  version:  | 
| 190 | 
            +
                  version: 1.3.1
         | 
| 191 191 | 
             
            requirements: []
         | 
| 192 192 | 
             
            rubyforge_project: 
         | 
| 193 193 | 
             
            rubygems_version: 2.6.13
         |