bel 0.3.0.beta4 → 0.3.0.beta5

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
- NWQ2NjY1MDlkZjJlNGNhYmJiMjI3YjdkMmM5MjdmYzdkYWQ3Y2UwOQ==
4
+ ZDQ2ZGIyOWQ0ZmE5NzZjNWZjODI2MTE1YWM2MzE2NWYxMTY1NDZkYQ==
5
5
  data.tar.gz: !binary |-
6
- MDQ0NzMyNTM0YTZjMmM0ZmU1ODA0ZjFiYzc1YTM3ZWJjN2QwMjhkMw==
6
+ YTg4YWU5ZTBkMzJmMGJjMDRmZjEyOTkwOGJhN2JiMWQxZWE3NjQ3Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGQxYzY2YzRjZTkxNThlZThjZmQ2NTE2NTQwZDcyNmZjMTg2YzE5MDZiOTQ4
10
- ZTY3NjZlNjZkZjlhZjYxMGQ4OGE0MGIwZTQyNDBkYjcwN2VmNjU5OTFjZjFk
11
- MTg3ZTRiY2VmYjYwMWE3M2U0NDE3ZDBhNTJlMzA2MmNiNmQ5YTI=
9
+ YjcxMTQ3Njk4YmI5ODgzZDFmYzYwNzE3N2JlNjZlMTdkNDhjNGRmNWI3OTQ3
10
+ MzI5ZTkyZjY4ZDQyNGM0MzgzNjBlMjc5OWQ1ZDkxODJhZGJjMGQyZGY1OTg0
11
+ MTFjYjNjMmRiYzM0NTdmMDRkZjYwNTI5OTJhNDE3NzQ0NWY3ZDM=
12
12
  data.tar.gz: !binary |-
13
- OTBjZGE2NTk1OTEyNWNlNjc3ZDVjYzJhN2U0YTQxYzZlNTc1NzgwZjM5ZWMz
14
- ODY2YmJhNWM0YzllYmQ5MGQyMGU3YzVmZTg1MjFiNjM0ZTYyMDQ4NGYzYTE0
15
- NWU1MTgzYzkwMTcwOWMwYzEwODA5OGUyNzNlMDU3ODBhYTUzZjI=
13
+ NjgyZmNjM2I5MzkwOTgyZWJiYTRmZTgyYTkyZWIyZGVlZDc4MmQwZDY2YTRl
14
+ MzUyNDk2ZmE1MDBlYmRkOGNiZmE3NzUzNWE0MjRlOThiZjg2MDljODg2OTU0
15
+ OGRhMzk4ZWVkOTkzZmY3MmIxOTdmYzk4NDJlZWY1Y2U0YjZiMDU=
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/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: ruby
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