iso-639 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -5
  3. data/iso-639.gemspec +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f30bbd1aa167785f1c7814c24620a2f32940c385087c36d8fcfdb3af9664f07a
4
- data.tar.gz: c73c896af9cfbf3b4de0864555642796189081f643c370441336b7779f9525d7
3
+ metadata.gz: 5c5e8e45beefb50c352c75a60734fd4cf0d54f1c0ca62569b2617b343cd7861e
4
+ data.tar.gz: 981355b7ab9452b7156271e4d665285e37e551954e8d154d3bf12113a3464431
5
5
  SHA512:
6
- metadata.gz: 935449f682ee87f38b6d9a10e962439695c4eed0cb756ed4c219470f9eb68a770d35f2a0cd3006623f591ae44335d018173d00639cf805884d6873c74c4cf7c1
7
- data.tar.gz: 7a744e9d43604918a76875156dbdb2fe24bd245a3f93c90883109f2ca4b586ddf378e5bffdec4267dc885fcdcae6879913a43dfffb9fee9e67adffca17779690
6
+ metadata.gz: 8c0f3d16ed5d845bfda23eefb0e3ad6ef35c66dd16159130957bbdcc0637a1a19284ee8a386a26345a4df8f344ed6739fba8e273d5f72b89a47105a36d39dbab
7
+ data.tar.gz: d7773cb2c05c66214b7784ec47bfe82ed5815e545e611434abdd30de4b799762bc3f435a0a7af63411fced4afc5717c63cf1b9acf0a568be257d45a7ea67ef6f
data/README.md CHANGED
@@ -1,16 +1,36 @@
1
1
  # ISO 639
2
2
 
3
- A Ruby gem that provides the ISO 639-2 and ISO 639-1 data sets along with some convenience methods for accessing different entries and entry fields. The data comes from the [LOC ISO 639-2 UTF-8 data set](http://www.loc.gov/standards/iso639-2/ascii_8bits.html).
3
+ A Ruby gem that provides the ISO 639-2 and ISO 639-1 data sets along with some
4
+ convenience methods for accessing different entries and entry fields. The data
5
+ comes from the
6
+ [LOC ISO 639-2 UTF-8 data set](http://www.loc.gov/standards/iso639-2/ascii_8bits.html).
4
7
 
5
- To install:
8
+ The [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) specification uses a
9
+ two-letter code to identify a language and is often the recommended way to
10
+ identify languages in computer applications. The ISO 639-1 specification covers
11
+ most developed and widely used languages.
12
+
13
+ The [ISO 639-2](http://www.loc.gov/standards/iso639-2/)
14
+ ([Wikipedia](http://en.wikipedia.org/wiki/ISO_639-2)) specification uses a
15
+ three-letter code, is used primarily in bibliography and terminology and
16
+ covers many more languages than the ISO 639-1 specification.
17
+
18
+ ## Installation
19
+
20
+ To install from [RubyGems](https://rubygems.org/gems/RbST):
6
21
 
7
22
  ```bash
8
23
  gem install iso-639
9
24
  ```
10
25
 
11
- The [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) specification uses a two-letter code to identify a language and is often the recommended way to identify languages in computer applications. The ISO 639-1 specification covers most developed and widely used languages.
26
+ To install with [Bundler](https://bundler.io/), add the following to your
27
+ Gemfile:
28
+
29
+ ```ruby
30
+ gem 'iso-639'
31
+ ```
12
32
 
13
- The [ISO 639-2](http://www.loc.gov/standards/iso639-2/) ([Wikipedia](http://en.wikipedia.org/wiki/ISO_639-2)) specification uses a three-letter code, is used primarily in bibliography and terminology and covers many more languages than the ISO 639-1 specification.
33
+ Then run `bundle install`
14
34
 
15
35
  ## Usage
16
36
 
@@ -59,7 +79,8 @@ Entries are arrays with convenience methods for accessing fields:
59
79
  # => "slovaque"
60
80
  ```
61
81
 
62
- The full data set is available through the `ISO_639::ISO_639_1` and `ISO_639::ISO_639_2` constants.
82
+ The full data set is available through the `ISO_639::ISO_639_1` and
83
+ `ISO_639::ISO_639_2` constants.
63
84
 
64
85
  ## Note on Patches/Pull Requests
65
86
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'iso-639'
5
- s.version = '0.3.3'
5
+ s.version = '0.3.4'
6
6
  s.licenses = ['MIT']
7
7
  s.summary = 'ISO 639-1 and ISO 639-2 language code entries and convenience methods.'
8
8
  s.description = 'ISO 639-1 and ISO 639-2 language code entries and convenience methods.'
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  'test/helper.rb',
27
27
  'test/test_iso_639.rb'
28
28
  ]
29
- s.homepage = 'http://github.com/alphabetum/iso-639'
29
+ s.homepage = 'http://github.com/xwmx/iso-639'
30
30
  s.require_paths = ['lib']
31
31
  s.add_development_dependency('minitest', '~> 5', '>= 0')
32
32
  s.add_development_dependency('mocha', '~> 1', '>= 0')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso-639
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Melody
@@ -129,7 +129,7 @@ files:
129
129
  - lib/iso-639.rb
130
130
  - test/helper.rb
131
131
  - test/test_iso_639.rb
132
- homepage: http://github.com/alphabetum/iso-639
132
+ homepage: http://github.com/xwmx/iso-639
133
133
  licenses:
134
134
  - MIT
135
135
  metadata: {}