gettext 2.3.4 → 2.3.5
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/doc/text/news.md +8 -0
- data/lib/gettext/tools/poparser.rb +4 -4
- data/lib/gettext/version.rb +1 -1
- data/src/poparser.ry +5 -3
- metadata +3 -3
data/doc/text/news.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
# News
|
|
2
|
+
## <a id="2-3-5">2.3.5</a>: 2012-12-11
|
|
3
|
+
|
|
4
|
+
This is a bug fix release.
|
|
5
|
+
|
|
6
|
+
### Fixes
|
|
7
|
+
|
|
8
|
+
* [POParser] Fixed the class name for backward compatibility.
|
|
9
|
+
|
|
2
10
|
## <a id="2-3-4">2.3.4</a>: 2012-12-11
|
|
3
11
|
|
|
4
12
|
This is a many changes and new implements release.
|
|
@@ -22,9 +22,6 @@ module GetText
|
|
|
22
22
|
class POParser < Racc::Parser
|
|
23
23
|
|
|
24
24
|
module_eval(<<'...end poparser.ry/module_eval...', 'poparser.ry', 123)
|
|
25
|
-
# for backward compatibility.
|
|
26
|
-
PoParser = POParser
|
|
27
|
-
|
|
28
25
|
if GetText.respond_to?(:bindtextdomain)
|
|
29
26
|
include GetText
|
|
30
27
|
GetText.bindtextdomain("gettext")
|
|
@@ -492,4 +489,7 @@ end
|
|
|
492
489
|
end # class POParser
|
|
493
490
|
end # module GetText
|
|
494
491
|
|
|
495
|
-
|
|
492
|
+
# for backward compatibility.
|
|
493
|
+
module GetText
|
|
494
|
+
PoParser = POParser
|
|
495
|
+
end
|
data/lib/gettext/version.rb
CHANGED
data/src/poparser.ry
CHANGED
|
@@ -120,9 +120,6 @@ end
|
|
|
120
120
|
require "gettext/tools/po"
|
|
121
121
|
require "gettext/tools/msgmerge"
|
|
122
122
|
---- inner
|
|
123
|
-
# for backward compatibility.
|
|
124
|
-
PoParser = POParser
|
|
125
|
-
|
|
126
123
|
if GetText.respond_to?(:bindtextdomain)
|
|
127
124
|
include GetText
|
|
128
125
|
GetText.bindtextdomain("gettext")
|
|
@@ -356,3 +353,8 @@ require "gettext/tools/msgmerge"
|
|
|
356
353
|
end
|
|
357
354
|
private :detect_file_encoding
|
|
358
355
|
---- footer
|
|
356
|
+
# for backward compatibility.
|
|
357
|
+
module GetText
|
|
358
|
+
PoParser = POParser
|
|
359
|
+
end
|
|
360
|
+
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gettext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -966,7 +966,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
966
966
|
version: '0'
|
|
967
967
|
segments:
|
|
968
968
|
- 0
|
|
969
|
-
hash: -
|
|
969
|
+
hash: -2018452385733488601
|
|
970
970
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
971
971
|
none: false
|
|
972
972
|
requirements:
|
|
@@ -975,7 +975,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
975
975
|
version: '0'
|
|
976
976
|
segments:
|
|
977
977
|
- 0
|
|
978
|
-
hash: -
|
|
978
|
+
hash: -2018452385733488601
|
|
979
979
|
requirements: []
|
|
980
980
|
rubyforge_project: gettext
|
|
981
981
|
rubygems_version: 1.8.23
|