bel 0.3.0.beta4-x86-mingw32 → 0.3.0.beta5-x86-mingw32
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 +8 -8
 - data/bel.gemspec +1 -1
 - data/lib/1.9/libbel.so +0 -0
 - data/lib/2.0/libbel.so +0 -0
 - data/lib/2.1/libbel.so +0 -0
 - data/lib/2.2/libbel.so +0 -0
 - data/lib/bel/version.rb +1 -1
 - data/lib/libbel.rb +6 -14
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,15 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            !binary "U0hBMQ==":
         
     | 
| 
       3 
3 
     | 
    
         
             
              metadata.gz: !binary |-
         
     | 
| 
       4 
     | 
    
         
            -
                 
     | 
| 
      
 4 
     | 
    
         
            +
                Zjc5MmIwNGRjOWJkMWQ5N2MzZWQyZWMyYTE4NjhjMWI0OGZhYTQ0NA==
         
     | 
| 
       5 
5 
     | 
    
         
             
              data.tar.gz: !binary |-
         
     | 
| 
       6 
     | 
    
         
            -
                 
     | 
| 
      
 6 
     | 
    
         
            +
                MmNkMWI2ZjRhODgzNDIwNTRkMTFlMzBjYTFjZGJhMDZhODc1ZWRhYw==
         
     | 
| 
       7 
7 
     | 
    
         
             
            SHA512:
         
     | 
| 
       8 
8 
     | 
    
         
             
              metadata.gz: !binary |-
         
     | 
| 
       9 
     | 
    
         
            -
                 
     | 
| 
       10 
     | 
    
         
            -
                 
     | 
| 
       11 
     | 
    
         
            -
                 
     | 
| 
      
 9 
     | 
    
         
            +
                YjAwMmRkMzhlYTUxYzJhYTk1MTA2ZWQwYjJlYjAxODc5ZmNhNmExNmZhMjg3
         
     | 
| 
      
 10 
     | 
    
         
            +
                NjAxMzIyNjEyMjVjNmZiYWQ5YjBiMGFiOTQ2NDhlMDAzYTYwMGU3NzJhOWE1
         
     | 
| 
      
 11 
     | 
    
         
            +
                MjQ1M2FjYzM4YWRlMjg0Nzg0ZDI5MGQ5N2NhMzA3OWM4NmEwZDU=
         
     | 
| 
       12 
12 
     | 
    
         
             
              data.tar.gz: !binary |-
         
     | 
| 
       13 
     | 
    
         
            -
                 
     | 
| 
       14 
     | 
    
         
            -
                 
     | 
| 
       15 
     | 
    
         
            -
                 
     | 
| 
      
 13 
     | 
    
         
            +
                MWZjYjM2NmM4OWM2OWQzZTU3Nzk0MmJhNDdkZjAyMTQwOTllYjFkZWFlZjE2
         
     | 
| 
      
 14 
     | 
    
         
            +
                MTNhOGI5OGI2NjA1NmY1NDQ2YzcxZDkyMTgzNjFiZGY0YWEwYmIzNjA1NTc3
         
     | 
| 
      
 15 
     | 
    
         
            +
                NWI0NDEzZWUxMDUwZTIxNzI4OTczYTc5YWM0YjczN2M5MjliYzg=
         
     | 
    
        data/bel.gemspec
    CHANGED
    
    
    
        data/lib/1.9/libbel.so
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/lib/2.0/libbel.so
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/lib/2.1/libbel.so
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/lib/2.2/libbel.so
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/lib/bel/version.rb
    CHANGED
    
    
    
        data/lib/libbel.rb
    CHANGED
    
    | 
         @@ -11,27 +11,19 @@ module LibBEL 
     | 
|
| 
       11 
11 
     | 
    
         
             
                def extension_path(ruby_version = RUBY_VERSION)
         
     | 
| 
       12 
12 
     | 
    
         
             
                  version =
         
     | 
| 
       13 
13 
     | 
    
         
             
                    case ruby_version
         
     | 
| 
       14 
     | 
    
         
            -
                    when  
     | 
| 
      
 14 
     | 
    
         
            +
                    when /^1\.9/
         
     | 
| 
       15 
15 
     | 
    
         
             
                      '1.9'
         
     | 
| 
       16 
     | 
    
         
            -
                    when  
     | 
| 
      
 16 
     | 
    
         
            +
                    when /^2\.0/
         
     | 
| 
       17 
17 
     | 
    
         
             
                      '2.0'
         
     | 
| 
       18 
     | 
    
         
            -
                    when  
     | 
| 
      
 18 
     | 
    
         
            +
                    when /^2\.1/
         
     | 
| 
       19 
19 
     | 
    
         
             
                      '2.1'
         
     | 
| 
       20 
     | 
    
         
            -
                    when  
     | 
| 
       21 
     | 
    
         
            -
                      '2. 
     | 
| 
      
 20 
     | 
    
         
            +
                    when /^2\.2/
         
     | 
| 
      
 21 
     | 
    
         
            +
                      '2.2'
         
     | 
| 
       22 
22 
     | 
    
         
             
                    else
         
     | 
| 
       23 
23 
     | 
    
         
             
                      fail RuntimeError.new("Do not support Ruby #{RUBY_VERSION}.")
         
     | 
| 
       24 
24 
     | 
    
         
             
                    end
         
     | 
| 
       25 
     | 
    
         
            -
                    extension_path = File.join(
         
     | 
| 
       26 
     | 
    
         
            -
                      File.expand_path(File.dirname(__FILE__)),
         
     | 
| 
       27 
     | 
    
         
            -
                      version
         
     | 
| 
       28 
     | 
    
         
            -
                    )
         
     | 
| 
       29 
     | 
    
         
            -
                    if !File.readable?(extension_path)
         
     | 
| 
       30 
     | 
    
         
            -
                      msg = "Extension path cannot be read: #{extension_path}"
         
     | 
| 
       31 
     | 
    
         
            -
                      fail IOError.new(msg)
         
     | 
| 
       32 
     | 
    
         
            -
                    end
         
     | 
| 
       33 
25 
     | 
    
         | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
      
 26 
     | 
    
         
            +
                  File.join(File.expand_path(File.dirname(__FILE__)), version)
         
     | 
| 
       35 
27 
     | 
    
         
             
                end
         
     | 
| 
       36 
28 
     | 
    
         | 
| 
       37 
29 
     | 
    
         
             
                # @api_private
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: bel
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.3.0.beta5
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: x86-mingw32
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Anthony Bargnesi
         
     | 
| 
         @@ -11,7 +11,7 @@ authors: 
     | 
|
| 
       11 
11 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       12 
12 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       13 
13 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       14 
     | 
    
         
            -
            date: 2015-03- 
     | 
| 
      
 14 
     | 
    
         
            +
            date: 2015-03-18 00:00:00.000000000 Z
         
     | 
| 
       15 
15 
     | 
    
         
             
            dependencies:
         
     | 
| 
       16 
16 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       17 
17 
     | 
    
         
             
              name: ffi
         
     |