ansel 2.0.1 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -0
- data/{MIT-LICENSE → LICENSE} +1 -1
- data/README.md +17 -25
- data/ansel.gemspec +4 -5
- data/lib/ansel/character_map.rb +564 -562
- data/lib/ansel/converter.rb +11 -13
- data/lib/ansel/version.rb +1 -1
- metadata +8 -13
- data/Gemfile +0 -7
- data/Gemfile.lock +0 -33
- data/Gemfile.travis +0 -11
- data/Rakefile +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 62cde28a3279d7068c333fb731a16251cf6f6e00d8ac02e1b83de3187e8a0ba7
|
4
|
+
data.tar.gz: d62a0f210919e2d6397e6aca92e8e31e990e36485ba6a916abfc973312c8998a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5870556f15bc7fd3dd87a9c007b0c46772493941979539c474cc53db649a673a6f5efa4df30ef963eb2bc81c8fcb776dfef7b58e42c19b977efea74ca9c137f1
|
7
|
+
data.tar.gz: 8f67eb504eebc5280d42b9e844de38ff65507aaabbd3f6c9612b85b8c7fcf481278091592efc6cb7eb53f39d1f66edb49b77119c50582afc3c04e48eefd7bad0
|
data/CHANGELOG.md
CHANGED
data/{MIT-LICENSE → LICENSE}
RENAMED
data/README.md
CHANGED
@@ -1,40 +1,32 @@
|
|
1
1
|
# ANSEL
|
2
2
|
|
3
3
|
[![Version](http://img.shields.io/gem/v/ansel.svg?style=flat)](https://rubygems.org/gems/ansel)
|
4
|
-
[![Build Status](
|
5
|
-
[![
|
6
|
-
[![
|
7
|
-
[![Dependency Status](http://img.shields.io/gemnasium/infused/ansel.svg?style=flat)](https://gemnasium.com/infused/ansel)
|
8
|
-
|
4
|
+
[![Build Status](https://github.com/infused/ansel/actions/workflows/build.yml/badge.svg)](https://github.com/infused/ansel/actions/workflows/build.yml)
|
5
|
+
[![Total Downloads](https://img.shields.io/gem/dt/ansel.svg)](https://rubygems.org/gems/ansel/)
|
6
|
+
[![License](https://img.shields.io/github/license/infused/ansel.svg)](https://github.com/infused/ansel)
|
9
7
|
|
10
8
|
ANSEL provides character set conversion from ANSEL to UTF-8
|
11
9
|
|
12
|
-
Copyright (c) 2006-2015 Keith Morrison <mailto:keithm@infused.org>, <http://www.infused.org>
|
13
|
-
|
14
10
|
- Project page: <http://github.com/infused/ansel>
|
15
11
|
- API Documentation: <http://rubydoc.info/github/infused/ansel/>
|
16
12
|
- Report bugs: <http://github.com/infused/ansel/issues>
|
17
|
-
- Questions? Email [keithm@infused.org](mailto:keithm@infused.org?subject=
|
13
|
+
- Questions? Email [keithm@infused.org](mailto:keithm@infused.org?subject=ANSEL)
|
18
14
|
with ANSEL in the subject line
|
19
15
|
|
20
16
|
## Compatibility
|
21
17
|
|
22
|
-
ANSEL is
|
23
|
-
|
24
|
-
* 1.9.2
|
25
|
-
* 1.9.3
|
26
|
-
* 2.0.0
|
27
|
-
* 2.1.0
|
28
|
-
* 2.1.1
|
29
|
-
* 2.1.2
|
30
|
-
* 2.1.3
|
31
|
-
* 2.1.4
|
32
|
-
* 2.1.5
|
33
|
-
* 2.2.0
|
34
|
-
* jruby 1.7+
|
18
|
+
ANSEL is compatible with the following Rubies:
|
35
19
|
|
20
|
+
* 2.2.x
|
21
|
+
* 2.3.x
|
22
|
+
* 2.4.x
|
23
|
+
* 2.5.x
|
24
|
+
* 2.7.x
|
25
|
+
* 3.0.x
|
26
|
+
* 3.1.x
|
27
|
+
* 3.2.x
|
36
28
|
|
37
|
-
If you need ANSEL
|
29
|
+
If you need ANSEL conversion in Ruby 1.8, see my [ansel_iconv](http://github.com/infused/ansel_iconv) project.
|
38
30
|
|
39
31
|
## Installation
|
40
32
|
|
@@ -53,16 +45,16 @@ Conversion from ANSEL to UTF-8 is fully supported.
|
|
53
45
|
## About the ANSEL character set
|
54
46
|
|
55
47
|
[ANSI/NISO
|
56
|
-
Z39.47](
|
48
|
+
Z39.47](https://groups.niso.org/apps/group_public/document.php?document_id=6450),
|
57
49
|
also known as ANSEL, is a character set encoding used primarily for
|
58
50
|
bibliographic and genealogical data. It is used in library systems worldwide and is one of the official character
|
59
51
|
encodings supported by the [Gedcom
|
60
52
|
5.5](http://homepages.rootsweb.ancestry.com/~pmcbride/gedcom/55gctoc.htm)
|
61
53
|
standard.
|
62
54
|
|
63
|
-
## LICENSE
|
55
|
+
## LICENSE
|
64
56
|
|
65
|
-
Copyright (c) 2006-
|
57
|
+
Copyright (c) 2006-2023 Keith Morrison <keithm@infused.org>
|
66
58
|
|
67
59
|
Permission is hereby granted, free of charge, to any person obtaining
|
68
60
|
a copy of this software and associated documentation files (the
|
data/ansel.gemspec
CHANGED
@@ -1,22 +1,21 @@
|
|
1
1
|
# encoding: ascii-8bit
|
2
2
|
|
3
3
|
lib = File.expand_path('../lib/', __FILE__)
|
4
|
-
|
4
|
+
$LOAD_PATH.unshift lib unless $:.include?(lib)
|
5
5
|
require 'ansel/version'
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = 'ansel'
|
9
9
|
s.version = ANSEL::VERSION
|
10
|
-
s.authors = [
|
10
|
+
s.authors = ['Keith Morrison']
|
11
11
|
s.email = 'keithm@infused.org'
|
12
12
|
s.homepage = 'http://github.com/infused/ansel'
|
13
13
|
s.summary = 'Convert ANSEL encoded text to UTF-8'
|
14
14
|
s.description = 'Convert ANSEL encoded text to UTF-8'
|
15
15
|
|
16
16
|
s.rdoc_options = ['--charset=UTF-8']
|
17
|
-
s.extra_rdoc_files = ['README.md', 'CHANGELOG.md', '
|
18
|
-
s.files = Dir['
|
19
|
-
s.test_files = Dir.glob('test/**/*_test.rb')
|
17
|
+
s.extra_rdoc_files = ['README.md', 'CHANGELOG.md', 'LICENSE']
|
18
|
+
s.files = Dir['README.md', 'CHANGELOG.md', 'LICENSE', 'lib/**/*', 'ansel.gemspec']
|
20
19
|
s.require_paths = ['lib']
|
21
20
|
|
22
21
|
s.required_rubygems_version = '>= 1.3.0'
|