i15r 0.4.3 → 0.4.4
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/.gitignore +4 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +48 -0
- data/Guardfile +6 -0
- data/README.markdown +2 -2
- data/Rakefile +1 -21
- data/bin/i15r +1 -1
- data/i15r.gemspec +20 -75
- data/lib/i15r.rb +5 -3
- data/lib/i15r/base.rb +6 -30
- data/lib/i15r/version.rb +3 -0
- data/spec/erb/rails_helper_matcher_spec.rb +7 -9
- data/spec/erb/tag_attribute_matcher_spec.rb +0 -2
- data/spec/erb/tag_content_matcher_spec.rb +3 -5
- data/spec/i15r_spec.rb +8 -15
- data/spec/pattern_matcher_spec.rb +0 -4
- metadata +218 -87
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
i15r (0.4.4)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: http://rubygems.org/
|
8
|
+
specs:
|
9
|
+
coderay (1.0.8)
|
10
|
+
diff-lcs (1.1.3)
|
11
|
+
guard (1.5.4)
|
12
|
+
listen (>= 0.4.2)
|
13
|
+
lumberjack (>= 1.0.2)
|
14
|
+
pry (>= 0.9.10)
|
15
|
+
thor (>= 0.14.6)
|
16
|
+
guard-rspec (2.3.1)
|
17
|
+
guard (>= 1.1)
|
18
|
+
rspec (~> 2.11)
|
19
|
+
listen (0.6.0)
|
20
|
+
lumberjack (1.0.2)
|
21
|
+
method_source (0.8.1)
|
22
|
+
pry (0.9.10)
|
23
|
+
coderay (~> 1.0.5)
|
24
|
+
method_source (~> 0.8)
|
25
|
+
slop (~> 3.3.1)
|
26
|
+
rake (10.0.3)
|
27
|
+
rb-fsevent (0.9.2)
|
28
|
+
rspec (2.12.0)
|
29
|
+
rspec-core (~> 2.12.0)
|
30
|
+
rspec-expectations (~> 2.12.0)
|
31
|
+
rspec-mocks (~> 2.12.0)
|
32
|
+
rspec-core (2.12.1)
|
33
|
+
rspec-expectations (2.12.0)
|
34
|
+
diff-lcs (~> 1.1.3)
|
35
|
+
rspec-mocks (2.12.0)
|
36
|
+
slop (3.3.3)
|
37
|
+
thor (0.16.0)
|
38
|
+
|
39
|
+
PLATFORMS
|
40
|
+
ruby
|
41
|
+
|
42
|
+
DEPENDENCIES
|
43
|
+
guard (~> 1.5.4)
|
44
|
+
guard-rspec (~> 2.3.1)
|
45
|
+
i15r!
|
46
|
+
rake (~> 10.0.3)
|
47
|
+
rb-fsevent (~> 0.9.1)
|
48
|
+
rspec (~> 2.12.0)
|
data/Guardfile
ADDED
data/README.markdown
CHANGED
@@ -32,7 +32,7 @@ It can process erb and haml files.
|
|
32
32
|
|
33
33
|
## Installation
|
34
34
|
|
35
|
-
gem install i15r
|
35
|
+
gem install i15r
|
36
36
|
|
37
37
|
## Usage
|
38
38
|
|
@@ -80,4 +80,4 @@ Please note that this is an early version mainly built up of examples I've come
|
|
80
80
|
|
81
81
|
## Licensing, contribution
|
82
82
|
|
83
|
-
The source code of this gem can be found at [http://github.com/balinterdi/i15r/](http://github.com/balinterdi/i15r/). It is released under the MIT-LICENSE, so you can basically do anything with it. However, if you think your modifications only make the tool better, please send a pull request or patch and I will consider merging in your changes. Any suggestions or feedback are welcome to <balint@
|
83
|
+
The source code of this gem can be found at [http://github.com/balinterdi/i15r/](http://github.com/balinterdi/i15r/). It is released under the MIT-LICENSE, so you can basically do anything with it. However, if you think your modifications only make the tool better, please send a pull request or patch and I will consider merging in your changes. Any suggestions or feedback are welcome to <balint@balinterdi.com>.
|
data/Rakefile
CHANGED
@@ -1,22 +1,2 @@
|
|
1
|
-
require
|
1
|
+
require "bundler/gem_tasks"
|
2
2
|
|
3
|
-
begin
|
4
|
-
require 'jeweler'
|
5
|
-
Jeweler::Tasks.new do |gemspec|
|
6
|
-
gemspec.name = "i15r"
|
7
|
-
gemspec.summary = "The internationalizer. Makes your Ruby app international"
|
8
|
-
gemspec.description = <<-EOF
|
9
|
-
The internationalizer. Replaces plain text strings in your views and replaces them with I18n message strings so you only have to provide the translations.
|
10
|
-
EOF
|
11
|
-
gemspec.email = "balint.erdi@gmail.com"
|
12
|
-
gemspec.homepage = "http://github.com/balinterdi/i15r"
|
13
|
-
gemspec.authors = ["Balint Erdi"]
|
14
|
-
end
|
15
|
-
Jeweler::GemcutterTasks.new
|
16
|
-
rescue LoadError
|
17
|
-
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
18
|
-
end
|
19
|
-
|
20
|
-
task :default => :spec
|
21
|
-
|
22
|
-
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
|
data/bin/i15r
CHANGED
data/i15r.gemspec
CHANGED
@@ -1,81 +1,26 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'i15r/version'
|
5
5
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "i15r"
|
8
|
+
gem.version = I15R::VERSION
|
9
|
+
gem.authors = ["Balint Erdi"]
|
10
|
+
gem.email = ["balint.erdi@gmail.com"]
|
11
|
+
gem.description = %q{The internationalizer. Replaces plain text strings in your views and replaces them with I18n message strings so you only have to provide the translations.}
|
12
|
+
gem.summary = %q{Eases the pain of moving to I18n view templates}
|
13
|
+
gem.homepage = ""
|
9
14
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
s.description = %q{ The internationalizer. Replaces plain text strings in your views and replaces them with I18n message strings so you only have to provide the translations.
|
15
|
-
}
|
16
|
-
s.email = %q{balint.erdi@gmail.com}
|
17
|
-
s.executables = ["i15r"]
|
18
|
-
s.extra_rdoc_files = [
|
19
|
-
"README.markdown"
|
20
|
-
]
|
21
|
-
s.files = [
|
22
|
-
"CHANGELOG",
|
23
|
-
"MIT-LICENSE",
|
24
|
-
"Manifest",
|
25
|
-
"README.markdown",
|
26
|
-
"Rakefile",
|
27
|
-
"VERSION",
|
28
|
-
"bin/i15r",
|
29
|
-
"i15r.gemspec",
|
30
|
-
"init.rb",
|
31
|
-
"lib/i15r.rb",
|
32
|
-
"lib/i15r/base.rb",
|
33
|
-
"lib/i15r/pattern_matcher.rb",
|
34
|
-
"lib/i15r/pattern_matchers/base.rb",
|
35
|
-
"lib/i15r/pattern_matchers/erb.rb",
|
36
|
-
"lib/i15r/pattern_matchers/erb/rails_helper_matcher.rb",
|
37
|
-
"lib/i15r/pattern_matchers/erb/tag_attribute_matcher.rb",
|
38
|
-
"lib/i15r/pattern_matchers/erb/tag_content_matcher.rb",
|
39
|
-
"lib/i15r/pattern_matchers/haml.rb",
|
40
|
-
"lib/i15r/pattern_matchers/haml/rails_helper_matcher.rb",
|
41
|
-
"lib/i15r/pattern_matchers/haml/tag_content_matcher.rb",
|
42
|
-
"spec/erb/rails_helper_matcher_spec.rb",
|
43
|
-
"spec/erb/tag_attribute_matcher_spec.rb",
|
44
|
-
"spec/erb/tag_content_matcher_spec.rb",
|
45
|
-
"spec/haml/rails_helper_matcher_spec.rb",
|
46
|
-
"spec/haml/tag_content_matcher_spec.rb",
|
47
|
-
"spec/i15r_spec.rb",
|
48
|
-
"spec/pattern_matcher_spec.rb",
|
49
|
-
"spec/spec.opts",
|
50
|
-
"spec/spec_helper.rb",
|
51
|
-
"spec/support/new_flight.html.erb",
|
52
|
-
"spec/support/new_user.html.haml",
|
53
|
-
"tasks/i15r.rake",
|
54
|
-
"todos.markdown"
|
55
|
-
]
|
56
|
-
s.homepage = %q{http://github.com/balinterdi/i15r}
|
57
|
-
s.require_paths = ["lib"]
|
58
|
-
s.rubygems_version = %q{1.3.7}
|
59
|
-
s.summary = %q{The internationalizer. Makes your Ruby app international}
|
60
|
-
s.test_files = [
|
61
|
-
"spec/erb/rails_helper_matcher_spec.rb",
|
62
|
-
"spec/erb/tag_attribute_matcher_spec.rb",
|
63
|
-
"spec/erb/tag_content_matcher_spec.rb",
|
64
|
-
"spec/haml/rails_helper_matcher_spec.rb",
|
65
|
-
"spec/haml/tag_content_matcher_spec.rb",
|
66
|
-
"spec/i15r_spec.rb",
|
67
|
-
"spec/pattern_matcher_spec.rb",
|
68
|
-
"spec/spec_helper.rb"
|
69
|
-
]
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ["lib"]
|
70
19
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
else
|
77
|
-
end
|
78
|
-
else
|
79
|
-
end
|
20
|
+
gem.add_development_dependency 'rake', ['~> 10.0.3']
|
21
|
+
gem.add_development_dependency 'rspec', ['~> 2.12.0']
|
22
|
+
gem.add_development_dependency 'guard', ['~> 1.5.4']
|
23
|
+
gem.add_development_dependency 'guard-rspec', ['~> 2.3.1']
|
24
|
+
gem.add_development_dependency 'rb-fsevent', ['~> 0.9.1']
|
80
25
|
end
|
81
26
|
|
data/lib/i15r.rb
CHANGED
data/lib/i15r/base.rb
CHANGED
@@ -13,9 +13,6 @@ module I15R
|
|
13
13
|
key = text.strip.downcase.gsub(/[\s\/]+/, '_').gsub(/[!?.,:"';()]/, '')
|
14
14
|
indent = ""
|
15
15
|
(0..prefix.split(".").size).each { |i| indent = " " + indent }
|
16
|
-
# silenced_if_testing do
|
17
|
-
# puts "#{indent}#{key}: #{text}"
|
18
|
-
# end
|
19
16
|
"#{prefix}.#{key}"
|
20
17
|
end
|
21
18
|
|
@@ -88,11 +85,9 @@ module I15R
|
|
88
85
|
end
|
89
86
|
|
90
87
|
def show_diff(plain_row, i9l_row)
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
$stdout.puts
|
95
|
-
end
|
88
|
+
$stdout.puts "- #{plain_row}"
|
89
|
+
$stdout.puts "+ #{i9l_row}"
|
90
|
+
$stdout.puts
|
96
91
|
end
|
97
92
|
|
98
93
|
def internationalize_file(path)
|
@@ -104,15 +99,12 @@ module I15R
|
|
104
99
|
end
|
105
100
|
|
106
101
|
def display_indented_header(prefix)
|
107
|
-
|
108
|
-
puts "en:"
|
109
|
-
end
|
102
|
+
puts "en:"
|
110
103
|
prefix_parts = prefix.split(".").each_with_index do |p, i|
|
111
104
|
p = "#{p}:"
|
105
|
+
#TODO: perhaps " "*i is simpler
|
112
106
|
(0..i).each { |i| p = " " + p }
|
113
|
-
|
114
|
-
puts "#{p}"
|
115
|
-
end
|
107
|
+
puts "#{p}"
|
116
108
|
end
|
117
109
|
end
|
118
110
|
|
@@ -127,21 +119,5 @@ module I15R
|
|
127
119
|
files = File.directory?(path) ? Dir.glob("#{path}/**/*.{erb,haml}") : [path]
|
128
120
|
files.each { |file| internationalize_file(file) }
|
129
121
|
end
|
130
|
-
|
131
|
-
private
|
132
|
-
def silenced_if_testing
|
133
|
-
if testing?
|
134
|
-
orig_stdout = $stdout
|
135
|
-
$stdout = File.new('/dev/null', 'w')
|
136
|
-
end
|
137
|
-
yield
|
138
|
-
if testing?
|
139
|
-
$stdout = orig_stdout
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
|
-
def testing?
|
144
|
-
$testing
|
145
|
-
end
|
146
122
|
end
|
147
123
|
end
|
data/lib/i15r/version.rb
ADDED
@@ -1,9 +1,7 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
|
3
2
|
require 'i15r/pattern_matcher'
|
4
|
-
require "spec"
|
5
3
|
|
6
|
-
# FIXME: since matcher blocks are added and executed in the Base class,
|
4
|
+
# FIXME: since matcher blocks are added and executed in the Base class,
|
7
5
|
# tests are not independent: they are coupled through the Base's run method
|
8
6
|
describe I15R::PatternMatchers::Erb::RailsHelperMatcher do
|
9
7
|
it "should replace a title in a link_to helper" do
|
@@ -17,7 +15,7 @@ describe I15R::PatternMatchers::Erb::RailsHelperMatcher do
|
|
17
15
|
i18ned = %(<p><%= link_to I18n.t("users.index.create_a_new_user"), new_user_path, { :class => "add" } -%></p>)
|
18
16
|
I15R::PatternMatchers::Erb::RailsHelperMatcher.run(plain, "users.index").should == i18ned
|
19
17
|
end
|
20
|
-
|
18
|
+
|
21
19
|
it "should replace the label text in a label helper" do
|
22
20
|
plain = %(<%= f.label :name, "Name" %>)
|
23
21
|
i18ned = %(<%= f.label :name, I18n.t("users.new.name") %>)
|
@@ -29,7 +27,7 @@ describe I15R::PatternMatchers::Erb::RailsHelperMatcher do
|
|
29
27
|
i18ned = %(<%= label_tag :name, I18n.t("users.new.name") %>)
|
30
28
|
I15R::PatternMatchers::Erb::RailsHelperMatcher.run(plain, "users.new").should == i18ned
|
31
29
|
end
|
32
|
-
|
30
|
+
|
33
31
|
it "should replace the title of a submit helper in a form builder" do
|
34
32
|
plain = %(<%= f.submit "Create user" %>)
|
35
33
|
i18ned = %(<%= f.submit I18n.t("users.new.create_user") %>)
|
@@ -41,7 +39,7 @@ describe I15R::PatternMatchers::Erb::RailsHelperMatcher do
|
|
41
39
|
i18ned = %(<%= submit_tag I18n.t("users.new.create_user") %>)
|
42
40
|
I15R::PatternMatchers::Erb::RailsHelperMatcher.run(plain, "users.new").should == i18ned
|
43
41
|
end
|
44
|
-
|
42
|
+
|
45
43
|
describe "when text has non-english characters" do
|
46
44
|
it "should replace a title in a link_to helper" do
|
47
45
|
plain = %(<p class="highlighted"><%= link_to 'Új felhasználó', new_user_path %>?</p>)
|
@@ -54,13 +52,13 @@ describe I15R::PatternMatchers::Erb::RailsHelperMatcher do
|
|
54
52
|
i18ned = %(<p><%= link_to I18n.t("users.index.Új_felhasználó_létrehozása"), new_user_path, { :class => "add" } -%></p>)
|
55
53
|
I15R::PatternMatchers::Erb::RailsHelperMatcher.run(plain, "users.index").should == i18ned
|
56
54
|
end
|
57
|
-
|
55
|
+
|
58
56
|
it "should replace the label text in a label helper" do
|
59
57
|
plain = %(<%= f.label :name, "Név" %>)
|
60
58
|
i18ned = %(<%= f.label :name, I18n.t("users.new.név") %>)
|
61
59
|
I15R::PatternMatchers::Erb::RailsHelperMatcher.run(plain, "users.new").should == i18ned
|
62
60
|
end
|
63
|
-
|
61
|
+
|
64
62
|
it "should replace the label text that has non-english chars of a label_tag helper" do
|
65
63
|
plain = %(<%= label_tag :name, "Név" %>)
|
66
64
|
i18ned = %(<%= label_tag :name, I18n.t("users.new.név") %>)
|
@@ -72,7 +70,7 @@ describe I15R::PatternMatchers::Erb::RailsHelperMatcher do
|
|
72
70
|
i18ned = %(<%= f.submit I18n.t("users.new.Új_felhasználó") %>)
|
73
71
|
I15R::PatternMatchers::Erb::RailsHelperMatcher.run(plain, "users.new").should == i18ned
|
74
72
|
end
|
75
|
-
|
73
|
+
|
76
74
|
it "should replace the title of a submit_tag helper" do
|
77
75
|
plain = %(<%= submit_tag "Új felhasználó" %>)
|
78
76
|
i18ned = %(<%= submit_tag I18n.t("users.new.Új_felhasználó") %>)
|
@@ -1,7 +1,5 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
|
3
2
|
require 'i15r/pattern_matcher'
|
4
|
-
require "spec"
|
5
3
|
|
6
4
|
# FIXME: since matcher blocks are added and executed in the Base class, that's what should be called
|
7
5
|
# in the tests. That's not elegant and tests are not independent: they are coupled through the Base's run method
|
@@ -1,7 +1,5 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
|
3
2
|
require 'i15r/pattern_matcher'
|
4
|
-
require "spec"
|
5
3
|
|
6
4
|
describe I15R::PatternMatchers::Erb::TagContentMatcher do
|
7
5
|
|
@@ -34,12 +32,12 @@ describe I15R::PatternMatchers::Erb::TagContentMatcher do
|
|
34
32
|
i18ned = %(<label for="user-name"> <%= I18n.t("users.new.name") %> </label>)
|
35
33
|
I15R::PatternMatchers::Erb::TagContentMatcher.run(plain, "users.new").should == i18ned
|
36
34
|
end
|
37
|
-
|
35
|
+
|
38
36
|
#1.8fail
|
39
37
|
it "should replace a word with non-ascii characters" do
|
40
38
|
plain = %(<label for="when">Mañana</label>)
|
41
39
|
i18ned = %(<label for="when"><%= I18n.t("users.new.mañana") %></label>)
|
42
|
-
I15R::PatternMatchers::Erb::TagContentMatcher.run(plain, "users.new").should == i18ned
|
40
|
+
I15R::PatternMatchers::Erb::TagContentMatcher.run(plain, "users.new").should == i18ned
|
43
41
|
end
|
44
42
|
|
45
|
-
end
|
43
|
+
end
|
data/spec/i15r_spec.rb
CHANGED
@@ -1,11 +1,5 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
|
3
|
-
$:.unshift File.join(File.expand_path(File.dirname(__FILE__)), "..", "lib")
|
4
|
-
|
5
2
|
require "i15r"
|
6
|
-
require "fakefs"
|
7
|
-
|
8
|
-
$testing = true
|
9
3
|
|
10
4
|
describe I15R::Base do
|
11
5
|
|
@@ -60,21 +54,21 @@ describe I15R::Base do
|
|
60
54
|
it "should replace spaces with underscores" do
|
61
55
|
I15R::Base.get_i18n_message_string("New name", "users.index").should == "users.index.new_name"
|
62
56
|
end
|
63
|
-
|
57
|
+
|
64
58
|
it "should not rip out a non-english letter" do
|
65
59
|
I15R::Base.get_i18n_message_string("Mañana", "users.index").should == "users.index.mañana"
|
66
60
|
end
|
67
|
-
|
61
|
+
|
68
62
|
it "should replace a ' with an underscore" do
|
69
63
|
I15R::Base.get_i18n_message_string("C'est ça", "users.index").should == "users.index.cest_ça"
|
70
|
-
end
|
64
|
+
end
|
71
65
|
end
|
72
|
-
|
66
|
+
|
73
67
|
describe "when substituting the plain contents with i18n message strings" do
|
74
68
|
before do
|
75
69
|
@i15r.options.prefix = nil
|
76
70
|
@file_path = "app/views/users/new.html.erb"
|
77
|
-
|
71
|
+
@i15r.stub(:get_content_from).and_return(%q{<label for=\"user-name\">Name</label>})
|
78
72
|
end
|
79
73
|
|
80
74
|
describe "and in dry-run mode" do
|
@@ -135,16 +129,15 @@ describe I15R::Base do
|
|
135
129
|
|
136
130
|
describe "when running the internationalization for an ERB file" do
|
137
131
|
before do
|
138
|
-
#TODO: this is not necessary once fakefs correctly fakes open, I think
|
139
132
|
@i15r.stub!(:write_content_to).and_return(true)
|
140
133
|
@file_path = "app/views/users/new.html.erb"
|
141
|
-
|
134
|
+
@i15r.stub(:get_content_from).and_return(%q{<label for=\"user-name\">Name</label>})
|
142
135
|
end
|
143
|
-
|
136
|
+
|
144
137
|
it "should only run ERB matchers" do
|
145
138
|
@i15r.should_receive(:sub_plain_strings).with(anything, anything, :erb)
|
146
139
|
@i15r.internationalize_file(@file_path)
|
147
140
|
end
|
148
141
|
end
|
149
142
|
|
150
|
-
end
|
143
|
+
end
|
metadata
CHANGED
@@ -1,106 +1,237 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: i15r
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 3
|
10
|
-
version: 0.4.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.4
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Balint Erdi
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
-
|
12
|
+
date: 2012-12-13 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 10.0.3
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 10.0.3
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rspec
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.12.0
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.12.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: guard
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.5.4
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.5.4
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: guard-rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 2.3.1
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 2.3.1
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rb-fsevent
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.9.1
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.9.1
|
94
|
+
description: The internationalizer. Replaces plain text strings in your views and
|
95
|
+
replaces them with I18n message strings so you only have to provide the translations.
|
96
|
+
email:
|
97
|
+
- balint.erdi@gmail.com
|
98
|
+
executables:
|
99
|
+
- !binary |-
|
100
|
+
aTE1cg==
|
26
101
|
extensions: []
|
27
|
-
|
28
|
-
|
29
|
-
-
|
30
|
-
|
31
|
-
-
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
-
|
38
|
-
|
39
|
-
-
|
40
|
-
|
41
|
-
-
|
42
|
-
|
43
|
-
-
|
44
|
-
|
45
|
-
-
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
-
|
50
|
-
|
51
|
-
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
-
|
56
|
-
|
57
|
-
-
|
58
|
-
|
59
|
-
-
|
60
|
-
|
61
|
-
-
|
62
|
-
|
63
|
-
-
|
64
|
-
|
65
|
-
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- !binary |-
|
105
|
+
LmdpdGlnbm9yZQ==
|
106
|
+
- !binary |-
|
107
|
+
Q0hBTkdFTE9H
|
108
|
+
- !binary |-
|
109
|
+
R2VtZmlsZQ==
|
110
|
+
- !binary |-
|
111
|
+
R2VtZmlsZS5sb2Nr
|
112
|
+
- !binary |-
|
113
|
+
R3VhcmRmaWxl
|
114
|
+
- !binary |-
|
115
|
+
TUlULUxJQ0VOU0U=
|
116
|
+
- !binary |-
|
117
|
+
TWFuaWZlc3Q=
|
118
|
+
- !binary |-
|
119
|
+
UkVBRE1FLm1hcmtkb3du
|
120
|
+
- !binary |-
|
121
|
+
UmFrZWZpbGU=
|
122
|
+
- !binary |-
|
123
|
+
VkVSU0lPTg==
|
124
|
+
- !binary |-
|
125
|
+
YmluL2kxNXI=
|
126
|
+
- !binary |-
|
127
|
+
aTE1ci5nZW1zcGVj
|
128
|
+
- !binary |-
|
129
|
+
aW5pdC5yYg==
|
130
|
+
- !binary |-
|
131
|
+
bGliL2kxNXIucmI=
|
132
|
+
- !binary |-
|
133
|
+
bGliL2kxNXIvYmFzZS5yYg==
|
134
|
+
- !binary |-
|
135
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVyLnJi
|
136
|
+
- !binary |-
|
137
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVycy9iYXNlLnJi
|
138
|
+
- !binary |-
|
139
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVycy9lcmIucmI=
|
140
|
+
- !binary |-
|
141
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVycy9lcmIvcmFpbHNfaGVscGVyX21h
|
142
|
+
dGNoZXIucmI=
|
143
|
+
- !binary |-
|
144
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVycy9lcmIvdGFnX2F0dHJpYnV0ZV9t
|
145
|
+
YXRjaGVyLnJi
|
146
|
+
- !binary |-
|
147
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVycy9lcmIvdGFnX2NvbnRlbnRfbWF0
|
148
|
+
Y2hlci5yYg==
|
149
|
+
- !binary |-
|
150
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVycy9oYW1sLnJi
|
151
|
+
- !binary |-
|
152
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVycy9oYW1sL3JhaWxzX2hlbHBlcl9t
|
153
|
+
YXRjaGVyLnJi
|
154
|
+
- !binary |-
|
155
|
+
bGliL2kxNXIvcGF0dGVybl9tYXRjaGVycy9oYW1sL3RhZ19jb250ZW50X21h
|
156
|
+
dGNoZXIucmI=
|
157
|
+
- !binary |-
|
158
|
+
bGliL2kxNXIvdmVyc2lvbi5yYg==
|
159
|
+
- !binary |-
|
160
|
+
c3BlYy9lcmIvcmFpbHNfaGVscGVyX21hdGNoZXJfc3BlYy5yYg==
|
161
|
+
- !binary |-
|
162
|
+
c3BlYy9lcmIvdGFnX2F0dHJpYnV0ZV9tYXRjaGVyX3NwZWMucmI=
|
163
|
+
- !binary |-
|
164
|
+
c3BlYy9lcmIvdGFnX2NvbnRlbnRfbWF0Y2hlcl9zcGVjLnJi
|
165
|
+
- !binary |-
|
166
|
+
c3BlYy9oYW1sL3JhaWxzX2hlbHBlcl9tYXRjaGVyX3NwZWMucmI=
|
167
|
+
- !binary |-
|
168
|
+
c3BlYy9oYW1sL3RhZ19jb250ZW50X21hdGNoZXJfc3BlYy5yYg==
|
169
|
+
- !binary |-
|
170
|
+
c3BlYy9pMTVyX3NwZWMucmI=
|
171
|
+
- !binary |-
|
172
|
+
c3BlYy9wYXR0ZXJuX21hdGNoZXJfc3BlYy5yYg==
|
173
|
+
- !binary |-
|
174
|
+
c3BlYy9zcGVjLm9wdHM=
|
175
|
+
- !binary |-
|
176
|
+
c3BlYy9zcGVjX2hlbHBlci5yYg==
|
177
|
+
- !binary |-
|
178
|
+
c3BlYy9zdXBwb3J0L25ld19mbGlnaHQuaHRtbC5lcmI=
|
179
|
+
- !binary |-
|
180
|
+
c3BlYy9zdXBwb3J0L25ld191c2VyLmh0bWwuaGFtbA==
|
181
|
+
- !binary |-
|
182
|
+
dGFza3MvaTE1ci5yYWtl
|
183
|
+
- !binary |-
|
184
|
+
dG9kb3MubWFya2Rvd24=
|
185
|
+
homepage: ''
|
66
186
|
licenses: []
|
67
|
-
|
68
187
|
post_install_message:
|
69
188
|
rdoc_options: []
|
70
|
-
|
71
|
-
require_paths:
|
189
|
+
require_paths:
|
72
190
|
- lib
|
73
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
191
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
74
192
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
|
79
|
-
segments:
|
193
|
+
requirements:
|
194
|
+
- - ! '>='
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
segments:
|
80
198
|
- 0
|
81
|
-
|
82
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
|
+
hash: 2900339974465294939
|
200
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
201
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
88
|
-
segments:
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
segments:
|
89
207
|
- 0
|
90
|
-
|
208
|
+
hash: 2900339974465294939
|
91
209
|
requirements: []
|
92
|
-
|
93
210
|
rubyforge_project:
|
94
|
-
rubygems_version: 1.
|
211
|
+
rubygems_version: 1.8.23
|
95
212
|
signing_key:
|
96
213
|
specification_version: 3
|
97
|
-
summary:
|
98
|
-
test_files:
|
99
|
-
-
|
100
|
-
|
101
|
-
-
|
102
|
-
|
103
|
-
-
|
104
|
-
|
105
|
-
-
|
106
|
-
|
214
|
+
summary: Eases the pain of moving to I18n view templates
|
215
|
+
test_files:
|
216
|
+
- !binary |-
|
217
|
+
c3BlYy9lcmIvcmFpbHNfaGVscGVyX21hdGNoZXJfc3BlYy5yYg==
|
218
|
+
- !binary |-
|
219
|
+
c3BlYy9lcmIvdGFnX2F0dHJpYnV0ZV9tYXRjaGVyX3NwZWMucmI=
|
220
|
+
- !binary |-
|
221
|
+
c3BlYy9lcmIvdGFnX2NvbnRlbnRfbWF0Y2hlcl9zcGVjLnJi
|
222
|
+
- !binary |-
|
223
|
+
c3BlYy9oYW1sL3JhaWxzX2hlbHBlcl9tYXRjaGVyX3NwZWMucmI=
|
224
|
+
- !binary |-
|
225
|
+
c3BlYy9oYW1sL3RhZ19jb250ZW50X21hdGNoZXJfc3BlYy5yYg==
|
226
|
+
- !binary |-
|
227
|
+
c3BlYy9pMTVyX3NwZWMucmI=
|
228
|
+
- !binary |-
|
229
|
+
c3BlYy9wYXR0ZXJuX21hdGNoZXJfc3BlYy5yYg==
|
230
|
+
- !binary |-
|
231
|
+
c3BlYy9zcGVjLm9wdHM=
|
232
|
+
- !binary |-
|
233
|
+
c3BlYy9zcGVjX2hlbHBlci5yYg==
|
234
|
+
- !binary |-
|
235
|
+
c3BlYy9zdXBwb3J0L25ld19mbGlnaHQuaHRtbC5lcmI=
|
236
|
+
- !binary |-
|
237
|
+
c3BlYy9zdXBwb3J0L25ld191c2VyLmh0bWwuaGFtbA==
|