bel 0.3.0.beta4-x86-mingw32 → 0.3.0.beta5-x86-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
- YjBhMmE3MTBiYTk4NTg4M2UzMjk4YjI1YWMzMmQ4YzI0MThlOTU0Yg==
4
+ Zjc5MmIwNGRjOWJkMWQ5N2MzZWQyZWMyYTE4NjhjMWI0OGZhYTQ0NA==
5
5
  data.tar.gz: !binary |-
6
- NDY0NTRhN2I0MmJkMDI2NWQyZWRmYmM0MmZmOTYwMGFjMzNiYjYwMA==
6
+ MmNkMWI2ZjRhODgzNDIwNTRkMTFlMzBjYTFjZGJhMDZhODc1ZWRhYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTc3OTQ5ZmNjNDQ5MTUxOWE1ZWM0MjRmNGNjYTJiOThjY2U4NTYxZjFiMmFl
10
- ZmRkNDEyN2ZkODAwN2Q4ODhjMmZiNjBmZTQ0Y2JiYmJhN2YzOGM5YWU4YWNm
11
- ODg3ZDRmNjNlNzdlMWIyOWRmYTk0N2M2NTEyY2E1MmUyNGE0ZTI=
9
+ YjAwMmRkMzhlYTUxYzJhYTk1MTA2ZWQwYjJlYjAxODc5ZmNhNmExNmZhMjg3
10
+ NjAxMzIyNjEyMjVjNmZiYWQ5YjBiMGFiOTQ2NDhlMDAzYTYwMGU3NzJhOWE1
11
+ MjQ1M2FjYzM4YWRlMjg0Nzg0ZDI5MGQ5N2NhMzA3OWM4NmEwZDU=
12
12
  data.tar.gz: !binary |-
13
- YmZlYmQ1ZjI5YTBhN2FkZGMwZmI2YWJkZGY2MTVhNDFiYzJkZDUzMWM5OWEx
14
- YzAyNjVlNjFjYzYyYmQ0OWUxYzQ5YjVmYjE0NjRhOTVmNjA4YmYwMDBiMGVl
15
- ZjcyNTdjYWQyMDMwNDQ3MzlmNmQwZDkyNmI2ZTMzODg5NGE2OWE=
13
+ MWZjYjM2NmM4OWM2OWQzZTU3Nzk0MmJhNDdkZjAyMTQwOTllYjFkZWFlZjE2
14
+ MTNhOGI5OGI2NjA1NmY1NDQ2YzcxZDkyMTgzNjFiZGY0YWEwYmIzNjA1NTc3
15
+ NWI0NDEzZWUxMDUwZTIxNzI4OTczYTc5YWM0YjczN2M5MjliYzg=
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/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
@@ -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: 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-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