gettext_i18n_rails 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  rvm:
2
2
  - ree
3
- - 1.9.2
4
3
  - 1.9.3
4
+ - 2.0.0
data/Appraisals CHANGED
@@ -1,4 +1,6 @@
1
- ['2.3', '3.0', '3.1', '3.2'].each do |version|
1
+ versions = ['3.0', '3.1', '3.2']
2
+ versions.unshift '2.3' if RUBY_VERSION =~ /^1/
3
+ versions.each do |version|
2
4
  appraise "rails.#{version}" do
3
5
  gem "rails", "~>#{version}.0"
4
6
  end
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source 'http://rubygems.org'
2
2
  gemspec
3
3
 
4
4
  gem 'appraisal'
data/Gemfile.lock CHANGED
@@ -1,38 +1,38 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gettext_i18n_rails (0.9.2)
4
+ gettext_i18n_rails (0.9.3)
5
5
  fast_gettext (>= 0.4.8)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- actionmailer (3.2.11)
11
- actionpack (= 3.2.11)
12
- mail (~> 2.4.4)
13
- actionpack (3.2.11)
14
- activemodel (= 3.2.11)
15
- activesupport (= 3.2.11)
10
+ actionmailer (3.2.13)
11
+ actionpack (= 3.2.13)
12
+ mail (~> 2.5.3)
13
+ actionpack (3.2.13)
14
+ activemodel (= 3.2.13)
15
+ activesupport (= 3.2.13)
16
16
  builder (~> 3.0.0)
17
17
  erubis (~> 2.7.0)
18
18
  journey (~> 1.0.4)
19
- rack (~> 1.4.0)
19
+ rack (~> 1.4.5)
20
20
  rack-cache (~> 1.2)
21
21
  rack-test (~> 0.6.1)
22
22
  sprockets (~> 2.2.1)
23
- activemodel (3.2.11)
24
- activesupport (= 3.2.11)
23
+ activemodel (3.2.13)
24
+ activesupport (= 3.2.13)
25
25
  builder (~> 3.0.0)
26
- activerecord (3.2.11)
27
- activemodel (= 3.2.11)
28
- activesupport (= 3.2.11)
26
+ activerecord (3.2.13)
27
+ activemodel (= 3.2.13)
28
+ activesupport (= 3.2.13)
29
29
  arel (~> 3.0.2)
30
30
  tzinfo (~> 0.3.29)
31
- activeresource (3.2.11)
32
- activemodel (= 3.2.11)
33
- activesupport (= 3.2.11)
34
- activesupport (3.2.11)
35
- i18n (~> 0.6)
31
+ activeresource (3.2.13)
32
+ activemodel (= 3.2.13)
33
+ activesupport (= 3.2.13)
34
+ activesupport (3.2.13)
35
+ i18n (= 0.6.1)
36
36
  multi_json (~> 1.0)
37
37
  appraisal (0.5.1)
38
38
  bundler
@@ -50,40 +50,40 @@ GEM
50
50
  hike (1.2.1)
51
51
  i18n (0.6.1)
52
52
  journey (1.0.4)
53
- json (1.7.6)
53
+ json (1.7.7)
54
54
  levenshtein (0.2.2)
55
55
  locale (2.0.8)
56
- mail (2.4.4)
56
+ mail (2.5.3)
57
57
  i18n (>= 0.4.0)
58
58
  mime-types (~> 1.16)
59
59
  treetop (~> 1.4.8)
60
- mime-types (1.19)
61
- multi_json (1.5.0)
60
+ mime-types (1.21)
61
+ multi_json (1.7.1)
62
62
  polyglot (0.3.3)
63
- rack (1.4.4)
63
+ rack (1.4.5)
64
64
  rack-cache (1.2)
65
65
  rack (>= 0.4)
66
- rack-ssl (1.3.2)
66
+ rack-ssl (1.3.3)
67
67
  rack
68
68
  rack-test (0.6.2)
69
69
  rack (>= 1.0)
70
- rails (3.2.11)
71
- actionmailer (= 3.2.11)
72
- actionpack (= 3.2.11)
73
- activerecord (= 3.2.11)
74
- activeresource (= 3.2.11)
75
- activesupport (= 3.2.11)
70
+ rails (3.2.13)
71
+ actionmailer (= 3.2.13)
72
+ actionpack (= 3.2.13)
73
+ activerecord (= 3.2.13)
74
+ activeresource (= 3.2.13)
75
+ activesupport (= 3.2.13)
76
76
  bundler (~> 1.0)
77
- railties (= 3.2.11)
78
- railties (3.2.11)
79
- actionpack (= 3.2.11)
80
- activesupport (= 3.2.11)
77
+ railties (= 3.2.13)
78
+ railties (3.2.13)
79
+ actionpack (= 3.2.13)
80
+ activesupport (= 3.2.13)
81
81
  rack-ssl (~> 1.3.2)
