gettext_i18n_rails 0.2.17 → 0.2.18

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source :rubygems
2
+
3
+ gem 'sqlite3'
4
+ gem 'fast_gettext'
5
+
6
+ group :dev do
7
+ gem 'rails', '~>3'
8
+ gem 'rake'
9
+ gem 'rspec', '~>2'
10
+ gem 'jeweler'
11
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,92 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ abstract (1.0.0)
5
+ actionmailer (3.0.4)
6
+ actionpack (= 3.0.4)
7
+ mail (~> 2.2.15)
8
+ actionpack (3.0.4)
9
+ activemodel (= 3.0.4)
10
+ activesupport (= 3.0.4)
11
+ builder (~> 2.1.2)
12
+ erubis (~> 2.6.6)
13
+ i18n (~> 0.4)
14
+ rack (~> 1.2.1)
15
+ rack-mount (~> 0.6.13)
16
+ rack-test (~> 0.5.7)
17
+ tzinfo (~> 0.3.23)
18
+ activemodel (3.0.4)
19
+ activesupport (= 3.0.4)
20
+ builder (~> 2.1.2)
21
+ i18n (~> 0.4)
22
+ activerecord (3.0.4)
23
+ activemodel (= 3.0.4)
24
+ activesupport (= 3.0.4)
25
+ arel (~> 2.0.2)
26
+ tzinfo (~> 0.3.23)
27
+ activeresource (3.0.4)
28
+ activemodel (= 3.0.4)
29
+ activesupport (= 3.0.4)
30
+ activesupport (3.0.4)
31
+ arel (2.0.8)
32
+ builder (2.1.2)
33
+ diff-lcs (1.1.2)
34
+ erubis (2.6.6)
35
+ abstract (>= 1.0.0)
36
+ fast_gettext (0.5.10)
37
+ git (1.2.5)
38
+ i18n (0.5.0)
39
+ jeweler (1.5.2)
40
+ bundler (~> 1.0.0)
41
+ git (>= 1.2.5)
42
+ rake
43
+ mail (2.2.15)
44
+ activesupport (>= 2.3.6)
45
+ i18n (>= 0.4.0)
46
+ mime-types (~> 1.16)
47
+ treetop (~> 1.4.8)
48
+ mime-types (1.16)
49
+ polyglot (0.3.1)
50
+ rack (1.2.1)
51
+ rack-mount (0.6.13)
52
+ rack (>= 1.0.0)
53
+ rack-test (0.5.7)
54
+ rack (>= 1.0)
55
+ rails (3.0.4)
56
+ actionmailer (= 3.0.4)
57
+ actionpack (= 3.0.4)
58
+ activerecord (= 3.0.4)
59
+ activeresource (= 3.0.4)
60
+ activesupport (= 3.0.4)
61
+ bundler (~> 1.0)
62
+ railties (= 3.0.4)
63
+ railties (3.0.4)
64
+ actionpack (= 3.0.4)
65
+ activesupport (= 3.0.4)
66
+ rake (>= 0.8.7)
67
+ thor (~> 0.14.4)
68
+ rake (0.8.7)
69
+ rspec (2.5.0)
70
+ rspec-core (~> 2.5.0)
71
+ rspec-expectations (~> 2.5.0)
72
+ rspec-mocks (~> 2.5.0)
73
+ rspec-core (2.5.1)
74
+ rspec-expectations (2.5.0)
75
+ diff-lcs (~> 1.1.2)
76
+ rspec-mocks (2.5.0)
77
+ sqlite3 (1.3.3)
78
+ thor (0.14.6)
79
+ treetop (1.4.9)
80
+ polyglot (>= 0.3.1)
81
+ tzinfo (0.3.24)
82
+
83
+ PLATFORMS
84
+ ruby
85
+
86
+ DEPENDENCIES
87
+ fast_gettext
88
+ jeweler
89
+ rails (~> 3)
90
+ rake
91
+ rspec (~> 2)
92
+ sqlite3
data/Rakefile CHANGED
@@ -2,10 +2,13 @@ require "rspec/core/rake_task"
2
2
  RSpec::Core::RakeTask.new(:spec) do |t|
3
3
  t.rspec_opts = '--backtrace --color'
4
4
  end
5
-
5
+
6
+ task :rails2 do
7
+ sh "cd spec/rails2 && RAILS=rails rspec ../../spec"
8
+ end
9
+
6
10
  task :default do
7
- puts `rake spec VERSION=2.3.10 RSPEC_COLOR=1`
8
- puts `rake spec VERSION=3.0.3 RSPEC_COLOR=1`
11
+ sh "rake spec && rake rails2"
9
12
  end
10
13
 
