grosser-fast_gettext 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/vendor/string.rb +3 -1
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 2
3
- :patch: 3
3
+ :patch: 4
4
4
  :major: 0
data/vendor/string.rb CHANGED
@@ -9,7 +9,9 @@
9
9
  =end
10
10
 
11
11
  # Extension for String class. This feature is included in Ruby 1.9 or later.
12
- if RUBY_VERSION < "1.9.0"
12
+ begin
13
+ raise unless ("a %{x}" % {:x=>'b'}) == 'a b'
14
+ rescue ArgumentError
13
15
  class String
14
16
  alias :_old_format_m :% # :nodoc:
15
17
 
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.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser