apidae 1.3.6 → 1.3.9
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/app/models/apidae/apidae_data_parser.rb +11 -3
 - data/app/models/apidae/obj.rb +6 -4
 - data/config/initializers/cache.rb +1 -1
 - data/lib/apidae/version.rb +1 -1
 - data/test/dummy/log/development.log +168 -351
 - data/test/dummy/log/test.log +495 -9201
 - data/test/models/apidae/obj_test.rb +10 -3
 - metadata +3 -4
 
| 
         @@ -2,8 +2,15 @@ require 'test_helper' 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            module Apidae
         
     | 
| 
       4 
4 
     | 
    
         
             
              class ObjTest < ActiveSupport::TestCase
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
                 
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
                test "populate empty booking desc" do
         
     | 
| 
      
 7 
     | 
    
         
            +
                  objects_json = File.read('test/data/hot_fr_en.json')
         
     | 
| 
      
 8 
     | 
    
         
            +
                  obj_data = JSON.parse(objects_json, symbolize_names: true).first
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
                  obj = Apidae::Obj.new
         
     | 
| 
      
 11 
     | 
    
         
            +
                  Apidae::Obj.populate_fields(obj, obj_data, [Apidae::LOCALE_FR])
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  assert_nil obj.booking_desc
         
     | 
| 
      
 14 
     | 
    
         
            +
                end
         
     | 
| 
       8 
15 
     | 
    
         
             
              end
         
     | 
| 
       9 
16 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: apidae
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.3. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.3.9
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Jean-Baptiste Vilain
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2022-05-03 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: rails
         
     | 
| 
         @@ -286,8 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       286 
286 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       287 
287 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       288 
288 
     | 
    
         
             
            requirements: []
         
     | 
| 
       289 
     | 
    
         
            -
             
     | 
| 
       290 
     | 
    
         
            -
            rubygems_version: 2.7.6.2
         
     | 
| 
      
 289 
     | 
    
         
            +
            rubygems_version: 3.1.6
         
     | 
| 
       291 
290 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       292 
291 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       293 
292 
     | 
    
         
             
            summary: A Ruby on Rails engine for projects that involve Apidae data
         
     |