iso639 1.2.0 → 1.2.1
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/.travis.yml +2 -5
- data/CHANGELOG.md +1 -0
- data/CONTRIBUTING.md +43 -0
- data/README.md +23 -7
- data/lib/iso639/ISO-639-2_utf-8.txt +1 -0
- data/lib/iso639/version.rb +1 -1
- metadata +13 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d3a059bf0c73fad7252bacc6703d3748ef5718f
|
4
|
+
data.tar.gz: 4c0632878fed904430ec6d605da8392c68a959f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8acd46d82706cb2de2ca38dc45351c8912dfe9c5281a90eb39be407eff8d8c24b9429b34d08f0abd8de7ea679a86507779338304acf419992362c9e8c84a0837
|
7
|
+
data.tar.gz: b9de0435e80cc1cd6e5c2272c78c8fd728e5bd75c18377c167aaf5fa7db1797c5c35f7133d2d80a4bccf38e6225b907a4ecfc0c194de9776c9d9d6aefd2f2a14
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
See [GitHub Releases](https://github.com/rmm5t/iso639/releases)
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
## Want to Contribute?
|
2
|
+
|
3
|
+
Awesome. We love help, but before getting started, please read:
|
4
|
+
|
5
|
+
**[Don't "Push" Your Pull Requests](http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/)**
|
6
|
+
|
7
|
+
## Ready for a Pull-Request?
|
8
|
+
|
9
|
+
1. Fork the repo.
|
10
|
+
|
11
|
+
2. Run the tests. We only take pull requests with passing tests, and it's great
|
12
|
+
to know that you have a clean slate: `bundle && bundle exec rake`
|
13
|
+
|
14
|
+
3. Add a test for your change. Only refactoring and documentation changes
|
15
|
+
require no new tests. If you are adding functionality or fixing a bug, we need
|
16
|
+
a test!
|
17
|
+
|
18
|
+
4. Make the test pass.
|
19
|
+
|
20
|
+
5. Push to your fork and submit a pull request.
|
21
|
+
|
22
|
+
At this point you're waiting on us. We like to at least comment on, if not
|
23
|
+
accept, pull requests within three business days (and, typically, one business
|
24
|
+
day). We may suggest some changes or improvements or alternatives.
|
25
|
+
|
26
|
+
Some things that will increase the chance that your pull request is accepted,
|
27
|
+
taken straight from the Ruby on Rails guide:
|
28
|
+
|
29
|
+
## Conventions
|
30
|
+
|
31
|
+
* Use Rails idioms and helpers.
|
32
|
+
* Include tests that fail without your code, and pass with your code.
|
33
|
+
* Update the documentation, the surrounding one, examples elsewhere, guides,
|
34
|
+
whatever is affected by your contribution
|
35
|
+
|
36
|
+
Syntax:
|
37
|
+
|
38
|
+
* Two spaces, no tabs.
|
39
|
+
* No trailing whitespace. Blank lines should not have any space.
|
40
|
+
* Prefer `&&`/`||` over `and`/`or`.
|
41
|
+
* `MyClass.my_method(my_arg)` not `my_method( my_arg )` or `my_method my_arg`.
|
42
|
+
* `a = b` not `a=b`.
|
43
|
+
* Follow the conventions you see used in the source already.
|
data/README.md
CHANGED
@@ -1,8 +1,28 @@
|
|
1
|
-
# iso639 [](http://badge.fury.io/rb/iso639) [](https://travis-ci.org/rmm5t/iso639) [](https://codeclimate.com/github/rmm5t/iso639)
|
2
2
|
|
3
3
|
The iso639 gem provides convenience methods for looking up ISO-639-1 or
|
4
4
|
ISO-639-2 language codes by their english name, 2-char, or 3-char counterpart
|
5
5
|
|
6
|
+
All data was generated from the Library of Congress's list of UTF-8
|
7
|
+
[**Codes for the Representation of Names of Languages**](http://www.loc.gov/standards/iso639-2/ascii_8bits.html).
|
8
|
+
|
9
|
+
---
|
10
|
+
|
11
|
+
**How You Can Help**
|
12
|
+
|
13
|
+
[][square]
|
14
|
+
[][paypal]
|
15
|
+
[][codementor]
|
16
|
+
|
17
|
+
If you like this project, [buy me a coffee][paypal], or [book a session with me on Codementor][codementor].
|
18
|
+
|
19
|
+
Bitcoin: `1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m`
|
20
|
+
|
21
|
+
[square]: https://cash.me/$rmm5t "Donate to rmm5t for open source!"
|
22
|
+
[paypal]: https://www.paypal.me/rmm5t/5 "Donate to rmm5t for open source!"
|
23
|
+
[bitcoin]: bitcoin:1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m?amount=0.01&label=Coffee%20to%20rmm5t%20for%20Open%20Source "Buy rmm5t a coffee for open source!"
|
24
|
+
[codementor]: https://www.codementor.io/rmm5t?utm_campaign=profile&utm_source=button-rmm5t&utm_medium=shields "Book a session with rmm5t on Codementor!"
|
25
|
+
|
6
26
|
## Installation
|
7
27
|
|
8
28
|
Add this line to your application's Gemfile:
|
@@ -89,10 +109,6 @@ Iso639["german"].name # => "German"
|
|
89
109
|
Iso639["GeRmAn"].name # => "German"
|
90
110
|
```
|
91
111
|
|
92
|
-
##
|
112
|
+
## Versioning
|
93
113
|
|
94
|
-
|
95
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
96
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
97
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
98
|
-
5. Create new Pull Request
|
114
|
+
Semantic Versioning 2.0 as defined at <http://semver.org>.
|
@@ -477,6 +477,7 @@ ypk|||Yupik languages|yupik, langues
|
|
477
477
|
zap|||Zapotec|zapotèque
|
478
478
|
zbl|||Blissymbols; Blissymbolics; Bliss|symboles Bliss; Bliss
|
479
479
|
zen|||Zenaga|zenaga
|
480
|
+
zgh|||Standard Moroccan Tamazight|amazighe standard marocain
|
480
481
|
zha||za|Zhuang; Chuang|zhuang; chuang
|
481
482
|
znd|||Zande languages|zandé, langues
|
482
483
|
zul||zu|Zulu|zoulou
|
data/lib/iso639/version.rb
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iso639
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan McGeary
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
description: ISO 639-1 and ISO 639-2 lookups by name, alpha-2 code, or alpha-3 code
|
@@ -45,8 +45,10 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
49
|
-
- .travis.yml
|
48
|
+
- ".gitignore"
|
49
|
+
- ".travis.yml"
|
50
|
+
- CHANGELOG.md
|
51
|
+
- CONTRIBUTING.md
|
50
52
|
- Gemfile
|
51
53
|
- LICENSE.txt
|
52
54
|
- README.md
|
@@ -71,17 +73,17 @@ require_paths:
|
|
71
73
|
- lib
|
72
74
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
75
|
requirements:
|
74
|
-
- -
|
76
|
+
- - ">="
|
75
77
|
- !ruby/object:Gem::Version
|
76
78
|
version: '0'
|
77
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
80
|
requirements:
|
79
|
-
- -
|
81
|
+
- - ">="
|
80
82
|
- !ruby/object:Gem::Version
|
81
83
|
version: '0'
|
82
84
|
requirements: []
|
83
85
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
86
|
+
rubygems_version: 2.5.1
|
85
87
|
signing_key:
|
86
88
|
specification_version: 4
|
87
89
|
summary: ISO 639-1 and ISO 639-2 lookups by name, alpha-2 code, or alpha-3 code
|