ri18n 0.0.5 → 0.0.6

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/ri18n/catalog.rb +1 -1
  3. metadata +16 -20
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 21c93cf5222302922dac5ab1923da841fc346f4c
4
+ data.tar.gz: 2d1fa5e38226825e3798a9a9d803a470ddc38fe6
5
+ SHA512:
6
+ metadata.gz: e65eeceef264be0a30b2381164d86d003e909cbbda53ca7a21f831d17f37d006ef1986f2b3f701cfdd92c4bbf423638832ec0ffcc00ffba0db8301f12d28c89b
7
+ data.tar.gz: 02ea890e445c486e729450aadc5228469bec72f72cf967ca0e59627d82247c8ca534d0ec738ec3d184bbd3f85ea92b960475fc841f23f68ff890bdb8bd5fa504
data/lib/ri18n/catalog.rb CHANGED
@@ -77,7 +77,7 @@ msgstr ""
77
77
  ret << Msg.new(str.to_s, nil).po_format(id, nplural)
78
78
  end
79
79
  }
80
- if encoding == app_enc.downcase
80
+ if app_enc.nil? || encoding == app_enc.downcase
81
81
  ret
82
82
  else
83
83
  Iconv.new(encoding, app_enc).iconv(ret)
metadata CHANGED
@@ -1,59 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ri18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Denis Mertz
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-05 00:00:00.000000000 Z
11
+ date: 2016-06-07 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: ! ' Ri18n is an internationalization and localization library for
15
- Ruby applications.
16
-
17
- '
13
+ description: |2
14
+ Ri18n is an internationalization and localization library for Ruby applications.
18
15
  email: dmertz at online dot de
19
16
  executables: []
20
17
  extensions: []
21
18
  extra_rdoc_files: []
22
19
  files:
23
- - lib/i18nservice.rb
24
20
  - lib/gettext.rb
25
- - lib/ri18n/plural_forms.rb
26
- - lib/ri18n/pohelper.rb
21
+ - lib/i18nservice.rb
22
+ - lib/ri18n/catalog.rb
27
23
  - lib/ri18n/langtools.rb
28
- - lib/ri18n/translators.rb
29
- - lib/ri18n/standard_exts.rb
24
+ - lib/ri18n/msg.rb
30
25
  - lib/ri18n/newmsglist.rb
26
+ - lib/ri18n/plural_forms.rb
31
27
  - lib/ri18n/po.rb
32
- - lib/ri18n/catalog.rb
33
- - lib/ri18n/msg.rb
28
+ - lib/ri18n/pohelper.rb
29
+ - lib/ri18n/standard_exts.rb
30
+ - lib/ri18n/translators.rb
34
31
  homepage: http://ri18n.berlios.de/
35
32
  licenses: []
33
+ metadata: {}
36
34
  post_install_message:
37
35
  rdoc_options: []
38
36
  require_paths:
39
37
  - lib
40
38
  required_ruby_version: !ruby/object:Gem::Requirement
41
- none: false
42
39
  requirements:
43
- - - ! '>='
40
+ - - ">="
44
41
  - !ruby/object:Gem::Version
45
42
  version: '0'
46
43
  required_rubygems_version: !ruby/object:Gem::Requirement
47
- none: false
48
44
  requirements:
49
- - - ! '>='
45
+ - - ">="
50
46
  - !ruby/object:Gem::Version
51
47
  version: '0'
52
48
  requirements:
53
49
  - Rake
54
50
  rubyforge_project: ri18n
55
- rubygems_version: 1.8.23
51
+ rubygems_version: 2.2.2
56
52
  signing_key:
57
- specification_version: 3
53
+ specification_version: 4
58
54
  summary: Ruby application internationalization and localization library
59
55
  test_files: []