bel 0.3.0.beta4-x64-mingw32 → 0.3.0.beta5-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTQ1M2M4ZWFlZDQ3YWY2YTVmN2ExMTZlZjg0YjFlOTk3ZWFjZjc2NA==
4
+ MGZhNjUwYzEyYzY2YmMyYjE2MWI3NjMxZGI5ZGQ3NDFkYzZiNjZjMQ==
5
5
  data.tar.gz: !binary |-
6
- NDNmOTMzNDcwYjRlMWY0NDU4YmI1MGIxMzdjMWYyYmVhZjg0NGUxYg==
6
+ NzRkNjBmMDQ1NDdmZmMwZGIwNzRiMTdhMzk2YzgwOTljYjk0NGQ1Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTA1OWQzNmRkZTk1YzVhZjRkZDZjYzE5MjI2ODRlYzI0OGRhMzJlM2IzODc5
10
- YThjOThhMzM5OWM5MzBiYWZkYjNlMTkwYTk5OTVlMGFkYTQ5ZmE3ZDM4ODFk
11
- OTQ3NGFlYWFjYzhhZmFhYTlmNjkwNWNhMzlhYWJmYjA5MzY4Y2E=
9
+ MmY3Mzg1YjFjNTBiMWE3YjVkMWNmZjhjNWVlYWJkNDRkYmEyOTkxNzI5YTJi
10
+ NjE5ZjIzNTExNWQ3MDYwZDY5YTdiMzI5YWY5NGNiNTFhMDA5MjVjMDNlOGNj
11
+ MjRmNTMzYWRkZmJkNmM0MDg5ZDFlNWE0ODNiNjdiMzc0MTNhMzA=
12
12
  data.tar.gz: !binary |-
13
- MTE5OWJiZmZkNTcxMzljMDZkMWEzOWY5ZTZlYjNlMWMwZWVlNDg3Zjc5NmFj
14
- ZmZhMTNiMjQ4NjQwNTRmNjE1YzU2M2U3M2ExZTU2MGI5NjcxNDgzODExYzE2
15
- YzYxZDU2N2U3OTAwYTE3MjRkMjM5N2ZhYjVmNWMzODI0MGE4MjU=
13
+ N2EyOWRhNGQyZWY5MDU3NTE3ZjQxNGM0NTQ4OTFlZWQ1ZjJmZTA5MTUzM2Yz
14
+ Y2IxMjk0MGI0ZGEzMjNhYmQwMDQ5ODIyNjA2MzNhMmQ1MDllNmZjNjM1NWFk
15
+ OGE4MWFkOTJkNjRiY2ZiMTRlZjc4MDkxY2Y5ODdkMzg1MTFhNDY=
data/bel.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'bel'
3
- spec.version = '0.3.0.beta4'
3
+ spec.version = '0.3.0.beta5'
4
4
  spec.summary = '''
5
5
  Process BEL with ruby.
6
6
  '''.gsub(%r{^\s+}, ' ').gsub(%r{\n}, '')
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
@@ -1,3 +1,3 @@
1
1
  module BEL
2
- VERSION = '0.3.0.beta3'
2
+ VERSION = '0.3.0.beta5'
3
3
  end
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 %r{1\.9}
14
+ when /^1\.9/
15
15
  '1.9'
16
- when %r{2\.0}
16
+ when /^2\.0/
17
17
  '2.0'
18
- when %r{2\.1}
18
+ when /^2\.1/
19
19
  '2.1'
20
- when %r{2\.2}
21
- '2.1' # 2.2 is compatible with 2.1, but cannot cross compile 2.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
- extension_path
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.beta4
4
+ version: 0.3.0.beta5
5
5
  platform: x64-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-17 00:00:00.000000000 Z
14
+ date: 2015-03-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: ffi