aloha_analyzer 0.0.5 → 0.0.6

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: d60bfa2c43a2c496f98d2aadedd42036ca8e36fc
4
- data.tar.gz: 4d6b145caa9f49366cf2d23ec9459b780d9722dd
3
+ metadata.gz: a2a8f8faef760618d44c42b4675b0c6280af2c62
4
+ data.tar.gz: 1a22db97bba3f8587662b769b9f981006215fd66
5
5
  SHA512:
6
- metadata.gz: 090644018e122c692324448b0903941d4144a065cf2d929413b10868cc98497c0e9e13dd407a6c408ba3db0a3f38c934814eecba20f026d31da43b0daf79f316
7
- data.tar.gz: f23c8f3fd71bcd6b5bd894b07e7141877e02aba738d8b7da619e67fdbe4877c8a01231cb206a08911f03e26846b78326573f938b536cd34f5f8a768398488364
6
+ metadata.gz: 0c01a9cfc67ba63ae88b64ad3aa5122c58ef9535cc0eb910d52111dd00457345b810334e821602989b29176c85fee63183e766a22249caa0667d5bbe67700f95
7
+ data.tar.gz: f9d1279fdf88b70b39c03f54c941999dbbebb74ab67d8ba57526f292942ab9c50b423492402d4fe0c9da13f480c12141cef8708f74ab96032716c8a3e85056e2
@@ -2,7 +2,8 @@ require 'yaml'
2
2
 
3
3
  module AlohaAnalyzer
4
4
  class Language
5
- LANGUAGES = YAML::load(File.open('config/language.yml'))
5
+
6
+ LANGUAGES = YAML::load_file(File.join(File.dirname(__FILE__), 'yaml/language.yml'))
6
7
  TOTAL_POPULATION = 750_000_000
7
8
 
8
9
  def self.all
@@ -1,3 +1,3 @@
1
1
  module AlohaAnalyzer
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aloha_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu Aussaguel
@@ -109,11 +109,11 @@ files:
109
109
  - README.md
110
110
  - Rakefile
111
111
  - aloha_analyzer.gemspec
112
- - config/language.yml
113
112
  - lib/aloha_analyzer.rb
114
113
  - lib/aloha_analyzer/language.rb
115
114
  - lib/aloha_analyzer/user.rb
116
115
  - lib/aloha_analyzer/version.rb
116
+ - lib/aloha_analyzer/yaml/language.yml
117
117
  - spec/aloha_analyzer/language_spec.rb
118
118
  - spec/aloha_analyzer/user_spec.rb
119
119
  - spec/aloha_analyzer_spec.rb