gettext_i18n_rails 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gettext_i18n_rails (0.6.5)
4
+ gettext_i18n_rails (0.6.6)
5
5
  fast_gettext
6
6
 
7
7
  GEM
data/Readme.md CHANGED
@@ -221,6 +221,9 @@ lib/tasks/gettext.rake:
221
221
  - [Ladislav Slezák](https://github.com/lslezak)
222
222
  - [Greg Weber](https://github.com/gregwebs)
223
223
  - [Sean Kirby](https://github.com/sskirby)
224
+ - [Julien Letessier](https://github.com/mezis)
225
+ - [Seb Bacon](https://github.com/sebbacon)
226
+ - [Ramón Cahenzli](https://github.com/psy-q)
224
227
 
225
228
  [Michael Grosser](http://grosser.it)<br/>
226
229
  grosser.michael@gmail.com<br/>
@@ -16,7 +16,7 @@ module GettextI18nRails
16
16
  code = convert_to_code(File.read(file))
17
17
  RubyGettextExtractor.parse_string(code, file, msgids)
18
18
  rescue Racc::ParseError => e
19
- $stderr.puts "file ignored: ruby_parser cannot read #{extension} files with 1.9 syntax --- (#{e.message})"
19
+ $stderr.puts "file ignored: ruby_parser cannot read #{extension} files with 1.9 syntax --- #{file}: (#{e.message.strip})"
20
20
  return msgids
21
21
  end
22
22
 
@@ -1,3 +1,3 @@
1
1
  module GettextI18nRails
2
- Version = VERSION = '0.6.5'
2
+ Version = VERSION = '0.6.6'
3
3
  end
@@ -23,9 +23,9 @@ describe GettextI18nRails::HamlParser do
23
23
  end
24
24
  end
25
25
 
26
- it "ignores 1.9 errors" do
26
+ it "ignores 1.9 errors and shows the paths of offending files" do
27
27
  with_file '= _("xxxx", x: 1)' do |path|
28
- $stderr.should_receive(:puts).with{|x| x =~ /file ignored/ }
28
+ $stderr.should_receive(:puts).with{|x| x =~ /file ignored.*#{path}/ }
29
29
  parser.parse(path, [1]).should == [1]
30
30
  end
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gettext_i18n_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-16 00:00:00.000000000 Z
12
+ date: 2012-06-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fast_gettext
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  segments:
86
86
  - 0
87
- hash: -2707633988725103734
87
+ hash: 1353912275182047211
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  segments:
95
95
  - 0
96
- hash: -2707633988725103734
96
+ hash: 1353912275182047211
97
97
  requirements: []
98
98
  rubyforge_project:
99
99
  rubygems_version: 1.8.24