etheruby 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/etheruby/ether_multipliable.rb +12 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e71770e0560d37ce8c5a1de9938fa0b921d82930
|
4
|
+
data.tar.gz: 5d767ce5e2cb2962938986eaa024d25b737a0414
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15f46aad67387751154f6e8354215298405399005bde7b9593e42be9106183b1fc94893147771ac71a58e6d26cc34f235175cb815d617849d01de0456b120488
|
7
|
+
data.tar.gz: dc8ad2ea0a48a10d6e2384f0c7111f4462cac9eed69436ea5f727fa4c1cdd6c429681512538be2a994232c145e40a8b6552277d56f6dd030bf1589d4fc756e5c
|
@@ -25,8 +25,18 @@ module EtherMultipliable
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
|
29
|
-
|
28
|
+
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.4.0')
|
29
|
+
class Integer
|
30
|
+
include EtherMultipliable
|
31
|
+
end
|
32
|
+
else
|
33
|
+
class Fixnum
|
34
|
+
include EtherMultipliable
|
35
|
+
end
|
36
|
+
|
37
|
+
class Bignum
|
38
|
+
include EtherMultipliable
|
39
|
+
end
|
30
40
|
end
|
31
41
|
|
32
42
|
class Float
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: etheruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jérémy SEBAN
|
@@ -121,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '2.
|
124
|
+
version: '2.3'
|
125
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
127
|
- - ">="
|