iso639 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/iso639.gemspec CHANGED
@@ -18,6 +18,5 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ["lib"]
19
19
 
20
20
  gem.add_development_dependency "minitest", "~> 4.3"
21
- gem.add_development_dependency "minitest-emoji", "~> 1.0"
22
21
  gem.add_development_dependency "rake", "~> 10.0"
23
22
  end
data/lib/iso639.rb CHANGED
@@ -60,7 +60,7 @@ module Iso639
60
60
  LanguagesByFrenchName = InsensitiveHash.new
61
61
 
62
62
  iso639_file = File.expand_path(File.join("..", "iso639", "ISO-639-2_utf-8.txt"), __FILE__)
63
- File.readlines(iso639_file, mode: "r:UTF-8").each do |line|
63
+ File.readlines(iso639_file).each do |line|
64
64
  lang = Language.new *line.split("|")
65
65
  LanguagesByAlpha2[lang.alpha2.downcase.strip] = lang if lang.alpha2
66
66
  LanguagesByAlpha3[lang.alpha3.downcase.strip] = lang if lang.alpha3
@@ -1,3 +1,3 @@
1
1
  module Iso639
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/test/test_helper.rb CHANGED
@@ -1,11 +1,3 @@
1
1
  require "minitest/autorun"
2
- require "minitest/emoji"
2
+ require "minitest/pride"
3
3
  require "iso639"
4
-
5
- # Borrowed from https://gist.github.com/4369168
6
- MiniTest::Emoji::DEFAULT.merge!(
7
- '.' => "\u{1f49A} ",
8
- 'F' => "\u{1f494} ",
9
- 'E' => "\u{1f480} ",
10
- 'S' => "\u{1f49B} "
11
- )
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: iso639
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.0
5
+ version: 1.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ryan McGeary
@@ -27,22 +27,6 @@ dependencies:
27
27
  - !ruby/object:Gem::Version
28
28
  version: '4.3'
29
29
  none: false
30
- - !ruby/object:Gem::Dependency
31
- version_requirements: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - ~>
34
- - !ruby/object:Gem::Version
35
- version: '1.0'
36
- none: false
37
- name: minitest-emoji
38
- type: :development
39
- prerelease: false
40
- requirement: !ruby/object:Gem::Requirement
41
- requirements:
42
- - - ~>
43
- - !ruby/object:Gem::Version
44
- version: '1.0'
45
- none: false
46
30
  - !ruby/object:Gem::Dependency
47
31
  version_requirements: !ruby/object:Gem::Requirement
48
32
  requirements: