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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ce7df6fe7d33f9845d86613b09aea11fbe076d5
4
- data.tar.gz: 86ff72f05f7934db53c3cd10059a45159d952c7f
3
+ metadata.gz: d69b6b964db5de89f592fa2e8fa8eabaad279d47
4
+ data.tar.gz: 82e984e819969cb3f9a7bdfee61e4ab42f57c30e
5
5
  SHA512:
6
- metadata.gz: a350faf89380c94a951be2db422d771fc4517f9432a7426d670bee41efd7b90ab14a83ed1697f53c1385e2f979ffae97b64462f282639d54e763be3eea61adb7
7
- data.tar.gz: b652ea42c764a5d0fd2b2a0a396372f66d07e664e388fa419cabd4fbaa382a88680cd80a8b262431a2b025bd5a74820c48fc007274f9089fd5d9558b06bac62a
6
+ metadata.gz: 642cc0c59ed2da8d9f0da6023b32242633b153eef4a20cadd266b04f6de2c9ef737adac19f7049296e31f5947568470ea2a030696e9d52f98a81c7dccac275d2
7
+ data.tar.gz: 8a172971aefc79c1ab3fe82be7c0392784e1146d9a90cbf3d75ced1397eb9cccf581472d4fca17a0736e19f3a7b8abae2df977bd00dbec702ccec6fd864736ac
@@ -5,20 +5,22 @@
5
5
  =end
6
6
 
7
7
 
8
- if (RUBY_VERSION < '1.9.0')
9
- raise FatalError.new("This gem does not support the running Ruby Version (too old)")
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 FatalError.new("This gem does not support yet the running Ruby Version")
25
+ raise RuntimeError, "This gem does not support yet the running Ruby Version"
24
26
  end
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.1
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