11
14
  begin
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.17
1
+ 0.2.18
@@ -5,13 +5,15 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gettext_i18n_rails}
8
- s.version = "0.2.17"
8
+ s.version = "0.2.18"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2011-02-17}
12
+ s.date = %q{2011-03-28}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.files = [
15
+ "Gemfile",
16
+ "Gemfile.lock",
15
17
  "Rakefile",
16
18
  "Readme.md",
17
19
  "VERSION",
@@ -35,6 +37,7 @@ Gem::Specification.new do |s|
35
37
  "spec/gettext_i18n_rails/backend_spec.rb",
36
38
  "spec/gettext_i18n_rails/string_interpolate_fix_spec.rb",
37
39
  "spec/gettext_i18n_rails_spec.rb",
40
+ "spec/rails2/Gemfile",
38
41
  "spec/spec_helper.rb"
39
42
  ]
40
43
  s.homepage = %q{http://github.com/grosser/gettext_i18n_rails}
@@ -54,11 +57,17 @@ Gem::Specification.new do |s|
54
57
  s.specification_version = 3
55
58
 
56
59
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
+ s.add_runtime_dependency(%q<sqlite3>, [">= 0"])
61
+ s.add_runtime_dependency(%q<fast_gettext>, [">= 0"])
57
62
  s.add_runtime_dependency(%q<fast_gettext>, [">= 0"])
58
63
  else
64
+ s.add_dependency(%q<sqlite3>, [">= 0"])
65
+ s.add_dependency(%q<fast_gettext>, [">= 0"])
59
66
  s.add_dependency(%q<fast_gettext>, [">= 0"])
60
67
  end
61
68
  else
69
+ s.add_dependency(%q<sqlite3>, [">= 0"])
70
+ s.add_dependency(%q<fast_gettext>, [">= 0"])
62
71
  s.add_dependency(%q<fast_gettext>, [">= 0"])
63
72
  end
64
73
  end
@@ -5,7 +5,7 @@ namespace :gettext do
5
5
  end
6
6
 
7
7
  desc "Create mo-files for L10n"
8
- task :pack do
8
+ task :pack => :environment do
9
9
  load_gettext
10
10
  GetText.create_mofiles(true, locale_path, locale_path)
11
11
  end
@@ -0,0 +1,11 @@
1
+ source :rubygems
2
+
3
+ gem 'sqlite3'
4
+ gem 'fast_gettext'
5
+
6
+ group :dev do
7
+ gem 'rails', '~>2'
8
+ gem 'rake'
9
+ gem 'rspec', '~>2'
10
+ gem 'jeweler'
11
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,11 +1,4 @@
1
1
  require 'rubygems'
2
- if ENV['VERSION']
3
- puts "running VERSION #{ENV['VERSION']}"
4
- gem 'actionpack', ENV['VERSION']
5
- gem 'activerecord', ENV['VERSION']
6
- gem 'activesupport', ENV['VERSION']
7
- gem 'actionmailer', ENV['VERSION']
8
- end
9
2
 
10
3
  $LOAD_PATH << File.expand_path("../lib", File.dirname(__FILE__))
11
4
 
@@ -14,4 +7,4 @@ require 'active_record'
14
7
  require 'action_controller'
15
8
  require 'action_mailer'
16
9
  require 'fast_gettext'
17
- require 'gettext_i18n_rails'
10
+ require 'gettext_i18n_rails'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gettext_i18n_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 17
10
- version: 0.2.17
9
+ - 18
10
+ version: 0.2.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Grosser
@@ -15,13 +15,39 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-17 00:00:00 +01:00
18
+ date: 2011-03-28 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ type: :runtime
32
+ requirement: *id001
33
+ name: sqlite3
34
+ prerelease: false
35
+ - !ruby/object:Gem::Dependency
36
+ version_requirements: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ hash: 3
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ type: :runtime
46
+ requirement: *id002
22
47
  name: fast_gettext
23
48
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
49
+ - !ruby/object:Gem::Dependency
50
+ version_requirements: &id003 !ruby/object:Gem::Requirement
25
51
  none: false
26
52
  requirements:
27
53
  - - ">="
@@ -31,7 +57,9 @@ dependencies:
31
57
  - 0
32
58
  version: "0"
33
59
  type: :runtime
34
- version_requirements: *id001
60
+ requirement: *id003
61
+ name: fast_gettext
62
+ prerelease: false
35
63
  description:
36
64
  email: grosser.michael@gmail.com
37
65
  executables: []
@@ -41,6 +69,8 @@ extensions: []
41
69
  extra_rdoc_files: []
42
70
 
43
71
  files:
72
+ - Gemfile
73
+ - Gemfile.lock
44
74
  - Rakefile
45
75
  - Readme.md
46
76
  - VERSION
@@ -64,6 +94,7 @@ files:
64
94
  - spec/gettext_i18n_rails/backend_spec.rb
65
95
  - spec/gettext_i18n_rails/string_interpolate_fix_spec.rb
66
96
  - spec/gettext_i18n_rails_spec.rb
97
+ - spec/rails2/Gemfile
67
98
  - spec/spec_helper.rb
68
99
  has_rdoc: true
69
100
  homepage: http://github.com/grosser/gettext_i18n_rails