etheruby 2.0.0 → 2.1.0

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: 63c64dface6667998a6f2cf763ddddb5d7237937
4
- data.tar.gz: b8af106669bdea61b1ab7db1a1e074554fa2dd0c
3
+ metadata.gz: e71770e0560d37ce8c5a1de9938fa0b921d82930
4
+ data.tar.gz: 5d767ce5e2cb2962938986eaa024d25b737a0414
5
5
  SHA512:
6
- metadata.gz: 09d980f7363f40097b0768bd7242b70fa4266d3952fc1735a8ff0381da7c410da75d5f665a9a1ff909eb9f90a304a4ede7358dc113d33559d31edbbbe301117f
7
- data.tar.gz: 58bc4a1edff18866bec0c81895d23f164dc6b7ca9dcf88ae7f45a7bb3ad86d9f973db5ad6795d6c28b9afe19411d3565537f6df750c7b2aaa5c774a57c0b056b
6
+ metadata.gz: 15f46aad67387751154f6e8354215298405399005bde7b9593e42be9106183b1fc94893147771ac71a58e6d26cc34f235175cb815d617849d01de0456b120488
7
+ data.tar.gz: dc8ad2ea0a48a10d6e2384f0c7111f4462cac9eed69436ea5f727fa4c1cdd6c429681512538be2a994232c145e40a8b6552277d56f6dd030bf1589d4fc756e5c
@@ -25,8 +25,18 @@ module EtherMultipliable
25
25
  end
26
26
  end
27
27
 
28
- class Integer
29
- include EtherMultipliable
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.0.0
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.4'
124
+ version: '2.3'
125
125
  required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - ">="