82
82
  rake (>= 0.8.7)
83
83
  rdoc (~> 3.4)
84
84
  thor (>= 0.14.6, < 2.0)
85
85
  rake (10.0.3)
86
- rdoc (3.12)
86
+ rdoc (3.12.2)
87
87
  json (~> 1.4)
88
88
  rspec (2.12.0)
89
89
  rspec-core (~> 2.12.0)
@@ -106,12 +106,12 @@ GEM
106
106
  tilt (~> 1.1, != 1.3.0)
107
107
  sqlite3 (1.3.7)
108
108
  temple (0.5.5)
109
- thor (0.16.0)
110
- tilt (1.3.3)
109
+ thor (0.17.0)
110
+ tilt (1.3.6)
111
111
  treetop (1.4.12)
112
112
  polyglot
113
113
  polyglot (>= 0.3.1)
114
- tzinfo (0.3.35)
114
+ tzinfo (0.3.37)
115
115
 
116
116
  PLATFORMS
117
117
  ruby
data/Readme.md CHANGED
@@ -233,6 +233,7 @@ If want to use your .PO files on client side javascript you should have a look a
233
233
  - [Jeroen Knoops](https://github.com/JeroenKnoops)
234
234
  - [Ivan Necas](https://github.com/iNecas)
235
235
  - [Andrey Chernih](https://github.com/AndreyChernyh)
236
+ - [Imre Farkas](https://github.com/ifarkas)
236
237
 
237
238
  [Michael Grosser](http://grosser.it)<br/>
238
239
  grosser.michael@gmail.com<br/>
@@ -1,6 +1,6 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source :rubygems
3
+ source "http://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
6
  gem "bump"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/mgrosser/code/tools/gettext_i18n_rails
3
3
  specs:
4
- gettext_i18n_rails (0.9.1)
4
+ gettext_i18n_rails (0.9.2)
5
5
  fast_gettext (>= 0.4.8)
6
6
 
7
7
  GEM
@@ -1,6 +1,6 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source :rubygems
3
+ source "http://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
6
  gem "bump"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/mgrosser/code/tools/gettext_i18n_rails
3
3
  specs:
4
- gettext_i18n_rails (0.9.1)
4
+ gettext_i18n_rails (0.9.2)
5
5
  fast_gettext (>= 0.4.8)
6
6
 
7
7
  GEM
@@ -1,6 +1,6 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source :rubygems
3
+ source "http://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
6
  gem "bump"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/mgrosser/code/tools/gettext_i18n_rails
3
3
  specs:
4
- gettext_i18n_rails (0.9.1)
4
+ gettext_i18n_rails (0.9.2)
5
5
  fast_gettext (>= 0.4.8)
6
6
 
7
7
  GEM
@@ -1,6 +1,6 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source :rubygems
3
+ source "http://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
6
  gem "bump"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/mgrosser/code/tools/gettext_i18n_rails
3
3
  specs:
4
- gettext_i18n_rails (0.9.1)
4
+ gettext_i18n_rails (0.9.2)
5
5
  fast_gettext (>= 0.4.8)
6
6
 
7
7
  GEM
@@ -12,13 +12,10 @@ module RubyGettextExtractor
12
12
  def parse_string(content, file, targets=[])
13
13
  # file is just for information in error messages
14
14
 
15
- case RUBY_VERSION
16
- when /^1\.8/ then
17
- parser = Extractor18.new(file, targets)
18
- when /^1\.9/ then
19
- parser = Extractor19.new(file, targets)
15
+ parser = if RUBY_VERSION =~ /^1\.8/
16
+ Extractor18.new(file, targets)
20
17
  else
21
- raise "unrecognized RUBY_VERSION #{RUBY_VERSION}"
18
+ Extractor19.new(file, targets)
22
19
  end
23
20
  parser.run(content)
24
21
  end
@@ -1,3 +1,3 @@
1
1
  module GettextI18nRails
2
- Version = VERSION = '0.9.2'
2
+ Version = VERSION = '0.9.3'
3
3
  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.9.2
4
+ version: 0.9.3
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: 2013-02-10 00:00:00.000000000 Z
12
+ date: 2013-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fast_gettext
@@ -103,7 +103,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  segments:
105
105
  - 0
106
- hash: -3384457185642040654
106
+ hash: 2166858331108690746
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  none: false
109
109
  requirements:
@@ -112,10 +112,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  segments:
114
114
  - 0
115
- hash: -3384457185642040654
115
+ hash: 2166858331108690746
116
116
  requirements: []
117
117
  rubyforge_project:
118
- rubygems_version: 1.8.24
118
+ rubygems_version: 1.8.25
119
119
  signing_key:
120
120
  specification_version: 3
121
121
  summary: Simple FastGettext Rails integration.