isorun 0.1.2.pre-arm64-darwin → 0.1.4.pre-arm64-darwin
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/ext/isorun/Cargo.toml +1 -1
 - data/lib/isorun/2.7/isorun.bundle +0 -0
 - data/lib/isorun/3.0/isorun.bundle +0 -0
 - data/lib/isorun/3.1/isorun.bundle +0 -0
 - data/lib/isorun/resolver.rb +6 -8
 - data/lib/isorun/version.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: 303a32646dc5a4c6536830b90b5a2958c024d12876368a2ac6cb8e84697782f2
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 1abc0921a99ae15853a6bf2426254f4acecc2c6957159053a089de36253bb52c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 6beb29cfb692736ff75606ccb0721d41576e7cb01bba57ba413ec27428ef575366a33128e6c40b8795813f57a14b6d104cf67ce0de58e871aa1e84941008e45b
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4e87d714aa5351f959c2a9f4e9b1fa1a3b33a87c7f254d33c2d3233f2704764796f269e28b7aff133dfdb28c552fd34dd96b5c5b58748895dc3858250ababdcd
         
     | 
    
        data/ext/isorun/Cargo.toml
    CHANGED
    
    
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
    
        data/lib/isorun/resolver.rb
    CHANGED
    
    | 
         @@ -6,7 +6,7 @@ module Isorun 
     | 
|
| 
       6 
6 
     | 
    
         
             
                  if Rails.env.development?
         
     | 
| 
       7 
7 
     | 
    
         
             
                    Rails.root.join("app", "assets", "builds", "#{bundle_id}-server.js").to_s
         
     | 
| 
       8 
8 
     | 
    
         
             
                  else
         
     | 
| 
       9 
     | 
    
         
            -
                     
     | 
| 
      
 9 
     | 
    
         
            +
                    Isorun::Resolver.module_path("#{bundle_id}-server")
         
     | 
| 
       10 
10 
     | 
    
         
             
                  end
         
     | 
| 
       11 
11 
     | 
    
         
             
                }
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
         @@ -14,15 +14,13 @@ module Isorun 
     | 
|
| 
       14 
14 
     | 
    
         
             
                  if Rails.env.development?
         
     | 
| 
       15 
15 
     | 
    
         
             
                    Rails.root.join("app", "assets", "builds", "#{bundle_id}.js").to_s
         
     | 
| 
       16 
16 
     | 
    
         
             
                  else
         
     | 
| 
       17 
     | 
    
         
            -
                     
     | 
| 
      
 17 
     | 
    
         
            +
                    Isorun::Resolver.module_path(bundle_id)
         
     | 
| 
       18 
18 
     | 
    
         
             
                  end
         
     | 
| 
       19 
19 
     | 
    
         
             
                }
         
     | 
| 
       20 
     | 
    
         
            -
              end
         
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
              private
         
     | 
| 
       23 
20 
     | 
    
         | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
      
 21 
     | 
    
         
            +
                def self.module_path(asset)
         
     | 
| 
      
 22 
     | 
    
         
            +
                  file = Rails.application.assets_manifest.assets["#{asset}.js"]
         
     | 
| 
      
 23 
     | 
    
         
            +
                  "#{Rails.application.assets_manifest.directory}/#{file}"
         
     | 
| 
      
 24 
     | 
    
         
            +
                end
         
     | 
| 
       27 
25 
     | 
    
         
             
              end
         
     | 
| 
       28 
26 
     | 
    
         
             
            end
         
     | 
    
        data/lib/isorun/version.rb
    CHANGED