upil_types 1.0.1 → 1.0.3
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 +4 -4
- data/lib/upil_types.rb +11 -9
- data/lib/upil_types/upil_types_1_8.so +0 -0
- data/lib/upil_types/upil_types_1_9.so +0 -0
- data/lib/upil_types/upil_types_2_0.so +0 -0
- data/lib/upil_types/upil_types_2_1.so +0 -0
- data/lib/upil_types/upil_types_2_2.so +0 -0
- data/lib/upil_types/upil_types_2_3.so +0 -0
- data/lib/upil_types/upil_types_2_4.so +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d69b6b964db5de89f592fa2e8fa8eabaad279d47
|
4
|
+
data.tar.gz: 82e984e819969cb3f9a7bdfee61e4ab42f57c30e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642cc0c59ed2da8d9f0da6023b32242633b153eef4a20cadd266b04f6de2c9ef737adac19f7049296e31f5947568470ea2a030696e9d52f98a81c7dccac275d2
|
7
|
+
data.tar.gz: 8a172971aefc79c1ab3fe82be7c0392784e1146d9a90cbf3d75ced1397eb9cccf581472d4fca17a0736e19f3a7b8abae2df977bd00dbec702ccec6fd864736ac
|
data/lib/upil_types.rb
CHANGED
@@ -5,20 +5,22 @@
|
|
5
5
|
=end
|
6
6
|
|
7
7
|
|
8
|
-
if (RUBY_VERSION < '1.
|
9
|
-
raise
|
10
|
-
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '4')
|
8
|
+
if (RUBY_VERSION < '1.8.6')
|
9
|
+
raise RuntimeError, "This gem works only for Ruby Version >= 1.8.6"
|
10
|
+
elsif (RUBY_VERSION[0].chr == '2' && RUBY_VERSION[2].chr == '4')
|
11
11
|
require "upil_types/upil_types_2_4"
|
12
|
-
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '3')
|
12
|
+
elsif (RUBY_VERSION[0].chr == '2' && RUBY_VERSION[2].chr == '3')
|
13
13
|
require "upil_types/upil_types_2_3"
|
14
|
-
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '2')
|
14
|
+
elsif (RUBY_VERSION[0].chr == '2' && RUBY_VERSION[2].chr == '2')
|
15
15
|
require "upil_types/upil_types_2_2"
|
16
|
-
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '1')
|
16
|
+
elsif (RUBY_VERSION[0].chr == '2' && RUBY_VERSION[2].chr == '1')
|
17
17
|
require "upil_types/upil_types_2_1"
|
18
|
-
elsif (RUBY_VERSION[0] == '2' && RUBY_VERSION[2] == '0')
|
18
|
+
elsif (RUBY_VERSION[0].chr == '2' && RUBY_VERSION[2].chr == '0')
|
19
19
|
require "upil_types/upil_types_2_0"
|
20
|
-
elsif (RUBY_VERSION[0] == '1' && RUBY_VERSION[2] == '9')
|
20
|
+
elsif (RUBY_VERSION[0].chr == '1' && RUBY_VERSION[2].chr == '9')
|
21
21
|
require "upil_types/upil_types_1_9"
|
22
|
+
elsif (RUBY_VERSION[0].chr == '1' && RUBY_VERSION[2].chr == '8')
|
23
|
+
require "upil_types/upil_types_1_8"
|
22
24
|
else
|
23
|
-
raise
|
25
|
+
raise RuntimeError, "This gem does not support yet the running Ruby Version"
|
24
26
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upil_types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OP3FT
|
@@ -18,6 +18,7 @@ extra_rdoc_files: []
|
|
18
18
|
files:
|
19
19
|
- lib/interface_file/upil_types_interface_file.rb
|
20
20
|
- lib/upil_types.rb
|
21
|
+
- lib/upil_types/upil_types_1_8.so
|
21
22
|
- lib/upil_types/upil_types_1_9.so
|
22
23
|
- lib/upil_types/upil_types_2_0.so
|
23
24
|
- lib/upil_types/upil_types_2_1.so
|