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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: deb464d4821edb234ea24d84c4e988eec0406ad1
4
- data.tar.gz: 9f8c6ddf01450debbb369e16685802c8509c2ea5
3
+ metadata.gz: cb2ccbd5b3a1ce968c5c5ed407ca3c8a9a8ca290
4
+ data.tar.gz: 5fd162637a1b4bcbdfb9a03ba2a1a45cb89f5033
5
5
  SHA512:
6
- metadata.gz: e5800463806ea30caa0520a4d8f63a18920b43ec03dd821751a0bc0969a62fc69c09dd4f5aba335c328c9286668c5f832fb4c63531b232a02caa6679fbf05ebb
7
- data.tar.gz: 9f0fe4db8706c3484d97e9f74fc90b6665c4f2f3a4b5934282f404f2a62dccf9cf13656ec2ac32d58326210d5c044e0e92e1f381ec3f4e13b3fe0815b4cd57d0
6
+ metadata.gz: f717d585dad3ce6944ba19fbcf9b3e3caa8be7d3fae82df9629b11154750250a5879b9dbc770bedca776a7bbe4c46380066bcb8c4e53f4bb6a40260ab1244391
7
+ data.tar.gz: 123811b647439497874155057078df2cc5754f6f1e6b709a7113f7ab18e2a8ee4d0ec135b3a0dcd9b02477b24ba759fc4f3f8645ad6b5058dddfc04d222141ea
@@ -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 minimum character size
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CharSize
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: char_size
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Haines