generatediet 0.0.3 → 0.0.4
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/Intermediate_diet_gain.rb +1 -1
- data/lib/Intermediate_diet_loss.rb +1 -1
- data/lib/intensive_diet_gain.rb +1 -1
- data/lib/intensive_diet_loss.rb +1 -1
- data/lib/regular_diet_gain.rb +1 -1
- data/lib/regular_diet_loss.rb +1 -1
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 0e77832e0a21c098641f2d20108733d7fc2ea9b505ed07c2262aa824c2745140
         | 
| 4 | 
            +
              data.tar.gz: 9457204285addc397375d93377bc04fe7eedf09bcf7c278d97c74e83d17a2860
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b54764d564f01e5220c665b89ba5a78b620c967f08bbf9e76eabc991166a413f97ccfd0bbbdc04964e8889789863b0013840643df3934d0f6ed90cbc0620b126
         | 
| 7 | 
            +
              data.tar.gz: e2091bd8bab55ba7bdbeae42ee5ecb2c4e0943e873909c0c6f8cf3f518912ba0877a27c2817c369f3e0f7f009b6a775117519345ea9620e0f01db43f80ae0a05
         | 
| @@ -6,7 +6,7 @@ class IntermediateDietGain < Diet | |
| 6 6 | 
             
                def generate_diet(context)
         | 
| 7 7 | 
             
                    @hash = Hash.new
         | 
| 8 8 | 
             
                    @hash.store("diet_type","intermediate_diet_gain")
         | 
| 9 | 
            -
                    @hash.store("time_interval", | 
| 9 | 
            +
                    @hash.store("time_interval",60)
         | 
| 10 10 | 
             
                    @hash.store("date_started",context.date_started)
         | 
| 11 11 | 
             
                    @hash.store("initial_weight",context.initial_weight)
         | 
| 12 12 | 
             
                    @hash.store("target_weight",context.target_weight)
         | 
| @@ -6,7 +6,7 @@ class IntermediateDietLoss < Diet | |
| 6 6 | 
             
                def generate_diet(context)
         | 
| 7 7 | 
             
                    @hash = Hash.new
         | 
| 8 8 | 
             
                    @hash.store("diet_type","intermediate_diet_loss")
         | 
| 9 | 
            -
                    @hash.store("time_interval", | 
| 9 | 
            +
                    @hash.store("time_interval",60)
         | 
| 10 10 | 
             
                    @hash.store("date_started",context.date_started)
         | 
| 11 11 | 
             
                    @hash.store("initial_weight",context.initial_weight)
         | 
| 12 12 | 
             
                    @hash.store("target_weight",context.target_weight)
         | 
    
        data/lib/intensive_diet_gain.rb
    CHANGED
    
    | @@ -6,7 +6,7 @@ class IntensiveDietGain < Diet | |
| 6 6 | 
             
                def generate_diet(context)
         | 
| 7 7 | 
             
                    @hash = Hash.new
         | 
| 8 8 | 
             
                    @hash.store("diet_type","intensive_diet_gain")
         | 
| 9 | 
            -
                    @hash.store("time_interval", | 
| 9 | 
            +
                    @hash.store("time_interval",30)
         | 
| 10 10 | 
             
                    @hash.store("date_started",context.date_started)
         | 
| 11 11 | 
             
                    @hash.store("initial_weight",context.initial_weight)
         | 
| 12 12 | 
             
                    @hash.store("target_weight",context.target_weight)
         | 
    
        data/lib/intensive_diet_loss.rb
    CHANGED
    
    | @@ -6,7 +6,7 @@ class IntensiveDietLoss < Diet | |
| 6 6 | 
             
                def generate_diet(context)
         | 
| 7 7 | 
             
                    @hash = Hash.new
         | 
| 8 8 | 
             
                    @hash.store("diet_type","intensive_diet_loss")
         | 
| 9 | 
            -
                    @hash.store("time_interval", | 
| 9 | 
            +
                    @hash.store("time_interval",30)
         | 
| 10 10 | 
             
                    @hash.store("date_started", context.date_started)
         | 
| 11 11 | 
             
                    @hash.store("initial_weight",context.initial_weight)
         | 
| 12 12 | 
             
                    @hash.store("target_weight",context.target_weight)
         | 
    
        data/lib/regular_diet_gain.rb
    CHANGED
    
    | @@ -6,7 +6,7 @@ class RegularDietGain < Diet | |
| 6 6 | 
             
                def generate_diet(context)
         | 
| 7 7 | 
             
                    @hash = Hash.new
         | 
| 8 8 | 
             
                    @hash.store("diet_type","regular_diet_gain")
         | 
| 9 | 
            -
                    @hash.store("time_interval", | 
| 9 | 
            +
                    @hash.store("time_interval",90)
         | 
| 10 10 | 
             
                    @hash.store("date_started",context.date_started)
         | 
| 11 11 | 
             
                    @hash.store("initial_weight",context.initial_weight)
         | 
| 12 12 | 
             
                    @hash.store("target_weight",context.target_weight)
         | 
    
        data/lib/regular_diet_loss.rb
    CHANGED
    
    | @@ -6,7 +6,7 @@ class RegularDietLoss < Diet | |
| 6 6 | 
             
                def generate_diet(context)
         | 
| 7 7 | 
             
                    @hash = Hash.new
         | 
| 8 8 | 
             
                    @hash.store("diet_type","regular_diet_loss")
         | 
| 9 | 
            -
                    @hash.store("time_interval", | 
| 9 | 
            +
                    @hash.store("time_interval",90)
         | 
| 10 10 | 
             
                    @hash.store("date_started",context.date_started)
         | 
| 11 11 | 
             
                    @hash.store("initial_weight",context.initial_weight)
         | 
| 12 12 | 
             
                    @hash.store("target_weight",context.target_weight)
         |