camertron-eprun 1.1.0 → 2.0.0
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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +12 -0
- data/Gemfile +3 -7
- data/README.md +89 -62
- data/Rakefile +55 -17
- data/lib/eprun/normalizer.rb +215 -0
- data/lib/eprun/ucd_version.rb +83 -0
- data/lib/eprun/v14_0_0/tables.rb +9207 -0
- data/lib/eprun/{core_ext/string.rb → v14_0_0.rb} +3 -12
- data/lib/eprun/v15_1_0/tables.rb +9284 -0
- data/lib/eprun/v15_1_0.rb +11 -0
- data/lib/eprun/v16_0_0/tables.rb +9420 -0
- data/lib/eprun/v16_0_0.rb +11 -0
- data/lib/eprun/v17_0_0/tables.rb +9461 -0
- data/lib/eprun/v17_0_0.rb +11 -0
- data/lib/eprun/v18_0_0/tables.rb +9573 -0
- data/lib/eprun/v18_0_0.rb +11 -0
- data/lib/eprun/version.rb +9 -2
- data/lib/eprun.rb +43 -3
- data/test/test_normalize.rb +198 -0
- data/test/test_normalizer.rb +29 -0
- data/test/test_ucd_version.rb +57 -0
- data/test/test_versions.rb +65 -0
- metadata +29 -20
- data/History.txt +0 -4
- data/lib/eprun/helpers.rb +0 -27
- data/lib/eprun/normalize.rb +0 -185
- data/lib/eprun/ruby18/normalize.rb +0 -198
- data/lib/eprun/ruby18/tables.rb +0 -621
- data/lib/eprun/tables.rb +0 -621
|
@@ -4,17 +4,8 @@
|
|
|
4
4
|
# available under the same licence as Ruby itself
|
|
5
5
|
# (see http://www.ruby-lang.org/en/LICENSE.txt)
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def normalize!(form = :nfc)
|
|
13
|
-
replace(self.normalize(form))
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
def normalized?(form = :nfc)
|
|
17
|
-
Eprun.normalized?(self, form)
|
|
7
|
+
module Eprun
|
|
8
|
+
module V14_0_0
|
|
9
|
+
autoload :Tables, "eprun/v14_0_0/tables"
|
|
18
10
|
end
|
|
19
11
|
end
|
|
20
|
-
|