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 +8 -8
- data/bel.gemspec +1 -1
- 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
|
+
ZDQ2ZGIyOWQ0ZmE5NzZjNWZjODI2MTE1YWM2MzE2NWYxMTY1NDZkYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTg4YWU5ZTBkMzJmMGJjMDRmZjEyOTkwOGJhN2JiMWQxZWE3NjQ3Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjcxMTQ3Njk4YmI5ODgzZDFmYzYwNzE3N2JlNjZlMTdkNDhjNGRmNWI3OTQ3
|
10
|
+
MzI5ZTkyZjY4ZDQyNGM0MzgzNjBlMjc5OWQ1ZDkxODJhZGJjMGQyZGY1OTg0
|
11
|
+
MTFjYjNjMmRiYzM0NTdmMDRkZjYwNTI5OTJhNDE3NzQ0NWY3ZDM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjgyZmNjM2I5MzkwOTgyZWJiYTRmZTgyYTkyZWIyZGVlZDc4MmQwZDY2YTRl
|
14
|
+
MzUyNDk2ZmE1MDBlYmRkOGNiZmE3NzUzNWE0MjRlOThiZjg2MDljODg2OTU0
|
15
|
+
OGRhMzk4ZWVkOTkzZmY3MmIxOTdmYzk4NDJlZWY1Y2U0YjZiMDU=
|
data/bel.gemspec
CHANGED
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: 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-
|
14
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: ffi
|