shale-builder 0.5.1 → 0.5.2
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/Gemfile.lock +1 -1
 - data/lib/shale/builder/version.rb +1 -1
 - data/lib/tapioca/dsl/compilers/shale.rb +2 -0
 - 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: 8991027b587aeafbed207ac9cd822e41afebdfa569c024f6ed76bae038ea30b5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: f61364b0035ff89ef1ad00daca3829fb1597600cd9a7c8d581e3a137984670d7
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1a929606c8017a98f0c30a54728bcf2d64ee6effa155a60c4a337fcc48360b98b82456d29530e2bcbecf9a31ca04281e8932db706972215ab2a36e7c354eed4c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3b70d9301cb4633ee59c37f37afa9c0f977e3726914491d8632ec8f4c95b5b21f78882a290da7482c595bf8a603695ad758b04b8e6d5665a7414579701980e96
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    
| 
         @@ -40,6 +40,7 @@ module Tapioca 
     | 
|
| 
       40 
40 
     | 
    
         
             
                        attribute = constant.attributes[attribute_name] #: ::Shale::Attribute
         
     | 
| 
       41 
41 
     | 
    
         
             
                        if (type = attribute.return_type)
         
     | 
| 
       42 
42 
     | 
    
         
             
                          return_type = type
         
     | 
| 
      
 43 
     | 
    
         
            +
                          nilable = true
         
     | 
| 
       43 
44 
     | 
    
         
             
                        else
         
     | 
| 
       44 
45 
     | 
    
         
             
                          return_type, nilable = shale_type_to_sorbet_return_type(attribute)
         
     | 
| 
       45 
46 
     | 
    
         
             
                        end
         
     | 
| 
         @@ -58,6 +59,7 @@ module Tapioca 
     | 
|
| 
       58 
59 
     | 
    
         | 
| 
       59 
60 
     | 
    
         
             
                        if (type = attribute.return_type || attribute.setter_type)
         
     | 
| 
       60 
61 
     | 
    
         
             
                          setter_type = type
         
     | 
| 
      
 62 
     | 
    
         
            +
                          nilable = true
         
     | 
| 
       61 
63 
     | 
    
         
             
                        else
         
     | 
| 
       62 
64 
     | 
    
         
             
                          setter_type, nilable = shale_type_to_sorbet_setter_type(attribute)
         
     | 
| 
       63 
65 
     | 
    
         
             
                        end
         
     |