gettext_i18n_rails 0.2.13 → 0.2.14

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.
data/Rakefile CHANGED
@@ -1,9 +1,11 @@
1
- require 'spec/rake/spectask'
2
- Spec::Rake::SpecTask.new {|t| t.spec_opts = ['--color', '--backtrace']}
3
-
1
+ require "rspec/core/rake_task"
2
+ RSpec::Core::RakeTask.new(:spec) do |t|
3
+ t.rspec_opts = '--backtrace --color'
4
+ end
5
+
4
6
  task :default do
5
- puts `rake spec VERSION=2.3.9 RSPEC_COLOR=1`
6
- puts `rake spec VERSION=3.0.0 RSPEC_COLOR=1`
7
+ puts `rake spec VERSION=2.3.10 RSPEC_COLOR=1`
8
+ puts `rake spec VERSION=3.0.3 RSPEC_COLOR=1`
7
9
  end
8
10
 
9
11
  begin
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.13
1
+ 0.2.14
@@ -1,59 +1,56 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gettext_i18n_rails}
8
- s.version = "0.2.13"
8
+ s.version = "0.2.14"
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{2010-12-21}
12
+ s.date = %q{2011-01-28}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.files = [
15
- ".gitignore",
16
- "Rakefile",
17
- "Readme.md",
18
- "VERSION",
19
- "gettext_i18n_rails.gemspec",
20
- "init.rb",
21
- "lib/gettext_i18n_rails.rb",
22
- "lib/gettext_i18n_rails/action_controller.rb",
23
- "lib/gettext_i18n_rails/active_record.rb",
24
- "lib/gettext_i18n_rails/backend.rb",
25
- "lib/gettext_i18n_rails/haml_parser.rb",
26
- "lib/gettext_i18n_rails/html_safe_translations.rb",
27
- "lib/gettext_i18n_rails/i18n_hacks.rb",
28
- "lib/gettext_i18n_rails/model_attributes_finder.rb",
29
- "lib/gettext_i18n_rails/railtie.rb",
30
- "lib/gettext_i18n_rails/ruby_gettext_extractor.rb",
31
- "lib/gettext_i18n_rails/tasks.rb",
32
- "lib/tasks/gettext_rails_i18n.rake",
33
- "spec/gettext_i18n_rails/action_controller_spec.rb",
34
- "spec/gettext_i18n_rails/active_record_spec.rb",
35
- "spec/gettext_i18n_rails/backend_spec.rb",
36
- "spec/gettext_i18n_rails_spec.rb",
37
- "spec/spec_helper.rb"
15
+ "Rakefile",
16
+ "Readme.md",
17
+ "VERSION",
18
+ "gettext_i18n_rails.gemspec",
19
+ "init.rb",
20
+ "lib/gettext_i18n_rails.rb",
21
+ "lib/gettext_i18n_rails/action_controller.rb",
22
+ "lib/gettext_i18n_rails/active_record.rb",
23
+ "lib/gettext_i18n_rails/backend.rb",
24
+ "lib/gettext_i18n_rails/haml_parser.rb",
25
+ "lib/gettext_i18n_rails/html_safe_translations.rb",
26
+ "lib/gettext_i18n_rails/i18n_hacks.rb",
27
+ "lib/gettext_i18n_rails/model_attributes_finder.rb",
28
+ "lib/gettext_i18n_rails/railtie.rb",
29
+ "lib/gettext_i18n_rails/ruby_gettext_extractor.rb",
30
+ "lib/gettext_i18n_rails/tasks.rb",
31
+ "lib/tasks/gettext_rails_i18n.rake",
32
+ "spec/gettext_i18n_rails/action_controller_spec.rb",
33
+ "spec/gettext_i18n_rails/active_record_spec.rb",
34
+ "spec/gettext_i18n_rails/backend_spec.rb",
35
+ "spec/gettext_i18n_rails_spec.rb",
36
+ "spec/spec_helper.rb"
38
37
  ]
