ripl-i18n 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.3.0
2
+ * Update to work with 1.9.3
3
+
1
4
  == 0.2.3
2
5
  * Update gemspec
3
6
 
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  -f: Unterdrücke Laden von ~/.irbrc
3
3
  -F: Unterdrücke Laden von ~/.riplrc
4
4
  -d: Setze $DEBUG auf wahr (wie `ruby -d')
@@ -6,7 +6,7 @@
6
6
  -r: Lade Datei mittels "require" (wie `ruby -r')
7
7
  -v: Gib Version aus
8
8
  -h: Gib Hilfe aus
9
- run_command: `%s' ist kein %s-Befehl.
9
+ run_command: ! '`%s'' ist kein %s-Befehl.'
10
10
  start: Unbenutzte Argumente
11
11
  load_rc: Fehler beim Laden von %s
12
12
  parse_option: Ungültige Option
@@ -1,5 +1,4 @@
1
- # Keys and their words to translate into other languages
2
- ---
1
+ ---
3
2
  -f: Suppress loading ~/.irbrc
4
3
  -F: Suppress loading ~/.riplrc
5
4
  -d: Set $DEBUG to true (same as `ruby -d')
@@ -7,7 +6,7 @@
7
6
  -r: Require file (same as `ruby -r')
8
7
  -v: Print version
9
8
  -h: Print help
10
- run_command: `%s' is not a %s command.
9
+ run_command: ! '`%s'' is not a %s command.'
11
10
  start: Unused arguments
12
11
  load_rc: Error while loading %s
13
12
  parse_option: invalid option
@@ -6,7 +6,7 @@
6
6
  -r: Require archivo (lo mismo que `ruby -r')
7
7
  -v: Imprime version
8
8
  -h: Imprime ayuda
9
- run_command: `%s' no es un comando de %s.
9
+ run_command: ! '`%s'' no es un comando de %s.'
10
10
  start: argumentos no usado
11
11
  load_rc: Ocurrió un error mientras cargando %s
12
12
  parse_option: opción inválida
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  -f: Ignora ~/.irbrc
3
3
  -F: Ignora ~/.riplrc
4
4
  -d: Configura $DEBUG=true (mesmo que `ruby -d')
@@ -6,7 +6,7 @@
6
6
  -r: Require arquivo (mesmo que `ruby -r')
7
7
  -v: Mostra a versão
8
8
  -h: Mostra ajuda
9
- run_command: `%s' não e um comando de %s.
9
+ run_command: ! '`%s'' não e um comando de %s.'
10
10
  start: Argumentos não usado
11
11
  load_rc: Erro ao carregar %s
12
12
  parse_option: opção inválida
@@ -6,7 +6,7 @@
6
6
  -r: 載入檔案 (等同於 `ruby -r')
7
7
  -v: 顯示版本
8
8
  -h: 顯示使用說明
9
- run_command: `%s' 不是一個 %s 命令。
9
+ run_command: ! '`%s'' 不是一個 %s 命令。'
10
10
  start: 未使用的引數
11
11
  load_rc: 讀取 %s 時發生錯誤
12
12
  parse_option: 不正確的選項
@@ -1,5 +1,5 @@
1
1
  module Ripl
2
2
  module I18n
3
- VERSION = '0.2.3'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
data/lib/ripl/i18n.rb CHANGED
@@ -15,7 +15,7 @@ module Ripl::I18n
15
15
 
16
16
  def load_file(file)
17
17
  YAML.load_file(file)
18
- rescue
18
+ rescue StandardError, SyntaxError
19
19
  warn "Error while loading locale from #{file}:\n#{$!}"
20
20
  end
21
21
 
@@ -1 +1,2 @@
1
+ ---
1
2
  ''::'
data/test/fixtures/rb.yml CHANGED
@@ -1 +1,2 @@
1
+ ---
1
2
  -f: woah dudez
metadata CHANGED
@@ -1,61 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ripl-i18n
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
4
5
  prerelease:
5
- version: 0.2.3
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Gabriel Horner
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-10-28 00:00:00 -04:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-11-29 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: ripl
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2153056740 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
24
21
  version: 0.5.0
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: bacon
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2153056740
25
+ - !ruby/object:Gem::Dependency
26
+ name: bacon
27
+ requirement: &2153056220 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
35
32
  version: 1.1.0
36
33
  type: :development
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: bacon-bits
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2153056220
36
+ - !ruby/object:Gem::Dependency
37
+ name: bacon-bits
38
+ requirement: &2153055840 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
47
44
  type: :development
48
- version_requirements: *id003
49
- description: "A ripl plugin that translates ripl to your preferred language. Current supported languages: spanish, chinese, german, portuguese."
45
+ prerelease: false
46
+ version_requirements: *2153055840
47
+ description: ! 'A ripl plugin that translates ripl to your preferred language. Current
48
+ supported languages: spanish, chinese, german, portuguese.'
50
49
  email: gabriel.horner@gmail.com
51
50
  executables: []
52
-
53
51
  extensions: []
54
-
55
- extra_rdoc_files:
52
+ extra_rdoc_files:
56
53
  - README.rdoc
57
54
  - LICENSE.txt
58
- files:
55
+ files:
59
56
  - lib/ripl/i18n/version.rb
60
57
  - lib/ripl/i18n.rb
61
58
  - test/i18n_test.rb
@@ -74,33 +71,29 @@ files:
74
71
  - test/fixtures/.yml
75
72
  - test/fixtures/invalid_syntax.yml
76
73
  - test/fixtures/rb.yml
77
- has_rdoc: true
78
74
  homepage: http://github.com/cldwalker/ripl-i18n
79
- licenses:
75
+ licenses:
80
76
  - MIT
81
77
  post_install_message:
82
78
  rdoc_options: []
83
-
84
- require_paths:
79
+ require_paths:
85
80
  - lib
86
- required_ruby_version: !ruby/object:Gem::Requirement
81
+ required_ruby_version: !ruby/object:Gem::Requirement
87
82
  none: false
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- version: "0"
92
- required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
88
  none: false
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
97
92
  version: 1.3.6
98
93
  requirements: []
99
-
100
94
  rubyforge_project:
101
- rubygems_version: 1.6.2
95
+ rubygems_version: 1.8.10
102
96
  signing_key:
103
97
  specification_version: 3
104
98
  summary: A ripl plugin que habla ta langue.
105
99
  test_files: []
106
-