ckmeans 1.0.0.rc → 1.0.0
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/ckmeans/extensions.c +2 -2
 - data/lib/ckmeans/version.rb +1 -1
 - metadata +3 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d7f334215d673498dd97a243407c4606a9d361d8aa07cc497f57f6bf0667f1d5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: e0def5eeb06821d9b9c1c75b1808b90d27c3b5bfc1f950509de2b388e5f5a291
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1bea370847934e340bb5f23ec721bc21b26e515d5cf3136870779ea49eb8f0d8d1e1ca134a0dd59caac4fed070b9751bc2612c78974e5ef4bcf99997f1f72e58
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 37b184e51ed7172765bfedac3671a0bfa7c59a6d2a783ef37fdd90525636f9ad158717b05cee3be24f63f4eec1cbc3ef85b67214000cbbc18a334db067a1e7d5
         
     | 
    
        data/ext/ckmeans/extensions.c
    CHANGED
    
    | 
         @@ -678,7 +678,7 @@ Arena *arena_create(uint32_t capacity) { 
     | 
|
| 
       678 
678 
     | 
    
         
             
                arena->capacity = capacity;
         
     | 
| 
       679 
679 
     | 
    
         
             
                arena->offset   = 0;
         
     | 
| 
       680 
680 
     | 
    
         | 
| 
       681 
     | 
    
         
            -
                printf("[Arena Created] Capacity: %u, offset: %u\n", arena->capacity, arena->offset);
         
     | 
| 
      
 681 
     | 
    
         
            +
                /* printf("[Arena Created] Capacity: %u, offset: %u\n", arena->capacity, arena->offset); */
         
     | 
| 
       682 
682 
     | 
    
         | 
| 
       683 
683 
     | 
    
         
             
                return arena;
         
     | 
| 
       684 
684 
     | 
    
         
             
            }
         
     | 
| 
         @@ -698,7 +698,7 @@ void *arena_alloc(Arena *arena, uint32_t size) { 
     | 
|
| 
       698 
698 
     | 
    
         
             
            }
         
     | 
| 
       699 
699 
     | 
    
         | 
| 
       700 
700 
     | 
    
         
             
            void arena_destroy(Arena *arena) {
         
     | 
| 
       701 
     | 
    
         
            -
                printf("[Arena Destroy] Capacity: %u, offset: %u, left: %u\n", arena->capacity, arena->offset, arena->capacity - arena->offset);
         
     | 
| 
      
 701 
     | 
    
         
            +
                /* printf("[Arena Destroy] Capacity: %u, offset: %u, left: %u\n", arena->capacity, arena->offset, arena->capacity - arena->offset); */
         
     | 
| 
       702 
702 
     | 
    
         
             
                free(arena->buffer);
         
     | 
| 
       703 
703 
     | 
    
         
             
                free(arena);
         
     | 
| 
       704 
704 
     | 
    
         
             
            }
         
     | 
    
        data/lib/ckmeans/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: ckmeans
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.0.0 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Vlad Lebedev
         
     | 
| 
         @@ -13,7 +13,8 @@ description: Repeatable clustering of unidimensional data 
     | 
|
| 
       13 
13 
     | 
    
         
             
            email:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - vladlebedeff@gmail.com
         
     | 
| 
       15 
15 
     | 
    
         
             
            executables: []
         
     | 
| 
       16 
     | 
    
         
            -
            extensions: 
     | 
| 
      
 16 
     | 
    
         
            +
            extensions:
         
     | 
| 
      
 17 
     | 
    
         
            +
            - ext/ckmeans/extconf.rb
         
     | 
| 
       17 
18 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       18 
19 
     | 
    
         
             
            files:
         
     | 
| 
       19 
20 
     | 
    
         
             
            - ".rspec"
         
     |