39
38
  s.homepage = %q{http://github.com/grosser/gettext_i18n_rails}
40
- s.rdoc_options = ["--charset=UTF-8"]
41
39
  s.require_paths = ["lib"]
42
- s.rubygems_version = %q{1.3.6}
40
+ s.rubygems_version = %q{1.4.2}
43
41
  s.summary = %q{Simple FastGettext Rails integration.}
44
42
  s.test_files = [
45
- "spec/spec_helper.rb",
46
- "spec/gettext_i18n_rails/active_record_spec.rb",
47
- "spec/gettext_i18n_rails/backend_spec.rb",
48
- "spec/gettext_i18n_rails/action_controller_spec.rb",
49
- "spec/gettext_i18n_rails_spec.rb"
43
+ "spec/gettext_i18n_rails/action_controller_spec.rb",
44
+ "spec/gettext_i18n_rails/active_record_spec.rb",
45
+ "spec/gettext_i18n_rails/backend_spec.rb",
46
+ "spec/gettext_i18n_rails_spec.rb",
47
+ "spec/spec_helper.rb"
50
48
  ]
51
49
 
52
50
  if s.respond_to? :specification_version then
53
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
54
51
  s.specification_version = 3
55
52
 
56
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
53
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
54
  s.add_runtime_dependency(%q<fast_gettext>, [">= 0"])
58
55
  else
59
56
  s.add_dependency(%q<fast_gettext>, [">= 0"])
@@ -22,7 +22,7 @@ namespace :gettext do
22
22
  text_domain(),
23
23
  files_to_translate(),
24
24
  "version 0.0.1",
25
- :po_root => 'locale',
25
+ :po_root => locale_path,
26
26
  :msgmerge=>['--sort-output']
27
27
  )
28
28
  else #we are on a version < 2.0
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gettext_i18n_rails
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 11
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 2
8
- - 13
9
- version: 0.2.13
9
+ - 14
10
+ version: 0.2.14
10
11
  platform: ruby
11
12
  authors:
12
13
  - Michael Grosser
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-12-21 00:00:00 +01:00
18
+ date: 2011-01-28 00:00:00 +01:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: fast_gettext
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 3
27
30
  segments:
28
31
  - 0
29
32
  version: "0"
@@ -38,7 +41,6 @@ extensions: []
38
41
  extra_rdoc_files: []
39
42
 
40
43
  files:
41
- - .gitignore
42
44
  - Rakefile
43
45
  - Readme.md
44
46
  - VERSION
@@ -66,34 +68,38 @@ homepage: http://github.com/grosser/gettext_i18n_rails
66
68
  licenses: []
67
69
 
68
70
  post_install_message:
69
- rdoc_options:
70
- - --charset=UTF-8
71
+ rdoc_options: []
72
+
71
73
  require_paths:
72
74
  - lib
73
75
  required_ruby_version: !ruby/object:Gem::Requirement
76
+ none: false
74
77
  requirements:
75
78
  - - ">="
76
79
  - !ruby/object:Gem::Version
80
+ hash: 3
77
81
  segments:
78
82
  - 0
79
83
  version: "0"
80
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
+ none: false
81
86
  requirements:
82
87
  - - ">="
83
88
  - !ruby/object:Gem::Version
89
+ hash: 3
84
90
  segments:
85
91
  - 0
86
92
  version: "0"
87
93
  requirements: []
88
94
 
89
95
  rubyforge_project:
90
- rubygems_version: 1.3.6
96
+ rubygems_version: 1.4.2
91
97
  signing_key:
92
98
  specification_version: 3
93
99
  summary: Simple FastGettext Rails integration.
94
100
  test_files:
95
- - spec/spec_helper.rb
101
+ - spec/gettext_i18n_rails/action_controller_spec.rb
96
102
  - spec/gettext_i18n_rails/active_record_spec.rb
97
103
  - spec/gettext_i18n_rails/backend_spec.rb
98
- - spec/gettext_i18n_rails/action_controller_spec.rb
99
104
  - spec/gettext_i18n_rails_spec.rb
105
+ - spec/spec_helper.rb
data/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- .idea
2
- pkg/*.gem