iso-639-data 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
  SHA256:
3
- metadata.gz: cc7c24fbefd9d4f136a21d37c7abd354d219b97372b6df26e11446dbc4f00360
4
- data.tar.gz: 6bb2dcc1e05edbf877ca8bf25a1c93c40471be33b354a380e51b1fbe1d53f1cb
3
+ metadata.gz: c904c1decf77f29b67e747f682039d685c5752cae88a75faa61809019516854c
4
+ data.tar.gz: 4bd99d628fad22006bbf947c2f591f9b89c3f79a1e5baf59946bc43f704d622e
5
5
  SHA512:
6
- metadata.gz: ef1263fcb6e5a89ac8f78a547a28d02a0badd2fbb925f8b0a6909d6f3146eb30ec1f37736053a64ad71c6d6809b03278563beaf933a86857c2b4d4e42431d0e6
7
- data.tar.gz: 500abd196ef065cc5a0b893c4ee2b0270b638baa58d6f5dc37e927d131c4411ad670ad235716e3a5603229473ef149044d3e0a1bad29cb1315f17a6a280d16e1
6
+ metadata.gz: 86a15210384868333576965cc22af0ee7ac5ff6e2722464578eb20cfa4a08277ee13f420dc805f2950c87141458b2c8796560d9e1fe48ed21b92a6490ddf2cd3
7
+ data.tar.gz: 427467ff4f4ff2ab8a40cda7b9ad130231520e9051b90a186e8acc1a4bb559c279eb01c3738ee9bef45a081b1d64ee26d3159f54c50670176175244813f47173
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iso-639-data (0.1.0)
4
+ iso-639-data (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -35,7 +35,7 @@ ISO_639_DATA.codes
35
35
 
36
36
  To check if a given alpha-3 code is valid
37
37
  ```ruby
38
- ISO_639_DATA.validate?("kor") # => true
38
+ ISO_639_DATA.valid?("kor") # => true
39
39
  ```
40
40
 
41
41
  ## Development
@@ -25,7 +25,7 @@ module ISO_639_DATA
25
25
  (ISO_639_2.keys << ISO_639_3.keys).flatten.uniq
26
26
  end
27
27
 
28
- def validate?(code)
28
+ def valid?(code)
29
29
  codes.include? code
30
30
  end
31
31
 
@@ -1,3 +1,3 @@
1
1
  module ISO_639_DATA
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso-639-data
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
  - webdev778