char_size 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/char_size/char_size.c +1 -1
- data/lib/char_size/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb2ccbd5b3a1ce968c5c5ed407ca3c8a9a8ca290
|
4
|
+
data.tar.gz: 5fd162637a1b4bcbdfb9a03ba2a1a45cb89f5033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f717d585dad3ce6944ba19fbcf9b3e3caa8be7d3fae82df9629b11154750250a5879b9dbc770bedca776a7bbe4c46380066bcb8c4e53f4bb6a40260ab1244391
|
7
|
+
data.tar.gz: 123811b647439497874155057078df2cc5754f6f1e6b709a7113f7ab18e2a8ee4d0ec135b3a0dcd9b02477b24ba759fc4f3f8645ad6b5058dddfc04d222141ea
|
data/ext/char_size/char_size.c
CHANGED
@@ -21,7 +21,7 @@ static VALUE min(VALUE class, VALUE encoding_or_name) {
|
|
21
21
|
/*
|
22
22
|
* Gets the maximum character size (in bytes) for an encoding.
|
23
23
|
* @param encoding_or_name [Encoding, String] the encoding or its name
|
24
|
-
* @return [Integer] the
|
24
|
+
* @return [Integer] the maximum character size
|
25
25
|
* @example
|
26
26
|
* CharSize.max("UTF-8") # => 6
|
27
27
|
* CharSize.max(Encoding::UTF_8) # => 6
|
data/lib/char_size/version.rb
CHANGED