grosser-fast_gettext 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/spec/vendor/string_spec.rb +4 -0
- data/vendor/string.rb +1 -0
- metadata +2 -2
data/VERSION.yml
CHANGED
data/spec/vendor/string_spec.rb
CHANGED
@@ -15,6 +15,10 @@ describe String do
|
|
15
15
|
it "does not substitute after %%" do
|
16
16
|
("%%{num} oops" % {:num => 1}).should == '%{num} oops'
|
17
17
|
end
|
18
|
+
|
19
|
+
it "does not substitute when nothing could be found" do
|
20
|
+
("abc" % {:x=>1}).should == 'abc'
|
21
|
+
end
|
18
22
|
end
|
19
23
|
|
20
24
|
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.10
|
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-05-
|
12
|
+
date: 2009-05-30 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|