grosser-fast_gettext 0.4.12 → 0.4.13
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fast_gettext.gemspec +2 -2
- data/spec/vendor/string_spec.rb +12 -0
- data/vendor/string.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.13
|
data/fast_gettext.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{fast_gettext}
|
5
|
-
s.version = "0.4.
|
5
|
+
s.version = "0.4.13"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Michael Grosser"]
|
9
|
-
s.date = %q{2009-06-
|
9
|
+
s.date = %q{2009-06-29}
|
10
10
|
s.email = %q{grosser.michael@gmail.com}
|
11
11
|
s.extra_rdoc_files = [
|
12
12
|
"README.markdown"
|
data/spec/vendor/string_spec.rb
CHANGED
@@ -23,6 +23,18 @@ describe String do
|
|
23
23
|
it "sustitutes strings" do
|
24
24
|
("a%{b}c" % {'b'=>1}).should == 'a1c'
|
25
25
|
end
|
26
|
+
|
27
|
+
it "sustitutes strings with -" do
|
28
|
+
("a%{b-a}c" % {'b-a'=>1}).should == 'a1c'
|
29
|
+
end
|
30
|
+
|
31
|
+
it "sustitutes string with ." do
|
32
|
+
("a%{b.a}c" % {'b.a'=>1}).should == 'a1c'
|
33
|
+
end
|
34
|
+
|
35
|
+
it "sustitutes string with number" do
|
36
|
+
("a%{1}c" % {'1'=>1}).should == 'a1c'
|
37
|
+
end
|
26
38
|
end
|
27
39
|
|
28
40
|
describe 'old sprintf style' do
|
data/vendor/string.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grosser-fast_gettext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06-
|
12
|
+
date: 2009-06-29 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|