ss7 1.0.2 → 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/Gemfile.lock +1 -1
- data/README.md +10 -9
- data/lib/ss7/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ade34ff88b3e9884c5e3b310855e53a83166d5798305a02dbccaf4117278dce8
|
|
4
|
+
data.tar.gz: 6fd29cfabbb27433c258a939660e1044d083456692e1cc479f72f529ae96d302
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3813783ee278743b61350ef65b9a551f92165fe112dbfa2519779cf5e245db3504cd6d89a85b72b7ea9e525fc10935179a5a6552961403ce81ef29276bb86b4
|
|
7
|
+
data.tar.gz: ebfddf98c3f5225bf59c856a27fd01c58c09d2b71bd80f5310fe8effc46d0d530471c31ad72c9a4deca0e526bc889f92343a6e9d13f230816e18c2bc62eb8e0f
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -29,17 +29,18 @@ Or install it yourself as:
|
|
|
29
29
|
|
|
30
30
|
## Usage
|
|
31
31
|
|
|
32
|
-
require ss7
|
|
32
|
+
require 'ss7'
|
|
33
|
+
|
|
33
34
|
include Ss7
|
|
34
35
|
|
|
35
|
-
dec2pc77("12900")
|
|
36
|
-
pc772dec("65-87")
|
|
37
|
-
dec2oct("750")
|
|
38
|
-
dec2bin("750")
|
|
39
|
-
dec2hex("750")
|
|
40
|
-
oct2dec("765")
|
|
41
|
-
bin2dec("11100011")
|
|
42
|
-
hex2dec("AbC3")
|
|
36
|
+
dec2pc77("12900") ====> to convert decimal into SS7 point code 7-7
|
|
37
|
+
pc772dec("65-87") ====> to convert SS7 point code 7-7 into Decimal
|
|
38
|
+
dec2oct("750") ====> to convert decimal into Octal
|
|
39
|
+
dec2bin("750") ====> to convert decimal into Binary
|
|
40
|
+
dec2hex("750") ====> to convert decimal into Hexadecimal
|
|
41
|
+
oct2dec("765") ====> to convert Octal into Decimal
|
|
42
|
+
bin2dec("11100011") ====> to convert Binary into Decimal
|
|
43
|
+
hex2dec("AbC3") ====> to convert Hexadecimal into Decimal
|
|
43
44
|
|
|
44
45
|
## Development
|
|
45
46
|
|
data/lib/ss7/version.rb
CHANGED